How to completely disable Root rights on Xiaomi: 3 working methods

Getting Root rights on Xiaomi, Redmi or POCO smartphones opens up access to advanced system settings, but often leads to problems: denial of warranty service, blocking of banking applications, unstable firmware. If you encounter errors after rooting or just want to return the device to its original state, our guide will help you safely remove Root rights without losing data (with the right approach).

In this article, we will discuss three current methods of disabling root rights on MIUI 14/15 (including hyperos): via Magisk (for temporary root), complete removal via TWRP, and resetting to factory settings with an unlocked bootloader. We will pay special attention to the nuances for models with Snapdragon and MediaTek processors, and also warn against typical errors that can turn a smartphone into a β€œbrick”.

Why you should remove the Root rights on Xiaomi

Root access gives you freedom, but at the cost of stability, and here are the key reasons to get the device back to stock:

  • πŸ”’ Blocking banking applications: Sberbank Online, Tinkoff, Google Pay and other services refuse to work on rooted devices due to security requirements.
  • πŸ› οΈ Problems with OTA-update: MIUI may stop offering updates over the air or install them with errors.
  • πŸ“± Unstable system operation: random reboots, lags in the interface, fast battery discharge - frequent satellites of an incorrectly installed root.
  • πŸ”„ Warranty repair: Xiaomi service centers refuse warranty if rooting traces are detected (even if the problem is not related to it).

In addition, some games (such as PUBG Mobile or Genshin Impact) block rooted devices because of anti-cheats, and if you plan to sell a smartphone, having root rights will significantly reduce its value in the secondary market.

⚠️ Attention: On Xiaomi models 13/14 series and Redmi Note 12 Pro+ Snapdragon-powered 8 Gen 2 Incorrect removal of the root can lead to blocking of the bootloader. Before the procedure, check the unlock status of the fastboot oem device-info command.

Preparing for Root Rights Removal: What to Do in Advance

Before you start removing root rights, follow the mandatory steps:

β˜‘οΈ Checklist before removing Root

Done: 0 / 5

Pay special attention to backup. Even if you plan to delete the root without resetting data, there is always a risk of failure. Use the built-in MIUI Backup app or third-party utilities like Swift Backup (requires root rights, but allows you to save application data).

For models with a MediaTek processor (e.g. Redmi Note) 11 or POCO M4 Pro) download the drivers further VCOM utility SP Flash Tool - they may be required to restore the system in case of errors. Owners of devices on Snapdragon are enough Mi Flash Tool and ADB/Fastboot.

Xiaomi modelProcessorEssential toolsThe risk of blocking
Xiaomi 13 ProSnapdragon 8 Gen 2Mi Flash Tool, ADBHigh-pitched
Redmi Note 12Snapdragon 4 Gen 1Fastboot, the original firmwareMedium.
POCO X5 ProSnapdragon 778GTWRP, MagiskLow.
Redmi 10AMediaTek Helio G25SP Flash Tool, VCOM driversHigh-pitched
πŸ“Š What kind of rooting method did you use?
Magisk
SuperSU
KingRoot
Other
I remember.

Method 1: Remove Root through Magisk (for temporary root)

If you have installed root rights through Magisk (the most popular way for Xiaomi), you can disable them directly from the app without resetting data.This method is suitable for soft root, when system files have not been changed globally.

Instructions:

  1. Open the Magisk app on your smartphone.
  2. Go to the Modules tab and remove all installed modules (if any).
  3. Return to the home screen and click Delete Magisk (or Uninstall β†’ Complete Uninstall in newer versions).
  4. Confirm the action and wait for the device to restart.

After the reboot, check the root rights status with the Root Checker app. If Magisk was installed in the system partition rather than through the boot, additional cleaning through TWRP may be required.

⚠️ Attention: On some firmware MIUI After deleting Magisk, the file remains /data/adb/magisk.img. Remove it manually through a root-access file manager (like Root Explorer) before the final reboot.

πŸ’‘

If after removing Magisk smartphone is fixated on the MI logo, press Power + Volume Up to log into TWRP and run Wipe β†’ Format Data (this will erase all data!).

Method 2: Complete removal of Root via TWRP (for permanent root)

If the root rights were installed through a modified kernel or system files, simply removing Magisk is not enough. In this case, you will need custom TWRP recaps and original firmware. This method is suitable for devices with an unlocked bootloader.

Step-by-step:

  1. Download the original firmware (.zip) for your model from MIUI Download (select Fastboot or Recovery version depending on the firmware method).
  2. Reboot your smartphone to TWRP (press Power + Volume Up when you turn on).
  3. In TWRP, select Wipe β†’ Advanced Wipe and select Dalvik/ART Cache, System, Data (this will delete all data!).
  4. Return to the main menu, click Install and select the downloaded firmware file.
  5. After installation, run Wipe Cache/Dalvik and restart the device.

If the device does not boot after firmware, try installing the firmware via Fastboot using the Mi Flash Tool.

1 Unpack the downloaded firmware (Fastboot version) in the folder on the PC.


2. Connect your smartphone in Fastboot mode (Power + Volume Down).




3. Launch the Mi Flash Tool, select the firmware folder and press Refresh.




4. Press Clean All (this will erase all data!) and wait until the process is over.

