Why change bootanimation to Xiaomi?
Downloading a smartphone is the first visual contact with the device, and standard MIUI animation can get boring over time. Replacing bootanimation allows you to personalize the gadget by adding a unique style or even humor (for example, memes or animations from your favorite movies). But this is not just about aesthetics: some users change the screensaver to determine the stage of booting the system faster β especially for devices with slow eMMC.
In this article, we will analyze three proven methods of installing custom animation on Xiaomi, Redmi and smartphones. POCO (including models MIUI 14/15 The methods differ in complexity: from replacing through ADB without root rights to manually edit system files, and you will learn how to avoid the device blink if you install animations with a resolution higher than the one you want. 1080p budget-based.
What is bootanimation and how does it work for Xiaomi
The bootanimation.zip file is an archive with a set of images (.png) and a desc.txt configuration file that determines the order and speed of the animation playback. On Xiaomi, it is stored in the system section along the way:
/system/media/bootanimation.zipFeatures of working at MIUI:
- πΉ Two stages of download: first goes the Xiaomi logo (sewn in the boot.img), And then the animation itself. bootanimation.zip.
- πΉ Restrictions on permission: on devices with HD+ screen (e.g. Redmi) 9A) animation 1080p will be cut or stretched.
- πΉ File format: should be.zip (not.rar or.zip.7z), without password and with the correct folder structure.
On newer versions of MIUI 14+ and HyperOS, the path to the file may be different β sometimes animations are stored in /product/media/ or /vendor/media/.
Method 1: Install bootanimation without root rights (via ADB)
This method is suitable for most Xiaomi devices on MIUI 12-15 and HyperOS, but requires enabled debugging over USB and installed ADB drivers. The main advantage is that you do not need to get root access, which retains the warranty.
Step 1: Preparation
- π± Enable Developer Mode: Go to Settings β About the phone and 7 times click on the version MIUI.
- π§ Back to Settings β Additionally. β For developers and activate debugging by USB.
- π₯οΈ Install. ADB Tools on PC (or use Minimal) ADB and Fastboot).
- π Download the finished animation in format bootanimation.zip (for example, XDA Developers).
Step 2: Replace the file via ADB
- Connect your phone to your PC and type in the command line: Adb devices If the device is displayed, go further.
- Copy the original file on PC (in case of rollback): adb pull /system/media/bootanimation.zip C:\backup\
- Download the new animation to the system section: adb push C:\your_bootanimation.zip /sdcard/ adb shell su mount -o rw,remount /system cp /sdcard/your_bootanimation.zip /system/media/bootanimation.zip chmod 644 /system/media/bootanimation.zip reboot
Antivirus on PC is disabled|File. bootanimation.zip less 10 MB|The device is charged at least to 50%|Backup of the original file is made-->
β οΈ Note: On some models (POCO X3 Pro, Redmi Note 10 Pro) system partition is protected from recording even through ADB. This will require a temporary root (see Method 2).
Method 2: Temporary root (Magisk) installation
If ADB-The method didn't work, you'd need a temporary root through Magisk, which is suitable for devices with an unlocked bootloader, and the advantage is that you can replace animation even on secure firmware, and after restarting the root rights disappear.
Step 1 Unlocking the bootloader
- π Sign up for Xiaomiβs official website and get permission to unlock (can take up to 72 hours).
- π± Use the Mi Unlock Tool to unlock (instructions here).
Step 2: Installation of Magisk
- Download the latest version of Magisk from GitHub.
- Please. magisk_patched.img Fastboot: Fastboot Flash boot magisk_patched.img fastboot reboot
- After downloading, install Magisk Manager and check for root.
Step 3: Replace bootanimation
- π Use Root Explorer (or Solid Explorer with root access) to copy the new one. bootanimation.zip into /system/media/.
- π Set rights 644 (so that the file is not available for modification by regular applications).
- π Reset the device.
What if no animation is shown after replacement?
Method 3: Using the Magisk module (for permanent replacement)
If you plan to change animations often, it is more convenient to use the Magisk module. This will allow you to bypass the limitations of the system partition and easily return to the standard screensaver.
Step 1: Creation of a module
- Create a BootAnimation folder on your PC.
- Put the bootanimation.zip file there.
- Create a module.prop file with the following content: id=bootanimation_custom name=Custom BootAnimation version=1.0 versionCode=1 author=YourName description=Replace bootanimation with custom zip
- Create a system/media folder inside BootAnimation and move bootanimation.zip there.
- Archive the BootAnimation folder in.zip (no compression!).
Step 2: Installation of the module
- π± Transfer the archive to the phone.
- π§ Open Magisk Manager, go to Modules β Install from storage and select your file.
- π Reset the device.
| Method | Need root? | Difficulty | Compatibility | Risk of a brick |
|---|---|---|---|---|
| ADB (no root) | β No. | Medium | MIUI 12-15, HyperOS (not all models) | Low. |
| Temporary root (Magisk) | β Yes (temporary) | Tall. | All models with unlocked bootloader | Medium. |
| Magisk module | β Yes (permanent) | Low. | All models with Magisk | Low. |
| Manual Replacement (TWRP) | β Yes. | Tall. | TWRP devices | High-pitched |
β οΈ Note: On devices with Dynamic Partition (e.g. Xiaomi 12 Pro, Redmi) K50) manual editing of the system partition can cause a boot failure. In this case, use only the Magisk module.
Where to download bootanimation for Xiaomi
Ready animations can be found on the following resources:
- π XDA Developers β the largest database of custom files (see the sections on the device model).
- π¨ DeviantArt β Art animations (e.g. from Cyberpunk 2077 or Among Us).
- π± Telegram channels on customization MIUI (for example, MIUI Custom).
- π¬ Reddit (r/AndroidThemes) β Animation collections from the community.
When choosing animation, pay attention to:
- π Resolution: Must match the screen resolution of your device (e.g, 2400Γ1080 Xiaomi 13).
- β±οΈ Duration: Animation too long will increase loading time.
- π¨ Format: Make sure there are folders in the archive part0/part1 and the desc.txt file.
π‘
Before installing, check the animation on your PC: unpack bootanimation.zip and open the part0 folder in any image player (e.g., XnView).
Frequent mistakes and their solutions
Even with the right installation, there can be problems, and let's look at typical scenarios and how to fix them:
1. no animations shown (black screen)
- π Reason: Permission mismatch or broken files in the archive.
- π οΈ Solution: Check your device's screen resolution (e.g., through the DevCheck app). Open desc.txt in the archive and compare settings: 720 1280 30 p 1 0 part0 p 0 0 part1 Here's 720,1280 - resolution,30 β FPS.
2.The device got stuck on the Xiaomi logo
- π Reason: Incorrect file access rights or damaged archive.
- π οΈ Solution: Boot to Fastboot (click Power) + Vol Down. Restore the original bootanimation.zip through ADB: adb push C:\backup\bootanimation.zip /system/media/ adb shell chmod 644 /system/media/bootanimation.zip
3.The animation twitches or slows down
- π Reason: Too high FPS (standard β 24β30 frames/sec) or large file size.
- π οΈ Solution: Open desc.txt and reduce the value FPS (For example, 60 to 30. Recode the images into.png-8 (less weight through Photoshop or GIMP.