How to remove root rights on Xiaomi: 5 working methods

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.

πŸ“Š What method of rooting did you use?
Magisk
SuperSU
Castom Recavery (TWRP)
Another way.

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:

  1. Install a file manager with root access (such as Root Explorer).
  2. 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:

  1. Turn off your smartphone and press Volume Down + Power to log into the Fastboot.
  2. Connect the device to your PC and start the Mi Flash Tool.
  3. Select the downloaded firmware (.tgz format) and press Refresh to allow the program to define the device.
  4. 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:

  1. Download the official MIUI firmware in.zip format (not.tgz!).
  2. Reboot to TWRP (click Volume Up + Power).
  3. 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?
If the device is stuck on the MI logo or goes to the bootloop, try: 1. Repeat the firmware with a full vipe. 2. Install another version of MIUI (for example, an older or newer version). 3. Return to the Fastboot firmware through the Mi Flash Tool. If nothing helps, perhaps damaged partition EFS - in this case, you will need service repairs.

5. Root removal verification and SafetyNet recovery

Once root rights are removed, you need to make sure that the system is truly clean.

  1. Install Root Checker and run the check, and if the superuser is not available, the first step is passed.
  2. Check SafetyNet status through the SafetyNet Test app or Google Pay settings. If the check fails, there are traces of modifications in the system.
  3. 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 causeDecision
After the removal of Magisk root remainedNot all modules were deactivated.Remove /data/adb/modules folder manually via TWRP or ADB
The device does not turn on after firmwareIncompatible version of MIUI or damaged boot.imgFastboot with the Clean All option
SafetyNet does not pass even after root removalUnblocked Bootloader or modified build.propBlock Bootloader via Mi Unlock Tool or edit build.prop
Google Pay or Banking Apps Are Not WorkingRemains of Magisk or Xposed tracesInstall 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.

FAQ: Frequently Asked Questions

Can root be removed without data loss?
Yes, if you've used Magisk and you've chosen Complete Uninstall. However, in some cases (for example, module conflicts), you may need to reset. For reliability, always back up via Mi Cloud or TWRP.
Why is Google Pay not working after root removal?
This is because SafetyNet not only checks for root, but also for Bootloader status. If it's unlocked, some applications (especially banking ones) can block access. Solutions: Block Bootloader via Mi Unlock Tool (will result in reset); Use MagiskHide Props Config to mask status; install a custom core with SafetyNet support.
How to check if the root is completely removed?
Use a combination of methods: Root Checker (should show no access) Command in the terminal: su (should return the Permission denied error), SafetyNet Verification via Google Play or SafetyNet Test. If at least one test fails, root is not completely removed.
Can I return the original bootloader after unlocking?
Yes, but it will cause a complete reset of the device. To do this: Download the Mi Unlock Tool from Xiaomi's official website. Sign in with the same Mi Account that was used to unlock. Connect your phone in Fastboot mode and follow the instructions of the program. Once you lock the Bootloader, the device will be completely reset and all data deleted.
Which Xiaomi models are the hardest to β€œclean” from root?
The biggest problems are with MediaTek processor devices (e.g. Redmi 9A, POCO C31) and new flagships (Xiaomi 13, Redmi K60). Causes: Closed source bootloader from MediaTek. SafetyNet hardware binding to Bootloader on new Snapdragon chips. No custom recavers for some models. In such cases, full flashing through Fastboot with boot boot lock is often required.