How to give up root rights on Xiaomi: 5 proven ways

Getting root rights on Xiaomi opens up access to hidden Android features, but often leads to problems: denial of warranty service, unstable firmware, blocking banking applications and system updates. Returning the device to a โ€œfactoryโ€ state with a closed bootloader and original firmware is possible, but the process requires accuracy - an error at any stage can turn a smartphone into a โ€œbrickโ€.

In this article, we will analyze all the current ways to remove root on Xiaomi, Redmi and POCO (including models from 2023-2026), taking into account the features of MIUI 14/15 and HyperOS. From simple disconnection through Magisk to complete reflashing through Fastboot, choose the method depending on your situation. Particular attention will be paid to restoring the status of OFFICIAL in Fastboot, which is critical for passing a warranty repair check.

Why You Should Remove Root Rights: 7 Reasons

Even if youโ€™re a power user, root access on Xiaomi can create more problems than benefits. Here are the key reasons to put the device back into stock:

  • ๐Ÿ”’ Blocking of banking applications: SberBank Online, Tinkoff, Google Pay and other services detect root and refuse to work, even if Magisk Hide is used.
  • ๐Ÿ“ฑ Impossibility of updates: MIUI and HyperOS is blocking OTA-Updates on devices with modified firmware.
  • ๐Ÿ› ๏ธ Loss of warranty: Xiaomi service centers check bootloader status and refuse repairs if root traces are found.
  • ๐Ÿ”„ Unstable operation: Magisk module conflicts, SafetyNet errors and random reboots are frequent companions of rooted devices.
  • ๐ŸŽฎ Problems with games: Antichits in PUBG Mobile, Genshin Impact and other games ban accounts for root detection.
  • ๐Ÿ”‹ Accelerated battery life: Superuser background processes and Magisk modules increase power consumption by 15-30%.
  • ๐Ÿšจ Security risks: Open root access makes a device vulnerable to malware, especially when installing modules from unverified sources.

If you have any of these things that are relevant to you, you should consider removing root, but make sure you back up your data before you start the process, because some methods require a complete reset.

๐Ÿ“Š Why did you get the root rights to Xiaomi?
For custom firmware installation
To remove embedded applications
Processor/GPU overclocking
Access to system files
Other

Preparing for root removal: what to do in advance

Incorrect preparation is the main reason for the โ€œbrickingโ€ of devices when you abandon root.

Create a backup copy of data (photos, contacts, messages)

Check the battery power (minimum 60%)

Install the original USB-cable (do not use cheap analogues)

Download the necessary files (firmware, tools) in advance

Disable screen lock (PIN/pattern lock)

Find your driver in advance (Mi Flash Tool)

-->

Pay special attention to firmware selection. Complete root removal will require the official stock firmware for your model.

  • ๐ŸŒ Xiaomi official website: miuidownload.com (select the Stable version for your region).
  • ๐Ÿ”ง Third-party resources: 4PDA, XDA Developers โ€“ but only if you are sure of the source.

For models with HyperOS (e.g. Xiaomi 14, Redmi Note 13 Pro+), use firmware marked OS1.0. Installing an inappropriate version can lead to a hard brick (unable to recover without service equipment).

โš ๏ธ Note: If you previously unlocked the bootloader through the Mi Unlock Tool, please note that re-blocking is only possible after completely flashing through Fastboot. LOCKED.

Method 1: Remove root through Magisk (the easiest method)

If you used Magisk to get root (not custom type recavers) TWRP), This is a way to softly remove the rights of the superuser without resetting the data. MIUI HyperOS, but does not restore bootloader status (it will remain) UNLOCKED).

Instructions:

  1. Open the Magisk app on your device.
  2. Go to the Modules tab and remove all installed modules (click on the cart in the upper right corner).
  3. Return to the home screen and tap the Remove Magisk button (or Uninstall in English).
  4. Select the option "Complete Uninstall".
  5. After rebooting, check root status through the Root Checker app or by the command in the terminal: su If the command returns the permission denied error, root is deleted successfully.

This method is not suitable if:

  • You want to return the device to the warranty (you need a locked bootloader).
  • You have a customized Recovery (TWRP) installed.
  • The system is damaged due to incorrect Magisk modules.

๐Ÿ’ก

