Security updates on Xiaomi smartphones are a two-way sword. On the one hand, they close vulnerabilities, protect against viruses and improve system stability. On the other hand, they sometimes lead to slowdowns, conflicts with applications or even blocking functions (for example, root access or custom Recovery may stop working after an update). If you encounter problems after installing the last security patch and want to return the previous version, this guide is for you.
It is important to understand that rolling back security updates is not an official procedure. Xiaomi does not provide tools to βundoβ patches, so all methods require manual manipulation of the system. In some cases, this can lead to a loss of warranty, data reset or even a device βbrickβ (if you interrupt the process or use the wrong firmware).
In this article, we will discuss:
- π Why Security Updates Can Interfere with Smartphones
- β οΈ Risks and consequences of rollback (including blocking) MIUI)
- π οΈ 5 Ways to Remove Updates: From Simple to Complex
- π± Alternative solutions (if recoiling is not possible)
- π How to Avoid Automatic Patch Installation in the Future
1 Why Xiaomi Security Updates Are Causing Problems
Security patches from Xiaomi (and other manufacturers) typically include:
- π Fixing Android Vulnerabilities (for example, CVE-2023-XXXX)
- π‘οΈ Linux kernel and driver updates
- π± Closing exploits to obtain root rights
- π Policy developments MIUI (For example, limiting background activity)
Problems after updates most often arise due to:
- Unoptimized code: New patches may conflict with old libraries MIUI, Especially on budget models (Redmi) 9A, Poco M3).
- Block modifications: Updates often patch holes used to unlock the bootloader or install. TWRP.
- Performance restrictions: For example, a patch can impose limits on use. CPU to save battery, which leads to lags.
Example: After the security update of May 2023, many Xiaomi users 11T Pros complained of spontaneous reboots due to conflict with the camera module, in which case rollback is the only solution if the manufacturer has not released a fix".
β οΈ Attention: On devices with a locked bootloader (most of the new Xiaomi models), rollback of security updates can lead to the activation of the antirollback - the mechanism that blocks the smartphone when trying to install the old firmware. β The phone. β Version. MIUI (press 5 times on "Core").
2.Preparation for rollback: what to do before removing updates
Before you start manipulating the system, follow the mandatory steps:
Make a backup copy of the data (photos, contacts, SMS)|Check the model and version MIUI (Settings β The phone)|Make sure the battery is charged at least 70%|Download the correct firmware version (see table below)|Prepare the cable. USB and PC (for methods with ADB/Fastboot)-->
Pay special attention to the choice of firmware. Only the version can be installed. MIUI, which:
- π Compatible with your smartphone model (e.g. Redmi Note 10 Pro codenamed sweet).
- π No older than 3 months from the current date (otherwise, the antirollback will work).
- π Support your region (Global, EEA, China, Russia).
| Xiaomi model | Code name | Minimum version MIUI kickback | The risk of anti-rollback |
|---|---|---|---|
| Redmi Note 11 Pro+ 5G | peux | MIUI 13.0.4 | High-pitched |
| Poco X3 Pro | vayu | MIUI 12.5.3 | Medium. |
| Xiaomi 12 Lite | taoyao | MIUI 13.0.2 | Low. |
| Redmi 10 2022 | selene | MIUI 12.5.7 | High-pitched |
Where to download the firmware:
- π Official website MIUI Downloads (select Stable versions).
- π Xiaomi Firmware Updater (archive of all versions).
- π₯ Telegram channels, like, @MIUIUpdatesTracker (linkage).
β οΈ Note: If your device is linked to a Mi Account (Find Device enabled), a firmware rollback may cause a password request when you first download it. Make sure you remember the account details, or untie the device in advance in Settings β Xiaomi account β Find Device.
3. Method 1: Recovery (for unlocked bootloader)
This is the easiest method, but it only works if:
- β You have customized recovery installed (TWRP, OrangeFox).
- β bootloader unlocked (checked by the command fastboot oem device-info).
- β You have a full firmware in.zip format (not a.zip format). OTA-update!).
Step-by-step:
- Download the correct version MIUI (for example, miui_SWEETGlobal_V12.5.3.0.RKFMIXM_xxxx.zip) And move it to the root of the phone's memory.
- Turn off your smartphone and press the power. + Volume Up to enter the TWRP.
- In Recovery, select Wipe β Advanced Wipe and mark Dalvik/ART Cache, System, Data (if you want a full reset).
- Return to the main menu, click Install and select the downloaded.zip file.
- Confirm the swipe installation and wait for completion (5-10 minutes).
- After installation, select Reboot β System.
π‘
If after the reboot the smartphone stuck on the logo MIUI, clamp down the Power + Volume Up for 10 seconds for a forced reboot. If it doesn't work, repeat the firmware installation by pre-formatting the Data partition into the new version. TWRP.
Advantages of the method:
- βοΈ Does not require a connection to a PC.
- βοΈ Stores user data (unless you do Wipe Data).
Disadvantages:
- β It only works with an unlocked loader.
- β Risk of "brick" with the wrong choice of firmware.
Method 2: Remove updates through ADB (data-free)
If you do not have an unlocked bootloader, but have access to debugging by USB, You can try to remove the latest security update. ADB. This method is suitable for non-system patches (e.g., monthly updates set as a "switch" or "switch"). OTA).
What you need:
- π₯οΈ Computer with installed ADB and Fastboot.
- π USB-cable (preferably original).
- π± Included debugging by USB (Settings β The phone. β Version. MIUI β 7 times press β Additional settings β For developers β Debugging by USB).
Instructions:
- Connect your smartphone to your PC and confirm access USB (There will be a request on the phone).
- Open the command prompt (Windows) or terminal (Linux/macOS) and type: adb devices Make sure the device is identified (serial number should appear).
- Get a list of service packs: adb shell pm list packages | Look for lines like com.miui.systemAdSolution or com.miui.securityupdate.
- Remove the service pack (example for security patch): adb shell pm uninstall -k --user 0 com.miui.securityupdate
- Reboot the device: adb reboot
This method does not guarantee a full rollback - it only removes the "addition" of the update, but the kernel and system libraries will remain new. MIUI use firmware techniques.
β οΈ Note: Some models (Xiaomi 13 Pro, Redmi) K60) Service packs are protected by the system MIUI Optimization. Deleting them can lead to a cyclical reboot, in which case only a complete flashing will help.
5. Method 3: Recoil via Fastboot (for a locked bootloader)
If the bootloader is locked, but you are ready for a full data reset, you can use the official Xiaomi tool - Mi Flash Tool. This method is suitable for devices that do not support anti-rollback (see the list in the table above).
Step-by-step:
- Download the Mi Flash Tool and unpack the archive.
- Download Fastboot firmware for your model (file with.tgz or.zip extension, inside the folder with.img files).
- Turn off your phone and press the power. + Volume Down to log into Fastboot (a hare in a hat-eared hat will appear on the screen).
- Connect your smartphone to your PC and start MiFlash.exe.
- In the program, click Select and specify the path to the firmware folder. Make sure that your device is displayed at the bottom (for example, for example, COM3).
- Select Clean All mode and press Flash.
- Wait for the end (5-15 minutes) and the phone will reboot automatically.
Warnings:
- π¨ This method erases all data, including photos and apps.
- π¨ Newer models (Xiaomi 14, Redmi Note 12) may require authorization for Mi Account after firmware.
- π¨ If the firmware is not suitable for your region, some features may not be available after the reboot (e.g, NFC or 5G).
What to do if the Mi Flash Tool is an anti-rollback error
6. Method 4: Use of custom firmware (for power users)
If standard methods donβt work, you can install an alternative firmware based on an older version. MIUI or AOSP. Popular options:
- π± MIUI EU (European assembly without bloat, but with current patches).
- π± Pixel Experience or LineageOS (Pure Android with no security updates from Xiaomi).
- π± Xiaomi.eu Stable (mixes of older versions) MIUI bug-corrected).
Advantages:
- βοΈ Full control over updates (you can turn them off permanently).
- βοΈ No unnecessary restrictions MIUI (For example, blocking background processes).
Disadvantages:
- β Requires an unlocked bootloader.
- β Banking applications may not work (due to lack of certification).
- β No official support (updates coming from community).
Where to download:
- π Xiaomi.eu (official website) MIUI EU).
- π XDA Developers (partition of your model).
- π Telegram chat MIUI Russia (Russian-language support).
π‘
Installing custom firmware is the only way to get rid of Xiaomiβs security updates completely, but it requires deep knowledge and prepares for no warranty.
7. Method 5: Disable automatic updates (if rollback is not possible)
If none of the methods are suitable (for example, due to anti-rollback), you can block the installation of new patches.This will not remove current updates, but will prevent problems in the future.
How to disable updates:
- Go to Settings β About the phone β System update.
- Click on the icon. βοΈ (gear in the top corner.
- Turn off the options: π Automatic booting over Wi-Fi π Notifications of updates
hosts
echo "127.0.0.1 update.miui.com" >> /system/etc/hosts
echo "127.0.0.1 api.update.miui.com" >> /system/etc/hostsAlternative method (without root):
- π΅ Install Blockada and blacklist the domains: update.miui.com, api.update.miui.com, sdkconfig.ad.xiaomi.com.
Limitations of the method:
- β οΈ Does not protect against manual installation of updates (for example, through Updater in the MIUI).
- β οΈ On some models (Xiaomi 13, Redmi) K50) Updates are set in the background despite settings.
8. Frequent mistakes and how to avoid them
When rolling back security updates, users often face the following issues:
| Mistake. | Reason. | Decision |
|---|---|---|
| Anti-rollback check fail | Trying to install a too old firmware | Use a version not older than 3 months or firmware with antirollback bypass |
| Cyclical reboot (bootloop) | Incompatible firmware or incomplete installation | Repeat the firmware through Fastboot with a full reset (clean all) |
| This package is for "xxx" devices; this is a "yyy" | The firmware is not suitable for the model/region | Download the correct version (check the device code name) |
| Requesting Mi Password After Firmware | The device is tied to the account | Enter account details or untie the device in advance |
Additional advice:
- π Always check the battery level before running the firmware.If the phone runs out during the process, it can lead to an irrecoverable breech.
- π Use the back. USB-port on PC (on laptops they are more stable than the front ones).
- π‘ Turn off Wi-Fi and mobile data before rolling back so the system doesnβt start downloading updates automatically.
π‘
If after rolling back the smartphone began to work slower, reset the cache in Recovery (Wipe) β Wipe Cache: This often solves lag problems without losing data.