How to remove root access on Xiaomi: 5 proven ways (2026)

Getting root rights on Xiaomi, Redmi or POCO smartphones opens up a lot of customization opportunities, but often leads to problems: denial of warranty service, blocking of banking applications, unstable system operation. If you decide to return the device to its original state - remove root access - it is important to do it correctly to avoid "brick" or data loss.

In this article, we will discuss all the current ways to remove root rights to Xiaomi in 2026: from a standard reset via settings to manually reflashing through Fastboot. Special attention will be paid to the nuances for different versions of MIUI (12-14) and models with a locked bootloader. If you are not sure about your actions, use the safest method (section 2), but be ready to completely clean the device.

We warn you in advance that removing root rights does not guarantee restoration of warranty – the manufacturer can detect traces of unlocking the bootloader through service utilities, but this will return the functionality of most applications and eliminate system errors.

1.Why do you need to remove root access on Xiaomi?

Root rights give you complete control of the system, but with them come risks, and here are the main reasons why users decide to get rid of them:

  • 🚫 Blocking banking applications: SberBank Online, Tinkoff, Google Pay and others refuse to work on rooted devices due to security requirements.
  • πŸ”„ Unstable work MIUI: Accidental reboots, application errors (com.android.phone), slow operation – frequent root satellites.
  • πŸ›‘οΈ Virus Vulnerability: With root access, malware can gain control of system files, including bank card data.
  • πŸ“± Problems with OTA-Xiaomi blocks installation of official firmware on devices with modified system.
  • πŸ”§ Warranty Repair: Even after root removal, service centers can detect traces of bootloader unlocking through the root. EDL-regime.

According to 2026 statistics, more than 60 percent of users delete root rights within the first 3 months of obtaining them, the main reason is incompatibility with modern applications, especially financial ones. If you encounter one of these problems, go to the next section with instructions.

πŸ“Š Why You Get Root Access on Xiaomi?
For custom firmware installation
To remove embedded applications
To overclock the processor
Out of curiosity.
Other

2.The safest way: reset via MIUI settings

If you get root access through apps like Magisk or KingRoot without unlocking the bootloader, try this method: it doesn’t require a PC connection and saves user data (photos, contacts), but deletes all installed applications.

Important: it only works on closed-loader devices. If you unlock it through the Mi Unlock Tool, go to section 3 or 4.

Turn off root access in Magisk (if installed)

Create a backup copy of important data

Charge your phone at least 50%

Connect to stable Wi-Fi (you will need to download the firmware)-->

  1. Open Settings β†’ About the phone and 7 times click on the MIUI version to activate the developer mode.
  2. Return to the main settings menu and go to Additional β†’ For Developers. Turn off the Root access option (Magisk).
  3. Go to Settings β†’ System β†’ Reset settings and select Reset all settings (does not delete files!).
  4. After the reboot, check the root status through the Root Checker app from Google Play.

If root is left, the bootloader has been unlocked and a more radical method is needed, in which case the only reliable way is to completely reflash through Fastboot (section 4).

⚠️ Note: On some models (Xiaomi) 12T, Redmi Note 11 Pro+) Resetting through settings can lead to a logo hanging, in which case you have to use Fastboot.

3. root removal via Magisk (if installed)

If you used Magisk to get root rights, you can use it to delete, and it saves data, but it requires a workable system and access to recovery.

The instructions are relevant for Magisk version 26.0+ (2026):

  1. Open the Magisk app and go to Settings (cog in the upper right corner).
  2. Select Delete Magisk β†’ Complete Deletion. Confirm action.
  3. The device will automatically restart. Once turned on, check root status through Root Checker.

If you have left Magisk root access after removing it (this happens on firmware with superuser preinstalled), follow the following additional steps:

  • πŸ“± Install a file manager with root access (e.g., Root Explorer).
  • πŸ” Go to the folder. /system/bin/ Delete the files: su, busybox.
  • πŸ”„ Reset the device.
What if Magisk is not removed?
If Magisk attempts to delete the error "Failed to unmount", then the system is damaged. In this case: 1. Download the original firmware for your model from [the official Xiaomi website](https://new.c.mi.com/global/miuidownload/index). 2. Fastboot (instruction in section 4). 3. After the firmware, reset the data in the Wipe β†’ Factory Reset.

4. Complete root removal via Fastboot (100% result)

This is the most reliable method, which works even on bricks and devices with a damaged system, minus total data loss (including internal memory), the method requires a PC with installed Xiaomi drivers and the Mi Flash Tool utility.

Supported models: all Xiaomi, Redmi, POCO smartphones with unlocked bootloader (including Xiaomi 13, Redmi Note 12, POCO F5).

πŸ’‘

Before you run the firmware, check the bootloader version of your device through the command fastboot getvar anti. If the value is anti: 3 or anti: 4, use the firmware marked "Anti-Rollback".

Step.Action.Note
1Download the official firmware for your model (choose the Fastboot version)The file will be in.tgz or.zip. Unpack it.
2Install the Mi Flash Tool and Xiaomi driversWindows 11 may require you to disable driver signature verification.
3Turn off your phone and press Volume Down + Power to log into FastbootThe screen should show the image of a hare in a hat-eared.
4Connect the device to the PC and in the Mi Flash Tool select a folder with unpacked firmwareAt the bottom of the program, select Clean All (Full Cleaning) mode.
5Press Flash and wait for the process to end (5-10 minutes)Do not turn off the cable until the green tick appears.

Once you have the firmware, the device will automatically restart. It can take up to 15 minutes to turn on the first thing, which is normal. Check for root absence through Root Checker and reset the data in the settings if necessary.

⚠️ Note: On anti-Rollback devices (e.g. Xiaomi Mi 11, Redmi) K40) firmware MIUI It will lock the bootloader. Always use the freshest firmware!

