How to change the animation download on Xiaomi: from unlocking to installing custom bootanimation

When you turn on a Xiaomi smartphone, the first thing you do is you get a branded animation with a Mi or Redmi logo on the screen. For many users, this standard screensaver becomes familiar, but what if you want to personalize the device to the smallest detail? Bootanimation is one way to highlight your gadget by adding a unique style or even humor to the inclusion process.

However, replacing bootanimation on Xiaomi devices is not as easy as changing the wallpaper or alarm melody. the company actively blocks the possibility of modifying system files, and in recent versions, the company has been using the same tools. MIUI 13/14 This process has become more complicated due to the tightening of security policies, and in this article we will discuss all available methods, from official (through topics) to advanced (with unlocking the bootloader and manual editing of the partition). /system). You will learn what tools you will need, what risks exist, and how to avoid the device’s β€œbrick.

Before you start, consider that modifying system files can lead to loss of warranty, malfunction or even complete failure of the smartphone. If you are a beginner, start with safe methods (section "Method 1"), and experienced users can immediately move to manual editing (section "Method 3").

πŸ“Š Your level of training in the Android modification?
Beginner, just starting.
Advanced user, has experience with ADB
Pro, unlocked the bootloader and put custom firmware
I have never tried it, but I want to learn.

1 What is bootanimation and why it is difficult to change it to Xiaomi

Bootanimation is an animation file that is played when you turn on your smartphone after you load the kernel, but before you start the interface. MIUI. It consists of two parts:

  • πŸ–ΌοΈ Images (animation frames in format) PNG or JPG, archived).
  • πŸ“œ Description (desc.txt file, where the playback parameters are indicated: resolution, frame rate, duration).

On most Xiaomi devices (including Redmi and Poco), this file is stored along the way. /system/media/bootanimation.zip. The problem is that the section /system It's not written secure, and even with root rights, it can't be changed without some manipulation:

  • πŸ”’ Security policy MIUI: The company restricts access to system files to prevent accidental damage.
  • πŸ›‘οΈ bootloader lock: on new devices (Xiaomi) 12/13/14, Redmi Note 11/12) loader locked by default.
  • πŸ”„ Integrity Checker: DM-Verity monitors changes in the /system and can block the download if modifications are detected.

Another nuance: in some models (for example, Xiaomi Mi 11 or Poco) F4) boot animation can be sewn into a boot or vendor section, making it even more difficult to replace. Before you start, check if your device supports bootanimation modification through standard methods.

⚠️ Attention: On devices with MIUI Global Stable (official firmware for the international market) attempt to change bootanimation.zip Without unlocking the bootloader will lead to endless boot (bootloop), you can restore the work only through the Fastboot.

2. Method 1: Modifying animations through themes MIUI (rootless)

The safest method is to use the built-in theme function in MIUI. Some custom themes include not only wallpaper and icons, but also alternative download animation.This method does not require unlocking the bootloader or root rights, but does not work on all devices.

How to do this:

  1. Open the Themes app (the icon with a brush on your desktop).
  2. Go to the section My β†’ Online topics.
  3. In the search bar, enter a bootanimation request or a boot saver.
  4. Select your favorite theme and click β€œApply”.
  5. Restart the device to see the changes.

Limitations of the method:

  • 🎨 It only works on MIUI China MIUI Global Beta. In stable firmware versions, the feature can be disabled.
  • πŸ”„ Animation will reset to standard after the update MIUI.
  • πŸ“± Not all themes support replacing bootanimation – often only wallpaper and sounds change.

πŸ’‘

If you don’t search for β€œbootanimation” in your search for themes, try searching for keywords in English: β€œboot logo”, β€œstartup animation” or β€œsplash screen”.

If this method didn’t work, move on to more advanced methods β€” but remember that they require unlocking the bootloader and are potentially dangerous to the device.

3. Method 2: Replacement bootanimation.zip root rights (for unlocked devices)

If your Xiaomi smartphone is already unlocked (installed) TWRP or obtained root rights, you can replace bootanimation.zip This method works on most devices, but it requires caution.

Step 1: Preparing custom animation

Download the ready-made bootanimation (for example, from forums) XDA Developers or 4PDA) Or create your own. The file must meet the requirements:

  • πŸ“ Format: ZIP-archive without compression (storage method: Store).
  • πŸ“„ Structure: There must be folders inside the archive part0, part1 (optionally) and desc.txt file.
  • πŸ–₯️ Resolution: Must match the screen resolution of your device (e.g, 1080Γ—2400 For the Redmi Note 10 Pro).

Step 2: Copying a file into the system

Use Root Explorer (such as Solid Explorer) FX File Explorer or ADB:

adb shell


su




mount -o rw,remount /system




cp /sdcard/Download/custom_bootanimation.zip /system/media/bootanimation.zip




