Getting root rights on Xiaomi gives users access to hidden Android features, but often leads to unstable system operation, problems with updates or even locking the device. OTA-Updating or simply deciding to return the smartphone to factory state β root removal becomes a necessity. In this article, we will discuss all the current ways to remove root rights on Xiaomi, Redmi and devices. POCO, including models MIUI 12/13/14 custom-made.
It's important to understand that the root removal process depends on how you get it. If you've used Magisk, SuperSU, or manual editing boot.img, the approaches will be different. We'll look at both software (via apps) and hard-to-flash methods (with full firmware), and we'll focus on restoring the original bootloader and solving the blocked Bootloader problem that often occurs after root is removed.
Before you start, check the current root rights status, and you can either install the Root Checker app from Google Play or type in the terminal command su. If you get access, you'll see a superuser invitation, and you can now choose the removal method depending on your situation.
1. root removal via Magisk (the safest way)
If you obtained root rights with Magisk (the most popular method for modern Xiaomi devices), you can delete them through the same application, which saves user data and does not require flashing, but only works if Magisk is installed correctly and has not been damaged.
Open the Magisk app and go to Uninstall, where you will find two options:
- π Complete Uninstall is a complete removal of Magisk and all modules, but with the user data saved.
- π§Ή Restore Images β Restore the Original Images boot.img and recovery.img. This option is needed if you plan to pass SafetyNet check (for example, for banking applications).
Once you select the option, the device will automatically restart, and if Magisk is still detected after the reboot (check with the Root Checker), then there are traces of modifications in the system, in which case you will have to resort to more radical methods described below.
β οΈ Note: If you have installed Magisk modules that have modified system files (such as Riru or LSposed), traces of them may remain even after uninstallation. MIUI.
2. SuperSU Removal (for old firmware)
If your Xiaomi device runs on the older version of MIUI (up to the 10th inclusive) and the root was obtained through SuperSU, the removal process will be different.This method is considered outdated, but is still relevant for models like the Redmi Note 3 or Mi 5.
First, open the SuperSU app and go to settings (β β Full unroot. Confirm the action and wait for the reboot. If the root rights are retained after that, follow the following steps:
- Install a file manager with root access (such as Root Explorer).
- Delete files: /system/bin/su /system/xbin/su /system/xbin/daemonsu /system/app/SuperSU (folder)
Reset the device.
If the system is unstable after that, it is recommended to reset to factory settings via Settings β Additional β Restore and Reset. This will help remove residual files that may have affected the MIUI.
π‘
Before removing SuperSU, back up your data via Mi Cloud or Google Drive.Older versions of MIUI often lose data when reset.
3. Flashing through Fastboot (guaranteed root removal)
The most reliable way to remove root rights is to completely flash your device through Fastboot mode, which is suitable for all Xiaomi models, including the Redmi Note 10 Pro, POCO F3 and other modern devices, the advantage is that you get a clean system without any modifications, but all data will be deleted.
You'll need firmware.
- π₯οΈ Computer with drivers installed ADB/Fastboot.
- π Original. USB-cable (preferably from the set).
- π Official firmware for your model (download from en.miui.com).
- π§ Mi Flash Tool (last version).
Instructions:
- Turn off your smartphone and press Volume Down + Power to log into the Fastboot.
- Connect the device to your PC and start the Mi Flash Tool.
- Select the downloaded firmware (.tgz format) and press Refresh to allow the program to define the device.
- At the bottom, select the Clean All option and click Flash.
It takes 5-10 minutes. Once completed, the device automatically restarts to the clean system without root, and this method also restores the original bootloader, which is important for the SafetyNet test to pass.
β οΈ Note: If your Bootloader has been unlocked, it will remain unlocked after being firmwareed through Fastboot. To return Locked status, you will need a formal procedure through the Mi Unlock Tool, but this will result in a complete reset.
Download the official firmware for your model|Install Mi Flash Tool and Drivers ADB|Make a backup copy of important data|Charge your phone at least 50 times%|Connect the original USB-cable-->
4. root removal via TWRP (for custom firmware)
If you use custom TWRP recavators and custom firmware (like LineageOS or Pixel Experience), the root removal process will be different, in which case you not only need to remove the superuser rights, but also return to the stock firmware MIUI.
Steps to remove root through TWRP:
- Download the official MIUI firmware in.zip format (not.tgz!).
- Reboot to TWRP (click Volume Up + Power).
- Run Wipe β Advanced Wipe and mark: Dalvik / ART Cache System Data Cache
Install
Wipe Cache/Dalvik
If the device doesn't boot or there are errors, then the firmware was chosen incorrectly, and then you'll have to use the Fastboot method described above.
What if the phone does not turn on after the firmware is flashed through TWRP?
5. Root removal verification and SafetyNet recovery
Once root rights are removed, you need to make sure that the system is truly clean.
- Install Root Checker and run the check, and if the superuser is not available, the first step is passed.
- Check SafetyNet status through the SafetyNet Test app or Google Pay settings. If the check fails, there are traces of modifications in the system.
- To restore SafetyNet, you may need to: Install the original boot.img, Reset DM-Verity (via Magisk, if it is still installed), Manual edit the build.prop file (for power users).
If SafetyNet still doesnβt pass and banking apps donβt work, try:
- π Fastboot with Clean All and Lock option (if Bootloader has been unlocked).
- π± Use the Magisk Universal SafetyNet Fix module (if root is still needed but you need to bypass the check).
Important: On some Xiaomi models (e.g. Redmi Note 9 Pro or POCO X3), even after completely removing root SafetyNet may not pass due to hardware binding to the unlocked bootloader, in which case you only have to block Bootloader back, but this will lead to a complete reset.
6. Frequent errors and their solutions
When removing root rights, users often face typical problems, and consider the most common and ways to solve them:
| Problem. | Possible cause | Decision |
|---|---|---|
| After the removal of Magisk root remained | Not all modules were deactivated. | Remove /data/adb/modules folder manually via TWRP or ADB |
| The device does not turn on after firmware | Incompatible version of MIUI or damaged boot.img | Fastboot with the Clean All option |
| SafetyNet does not pass even after root removal | Unblocked Bootloader or modified build.prop | Block Bootloader via Mi Unlock Tool or edit build.prop |
| Google Pay or Banking Apps Are Not Working | Remains of Magisk or Xposed traces | Install MagiskHide Props Config or complete reset |
If none of the methods worked, it may be hardware changes (such as a modified IMEI or a damaged EFS partition) that are a problem, and you should contact Xiaomiβs service center.
π‘
Always back up your data before any firmware manipulations, and even βsafeβ root removal methods can lead to loss of information.