How to Disable Administrator Rights on Xiaomi: A Complete Guide to Risks and Solutions

Administrator rights (or root rights) on Xiaomi smartphones give users enhanced system management capabilities, but at the same time pose threats to the security and stability of the device. If you previously activated these rights to install custom firmware, remove system applications or fine-tune MIUI, but now want to return the phone to normal state – this guide will help you do this without the risk of β€œbricking” the gadget.

Disabling superuser rights may be necessary before selling a phone, to restore warranty, fix bugs after failed modifications, or simply to improve security. In this article, we will discuss 5 working methods – from standard MIUI tools to manual removal via ADB, and explain what consequences await after root deactivation and how to avoid them.

⚠️ Critical Warning: Some methods require an unlocked bootloader.If you have never officially unlocked it through the Mi Unlock Tool, methods with firmware or fastboot will not be available. Check the status of the bootloader with the command fastboot oem device-info – the line Device unlocked: true will confirm unlocking.

1. Disable Administrator Rights through MIUI Settings

The easiest and safest way is to use the built-in MIUI tools. It is suitable if the rights were obtained through the official Security application without third-party utilities like Magisk or SuperSU.

Open Settings β†’ Password and Security β†’ Privileges. Here you will see the Administrator Rights section (or Root Access depending on the version of MIUI). Tap it and select the option "Disable." The system will request confirmation, after the reboot, the rights will be deactivated.

  • βœ… Pros: Does not require a PC, saves user data.
  • ⚠️ Cons: Works only for "clean" root without modifications boot.img.
  • πŸ”„ Alternative: If no clause is available, the rights were obtained through Magisk (see Section 3).

πŸ’‘

If the root phone stopped seeing SIM-maps, perform network reset in Settings β†’ SIM-maps and mobile networks β†’ Network resets. This is due to a change in the permissions to the communication module.

2.Magisk removal (for custom root users)

Magisk is the most popular root rights tool on Xiaomi, as it allows you to hide root status from apps (such as banking or gaming) to completely remove Magisk and return the phone to stock status:

  1. Open the Magisk Manager app (if it is hidden, find it through a search system).
  2. Go to the "Settings" section (cog in the upper right corner).
  3. Select "Complete Uninstall" ("Complete Uninstall").
  4. Confirm the action and wait for the reboot.

If Magisk Manager was removed, but root remained active:

  • πŸ“± Download the official Magisk Uninstaller (file) uninstall.zip).
  • πŸ”„ Reboot the phone to TWRP Recovery (hold on to food) + Volume up when switched on).
  • πŸ“ Select "Install" β†’ point the way uninstall.zip β†’ swipe for confirmation.

Download the original firmware for your model | Backup in TWRP| Check battery power (minimum 50%) | Turn off data encryption (if used)

-->

⚠️ Note: After removing Magisk, some modules (e.g, ViPER4Android or EdXposed) will stop working. They need to be removed separately through TWRP manually /data/adb/modules.

3. reset to factory settings (Hard Reset)

If previous methods didn't work or you don't remember how you got root, a full reset can help, but it removes all the data from internal memory, including photos, messages and installed applications.

Instructions for MIUI 12-14:

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Select "Erase all data."
  3. Enter the password (if installed) and confirm the action.
  4. After the reboot, the phone will be like after the purchase - without root and custom modifications.
Resetting methodRemoving root?Saving data?Does it require unlocking?
Through MIUI settingsβœ… Yes.❌ No.❌ No.
TWRP (format data)βœ… Yes.❌ No.βœ… Yes.
Fastboot (miui_clean_all)βœ… Yes.❌ No.βœ… Yes.
Partial reset (without format data)❌ No.⚠️ Partially.❌ No.

πŸ”Ή Important: If you have installed a custom recavator (TWRP), drop-off MIUI It may not remove the root completely:

1. Download to TWRP (Nutrition + Volume Up).


2. Select Wipe β†’ Format Data β†’ enter β€œyes”.




3.Reboot.

Through MIUI |TWRP |Through Fastboot |Never reset |Another way-->

4. Firmware of the original software through Fastboot

This is the most reliable way to get the phone back to full stock, but it requires an unlocked bootloader and PC. Suitable for the Redmi Note 10/11/12, POCO X3/X4, Mi 11/12 and others with fastboot support.