chmod 644 /system/media/bootanimation.zip




chown root:root /system/media/bootanimation.zip




reboot

Step 3: Checking the Results

When the reboot is over, a new animation should appear, and if the screen is black or if the bootloop occurs,

  • πŸ”§ Make sure the desc.txt file is correct (example of content below).
  • πŸ“ Check the compatibility of animation resolution and screen.
  • πŸ”„ Restore the original bootanimation.zip through TWRP.
Parameter in desc.txtDescriptionExample: Redmi Note 11
width height fpsPermission and frequency of staff1080 2400 30
p loop countNumber of repetitions of the animation part (p is part number, loop is number of cycles)p 0 1 (one reproduction)
p pause durationPause between parts (in milliseconds)p 1 5000 (pause 5 seconds)

⚠️ Note: On some devices (e.g. Xiaomi) 12T POCO F5) The bootanimation file may not be stored in /system/media, /product/media or /vendor/media. Check all possible paths through ADB Shell team: find / -name bootanimation.zip 2>/dev/null

Download the appropriate animation (permission) = screen-resolution)

Make a backup of the original bootanimation.zip

Check for root rights (Magisk app)

Install a file manager with support for root (Solid Explorer)

Connect the debugging to USB (Settings β†’ For developers)-->

Method 3: Magisk modification (for devices with locked system partition)

If the section /system It is protected from recording (which is typical for the MIUI 13/14), You can get around the limitations with the Magisk module:

  • πŸ”“ Unlocked loader.
  • πŸ€– Installed by Magisk (version 25)+).
  • πŸ“± System-as-root support (most modern Xiaomi have it).

Instructions:

  1. Download the BootAnimation Replacer for Magisk.
  2. Put yours in. bootanimation.zip folder /sdcard/Download.
  3. Open Magisk Manager, go to Modules β†’ Install from storage.
  4. Select the downloaded module and confirm the installation.
  5. Reset the device.

Advantages of the method:

  • πŸ”„ It does not require direct editing. /system.
  • πŸ›‘οΈ Maintains the integrity of DM-Verity (no bootloop risk).
  • πŸ”„ Easy to roll back changes (remove the module in Magisk).

If the module fails:

  • πŸ”§ Check Magisk Logistics (/cache/magisk.log).
  • πŸ“‹ Make sure the file is bootanimation.zip Not compressed (use the archiver with the Store option).
  • πŸ”„ Try an alternative module, such as Custom Boot Animation.
What if the animation has not changed after installing the module?
1. Check if the module is activated in Magisk (Modules section"). 2. Make sure the path to the file in the module is correct (usually this is the path to the file). `/sdcard/bootanimation.zip`). 3. Reinstall the module with cleaning the Dalvik cache (option in Magisk). 4. If you use a custom core, check its compatibility with Magisk modules.

5. Method 4: Replace the boot logo (splash screen) via Fastboot

On some Xiaomi devices (e.g. Redmi Note 9 Pro, Poco) X3) You can change not only bootanimation, but also the boot logo (splash screen), a static image that appears immediately after power is turned on:

  • πŸ”“ Unlocked loader.
  • πŸ–₯️ Computer with installed ADB and Fastboot.
  • 🎨 Image in format BMP with permission appropriate to your device (e.g, 1080Γ—2340 For the Redmi Note 10).

Step-by-step:

  1. Download the Xiaomi Splash Screen Flasher utility.
  2. Connect your phone to your PC in Fastboot mode (turn off the device, then press the Power). + Vol Down).
  3. Run the utility and select your device model.
  4. Please specify the path to your logo.bmp file.
  5. Click Flash and wait for the process to be completed.

Important: Not all Xiaomi models support splash screen replacement via Fastboot. On Qualcomm chipset devices (like the Snapdragon 8 Gen 1), the odds are higher than on MediaTek (like Helio). G96).

Model of the deviceSupport for Splash ReplacementImage resolution
Redmi Note 10 Proβœ… Yes.1080Γ—2400
Xiaomi 11T Proβœ… Yes, only through EDL)1220Γ—2772
Poco X3 NFCβœ… Yes.1080Γ—2400
Redmi 9A❌ No (locked)β€”

⚠️ Warning: Incorrect resolution or image format will damage the logo partition. EDL-Mode (requires an authorized Xiaomi account and boxing).

6 Risks and How to Avoid Them: What Could Go Wrong

Changing bootanimation or splash screen is not the most dangerous modification, but it also carries risks.

Problem 1: Bootloop (Infinite Boot)

Symptoms: After the file is replaced, the device hovers on the Mi logo or reboots cyclically.

Reasons:

  • πŸ”§ Incorrect file access rights (Chmod 644 not installed).
  • πŸ“ Disparity between animation resolution and screen.
  • πŸ”„ Damage to the desc.txt file.

