How to get a root right on Xiaomi: 3 proven ways (2026)

Getting root rights on Xiaomi smartphones is a challenge that requires not only technical knowledge, but also an understanding of the risks. In 2026, the process was complicated by the tightening of the MIUI security policy, but it is still possible to circumvent the restrictions, and this article will help you understand how to unlock the bootloader, install custom recovery and gain full control of the device โ€” from the Redmi Note 12 to the Xiaomi 14 Ultra.

It's important to understand that root rights give unlimited access to system files, but they are not warranty-free and can lead to device locking if you make a mistake. We'll look at three current methods: official unlocking via Mi Unlock Tool, using Magisk to mask the root, and an alternative fastboot method for locked bootloaders. Each option is tested on the latest versions of MIUI 14/15.

Before you start, check:

  • ๐Ÿ“ฑ Device model (not everyone supports unlocking)
  • ๐Ÿ”’ Status of the loader (in Settings) โ†’ The phone. โ†’ Version. MIUI Tap 7 times on the "core")
  • ๐Ÿ“‹ Backup of data (process erases everything from internal memory)

๐Ÿ“Š What Xiaomi model do you want to unlock?
Redmi Note 12/13
Xiaomi 13/14
POCO F5/X5
Redmi 10/11
Another model

1. Device Preparation: What to Do Before Unlocking

The first and most important step is to prepare your smartphone, and without the right settings, even the official Mi Unlock Tool will fail to work. Start by linking your Mi Account to your device:

  1. Go to Settings โ†’ Xiaomi Account and log in.
  2. Enable Data Sync and Find the Device.
  3. In Settings โ†’ Additional โ†’ For developers, activate USB Debugging and OEM Unlock.

Critical detail: if the option Unlock OEM is inactive, then the device is locked from the operator (for example, Redmi for MTS / MegaFon), in which case you will first need to reset to the factory settings via fastboot with the removal of carrier applications.

Check out the MIUI version as well:

  • ๐Ÿ”ด Global/European (minimum restrictions)
  • ๐ŸŸก Chinese (requires additional steps to unlock)
  • ๐ŸŸข Castomic (may already have an unlocked loader)

โš ๏ธ Attention: On devices with MIUI China Stable after 2023, unlocking the bootloader is blocked for 168 hours (7 days) after the first account is linked!

Linked to the Mi Account to the device|Debugging is on. USB|Unlocking activated OEM|Data backup made.|Battery charge > 60%-->

2.Official method: Unlocking through Mi Unlock Tool

The safest method is to use the official tool from Xiaomi: download the latest version of the Mi Unlock Tool from en.miui.com/unlock (Windows only).

  1. Install Mi USB Driver drivers (come with the tool).
  2. Turn the phone into fastboot mode (turn it off, then press Volume Down + Power).
  3. Connect the device to your PC and run the Mi Unlock Tool on behalf of the administrator.
  4. Sign in with the same Mi Account as you do on your phone.

If done correctly, the tool will show Unlocked status in 3-5 minutes.

  • ๐Ÿ•’ On New Devices (Snapdragon) 8 Gen 2/3) The waiting time may increase to 720 hours (30 days)!
  • ๐Ÿ”„ Once unlocked, the phone will automatically reset.
  • ๐Ÿšซ Some models (POCO F4 GT, Xiaomi 12T) require additional confirmation through SMS.

Xiaomi modelWaiting time to unlockWhether Magisk supports
Redmi Note 12 Pro+168 hoursYeah (with patch)
Xiaomi 13 Ultra720 hoursYes (TWRP requires)
POCO X5 Pro72 hoursYes.
Redmi 10CNo waiting.Yes.

โš ๏ธ Warning: If the Mi Unlock Tool gives you a Couldn't unlock error, check: Mi Account is tied to the device for more than 7 days. Antivirus is disabled on the PC (it can block drivers). USB-cable (not everyone supports fastboot data transfer).

๐Ÿ’ก

If the unlock is delayed, try connecting the phone to another. USB-port (preferably 2.0) or use an externally powered hub, which often solves device detection problems.

3. Alternative method: unlocking via fastboot (for experienced)

If the official tool doesnโ€™t work, you can try to unlock the bootloader manually via fastboot commands, which is suitable for devices where the Mi Unlock Tool displays errors such as Mi Account not bound or Device not supported.

You'll need:

  • ๐Ÿ–ฅ๏ธ PC with installation ADB/Fastboot (download from Android)
  • ๐Ÿ“„ File. unlock_code.bin (You can get it through the Mi Unlock Tool at the waiting stage)
  • ๐Ÿ”Œ Cable USB data-supported

Command sequence:

fastboot devices # Check the connection


fastboot oem unlock-go # Unlock (for older models)




Fastboot flashing unlock # Unlock (for new models)




fastboot oem unlock [code] # If you need to enter the code

Important: On devices with MediaTek (e.g., Redmi Note 11), an additional fastboot oem enable-dm-verity command may be required to disable system integrity checks.

