How to roll back Xiaomi updates: a step-by-step guide

When a new version of MIUI or HyperOS is installed, the smartphone becomes worse, which is familiar to many Xiaomi owners: the battery runs out faster, system bugs appear, and the interface becomes less responsive, in which case the only right solution is to return to a stable version of the operating system, that is, downgrade.

The rollback procedure is not as simple as a regular update and requires care. Anti-Rollback protection system in modern devices of the Chinese brand can block the attempt to install old firmware, turning the device into a β€œbrick”, which is why before starting any action you need to clearly understand the risks and strictly follow the algorithm.

In this article, we will discuss all the current ways to return to the previous build of software. You will learn how to prepare the device, what tools will be required and how to avoid fatal errors. Trying to flash a version with a lower ARB protection index than installed now will lead to irreversible locking of the bootloader. Do not ignore the technical nuances, so as not to lose the warranty and performance of the gadget.

Risks and Limitations of Anti-Rollback

Before you start technical manipulation, you need to understand the mechanism of protection. Xiaomi engineers have implemented an Anti-Rollback (ARB) system that prevents the installation of outdated versions of software containing known security vulnerabilities. Each firmware has its own ARB index, and the system will not allow you to install a version with an index below the current one.

Trying to bypass this restriction through standard menus often fails, you will see an error message, or the process will be interrupted at the initial stage, but in some cases, especially on older models or using special tools, the risk of bricking remains real.

It is important to understand the difference between the global and Chinese versions. Cross-regional downgrade (e.g. Global to China or vice versa) often requires an unlocked bootloader and complete data cleanup. Without unlocking Bootloader, the system will simply refuse to accept the firmware file.

⚠️ Note: If the screen of the smartphone is getting stuck on the Mi or Xiaomi logo for more than 10 minutes, the integrity of the system partitions may have been compromised. Do not try to immediately remove the battery (if it is not removable), try to force the device to restart by clamping the power and volume buttons.

Also, you should consider that rolling back the software version automatically leads to a complete reset. Wipe Data is a mandatory procedure when moving to an older build, since the data structures of the new and old systems may not coincide.

πŸ“Š Have you encountered any bugs after the update? MIUI?
Yeah, the phone's warming up.
Yeah, the battery's going down fast.
No, it worked great.
I'm not updating the system.

Device preparation and backup

The success of the operation depends on 90% of the quality of preparation. The first step is to create a full copy of the data. The built-in application "Mi Cloud" or third-party solutions like Google Drive will be suitable for saving contacts and calendar.

A stable connection is required. Firmware via PC requires a quality USB cable, preferably original or MFi/USB-IF certified. Cheap charging cables may not provide the required data transfer speed, which will lead to an error when writing system files.

The battery should be at least 60 percent charged, and the process of recording the firmware is energy intensive, and suddenly turning off the device at a critical moment can damage the boot or recovery partition, and if the phone runs out in the process, it will be extremely difficult to restore it without a programmer.

β˜‘οΈ Checklist before downgrade

Done: 0 / 5

Don't forget to enable USB debugging. This feature is in the hidden Developer Menu. To activate it, you need to quickly click seven times on the build number in the About Phone section. Then activate the USB debugging switch on the menu that appears.

Search and Verify Compatible Firmware

The hardest part is finding the version you want to return to. Xiaomi's official website rarely stores archives of old builds, so you have to go to trusted third-party resources. It's important to download files only from reliable sources to avoid malicious code.

When choosing firmware, pay attention to the region. Global version is denoted by the letter MI in the version code, Chinese version is CN, European version is EU. Installing firmware from another region on top of the current Mi Account without changing the region can lead to a cyclical reboot.

Be sure to check the firmware type: Recovery or Fastboot. Recovery file (extension.zip) is suitable for rollback through the update menu, and Fastboot image (extension.tgz) is necessary for deep flashing through the computer.

Type of firmwareFile extensionMethod of installationRequirements
Recovery.zipThrough the phone menuUnlocking is not always necessary.
Fastboot.tgzThrough the Mi Flash ToolNeed an unlocked BL
Eu/Custom.zipRecovery / TWRPNeed an unlocked BL

Attention to build number. If the current version has an ARB 4 index, the firmware must have a 4 or higher index. If you can install a version with an ARB 3, the system will block the process. Information about the current level of protection can be found in specialized applications such as Device Info HW.

Where do you find old firmware?
Official mirrors are often not available. It is recommended to use archives on sites like miui.com or dedicated 4PDA and XDA Developers forum branches. Always check the checksums of files (MD5/SHA1), if provided by the author.