5. root removal via TWRP (for power users)

If you have custom recovery TWRP installed on your device, you can delete root without completely flashing it, which saves data but requires caution β€” an error can lead to loss of access to the system.

Instructions for TWRP version 3.7.0+:

  1. Download the official boot.img for your MIUI version from the Xiaomi Firmware Updater website.
  2. Reboot to TWRP (Put Volume Up + Power on the phone off).
  3. In TWRP, select Install β†’ Install Image and specify the path to boot.img.
  4. Select the Boot section and confirm the firmware (Swipe to Flash).
  5. Once completed, click Wipe β†’ Format Data (this will remove encryption but save files in the /sdcard folder).
  6. Reboot to the system.

If the device requires a password after restarting and you did not set it, reset the data via TWRP (Wipe β†’ Factory Reset).

πŸ’‘

Firmware of the original boot.img via TWRP removes Magisk, but does not restore the standard recovery.Fastboot (Section 4) is required to return to stock firmware completely.

6. Verification of the result and restoration of the guarantee

Once root rights are removed, you need to make sure that the system is back to its original state.

  • πŸ” Root Checker: Install the app from Google Play and run the test. Status should be Root access: Not available.
  • πŸ“± bootloader status: Enter the command in the terminal: fastboot oem device-info Device unlocked: false means that the bootloader is locked.
  • πŸ›‘οΈ SafetyNet: Check through the SafetyNet Test application.
  • πŸ”„ OTA-Update: Go to Settings β†’ Update system. If official updates are available, root is successfully removed.

As for the guarantee: even after the complete root removal, Xiaomi service centers can detect traces of unlocking through the Internet. EDL-However, in 90% of cases, when dealing with non-firmware problems (for example, a broken screen), the device is taken for repair.

If it is important to hide the fact of unlocking, consider buying a new device - restore the original. EDL-Certificate at home is not possible.

7. Frequent errors and their solutions

When removing root rights, users often face typical problems, and here are the most common ways to address them:

Mistake.Reason.Decision
The device hung on the MI logoDamage to system files when resetFastboot your device (Section 4)
Mi Flash Tool is a critical partition errorIncompatible version of the firmware (Anti-Rollback)Download the firmware marked ARB for your model
After the removal of Magisk, the su remained in /system/xbin.Incomplete removal of root binariesDelete files manually through Root Explorer or swipe boot.img through TWRP
The touchscreen does not work after the firmwareThe discrepancy between the firmware version and the modelCheck the correctness of the selected firmware on the Xiaomi Firmware Updater website

If your problem is not described in the table, try asking a question in the forums:

  • 🌍 XDA Developers (partition of your model)
  • πŸ‡·πŸ‡Ί 4PDA (Xiaomi topics)
  • πŸ“± Telegram chat MIUI Russia

⚠️ Note: Do not use "magic" scripts to block the bootloader from the Internet (for example, relock_bootloader.sh). On devices with MIUI 13+ This leads to a blockage. EDL and the impossibility of recovery.

FAQ: Answers to Frequent Questions

Can root be removed without data loss?
Yes, but only if the bootloader is not unlocked. Use the method through Magisk (section 3) or reset (section 2). If the bootloader is unlocked, the data will have to be erased.
After rooting, the banking apps still don't work. What do we do?
The problem may be SafetyNet. Install MagiskHide Props Config and activate Hide Magisk. If it doesn't work, you need a full Fastboot flash.
How to check if the bootloader is unlocked?
Turn off your phone and press Volume Down + Power. If you see a hare in a hat that says Unlocked, the bootloader is unlocked.
Can I return the warranty after root removal?
No, not technically, because Xiaomi fixes the bootloader unlock in the hardware log, but in practice, service centers rarely check this for mechanical damage (screen, battery).
What Xiaomi models can not be reflashed through Fastboot?
All modern models (Xiaomi 13/14, Redmi Note 12, POCO F5) support Fastboot. Except for devices with damaged EDL (for example, after a failed downgrade of the firmware).