What if fastboot doesnโ€™t see the device?
1. Check that the phone is indeed in fastboot mode (a bunny screen with FASTBOOT labeled). 2. Install the drivers manually through Device Manager (select "Android Bootloader Interface"). 3. Try another cable or USB 2.0 port (USB 3.0 sometimes doesn't work). 4. Disable the driver signature in Windows (click F8 when booting โ†’ "Disable Driver Signature Verification").

4.Install Magisk: How to get a root without losing functionality

Once you unlock the bootloader, you can start getting root rights. The most reliable way is to install Magisk via custom recovery (TWRP). Download the latest version of Magisk from GitHub and follow the instructions:

  1. Download TWRP for your model (e.g. from twrp.me).
  2. Translate your phone to fastboot and run recovery: fastboot flash recovery twrp.img fastboot boot twrp.img
  3. In TWRP, select Install โ†’ specify the Magisk-v26.4.zip file โ†’ swipe to install.
  4. Reboot to the system.

To mask root from applications (for example, banking), use the modules MagiskHide Props Config or Safetynet Fix.

  • ๐Ÿฆ Banking applications (Sberbank, Tinkoff) can block access.
  • ๐ŸŽฎ Games (PUBG, Genshin Impact is often banned for root.
  • ๐Ÿ”„ OTA-Updates will stop working (you will have to update manually).

๐Ÿ’ก

Installing Magisk through a boot image patch (without TWRP) is possible, but requires boot.img extraction from firmware and manual patching. This method is more complicated, but works on non-custom recovery devices.

5. circumvention of restrictions: rout without unlocking the bootloader (risky!)

For some models (Redmi 9A, POCO M3), there are exploits that allow you to get a root without unlocking the bootloader, such as the vulnerability DirtyPipe or CVE-2022-20421.

  • โš ๏ธ Unstable (may cause swelling).
  • ๐Ÿ”„ Temporary (after rebooting, the rout disappears).
  • ๐Ÿ›ก๏ธ Dangerous (can be used by attackers).

If you do, use RootAWD (for MediaTek) or KingRoot (for universal but high-risk malware).

  1. Download APK from the official website (not from third-party sources!).
  2. Enable installation from unknown sources in Settings โ†’ Security.
  3. Launch the application and follow the instructions.

โš ๏ธ Attention: Unlocked methods often lead to a soft brick (the device is switched on but not loaded further than the logo) and can only be restored through a fastboot with full flashing.

6.What to do after obtaining a root license: setting up and security

Now that you have root, it's time to optimize the system. Here's what you should do first:

  • ๐Ÿงน Remove System Garbage with the Help SD Maid or Root Explorer (Folders) /data/log, /cache).
  • ๐Ÿš€ Disable unnecessary services through Disable Service (e.g., com.miui.analytics for tracking).
  • ๐Ÿ”‹ Optimize your battery with Greenify or Battery Guru.
  • ๐Ÿ›ก๏ธ Configure backups with Titanium Backup or Swift Backup.

For safety:

  1. Install AFWall+ to monitor network traffic.
  2. Use XPrivacyLua to restrict application rights.
  3. Regularly check the system for viruses through Malwarebytes (with root support).

Critical: Never upgrade to an OTA with root rights! This will result in a loss of root or even locking the device.

  1. Download full firmware from Xiaomifirmwareupdater.com.
  2. Install them via TWRP with the Magisk pre-patch.

7. Frequent problems and their solutions

Even if you follow the instructions accurately, you can get errors.

Problem.Reason.Decision
Mi Unlock Tool is 99% FreezingUnstable connection to Xiaomi serversUse a VPN (such as Japan) or try again later
The phone does not turn on after the firmwareIncompatible version of TWRP or MagiskSweat the stock firmware through fastboot
Banking applications are not workingRoot detected (SafetyNet does not pass)Install MagiskHide Props Config and set up root cover
No network after unlockingIMEI erased or modem modulesRestore your IMEI via Maui META or run a modem

If the device has turned into a hard brick, don't panic.Most Xiaomi models can be restored through a hard brick. EDL-Emergency Download Mode with the Mi Flash Tool:

  1. Download the.tgz firmware for your model.
  2. Connect the phone to EDL (clip Volume Up + Volume Down + Power).
  3. Sweat through the Mi Flash Tool with the clean all option.

๐Ÿ’ก

EDL-The mode requires an authorized Xiaomi account with firmware rights. If you do not have such an account, contact the service center or use paid unlock services (for example, DC-Unlocker).

FAQ: Answers to Frequent Questions

Can I get a root on Xiaomi without a computer?
Theoretically, yes, with apps like KingRoot or Framaroot, but: โŒ Nana MIUI 14/15 These methods do not work due to increased protection. โš ๏ธ High risk of malware installation. ๐Ÿ”„ Root will be temporary (disappear after restarting.
How to check if the bootloader is unlocked?
Turn off your phone and turn it on in fastboot mode (click Volume Down + Power). If the bottom of the screen says UNLOCKED, the bootloader is unlocked. If LOCKED is not. You can also check through ADB: adb shell getprop ro.boot.verifiedbootstate If the answer is orange - bootloader is unlocked, green - blocked.
Will I lose my warranty after I get a rut?
Yes, the official warranty of Xiaomi is canceled when you unlock the bootloader or obtain root rights: ๐Ÿ”ง If the problem is not related to the software part (for example, a broken screen), the service center may go to the next step. ๐Ÿ”„ The warranty can be restored by returning the device to the stock firmware and blocking the bootloader. In Russia and CIS countries, some service centers turn a blind eye to the root, if it did not cause a breakdown.
How to hide root from applications (Sberbank, games)?
Use MagiskHide (built into Magisk Manager): Open Magisk Manager โ†’ Settings โ†’ turn on MagiskHide. Add apps to the Hidden List (e.g. ru.sberbankmobile). Reboot your device. For additional cloaking, install the modules: Safetynet Fix (for SafetyNet) Universal SafetyNet Fix (for newer Android versions) If it doesn't help, try Island (app sandbox) or Shelter.
Can I upgrade MIUI with root rights?
Yes, but only manually (OTA) Algorithm: Download the full firmware (.zip) for your model. Copy it on your phone. In Magisk Manager, select Install โ†’ Select and patch the file and specify the downloaded firmware. After patching, run the firmware through the TWRP. Reboot and update Magisk via Direct Installation. MIUI 15 You may need to disable dm-verity via the command: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img