Step-by-step:

  1. Download the official firmware for your model (choose the version of "Fastboot").
  2. Unpack the archive in a folder on a PC (for example, C:\miui_fastboot).
  3. Connect your phone to your PC in fastboot mode (hold Power + Volume down when turned on).
  4. Launch the file. flash_all.bat (for Windows or flash_all.sh (for Linux/Mac).
  5. Wait for the process to be completed (5-10 minutes) and the phone will reboot automatically.

⚠️ Note: If the firmware is interrupted, the phone may stop turning on ("brick"). Use only original cables and stable PC power (the laptop must be connected to the outlet).

What to do if the firmware is 99% frozen?
If the process stops at flashing boot.img or system.img, don't turn off the phone! wait 15-20 minutes. If no change: 1. Close the firmware window. 2. Reboot the phone to fastboot (Power + Volume down). 3. Repeat the firmware with the command fastboot flash boot.img and fastboot flash system.img separately.

5. Manual removal via ADB (for power users)

If the root was obtained through modification boot.img (So, for example, with Magisk or SuperSU, but you can't flash the phone completely, you can try to delete the rights manually. ADB and unlocked loader.

Instructions:

  1. Install ADB and Fastboot on PC.
  2. Connect your phone in USB debugging mode (turn on Settings β†’ About Phone β†’ MIUI version β†’ 7 times tap on version β†’ return to Settings β†’ Additional β†’ For developers β†’ Debugging on USB).
  3. Open the command line in the adb folder and do:
adb shell


su




mount -o rw,remount /system




rm /system/bin/su




rm /system/xbin/su




rm /system/xbin/daemonsu




rm /system/app/Superuser.apk




mount -o ro,remount /system




exit




exit

After the reboot, administrator rights will be deleted, but some system changes (such as modified files in /system) may remain.

πŸ’‘

Manual removal via ADB does not guarantee a complete return to the drain state. Use the firmware via fastboot for guaranteed results.

What to do after shutting down root?

Once the phone is back to normal, perform several checks to make sure there are no traces of modifications:

  • πŸ” Root Checker from Google Play: If it shows "Root access: Not available" - the rights are disabled successfully.
  • πŸ“± System Application Test: Run Mi Security Scan (Security section) If there are no warnings about modified files, it's okay.
  • πŸ”„ Update MIUI: Go to Settings. β†’ The phone. β†’ Update the system and install the latest firmware, which will replace the possible modified system files.

If you have turned off root before selling your phone:

  • βœ… Complete the reset (see Section 3).
  • βœ… Delete your Mi Account in Settings β†’ Accounts. β†’ Mi Account β†’ Delete the account.
  • βœ… Check the status of the bootloader with the fastboot oem device-info command – if it is unlocked, the new owner can easily get root again.

FAQ: Frequent questions about disabling administrator rights

Can I turn off root without losing data?
Yes, if the rights were obtained through Magisk or standard MIUI settings. Use the methods in Sections 1 or 2. However, when you are firmware through fastboot or reset, all data will be deleted.
Why does the phone not pass SafetyNet after removing Magisk?
Even after Magisk is removed, there may be traces of modifications in the boot section. To fix this: Download the original boot.img for your firmware. Sweat it through fastboot flash boot.img. Check SafetyNet status through the YASNAC app.
What happens if you turn off the root on a phone with an unlocked bootloader?
The unlocked bootloader itself does not affect the operation of the phone, but: ⚠️ Some apps (banking, Netflix, Netflix, PokΓ©mon GO) They can block access. πŸ”„ You can get root again at any time. πŸ“± Official updates MIUI To block the bootloader back, use the fastboot oem lock command, but this deletes all data and can lead to a brick if the firmware is not stock.
How do I know how I got root on my Xiaomi?
Check the following signs: πŸ“Œ There is an application Magisk Manager β†’ root through Magisk. πŸ“Œ B Settings β†’ Privileges are the item "Root access" β†’ standard root MIUI. πŸ“Œ When downloaded, the inscription β€œOrange State” appears" β†’ modified boot.img. πŸ“Œ V /system/xbin I have a su file. β†’ rooting through SuperSU or old methods.
Can I turn off root on Xiaomi with a blocked bootloader?
No, if the bootloader is locked, you can't: 🚫 Sweep the original firmware through fastboot. 🚫 Remove Magisk through TWRP (unless it is established). 🚫 Restore the stock boot.img. The only option is to use the standard root disable in the settings. MIUI (section 1) or reset to factory settings (section) 3), But it does not guarantee complete removal of traces.