How to completely disable root access on Android Xiaomi: 3 proven methods

Getting root rights on Xiaomi, Redmi or smartphones POCO It opens up a lot of possibilities for customization of the system, but often leads to unstable work, problems with updates or even locking the device. MIUI, stopped receiving OTA-Update or plan to sell your phone – removing root access becomes a necessity.

In this article, we will discuss three officially supported ways to disable root on Xiaomi (including devices with a locked bootloader), as well as how to check the success of the process and avoid common errors. The instructions are relevant for all models based on MIUI 12-14 and HyperOS, including Xiaomi 13/14, Redmi Note 12 and POCO F5.

Why you should remove root rights on Xiaomi

Root access disrupts the integrity of the MIUI system, leading to a number of problems:

  • 🚫 Lockdown OTA-Xiaomi bans installing firmware β€œover the air” on devices with a modified system.
  • πŸ”’ Security issues: Banking applications (Sberbank, Tinkoff) and games (Genshin Impact, PUBG Mobile Refuses to Work Due to Root Discovery.
  • πŸ“± Unstable operation: Accidental reboots, com.android.systemui errors and fast battery discharge are frequent companions of rooted devices.
  • πŸ’° Sale problems: Buyers on Avito or Yula often ask for proof of no root before a deal.

In addition, some Xiaomi service centers refuse warranty repairs if they detect traces of rooting – even if the problem is not related to the software part, for example, when replacing a display or battery.

⚠️ Note: Root removal does not always restore the possibility of obtaining OTA-If you installed custom firmware (like LineageOS or Pixel Experience), you will need a full return to stock. MIUI via Fastboot.

πŸ“Š Why did you get root on Xiaomi?
For custom firmware installation
To remove embedded applications
For cheating games
Out of curiosity.
Other

Method 1: Remove root through Magisk (the safest)

If you get root with Magisk (the most popular method for Xiaomi), you can turn it off directly from the app, which is suitable for devices with an unlocked bootloader and installed TWRP or other custom recaveri.

Instructions:

  1. Open the Magisk Manager app (if not, download the latest version from the official GitHub).
  2. Go to the Settings section (cog in the upper right corner).
  3. Scroll down and click Full Delete Magisk (Complete Uninstall).
  4. Confirm the action and wait for the device to restart.

After the reboot, check root status with the Root Checker app from Google Play. If Magisk was installed in the systemless root, this method will remove all traces of modifications.

β˜‘οΈ Preparing for the removal of Magisk

Done: 0 / 4

⚠️ Note: If after removing Magisk phone is stuck on the logo MI β€” Don't panic. + Volume up for entrance to Fastboot, then swipe stock recavers through Mi Flash Tool.

Method 2: Recoil through TWRP (for power users)

If Magisk was installed via TWRP and simple uninstallation didn’t work, you’ll need to manually flash the original boot.img. This method is suitable for devices with an unlocked bootloader (Bootloader Unlocked).

Step-by-step:

  1. Download the stock firmware for your model from the official Xiaomi website (choose the Fastboot or Recovery version).
  2. Remove the boot.img file from the archive (located in the image folder).
  3. Reboot the phone to TWRP (clip Power + Volume up when turned on).
  4. In TWRP, select Install β†’ Install Image and specify the path to boot.img.
  5. Select the Boot section and confirm the firmware.
  6. Once completed, run Wipe β†’ Format Data (this will delete all data, including internal memory!).
  7. Reset the device.

If the phone doesn’t start after boot.img firmware, try flashing the full stock firmware package through the Mi Flash Tool in Clean All mode.

Xiaomi modelMIUI versionSupported methodThe risk of bricks
Xiaomi 13/13 ProMIUI 14 / HyperOSMagisk, TWRPLow.
Redmi Note 12 Pro+MIUI 13–14Magisk, FastbootMedium.
POCO F5MIUI 14 (Global)TWRP, Mi FlashHigh (due to section A/B)
Xiaomi 11T ProMIUI 12.5–13All methods.Low.
What if TWRP doesn’t see internal memory?
If, after entering, TWRP Your internal memory is not mountable, try it: 1. Connect your phone to your PC and copy boot.img through MTP. 2. Use it. OTG-wire-drive. 3. Sweep TWRP Repeatedly (the Recaveri version may be outdated).

Method 3: Complete reset via Mi Flash Tool (guaranteed result)

If previous methods didn't work or you installed custom firmware, the only reliable way to get your phone back to factory status is to flash the stock firmware through the Mi Flash Tool, which deletes all data, including photos, messages and apps.

What you need:

  • πŸ–₯️ Windows computer 10/11 (For the Mi Flash Tool).
  • πŸ”Œ Cable USB Type-C (original, undamaged).
  • πŸ“± Unlocked bootloader (if the lock is not removed, the firmware will not succeed).
  • πŸ”‹ Battery charge of at least 30%.

Instructions:

  1. Download the stock firmware for your model (choose the Fastboot version).
  2. Unpack the archive into a folder without Cyrillic characters (e.g., C:\Xiaomi\ROM).
  3. Install the Mi Flash Tool and Xiaomi drivers.
  4. Turn off the phone and press Power + Volume down to log into Fastboot.
  5. Connect your phone to your PC. In the Mi Flash Tool, press Select and specify the firmware folder.
  6. Select Clean All mode and press Flash.
  7. Wait for the end (10-15 minutes) and the phone will reboot automatically.

Once firmware is in place, the device will be as new as it is, without root, custom recovery, or modifications, and this method is guaranteed to remove all traces of rooting, but requires an unlocked bootloader.

πŸ’‘

If the Mi Flash Tool gives you an "anti-rollback" error, download the older firmware version. Xiaomi blocks the rollback of early MIUI builds for data protection.

How to Check if Root Is Really Removed

Even after successful root removal, some applications may continue to "see" it. To make sure there are no traces of modifications left, do the following checks:

  1. Root Checker: Install the app from Google Play and run the check. If the status of Root access: Not available - root is removed.
  2. SafetyNet: Enter the command in Termux: su -c "getprop ro.boot.verifiedbootstate" If the result is green - SafetyNet is successful.
  3. Banking application test: Try installing SberBank Online or Tinkoff, and if they run without errors, root is deleted.
  4. Check system files: Open the File Manager and check if there is a /magisk folder or files called busybox, su.

If at least one of the tests shows root, repeat the removal procedure or use the Mi Flash Tool for full flashing.

Frequent mistakes and their solutions

When removing root on Xiaomi, users often face the following problems:

Mistake.Reason.Decision
Bootloop (looking on the logo)Incompatible version of boot.imgSwipe stock recaps through Fastboot:
Mi Flash: "Flash is not done"Blocked bootloader or antivirusDisable Windows Defender protection, re-unlock Bootloader
Apps are still detecting rootThere are traces in /system or /vendor.Run Format Data in TWRP or flash through Mi Flash
Invalid IMEI after the firmwareModem section damagedRestore IMEI via QCN or MauiMeta

If after all the manipulations the phone does not turn on or gives an error This MIUI version cannot be installed on this device, then you are trying to flash the firmware for a different model or region.

πŸ’‘

After root removal, the phone stopped seeing SIM-Check the integrity of the files in the section /modem. Often the problem is solved by repeated firmware stock MIUI Clean All and Lock (Blocking the bootloader back).

Can root be deleted without data loss?
Theoretically, yes, if you use Magisk (method 1). However, if you run through TWRP or Mi Flash Tool, all data will be erased. We recommend backing up your data in advance through Google Drive or Mi Cloud.
Will Google Pay work after root removal?
Yes, but only if you pass SafetyNet. Check status through the SafetyNet Test app. If you fail, install the MagiskHide Props Config module or run the stock firmware.
How to unlock the bootloader if I blocked it after removing the root?
Re-unblocking is possible through the official tool Xiaomi. however, you will have to wait 7-30 days (depending on the account Mi). EDL-This requires an authorized Xiaomi account.
Can I get root back after removal?
Yes, but it will require unlocking the bootloader again and repeating the Magisk or SuperSU installation procedure.
Why did the root phone slow down after the root was removed?
This is a temporary effect associated with the rearrangement of the MIUI cache. perform a cache reset to Recovery (Wipe β†’ Wipe Cache) or wait for the system optimization (usually takes 1-2 days).