Getting root rights on Xiaomi smartphones gives you access to advanced system settings, but often users are faced with the need to disable them. The reasons are different, from problems with banking applications (Google Pay, SberBank Online) to the desire to return the warranty or update the firmware through MIUI OTA. However, simply removing superuser rights is not enough β you need to properly βcloseβ all changes in the system, otherwise you risk getting a βbrickβ or reboot cycles.
In this article, we will discuss three proven methods of disabling root on Xiaomi, Redmi and POCO: through Magisk (the safest way), using TWRP (for power users), and standard MIUI tools (if root was obtained through official utilities).
Why you should turn off root rights on Xiaomi
Even if you no longer use the superuser, the changes left to the system can cause inconvenience:
- π« Blocking banking applications: SafetyNet detects modified firmware, and services like Google Pay or Tinkoff refuse to work.
- π Problems with OTA-update: MIUI may not install updates over the air due to modified system files.
- π‘οΈ Security vulnerabilities: root access opens up potential loopholes for malware, especially if youβve installed unofficial modules.
- π¦ Inability to return the warranty: service centers Xiaomi easily determine the facts of hacking the system bootloader logs.
In addition, some games (like PUBG Mobile or Genshin Impact) block users from root because of anticheats, and if you plan to sell the phone, the new owner may experience errors when first turned on.
β οΈ Note: If you turn off root before selling your smartphone, be sure to complete a full Factory Reset via Settings β Additionally. β Recovery and reset: Otherwise, personal data (including Wi-Fi passwords) may remain in the system!
Preparing for root shutdown: what to do in advance
Before you start the procedure, follow a few critical steps:
- Backup your data. Use Mi Cloud (in Settings) β Xiaomi account β Mi Cloud β Backups or third-party utilities like Swift Backup (requires root: π± Contact and SMS π· Photos and videos (including hidden folders) DCIM/.thumbnails) π΅ Music and downloads π Application files (for example, saving games in the /Android/obb)
Check the battery charge
60%
Find out the firmware version
Settings β The phone. β Version. MIUI
MIUI 14.0.5 Global
Disable the DM-Verity (DM-Verity)
If you used Magisk to get root, download the latest version of Magisk Uninstaller (uninstall.zip file) from the official GitHub repository. For methods with TWRP, you will also need a stock firmware for your model, which can be found on the Xiaomi Firmware Updater website.
βοΈ Checklist before root shutdown
Method 1: Turning Root off via Magisk (the safest method)
If you get root rights with Magisk (the most popular way for Xiaomi), then it is easiest to disable them through the same utility. 10/11/12, POCO X3/X4/X5, Mi 11/12/13 others.
Step-by-step:
- Open the Magisk Manager app (if not, download from GitHub).
- Go to the Settings section (cog in the upper right corner).
- Scroll down and click Full Delete Magisk (Complete Uninstall).
- Confirm the action and wait for the phone to restart.
- After turning on, check root status with the Root Checker app (should show Root access: Not available).
If for some reason Magisk is not removed via the menu (for example, the app is dyed), use an alternative method:
- Download the uninstall.zip file from the Assets section of Magisk's latest release on GitHub.
- Rename him in magisk_uninstaller.zip and move to the root of the internal memory.
- Boot to TWRP (hold Power + Volume up when turned on).
- V TWRP Choose Install β point the way magisk_uninstaller.zip β run through.
- After completion, press Reboot System.
| Situation | Decision |
|---|---|
| Magisk is not removed from the menu. | Use uninstall.zip via TWRP |
| SafetyNet fails after removal | Install Universal SafetyNet Fix in Magisk before uninstallation |
| The phone is fixated on the MI logo | Download to Fastboot and flash the stock boot.img |
| Banking applications are not working | Clear the app data and restart the phone |
β οΈ Note: If you have installed additional modules in Magisk (e.g, ViPER4Android or LSposed), they must be removed before root is disabled, otherwise the system may lose stability!
π‘
If the phone stopped booting after deleting Magisk, try flashing the original boot.img for your MIUI version via Fastboot.The file can be extracted from the official firmware using the MIUI Rom Unpacker tool.
Method 2: Remove root via TWRP (for power users)
This is a method that works if you're rooting through customized recavatories (TWRPs) or installing informal firmware, and it's more sophisticated, but it allows you to completely return your phone to a runoff state.
What you need:
- π± Smartphone with unlocked bootloader and installed TWRP.
- π» Computer with drivers installed ADB/Fastboot and the Mi Flash Tool.
- π Stock firmware for your model (.tgz or.zip format).
Instructions:
- Download the official firmware for your model from the Xiaomi Firmware Updater website. Choose the Stable (not Developer) version that matches your region (Global, EEA, China).
- Unblock the firmware into a folder on your computer. You'll need a file. flash_all_except_storage.bat (for Windows or flash_all_except_storage.sh (for Linux/Mac).
- Connect your phone to your PC in Fastboot mode (hold Power + Volume down when turned on).
- Launch the file. flash_all_except_storage.bat Wait until the process is completed (the phone will reboot several times).
- After the reboot, check the root status in Root Checker and the SafetyNet operation in the YASNAC app.
If you want to save user data (photos, applications), use the script flash_all_except_storage_and_data.bat. However, in this case, there is a risk of unstable system operation - it is better to make a backup and flash clean firmware.
What to do if the phone does not turn on after the firmware?
Method 3: Disable root through MIUI settings (official method)
This method only works if the root rights were obtained through official Xiaomi utilities (for example, in Chinese firmware with an unlocked bootloader), it is the simplest, but not suitable for all models.
How to check if the method is suitable:
- π Root was obtained through Settings β The phone. β Version. MIUI (push-up).
- π You have not installed Magisk, SuperSU or other custom solutions.
- π Phone does not swear at modified firmware when checking SafetyNet.
Instructions:
- Open the settings β About the phone β version of MIUI.
- Click on the version line several times until you get a message: You are a developer!
- Return to the main settings menu and go to Additional β For developers.
- Find the option to disable root access and activate it.
- Confirm the action and restart the phone.
If there is no option to disable root in the developer menu, then the rights were obtained informally β use methods with Magisk or TWRP.
π‘
The official method of disabling root via MIUI only works for clean firmware without third-party modifications. If you have installed Magisk, custom cores or changed system files, this method does not help - you need a complete firmware reflash.
How to Check if Root Rights Are Actually Disabled
Just not having Magisk Manager is not enough, you need to make sure that the system is back to stock state completely.
- Root Checker: Install the Root Checker app from Google Play. Run the check - status must be Root access is not properly installed on this device.
- SafetyNet: Download YASNAC (Yet Another SafetyNet Attestation Checker) and run the check, both CTS Profile Match and Basic Integrity must be green.
- Checking banking applications: Install Google Pay or SberBank Online. Try adding a card or logging in to your account β if there are no errors, root is successfully deleted.
- System File Analysis (for advanced users): Connect your phone to your PC and check the integrity of the /system partition using ADB: adb shell su -c "mount -o ro,remount /system" adb shell ls -la /system/bin/su If /system/bin/su is missing, root is deleted.
If SafetyNet still doesnβt go away, even after root removal, try:
- π Install Universal SafetyNet Fix in Magisk (if you havenβt already removed it).
- π Clear Google Play Services Data in Settings β Annexes.
- π Sweep through the stock. boot.img for your version MIUI.
Frequent Mistakes and How to Avoid Them
When root rights are disabled, users often face typical problems, and here are the most common ways to address them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The phone will not turn on after removing Magisk | Damaged. boot.img module conflict | Switch the original boot.img through Fastboot |
| SafetyNet does not occur after root removal | Remains of modifications to /system | Switching to the Mi Flash Tool |
| Banking applications are not working | Google Play Services Cash Not Cleared | Clear Google Play Services Data and Reboot |
| The phone is stuck on the load. | Incompatible firmware version or data corrupted | Execute Wipe Data in TWRP and flash it again |
| The camera or sensors do not work after firmware | The persist or EFS section is damaged | Switch stock firmware with a clean all checkmark in the Mi Flash Tool |
If after all the manipulations the phone behaves unstable (spontaneous restarts, lags), perform a full reset (Factory Reset) via TWRP or the MIUI recovery menu. This will delete all user data, but return the system to working condition.
β οΈ Note: If you plan to give your phone to Xiaomi service center under warranty, note that even after removing root in the bootloader logs, there is an unlock record. To completely cover the tracks, you will need to reflash the anti-rollback section (a risky operation can lead to a brick). In most cases, service centers do not check this for standard malfunctions (screen, battery), but in case of firmware problems, a denial of warranty is likely.