What to do if the Mi Flash Tool is an anti-rollback error
This error occurs when you try to flash an older version of MIUI than the one installed now. Solution: 1. Download the same or newer version of the firmware. 2. If the error persists, use the command fastboot oem edl to go to EDL mode and run through QFil (for Snapdragon) or SP Flash Tool (for MediaTek).

Method 3: Reset to factory settings with unlocked bootloader

The most radical, but reliable way is to completely reset the device with the bootloader pre-unlocked, which is guaranteed to remove all traces of root rights, but also erase all data, suitable for devices where the root was installed long ago and in no way known.

Instructions:

  1. Unlock the bootloader through the official Mi Unlock Tool utility (if it is not already unlocked). To do this: Link the Mi Account to the device in Settings β†’ Xiaomi Account β†’ Mi Cloud. Enable OEM Unlock in Settings β†’ For developers. Connect your smartphone to your PC, launch the Mi Unlock Tool and follow the instructions.

Settings β†’ Additional β†’ Recovery and Reset

Resetting settings

After rebooting, the device will be in a drain state without root rights.

Important: Newer models (Xiaomi 13/14, Redmi Note 12) may require firmware via Fastboot after unlocking the bootloader, as resetting through the settings menu does not always restore the original kernel.

πŸ’‘

Unlocking the bootloader resets all data on the device, including photos and apps. Use this method only if other methods have not helped or you plan to sell a smartphone.

Check: How to make sure that the Root rights are removed

After completing any of the instructions, check to see if the root rights have been deleted.

  • πŸ“± Root Checker: Install from Google Play and run the check. If Root access: Not available, root is remote.
  • πŸ” Check through ADB: Connect your smartphone to your PC and execute the command: adb shell su If the error appears permission denied – root is absent.
  • πŸ›‘οΈ Test of banking applications: Try to install Sberbank Online or Google Pay. If they work without errors, the root is successfully removed.
  • πŸ”„ Verification OTA-Updates: Go to Settings β†’ Update system. If updates are available, the system is back in stock.

If the check shows that the root rights are still there, repeat the removal procedure or try another method. Some firmware (for example, custom ones like Pixel Experience) may need to completely flash to the official MIUI.

Frequent Mistakes and How to Avoid Them

When removing root rights, users often face typical problems, and here are the most common ones and how to solve them:

Mistake.Reason.Decision
The device does not turn on after removing MagiskThe kernel or system files are damagedSwipe the original kernel through Fastboot (fastboot flash boot.img)
Mi Flash Tool is a "flash not done" errorIncompatible firmware version or blocked bootloaderUse firmware of the same version or newer, check the status of the bootloader
After the reset, traces of the root remained (applications determine the root)Not all Magisk files are deletedManually delete /data/adb and /cache folders via TWRP
The sensor does not work after the firmwareIncompatible version of TWRP or firmwareSwipe the original firmware through EDL mode (for Snapdragon)

Another common problem is blocking Mi accounts after a reset, which happens if you don't untie your Xiaomi account from your device before reset, and you need to log in the username and password from your associated account to unlock your smartphone, and if you don't remember the data, restore access through account.xiaomi.com.

πŸ’‘

Before selling your smartphone, be sure to untie your Mi Account in Settings β†’ Xiaomi Account β†’ Sign out. Otherwise, the new owner will not be able to use the device!

FAQ: Answers to Frequent Questions

Can Root Rights be Deleted Without Losing Data?
Yes, if the root was installed through Magisk in boot.img mode (not system), in which case it is enough to remove Magisk through the application itself, if the root was sewn into system files, data loss cannot be avoided, you will need a complete firmware reflash.
After removing the root, the banking applications stopped working.
Sometimes banking applications cache root rights information. Try: Clear app data to Settings β†’ Applications. Install MagiskHide Props Config (if Magisk is still installed) and hide root. Use alternative versions of applications (e.g. Sberbank Online Lite).
How to delete Root on Xiaomi if you forget the password from Magisk?
If you don’t remember the password from Magisk (for example, to unlock modules), follow the following steps: Reboot to the following: TWRP. Go to File Manager and delete the file. /data/adb/magisk.db. Restart the device, the password will be reset. TWRP Uninstalled, run the original recavator through Fastboot: fastboot flash recovery recovery.img fastboot boot recovery.img
Will Google Pay work after the root is removed?
Yes, but only if: Root rights are completely removed (including traces in /system). The device has passed SafetyNet certification (check through the SafetyNet Test app). The smartphone has official MIUI firmware installed (the castom firmware may not be checked). If Google Pay still doesn't work, try: Clear the data of the Google Play Services app. Install Universal SafetyNet Fix (if Magisk is still installed). Reset Google Play Security settings in Google Play account settings.
Can I return the warranty after removing the Root?
No, technically, even if you completely remove the root rights and return the device to stock, Xiaomi service centers can check the status of the bootloader or the presence of traces of modifications in the system. EFS-However, in practice: If the problem is not related to the software part (e.g., a broken screen), a warranty can be provided. 13/14) Checking for root is more likely to fail, some service centers may turn a blind eye to an unlocked bootloader for an additional fee, for maximum odds: Sweep through the original firmware through the Mi Flash Tool with the Clean All option. Lock the bootloader back (on some models, this is possible via fastboot oem lock.