Owning a Xiaomi device with open access to system files is a great opportunity, but often leads to the need to return the smartphone to its original state. This can be caused by the desire to get an official MIUI update, problems with the operation of banking applications or the need to hand over the gadget to the service center under warranty. The process of removing superuser rights requires care, since errors can lead to software failures.
Unlike simply removing an application, uninstalling root rights affects deep sections of the Android operating system.You will have to interact with the bootloader or system files, which makes the procedure more complicated than simply reinstalling programs. However, following a clear algorithm, you can safely clear the firmware of any traces of modifications.
Before any manipulations begin, it is critical to create a complete backup of the data. Even if you plan to simply reset the settings, there is always a risk of loss of information. Make sure that the battery is charged at least 60%, and the ADB and Fastboot drivers are installed on your computer.
Why it is necessary to remove the rights of the superuser
Many users gain root access to install modified modules or ad blockers at the system level, but over time, the need for such features disappears, and the presence of a modified system begins to interfere with daily use, for example, some enterprise applications or banking software refuse to run on devices with compromised system integrity.
Another common reason is the desire to switch from Custom ROM firmware back to the official MIUI. When you try to install a stock image on top of a modified partition, file conflicts can occur, leading to an endless reboot or bootloop. Complete removal of the root guarantees the cleanliness of the installation.
β οΈ Note: If you plan to contact an authorized Xiaomi service center, the presence of traces of root access automatically voids warranty obligations.
Security is also worth mentioning. Giving full rights to any application carries potential risks. If you lose control of which processes have access to the kernel, the best solution is to completely reset and return to factory security settings.
Device preparation and backup
The process of cleaning system partitions requires preparation. First of all, you need to make sure that you have access to your Google and Mi Account account, as after a reset, you may need to confirm ownership of the device. Disable any active screen locks if you do not remember the password, otherwise after the reset, access to the system will be lost.
The next step is to create a backup. Standard MIUI tools allow you to save contacts, messages and call logs to the cloud. For more complete backups, including application data, it is better to use local saving on an external drive or PC.
βοΈ Checklist before start
Be sure to check your device model. The procedures for the Redmi Note 10 and Xiaomi Mi 11 may differ in the type of bootloader used. Accurate knowledge of the model will help you find the right firmware files if you need firmware reflashing.
Method 1: Delete with Magisk Manager
If your device has been rooted with Magisk, the process of removing rights is the easiest and most secure. This method does not require a connection to the computer and is performed directly through the application interface. Magisk is embedded in the boot partition, so it is deleted "cleanly".
Open the Magisk app on your smartphone. In the main menu, usually in the middle of the screen, you'll see a button that says "Uninstall." Click on it and the system will offer two options: "Complete Uninstall" and "Restore Images."
Select Complete Uninstall. Then you start the automatic cleanup process. The smartphone reboots and the superuser rights are completely removed. If you used Magisk only for the bootloader patch, but you want to save the root in the future, you can choose image recovery, but it is not suitable for complete removal.
What happens if Magisk doesnβt open?
It's important to understand that this method only works if you haven't made other deep changes to the system manually. If you've edited system files through root explorer besides Magisk, simply removing the manager may not be enough to completely clean the tracks.
Method 2: Reset via Recovery Mode
A more radical but effective method is to perform a complete reset via Recovery mode, which removes all user data and returns the system to the βout of the boxβ state, which often solves problems with residual root files.
To enter Recovery mode, turn the device off completely. Then press the volume button and the power button at the same time. Hold them until the Mi logo appears, then release the power button, while continuing to keep the volume, and you will be taken to the main recovery menu.
Navigation in this menu is done with volume buttons, and the choice is made by the power button (or touch the screen, depending on the version of Recovery), you need to find the Wipe Data item and select Wipe All Data. The system will warn you about the loss of all data β confirm the action.
| Action. | Button/Element | The result |
|---|---|---|
| Entrance to Recovery | Volume + and Nutrition | Launch of the recovery regime |
| Selection of a paragraph | Volume buttons | Moving the cursor |
| Confirmation | Power button | Performing the selected operation |
| Data resetting | Wipe All Data | Delete all files and settings |
Once the cleaning process is complete, select Reboot to restart the system. The first turn on will take longer than usual, as Android will reconfigure the system partitions. Root rights in such a reset often disappear if they were not sewn into the firmware image itself.
π‘
If the root rights are preserved after resetting through Recovery, then the boot system partition is modified, in which case only stock reflashing through Fastboot will help.
Method 3: Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fast Fastboot Fast Fastboot Fast Fastboot Fastboot Fast Fastboot Fast Fastboot Fast Fastboot Fast Fast Fastboot Fastboot Fast
The most reliable way to completely remove any traces of modifications is to run the stock image through Fastboot mode, which overwrites all memory partitions, including the bootloader and kernel, guaranteeing 100% system purity.
For this you will need a PC, USB-Download the official firmware for your model marked "Fastboot" (the archive must have the extension.tgz). Unpack the archive to the root of the disk so that the path does not contain Cyrillic.
Put your smartphone in Fastboot mode by pressing the volume down button when you connect the cable to your PC. In the Mi Flash Tool, select the path to the firmware folder. It is critical to select Clean All mode from the bottom menu of the program.
fastboot flashing unlock
fastboot flash boot boot.img
fastboot rebootClean All completely erases user data and modifications. Don't confuse it with Clean All and Lock if your bootloader is unlocked - locking on an unvaccinated device can lead to a brick.
β οΈ Note: When using Clean All and Lock on a Unlocked Bootloader device, the phone may stop turning on. Use only Clean All unless you plan to re-lock the bootloader.
Checking the results and safety
Once the procedure is completed and the system is booted, you need to make sure that the rights are actually deleted, and you can use specialized checker applications, such as Root Checker, and run the test, and the application will confirm that the superuser has no rights.
It's also worth checking for hidden applications. Sometimes the root managers are deleted, but their components remain in the system. Go to the application settings and sort the list by name, carefully studying suspicious system processes.
π‘
The presence of the Root Checker app with the result of βNo Rootβ is the main confirmation of the successful cleaning of the device.
Note the status of the bootloader. If you unlocked it to get rights, it will remain unlocked even if the root is removed. This can be displayed when the device is booted with the words "Unlocked." It may require a re-lock to return to full factory status, but only after the stock firmware is installed.
Possible problems and solutions
Unforeseen situations can occur during the deletion process, and one of the common problems is the loss of communication with the PC in Fastboot mode. USB-cable or connection to another port, preferably USB 2.0, directly to the motherboard, without hubs.
If the phone goes into an endless reboot after removing the root, try logging in to Recovery again and resetting the settings. In the worst case, when the system does not boot at all, you will need to use Emergency Download Mode (EDL) mode, which allows you to flash the device even with a bootloader that is not working.