Method 1: Recoil through the update menu (Recovery)

It's the least risky, and it doesn't require a computer, but it doesn't always work, and the system can prevent you from installing an older version by saying, "Can't update," but there's a proven trik that allows you to get around that restriction.

First, copy the firmware file (.zip) to the root of the phone's internal memory. Then go to Settings β†’ About Phone β†’ MIUI version. Click three dots in the corner of the screen and select "Select firmware file." Find the downloaded archive.

If the system says that the version is outdated, do not despair. Try to run the installation through the engineering menu. To do this, enter the code # #778## (does not work on all models) or use the code ##778## in the Caller app. ADB-command to force the update.

adb shell am start -n com.android.updater/.MainActivity

After you select the file, press the update button. If the phone suggests rebooting, that's a good sign. It takes 5 to 15 minutes. During this time, the device will go out several times and turn on the screen. Don't touch the buttons during this period.

πŸ’‘

If a standard installer blocks a file, rename it. Sometimes changing the archive name from long code to simple update.zip helps the system recognize it as an actual package.

Method 2: Complete flashing with the Mi Flash Tool

The most reliable way to ensure a clean installation without any residue of old files is that you need a Windows PC, a Mi Flash Tool, and an unlocked bootloader. If the BL is locked, this method will not work.

Unpack the downloaded Fastboot firmware archive into the root of the C disk so that the path is short, for example: C:\xiaomi_rom\. Long Cyrillic paths often cause errors when writing. Launch Mi Flash Tool on behalf of the administrator.

Put your smartphone in Fastboot mode, pressing down both Power and Volume. Connect the cable to your PC. In the program, press the Refresh button, and the device should be selected in the list. Select Clean all mode to avoid conflicts.

⚠️ Note: When using the Mi Flash Tool, never select the Clean all and lock option if you change the firmware region (e.g. from China to Global).

Press Flash and wait until it's complete. The status bar turns green with the word success. The phone automatically reboots. The first run can last up to 10 minutes as the system optimizes applications.

πŸ’‘

The Mi Flash Tool is the only way to guarantee a rollback to a lower build number version, but it requires an unlocked bootloader and complete deletion of data.

Solving mistakes and problems

Downgrade users often encounter common problems, one of the most common is the Miss matching image and device error, which means you're trying to flash a firmware designed for a different smartphone model, and carefully check the device's code name (e.g., ginkgo, ursa, davinci).

Another problem is the Bootloop, and if the phone doesn't boot after you've run the firmware, try recovery. + Volume up) and make Wipe Data/Factory Reset.If that didn't work, you'll need to flash it again through Fastboot with a choice of Clean all item.

Sometimes the computer just doesn't see the phone in Fastboot mode. In this case, check the Windows Device Manager. If there's an unknown device with a yellow exclamation point, you need to reinstall the Xiaomi drivers. USB Drivers, try replacing them. USB-port to another, preferably USB 2.0, located on the motherboard behind the system unit.

And don't forget about the software failures of the Mi Flash app itself. If the process is stuck at a certain percentage, try to close the program, turn off the phone and start the process again. Antivirus or firewall can also block the utility, so it's better to turn them off for the time of firmware.

What to do if the phone is in EDL mode?
If the screen is black and only the charging indicator (EDL mode) is on, you will need an authorized Mi Account for firmware. You can't usually flash the device in this state, you will have to contact the service center.

Frequently Asked Questions (FAQ)

Can I roll back without unlocking the bootloader?
Officially, no, if the new version has a higher Anti-Rollback index. The Recovery menu sometimes rolls back one version if the archive is signed with the developer keys and the region matches. However, for a serious downgrade, unlocking BL is mandatory.
Will my data be erased after the rollback?
Yes, 99% of the time. When you upgrade to an older version of Android or MIUI, the file structure changes and the system requires a complete cleanup. Even if the phone offers to save data, it is strongly recommended to make a full backup, as there may be errors in the application.
Is it safe to put Chinese firmware on a global phone?
Technically, this is possible with an unlocked bootloader, but not recommended for ordinary users: Chinese firmware does not have Google services (they need to be installed manually), there is no support for many LTE frequencies (Band 20), and there may be problems with notifications and banking applications.
What is Hard Brick and How to Avoid It?
Hard Brick is a state where the phone doesn't respond to any buttons or is not detected by the computer even in boot mode, this happens when you interrupt writing critical partitions or install incompatible software, and you can avoid this without interrupting the firmware process and checking the compatibility of files.