Users of Xiaomi, Redmi and Poco smartphones often face a situation when after an automatic update the device begins to work unstable, sudden reboots appear, the battery is discharged faster or the usual features of the MIUI and HyperOS interface disappear. In such cases, the only way out is to find a way to remove the security update and return the factory version of the software.
The rollback procedure is not a regular feature of the Android operating system, so it requires caution and understanding of the firmware processes. Deleting a patch usually involves completely flashing the device to an earlier version or resetting it to factory settings if the backup was made in advance. It is important to understand that simply removing the update file from memory will not return the system to its previous state, since the changes have already been made to the system partition.
Before taking action, risk assessment is needed: interrupting the data writing process or using corrupted firmware files can cause the phone to turn into a brick. In this article, we will discuss safe methods to return to the previous version of the software using official tools and proven reset methods.
Why are there problems after security updates?
Security updates are designed to close system vulnerabilities, but in practice, installing them on Xiaomi devices sometimes leads to software conflicts. This is especially true for models that have been on the market for several years and receive patches for new versions of Android with optimization for old hardware.
Often users notice that after installing the Security Patch Level, banking applications or Google Pay stop working. This is due to a change in security certificates or a blocking of root rights if the device has been modified before, in which case, a rollback becomes the only way to restore the full functionality of the smartphone without losing data.
โ ๏ธ Note: The rollback of the Android version (e.g. from Android 13 to Android 12) is only possible through Fastboot mode with full data clearing. rollback within the same Android version (e.g. different builds) MIUI 14) is sometimes possible through Recovery without loss of data, but requires accurate version selection.
Also, new security patches often change the logic of background processes, which can cause notifications from messengers to arrive with a delay and navigation to consume more power. If you notice a sharp change in system behavior immediately after receiving a notification about installing updates, the likelihood of conflict is high.
Preparation for rollback procedure
The first and most important step before any manipulation of system software is to create a full backup of data. Even if you plan to simply reset your settings, the risk of losing contacts, photos and important documents is too great. Use Google cloud services or the built-in "Mi Mobile Services" app to save data.
You will need a computer with Windows operating system, which is good. USB-cable (preferably original) and stable Internet connection, you also need to charge the battery of the smartphone to at least 60%, as the process of firmware power-intensive and sudden shutdown of the device is unacceptable. ADB and Fastboot for your model.
โ๏ธ Checklist for rollback preparations
To find the right version of the firmware, use the official Mi Firmware website or proven resources like XiaomiFirmwareUpdater. You need to find the version that was installed on the device before the problem update. Pay attention to the region of the device (Global, Russia, China, EEA) - the firmware must strictly correspond to the region of your device, otherwise there may be problems with communication frequencies and NFC.
After downloading the firmware file, check its integrity. The file must have the.zip extension for Recovery or.tgz extension for Fastboot. If you downloaded the archive, it must not be corrupted when downloading. A mismatch in the checksum of the file can lead to an error in installing and cycling the phone.
Resetting method through Recovery Mode
The easiest way to try to fix the effects of a failed update is to completely reset through Recovery Mode.This method doesn't always roll back the Android version, but it effectively removes the update cache and resets system settings to factory status.This often solves problems with lags and application conflicts.
To enter recovery mode, turn off the smartphone completely. Then press the volume button and the power button at the same time. Hold them until the Mi or Poco logo appears, then release the power button, while keeping the volume high, you will be taken to the main Recovery menu, where the control is carried out by the volume buttons and the choice by the power button.
From the menu, select Wipe Data, then Wipe All Data. Confirm action. Once the cleanup process is complete, select Reboot. The phone will reboot as new. If the problem was caused by a conflict of settings or cache, the system should work steadily.
๐ก
If after resetting through Recovery the problem remains, it means that the system files of the firmware itself are damaged, and a complete firmware reflash through Fastboot is required.
It's worth noting that this method won't lower the security patch version if the update has already been fully integrated into the vendor or boot section. However, it's a mandatory first step before more complex procedures. If the reset doesn't work, move on to using the computer.
Complete Fastboot Fastboot Fastboot Fastboot
The radical and most effective way to remove the security update and return the old version of the software is to use Fastboot mode. This method allows you to write any image of the system on your phone, even older than the current one. However, to move to an older version of Android (Downgrade), you often need an unlocked bootloader (Bootloader).
The process begins with the smartphone switching to Fastboot mode. To do this, you need to connect the device to the computer, holding the volume button. The screen will show an image of a hare in a hat-earhead repairing an android, or the inscription FASTBOOT. On the computer, run the Mi Flash Tool program or use the ADB command line.
If you use the Mi Flash Tool, click the "Select" button and select the folder with the unpacked firmware. At the bottom of the window, select Clean all or Clean all and lock. Save user data cannot be used when rolling back the version, this will cause an error. Press Flash and wait for the process to end.
| Firmware mode | Data retention | Requirements | Risk of error |
|---|---|---|---|
| Clean all | No (full reset) | Unlocked BL (for Downgrade) | Low. |
| Save user data | Yes. | The same version of Android | High on rollback |
| Clean all + Lock | No. | Global firmware for the region | Middle (region) |
Once the firmware is successful, the device will restart. It can take up to 10 minutes to boot first. If the process is successful, you will get a clean system with the version of the security patch that was in the firmware, guaranteed to remove any trace of the problematic update.
Using ADB to remove service packs
For advanced users, there is a method of removing specific service packs through debugging. USB (ADB). It doesn't require you to log into Fastboot mode, but it does require accuracy. It allows you to delete the cache. OTA-Updates to prevent them from being re-installed, or to try to reset system components.
First, you need to enable USB debugging in the Developer menu, connect your phone to your PC and type in a command to check the connection:
adb devicesIf the device is displayed, you can try to clear the update service data. Enter the following command:
adb shell pm clear com.android.updaterThis command will reset the state of the Software Update application, but it will not roll back the already installed version of the system. However, in some cases this helps if the update is stuck during the installation process or causes cyclical checks.
โ ๏ธ Attention: Teams ADB Introducing commands to remove system packets (pm uninstall) without understanding their purpose can lead to an inoperability of the interface. MIUI.
There is also a command to reboot to Recovery or Fastboot mode directly via ADB, which is convenient if the buttons on the device are logging or not working. For example, the adb reboot bootloader command will instantly put the phone into the desired mode for further action.
Preventing Automatic Updates
After a successful system rollback, a natural question arises: how to prevent a problematic patch from being re-installed? Xiaomi aggressively promotes updates, but there are ways to limit their receipt. The most reliable method is to turn off Internet access for the system update application.
Go to Settings โ Apps โ All Apps. Find the Update app (or Updater). Go to Data Control or Data Use and disallow data transfers over Wi-Fi and mobile, preventing the phone from checking for new versions and downloading them.
Hidden Updater Settings
Another option is the use of DNS-By setting up static Wi-Fi connections DNS, If you block domains of Xiaomi update servers (e.g. update.miui.com), you can isolate the device from the company's servers.
Remember that not having security updates leaves your device vulnerable to new viruses and exploits, and it is only temporary to block updates until the patch releases, or if you use specific system settings that break when you update.
๐ก
Blocking updates by denying network access for a system application is the most secure method that does not require Root rights.