Owning a Xiaomi or Redmi smartphone often starts with a desire to gain full control of the system, but sometimes users need to return the device to its original state. This can be due to the need to pass bank security checks, the desire to sell the gadget, or simply the need for stable operation without changes. The process of removing root rights on devices of this brand has its own peculiarities, which are important to consider so as not to turn the phone into a โbrickโ.
Before you start taking action, you need to clearly understand what kind of admin rights method you've used before, most often using Magisk, SuperSU or built-in tools like KingRoot. The way you choose to clean your system depends on the algorithm for your next cleanup actions. In some cases, you just need to uninstall the application, in others you need to completely reflash it.
It's important to realize that removing superuser rights doesn't always mean automatically locking the bootloader, and many users confuse these concepts, believing that root resetting will return warranties or hide the fact of interference from service centers. In fact, traces of unlocking Bootloader can remain in the device logs even after the system partition is completely cleaned.
Why is it necessary to refuse root access?
The main reason users are looking for ways to remove root rights to shaomi is the inability to use popular applications. Banking programs, various corporate clients and services like Google Pay or Mir Pay actively scan the system for vulnerabilities.
Another important factor is the stability of the Android operating system. Third-party modules installed through Magisk Manager can conflict with each other or with the firmware updates MIUI / HyperOS. This leads to sudden reboots, increased battery consumption and heat the processor.
โ ๏ธ Warning: Before any manipulations, be sure to back up your critical data.The root-right removal process can result in a complete cleanup of the deviceโs internal memory.
Also worth mentioning is the issue of warranty: Xiaomiโs official service centers can refuse free repairs if they find signs of unauthorized tampering. While simply having root rights is not always a reason for refusal, an unlocked bootloader is a serious argument against the owner of the device in controversial situations.
Checking for superuser rights and type of unlock
The first step before removing any modifications is to accurately diagnose the current state of the system. Don't rely on guesswork; use specialized utilities to verify it. The most reliable tool is the Root Checker app, which is available in the official Play Market Store, which conducts testing and issues a verdict on the availability of rights.
But just having root rights isn't enough to understand the full picture. It's critical to check the status of the bootloader. To do that, turn off your smartphone and press the Volume Down + Power key combination. The screen will show an image of a hare repairing an android and the words Fastboot. At the bottom of the screen will be Locked (locked) or Unlocked (unlocked).
Why is the status of the bootloader so important?
You also need to check the installed list, look for names like SuperSU, Magisk, KingUser, or Universal Root Deleter, and if you have these programs on the installed list, it's a direct indicator of how the rights were obtained. In some cases, especially on older Redmi models, the rights may have been embedded in custom firmware, and individual application managers may not be in the interface.
Remove root through standard Magisk settings
If the most popular and modern Magisk method is used to obtain the rights, then the removal process is as simple as possible by developers. You do not need complex ADB commands or partitioning flashing. Just open the Magisk Manager application on the home screen. If the icon is hidden, try to find an application called Settings or another neutral name if you have previously activated the hide feature.
Inside the app, look for the Uninstall button, which is usually located in the center of the screen next to the install version. When you click on it, you will see a menu with a choice of method. Select the option "Complete Uninstall", the system will warn you that the device will be rebooted and all modifications removed.
โ๏ธ Checklist before deleting Magisk
Once confirmed, the automatic cleaning process will begin. The phone will reboot and the superuser rights will be completely removed. It is important to note that this method only removes the rights and the manager themselves, but does not block the bootloader. If your goal was to hide the fact of the modification from banks, this step may not be enough, since Unlocked status in Fastboot will remain.
In some cases, if the system has been heavily modified, automatic deletion may not be correct, then use the Restore Images feature in the same delete menu. This will return the original boot partition files, which is a deeper level of cleanup than just deleting. APK-managerial.
Manual Deletion through Recovery and File Managers
Devices that have rooted through SuperSU or older methods often require manual intervention. If the application manager is available, try looking for the Full Unroot option in its settings. However, if the application is removed or corrupted, you will have to operate through the file system with permissions.
You will need a root-enabled file manager, such as Root Explorer or MT Manager. Go to the root directory /system/bin/ and /system/xbin/. You will need to find and delete su and supersu files. Also check the /system/app/ and /system/priv-app/ folder for manager apk files and delete them.
| Location of the file | File name | Action. | Risk of error |
|---|---|---|---|
| /system/bin/ | su | Delete | Medium. |
| /system/xbin/ | su | Delete | Medium. |
| /system/app/ | SuperSU.apk | Delete | Low. |
| /data/local.prop | local.prop | Check/Delete | High-pitched |
After deleting files, be sure to clear the Dalvik/ART cache. This is done via the Recovery menu (TWRP or stock). Select Wipe -> Dalvik / ART Cache. Without this step, the system may try to access remote binaries, which will lead to a cyclic reboot. Be extremely careful when deleting files in the system folders, one error can disrupt the OS.
โ ๏ธ Attention: Deleting system files manually requires accuracy. If you delete excess, the phone may stop booting. Make sure you have access to your computer and firmware tools in case of an emergency.
Resetting and flashing as a radical method
If the mild methods didn't help or you want to be guaranteed to remove all traces of interference, including an unlocked bootloader (though this isn't always possible without official flashing), the best solution is a complete reset. On Xiaomi devices, this is done via the Recovery menu. Turn off the phone and pinch Volume Up + Power.
In the Recovery menu, select a language (if available) and click Wipe Data -> Wipe All Data. Confirm action. This process will delete all user data, applications and, importantly, reset many system modifications to factory settings. However, if root was implemented in the system partition, a simple Wipe Data reset may not remove the superuser files, since they are in the System partition, not Data.
๐ก
Use the Clear All Data feature only if you are willing to lose all information on your phone. save photos and contacts in advance to the Mi Cloud or Google Drive cloud.
The most reliable way is to install the official global firmware through Fastboot mode using the Mi Flash Tool utility. When choosing the firmware mode "Clean All" or "Clean All and Lock", the phone will be completely rewritten with the original files. The lock mode will return the bootloader status to Locked, but requires the same device region and firmware version.
The firmware process requires drivers ADB/Fastboot On PC and downloaded firmware archive with the.tgz extension. This is the only way to guarantee to remove the status of "Unlocked" from Fastboot, which is often required to work NFC-Payments and certain secure applications.
๐ก
Full Fastboot flashing with the Clean All and Lock option is the only way to get your phone back to factory status with the bootloader locked.
Restoration of banking applications after resetting
Even after removing root rights and returning to stock firmware, some applications may still fail, because there may have been tails left in the system in the form of residual files or changes to the Android registry. First of all, try clearing the cache and data of the banking application itself through Settings -> Apps.
Itโs also worth checking the Integrity status in the Google Play Services app. If the phone has been previously modified, the device certificate could have been revoked by Google, in which case only waiting or a full reset with the bootloader locked will help. Some users note that removing Google Play Services updates and reinstalling them helps update the security status.
Remember that Xiaomiโs MIUI-enclosed smartphones have built-in protection. Go to the Security app and check the parts related to licensing and payment security. Make sure the status of the device is displayed as โNormal.โ
What if Google Pay has not been paid?
Possible problems and solutions
Users often face difficulties in removing root rights, one of the most common being a โboot loopโ that occurs when critical system files have been deleted or the firmware process is interrupted, and only by re-routing the firmware through Fastboot.
Another problem is the loss of IMEI or the network is broken, and this happens when the persist partition or modem is damaged during manipulation, if the network is lost after the root is deleted, you should not panic, and the only way to restore these partitions is from a backup copy you made earlier or with service tools like QPST or Mi Repair Tool.
โ ๏ธ Note: If the user's fingerprint or Face has stopped working after the rights of the superuser have been removed ID, It's probably the safety sections that were affected, and self-recovery without a backup is extremely difficult.
It is also possible that the phone turns on but requires you to unlock your Mi or Google account (FRP lock) continuously.This is a security mechanism. To avoid problems, always delete your accounts from your phone settings before resetting: Settings -> Accounts and sync.