Xiaomi, Redmi and POCO smartphone owners often resort to super-user rights to unlock the full potential of their device. However, situations vary: someone needs to turn over their phone to a service center, someone wants to run banking applications, and someone just decided to return to a stable factory version of the system, and in any case, the process of returning to the original state requires careful understanding of the processes.
Removing root rights is not just a "remove" button, it's a set of measures to clear the system partition from modifications. If you just turn off access but leave files on the system, antivirus or security applications will still see interference, so it's important to follow the procedure (fully) so that no trace of third-party software remains in the depths of MIUI or HyperOS.
Before you start any action, you need to be aware of the risks. Any interference with system files carries the potential threat of data loss or, in rare cases, the transformation of the smartphone into a βbrickβ. Complete cleaning of the data partition through Fastboot is the only 100% guaranteed way to hide the fact of obtaining superuser rights from most checks. Next we will consider all the current methods, from simple built-in functions to advanced manipulation of the bootloader.
Why you might need to give up the rights of a superuser
The main reason users are trying to remove root from Xiaomi devices is the inability to use popular banking applications: services like Google Pay (now Google Wallet), Sberbank Online, Tinkoff and many others actively block work on modified devices, they use SafetyNet and Play Integrity API protection mechanisms that instantly respond to the presence of an unlocked bootloader or administrator rights.
The second important aspect is warranty service. Xiaomiβs official service centers perform diagnostics when receiving the device, which easily detects the presence of the rights of the superuser or unlocked Bootloader. In this case, you can be denied free repairs or offered to reflash the device at your own expense, which automatically removes the warranty.
It can also be caused by unstable operation after installing various modules or misconfiguring Magisk. If the phone starts to discharge quickly, overheat or constantly reboot, removing modifications is the first step to solving the problem, sometimes it is easier to remove everything unnecessary than looking for a conflicting module.
Preparation of the device for the cleaning procedure
Before any manipulations begin, it is critical to prepare the device. The process of deleting superuser rights is often accompanied by a data reset or flashing. Losing photos, contacts and documents will be an unpleasant surprise, so creating a backup is not a recommendation, but a requirement.
Make sure the battery is at least 60%, interrupting the process of writing system files due to battery discharge can lead to serious errors boot. USB-cable, as poor contact can interrupt the transmission of data to the most inappropriate.
βοΈ Checklist before root removal
If you plan to use your computer to flash, install the current ADB and Fastboot drivers. Windows owners often require manually installing drivers through Device Manager unless they stand up automatically. Without properly working drivers, the computer simply won't see the phone in the right mode.
The method of built-in removal through the Magisk settings
The most popular tool for managing superuser rights on modern smartphones is Magisk, which, if you get the rights through it, you can also remove them using regular app tools, which is the least risky method, and allows you to return the system to its original state without completely reflashing it.
To start, open the Magisk app on your device. In the main menu, in the center of the screen, you'll see a button that says "Uninstall" (Delete). Pressing it will start the cleanup process. The system will offer two options: complete deletion or restoration of the original files. Choose complete deletion if the goal is to get rid of traces.
β οΈ Warning: After pressing the delete button, the phone will immediately start the cleaning and restart process.Do not attempt to interrupt this process or turn the device off manually until it boots again.
In some cases, especially on older versions or specific builds, it may be necessary to use a script via ADB. If the button in the interface does not work, you can use the command in the terminal. Connect the phone to the PC, open the command line and enter a command to run the delete script if it is available in the application files.
What if Magisk is not removed?
Using SuperSU to roll back changes
For older devices that used SuperSU, the procedure looks different, although the principle remains similar.This rights manager was once a de facto standard, but is now less common. However, on older Xiaomi models such as the Redmi Note 3 or Mi 5, it may still be relevant.
Go to the SuperSU app and go to the settings section, where you will find the option "Full Unroot" and when you activate this feature, the app will try to replace the modified system files with original copies that it saved when you first installed them.
Itβs important to understand that on current versions of Android (10, 11, 12 and higher), this method works worse due to the introduction of system-as-root partitions and dynamic partitions. If after the procedure the phone goes into an endless restart (bootloop), you will have to restore the system through Fastboot.
- π± Open the SuperSU app on the home screen.
- βοΈ Go to the settings tab (Settings).
- ποΈ Find and press the "Full Unroot" button".
- π Wait for the automatic reboot of the device.
After the reboot, check for permissions. If the SuperSU app is gone and access requests no longer appear, it's a success, but to ensure the system's cleanliness, it's recommended that you reset to factory settings.
Complete flashing through the Mi Flash Tool
The most radical and reliable way to remove root rights to Xiaomi is to completely reflash the device with the stock version of MIUI or HyperOS. This method is guaranteed to replace all system partitions, including the bootloader (if not block it again), with original, unuched files from the factory.
To do this, you will need a computer, cable and the Mi Flash Tool. Download the official firmware for your model (important: Fastboot ROM, not Recovery), unpack the archive, put the phone in Fastboot mode (clambing the volume button when you connect the cable) and connect to the PC.
| Cleaning regime | Data retention | Loader status | Recommendation |
|---|---|---|---|
| Clean all | No (all removed) | Remains unlocked. | To remove root |
| Save user data | Yes. | Remains unlocked. | Not recommended |
| Clean all and lock | No (all removed) | Locked down. | Only for global versions |
In Mi Flash Tool, select Clear All mode, which completely erases user data and installs a clean system. Press Flash and wait for the process to be completed. Green Success signifies success.
β οΈ Warning: Never choose the Clean all and lock option if you are running a global version on a Chinese device or vice versa, which will lock the bootloader with incompatible firmware and turn the phone into a brick that is difficult to recover without service boxing.
Checking the system after removal of rights
Once you've done the cleaning, you need to make sure that the tracks are really gone. Simply missing the Magisk icon isn't enough. Modern applications check a lot of parameters, including bootloader status and system partition integrity.
Download the Root Checker app or Google Play analog. Run the check. If you see a green screen and you see a message that root is not available, you've passed the basic check, but it may not be enough for banking applications.
π‘
For complete secrecy from banking applications, you may also need to re-lock the bootloader (Lock Bootloader), but only if you are sure that the firmware is completely stock and corresponds to the region of the device.
Also worth checking is SafetyNet status. Install the YASNAC app or use the built-in check in Google Play settings. If both tests (Basic Integrity and CTS Profile) are passed, your phone is considered a secure device again.
- β Install Root Checker from the Market.
- π Run a test for superuser rights.
- π¦ Try to launch a banking application.
- π‘οΈ Check the SafetyNet status through YASNAC.
If the banking app is still fighting, it may be that the device is unlocked bootloader. Some banks (for example, in Russia) can block work even with a pure Android, if you see an open Bootloader, in which case only re-blocking through Fastboot will help.
Possible problems and ways to solve them
There are some errors in the process of deleting the rights, and one of the most common is the "Waiting for device" in the Mi Flash Tool, which means that the computer can't see the phone in Fastboot mode. USB-Or try another port or another port. USB 2.0.
Another problem is a Flash error or interruption at a certain percentage, often due to a lack of space on the PC drive (the path to the firmware should be short, without Cyrillic) or an unstable connection. Try reconnecting the cable and starting the process again.
β οΈ Warning: If after root removal, the phone stops turning on and only the Mi logo burns, don't panic. 15-20 If it doesn't work, go back to Fastboot and try the firmware again.
In rare cases, the antivirus on your computer can block the Mi Flash Tool. Try temporarily disabling protection or adding a folder with the utility to exceptions. Also make sure that the antivirus does not delete critical driver files.
π‘
The most reliable way to remove root and hide its traces is to completely reflash stock image with Clean All mode. Software removal through Magisk can leave artifacts in the system.
If nothing helps and the device has gone into a deep bootloom, use may be required. EDL-Emergency Download Mode is a deep recovery mode that allows you to flash your phone even when the bootloader is damaged, but it often requires an authorized account or a special cable.