If your banking apps donโ€™t work after you delete Magisk, clear the Google Play Services data and restart your device.

Method 2: Complete reset via TWRP (for custom firmware)

If you installed root through custom recavator (TWRP), simply removing Magisk is not enough.In this case, you will need a complete reset with a flashing stock boot.img. The method is suitable for devices with an unlocked bootloader, but does not lock it back.

Step-by-step:

  1. Download stock firmware for your model in.zip format (for example, with Xiaomi Firmware Updater).
  2. Copy the firmware file to internal memory or SD-map.
  3. Boot to TWRP: Turn off the device, then press Volume up + Power.
  4. V TWRP perform the following actions: ๐Ÿ“ Wipe โ†’ Advanced Wipe: Mark Dalvik/ART Cache, System, Data, Internal Storage, if necessary). ๐Ÿ”„ Install: Select the downloaded firmware file and confirm the installation. ๐Ÿ”ง After installing the firmware, be sure to flash the original boot.img (It can be removed from the firmware or downloaded separately).

Reboot the device. It can take 10 to 15 minutes to launch the first one.

If the device is stuck on the MI logo after the reboot, it means that the firmware is not suitable for your model or damaged, in which case you will need firmware through Fastboot (see Method 4).

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note) 12 Pro+) They have anti-rollback protection, and if you install the old firmware on them, you'll end up with an irreversible brick. MIUI before the firmware, the way 3: Lock bootloader through Mi Unlock Tool (for guarantee) If you plan to hand over the device for warranty repair, it is not enough just to remove root - you need to return the bootloader status to the bootloader. LOCKED. This will require the official Mi Unlock Tool and the Mi Account associated with the device. 1) Or return the scaling back (the method) 2). Download Mi Unlock Tool from the official website: en.miui.com/unlock. Log in to the tool under the same Mi Account that was used to unlock. Connect the device in Fastboot mode (turn off your smartphone, then press Volume down). + Nutrition). In Mi Unlock Tool, click Unlock. If the process is successful, the bootloader status will change to Unlock. LOCKED. Important nuances: ๐Ÿ”— Account binding to the device lasts 30 days. If you unlocked the bootloader a long time ago, you may need to re-assign (via Settings). โ†’ Mi Account โ†’ Tie the device). โณ The locking process can take up to 72 hours - that's OK. Don't disconnect the device from the PC at this time. ๐Ÿ“ฑ In some models (for example, POCO F5) locking through Mi Unlock Tool only works after full flashing through Fastboot. Xiaomi model Supports locking through Mi Unlock Tool? Does pre-firmware required? Redmi Note 11 Pro+ No, no, no, Xiaomi. 13 Ultra Yes Yes Yes (only after Fastboot firmware) POCO X5 Pro Yes No Redmi K60 Yes Yes Yes (if custom firmware is installed) Xiaomi 12T No (service centre required) โ€” ๐Ÿ’กBlocking bootloader via Mi Unlock Tool is the only official way to get back status LOCKED. All other methods (e.g., fastboot oem lock commands) lead to brick on modern Xiaomi devices. 4: Complete Fastboot Fastboot Fastboot Fastboot (100% Cleaning. It's the most reliable, but also the most risky method: ๐Ÿ”ง Devices with a damaged system after failed root manipulations. ๐Ÿ“ฑ Models that do not support locking through the Mi Unlock Tool. ๐Ÿ”„ Back to stock firmware with a full reset of all data: ๐Ÿ–ฅ๏ธ Windows computer (Windows recommended) 10/11). ๐Ÿ”Œ Original. USB-cable (better from the set). ๐Ÿ“‚ Firmware in.tgz or.zip format for Fastboot. ๐Ÿ› ๏ธ Mi Flash Tool (you can download from the official website) Step-by-step instructions: Unpack the archive with firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\ROM). Install drivers for your model (usually installed automatically when connected to Fastboot). Run Mi Flash Tool on behalf of the administrator. Connect the device turned off in Fastboot mode (click Volume Down). + Power. In the Mi Flash Tool, press Select and point the path to the firmware folder. Select firmware mode: Clean all - clean (recommended). Clean all and lock - clean + Lock the bootloader (not working on new models); Save user data saves data (not always works); press Flash and wait until it's done (the process will take time). 5โ€“15 minute). If the firmware ended in an error, check it out: ๐Ÿ”Œ Cable and port USB (Try another port or cable). ๐Ÿ“‚ Integrity of the archive with firmware (unpack it again). ๐Ÿ–ฅ๏ธ Mi Flash Tool (new models require 2023 version)+). What to do if the Mi Flash Tool gives an "anti-rollback" error This error means you are trying to flash the version MIUI Solution: 1. Download a newer firmware (check the version in your phone settings). 2. If there is no new firmware, contact the service center - a self-solution can lead to a brick. Method 5: Restore through EDL (If after unsuccessful manipulations the device does not turn on (hard brick), there is only one way to restore - firmware through the device. EDL (Emergency Download Mode). This mode is available even on locked devices, but requires special hardware or an authorized Xiaomi account. EDL: ๐Ÿ”ง Official service center: The most reliable, but paid method (cost) ~1500โ€“3000 โ‚ฝ). ๐Ÿ’ป Self-authorization: Mi Account with rights is required EDL (Only available to Xiaomi partners). ๐Ÿ› ๏ธ Through boxes (Qualcomm 9008): Equipment like UFi Box or EasyJTAG is used, but the risk of damaging the device is high. EDL (If you have an authorization: Download the firmware for EDL (Usually in.mbn format. Connect the device in mode EDL: a) Turn off the phone. (b) Press the volume up. + Volume down and plug into PC. in) Hold the buttons for 10-15 seconds until the Qualcomm port appears HS-USB QDLoader 9008 in Device Manager. Use Mi Flash Tool or QFil for firmware. โš ๏ธ Attention: Firmware through EDL Without authorization, it can lead to irreversible blocking. IMEI on new Xiaomi models (e.g. Xiaomi) 13T, Redmi K70). Checking the result: How to make sure root is removed After you run any of the methods, you need to check that the device has actually returned to stock: ๐Ÿ” Root Checker: An app from Google Play that shows root rights status. ๐Ÿ“ฑ Fastboot commands: fastboot getvar all Check the lines: bootloader - should be LOCKED (Verifiedbootstate: orange (if the booter is unlocked) or green (if blocked). ๐Ÿ›ก๏ธ SafetyNet: Install SafetyNet Test and check the status of ctsProfile (must be true). ๐Ÿ“‹ MIUI Version: In settings (Settings) โ†’ The phone. โ†’ Version. MIUI) The official firmware should be displayed without the Custom or Beta markings. If banking applications are still down, follow the additional steps: Clear the data from Google Play Services and Google Play Store. Delete all certificates to Settings โ†’ Security โ†’ Trusted credentials. Reboot the device and recheck through SafetyNet. FAQ: Can you delete the root on Xiaomi without losing data? Yes, but only if you used Magisk without customized backup. In this case, it is enough to remove Magisk through the application itself (Meth 1). If you have TWRP or custom firmware installed, data loss will not be avoided through rootloading (How to return the rootlo with a guarantee) Check status in Fastboot by fastboot getvar all โ€“ bootloader string should be LOCKED. If the lock through the Mi Unlock Tool does not work, contact the service center - they can block the bootloader through the service. EDL. Why are banking apps still not working after rooting is removed? The reasons may be: There are traces of modifications to the system. /system or /vendor. Google Play Services data is not reset, the device is still recognized as rooted due to improper lock bootloader Solution: complete reset via Fastboot. 4) And check the status through SafetyNet. Can you remove root on Xiaomi with HyperOS? Yes, the process is similar, but there are nuances: For HyperOS, download the firmware marked with a note. OS1.0. Some models (e.g. Xiaomi) 14) You need to log in to Fastboot, and you may need to re-link your Mi Account after the firmware. If the device doesn't turn on after the firmware is installed, use EDL (Method 5). What to do if the device doesn't turn on after removing the root? Probable reasons and solutions: Inappropriate firmware: Fastboot the correct version. Bootloader lock error: Unlock it again through Mi Unlock Tool and repeat the firmware. Anti-rollback: If you have flashed the old version of MIUI, contact the service center. Section damage: Use EDL for recovery. If nothing helps, contact the service center to indicate the problem - try to kill the situation yourself.