Decision:

  • πŸ”§ Boot in. TWRP and restore the original bootanimation.zip backup.
  • πŸ“‹ Check the desc.txt file for errors (see above for an example of a correct file).
  • πŸ”„ If TWRP No - run the firmware through Fastboot (command: fastboot flash system) system.img).

Problem 2: No animations playable (black screen)

Symptoms: Instead of animation, the screen stays black for 5-10 seconds, then loads. MIUI.

Reasons:

  • πŸ–ΌοΈ File. bootanimation.zip empty.
  • πŸ“ Incorrect archive structure (no folders) part0).
  • πŸ”§ Magisk module not activated.

Decision:

  • πŸ”§ Repackage the archive without compression (use) 7-Zip store).
  • πŸ“ Check that there is a folder inside the archive. part0 pictured.
  • πŸ”„ Reinstall Magisk module with cache cleaning.

Problem 3: The device does not turn on after changing the splash

Symptoms: The screen remains black, there is no vibration or charging indication.

Reasons:

  • πŸ–₯️ Incorrect image format (not incorrect) BMP 24-bit).
  • πŸ“ Discrepancy of permission.
  • πŸ”§ Error when running through Fastboot.

Decision:

  • πŸ”§ Connect your device to your PC and check if it is detected in Fastboot (fastboot devices).
  • πŸ“‹ If the device does not respond, transfer it to EDL-Mode (close test points or use fastboot oem edl).
  • πŸ”„ Stitch the original logo.bin via Mi Flash Tool.

πŸ’‘

Before any modifications to system files, be sure to create a full backup through TWRP team `adb backup`. This will allow the device to be restored in case of failure.

7. Alternative methods: if nothing works

If all of these methods fail, consider alternatives:

Option 1: Using Live Wallpaper as a β€œpseudo screensaver”

Some launchers (like Nova Launcher) allow you to install live wallpapers that are activated when you unlock the screen, which will not replace bootanimation, but will visually create a similar effect:

  1. Install the Live Wallpaper app (for example, 3D Parallax Background).
  2. In the launcher settings, select Wallpaper. β†’ Live wallpaper.
  3. Configure the animation so that it starts when the screen is turned on.

Option 2: Installation of custom firmware

Some custom firmware (e.g. LineageOS, Pixel Experience) makes it easy to change bootanimation through settings.

  • πŸ”“ Unlock the loader.
  • πŸ“± Install TWRP.
  • πŸ”„ Swipe alternative firmware (risk of loss of functionality, such as cameras).

Option 3: Hardware modification (for power users)

On some devices (for example, Xiaomi Mi). A2) You can replace bootanimation by editing the vendor partition:

  1. Download the damp section of the vendor through ADB: adb pull /dev/block/by-name/vendor vendor.img
  2. Open up. vendor.img Android Image Kitchen.
  3. Replace. bootanimation.zip file /media.
  4. Collect the image back and run through Fastboot.

This method requires deep knowledge and is risky – a mistake can lead to loss. IMEI or inoperability of the module NFC/Wi-Fi.

8. Frequently Asked Questions (FAQ)

❓ Can you change the download animation on Xiaomi without unlocking the bootloader?
Most devices don't. The exception is some models on the computer. MIUI China, where you can apply the theme with alternative animation (see Method 1). MIUI Global Stable without unlocking boot bootanimation is impossible to replace due to the protection of the system partition.
❓ Why not after the replacement? bootanimation.zip plug-in?
The most likely causes: πŸ“ Disparity between animation resolution and screen. πŸ”§ Incorrect permissions to access the file (should be 644). πŸ–₯️ Desc.txt file corruption (check syntax). Solution: download to TWRP and recover the original file from the backup or run the firmware through Fastboot.
❓ How to Return Standard Download Animation?
Recovery methods: πŸ”„ If you used Magisk module, remove it in Magisk Manager. πŸ“ If the file was manually replaced, copy the original file. bootanimation.zip back /system/media. πŸ”§ If the device does not turn on, run the firmware through the Fastboot (fastboot flash system). system.img).
❓ Does this method work for POCO redmi?
Yes, all of the methods described here are applicable to Poco and Redmi devices, as they run on the same firmware. MIUI. Exception: some models on MediaTek (e.g. Redmi) 9A), where the logo partition is locked at the hardware level.
❓ Can I change the sound of the download?
Yes, but it's a separate procedure, and the download sound is stored in a file. /system/media/audio/ui/PowerOn.ogg. To replace it: Get root rights. Copy your audio file (format) OGG, bitrate 192 kbps) to the specified folder. Set the rights 644 and the owner of root:root. MIUI 14 The sound of the download can be β€œsewn” in boot.img, and replace it without modification of the firmware will not work.