Getting root rights on Xiaomi smartphones is a process that requires careful and understanding of all stages. With each update MIUI, the company tightens security measures, so the methods that worked in 2022-2023 may not be relevant today. In this article, we will discuss the current ways to unlock the bootloader, install custom recovery and gain root access through Magisk, taking into account the latest changes in Xiaomi policy, including the mandatory binding of the Mi Account and the new restrictions for models on Qualcomm Snapdragon 8 Gen 2/3.
It's important to understand that rooting is not just a "hack" but a deep interference with the firmware. It gives you complete control over the device: the ability to remove system applications, change the parameters of the processor, install modified firmware. However, with freedom come the risks of loss of warranty, potential security problems (such as a vulnerability to malware), and possible blatant (turning the phone into a "brick") when you make mistakes. If you're a beginner, carefully weigh the pros and cons before starting the procedure.
Preparing for root rights: what you need to know before you start
Before you start unlocking, make sure your device meets the key requirements:
- π± Smartphone model: methods differ for Redmi lines, POCO Xiaomi (for example, Redmi Note 12 Pro)+ Xiaomi 13 Ultra has different types of downloaders).
- π Version. MIUI: on MIUI 14/15 Android 13/14 Requires an updated version of Magisk Delta (classic Magisk may not work).
- π bootloader status: new devices have it locked by default.Unlocking through the Mi Unlock Tool now requires a Mi Account to be linked to the device for at least 7 days.
- πΎ Backup: Procedure will reset all data! Use Mi Cloud or local copy via adb backup.
Devices on MediaTek (like the Redmi Note 11 Pro with Dimensity 920) have their own nuances when unlocking the bootloader, while smartphones on Qualcomm (like the Xiaomi 12T Pro with Snapdragon 8+ Gen 1) require additional drivers to work with fastboot.
β οΈ Attention: Starting with MIUI 14, Xiaomi introduced anti-rollback protection (Anti-Rollback).This means that after the firmware update, you will not be able to roll back to the older version without risking locking the device. β The phone. β Version. MIUI β Full version information before manipulation.
Unlocking the bootloader through Mi Unlock Tool: a step-by-step process
The first and mandatory step is to unlock the bootloader, and without that, you can't install custom Recovery or firmware. The process changed in 2026, and now you need to:
- Attach your Mi Account to your device (in settings: Mi Account β Security β Device Linking).
- Enable OEM Unlock in Settings β For developers (if there is no item, then the device does not support unlocking).
- Connect the phone to the PC in fastboot mode (clamp Volume down + Power when the device is off).
- Run the Mi Unlock Tool (last version 6.5.224.24) and log in to the same Mi Account as your phone.
Since 2023, Xiaomi has increased the wait time for unlocking from 72 hours to 7 days for new accounts. If you previously unlocked devices under this account, the wait can be reduced to 3-5 days.
Create a backup copy of the data|Linking your Mi Account to your device|Turn it on. OEM Unlock and debugging by USB|Download the Mi Unlock Tool for the latest version|Prepare. USB-cable (original!)-->
β οΈ Note: If you see a "Couldn't unlock" error (10008) when you unlock, it means that your Mi Account is not authorized to unlock (for example, created less than 7 days ago). Error 86006 indicates a mismatch between the regions of the account and the device, in which case, changing the region in the settings of the Mi-account will help.
| Mistake in Mi Unlock Tool | Reason. | Decision |
|---|---|---|
| 10008 | The account does not have the right to unlock | Wait 7 days or use another account |
| 86006 | Disparity between the regions of the account and the device | Change the region in the Mi Account settings to "Global" |
| 20032 | The device does not support unlocking | Check the list of supported models on the official website |
| 9999 | Problems with Xiaomi servers | Repeat the attempt after 24 hours or use a VPN (region β Singapore) |
Installation of custom TWRP recavator: version choice and nuances
Once the bootloader is unlocked, install the TWRP (Team Win Recovery Project) custom recovery that allows you to flash modified images. It is important to use the official or proven TWRP build for your model, as unofficial versions may contain errors or malicious code.
Download the current version TWRP For popular models (Redmi Note 12 Pro, POCO F5, Xiaomi 13 is available stable builds. New devices (such as Xiaomi 14) may require an informal port, which can be found on forums. XDA Developers or 4PDA, But install one. TWRP at risk.
Installation is carried out via fastboot using the command:
fastboot flash recovery twrp-3.7.0_12-1-redminote12pro.img
fastboot boot twrp-3.7.0_12-1-redminote12pro.imgAfter installation, immediately load into TWRP (through fastboot boot, because the system can overwrite the recavers at the first boot. TWRP necessary:
- Backup boot and dtbo (on some models).
- Disable the firmware signature verification (in TWRP settings).
- Switch Magisk or Magisk Delta to get root rights.
What happens if TWRP doesnβt start?
Getting root rights through Magisk: version selection and firmware
Magisk is the most popular root-rights tool without violating systemless root integrity. In 2026, the classic Magisk (John Wu) gave way to Magisk Delta, a fork with support for new versions of Android and patches for MIUI.
To install Magisk:
- Download the latest version of Magisk Delta (e.g. Magisk-Delta-v26.4.zip) from GitHub.
- Copy the file onto your phone or flash drive.
- Boot in. TWRP and sew ZIP-file via Install.
- Reboot to the system.
After the reboot, check for root using the Root Checker app or a command in the terminal:
suIf the command returns the #-root invitation, it is successfully received.
MIUI 15 may have problems with SafetyNet (not being checked in banking applications).
- π§ Install Universal SafetyNet Fix via Magisk.
- π Restart the device after installing the module.
- π± Check SafetyNet status in the app YASNAC.
1. Remove boot.img from your model's firmware.
2. Patch it through the Magisk App (Install β Select and Patch a File tab).
3. Sweep the patchy boot.img Fastboot: Fastboot Flash boot magisk_patched.img-->
Problems after rooting and their solutions
Even if you successfully get root rights, you can have problems.
| Problem. | Possible cause | Decision |
|---|---|---|
| The phone is not loaded (bootloop) | Incompatible version of Magisk or damaged boot.img | Sweep the original boot.img through fastboot, then repeat the procedure with the correct version of Magisk |
| Banking applications are not working | SafetyNet is not checked | Universal SafetyNet Fix and MagiskHide Props Config |
| There is no network after rooting | Modem or vendor section damaged | Sweep the original modem.img and vendor.img from stock firmware |
| The system restarts when connected to Wi-Fi | Conflict with Magisk modules connected to the network | Disable all network modules in Magisk or reset network settings |
If they stopped working after the rutting OTA-It's normal, custom recavery blocks their installation:
- Download full ZIP firmware for your model with Xiaomi Firmware Updater.
- Write it through TWRP (no wiping!).
- After the update, re-sweep Magisk.
β οΈ Note: On devices with Dynamic Partition (e.g. Xiaomi) 12/13/14 series) firmware ZIP through TWRP This can cause data loss in the super partitions, in which case use fastboot update instead of the super partitions. TWRP Or just use the necessary parts (boot, dtbo, vendor_boot).
Alternative methods of root without TWRP
If you cannot install TWRP (for example, because you donβt have a stable build for your model), you can get root through boot.img:
- Download the stock firmware for your device (.tgz or.zip format).
- Remove boot.img file from it (use 7-Zip or Mi Flash Tool).
- Transfer boot.img to your phone and patch it through the Magisk App (Install β Select and Patch a File).
- Copy the patch file (magisk_patched.img) PC-only.
- Fastboot: Fastboot Flash Boot magisk_patched.img fastboot reboot
This method works on most Xiaomi devices, including newer Android 14 models, but it does not allow custom firmware or modules that require changes to the system.
For devices with AB-partition (A/B updates, for example, POCO F4 Xiaomi 11T) Both sections must be patched (boot__a and boot__b):
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.imgπ‘
Patch boot.img is the safest way to get root on new Xiaomi devices, as it does not require custom recovery installation and minimizes the risk of bootloop.
How to hide root from apps (MagiskHide and alternatives)
Many apps (banking, gaming, streaming) block the work on rooted devices. To circumvent these restrictions, use:
- π MagiskHide (built into Magisk Delta): Hiding root from selected applications. Activated in Magisk settings β Turn on MagiskHide).
- π‘οΈ Universal SafetyNet Fix: SafetyNet certification (required for Google Pay, Netflix).
- π Shamiko: MagiskHide alternative for new versions of Android.
- π± Island (Work Profile): Creates an isolated environment for sensitive applications.
To set up MagiskHide:
- Open the Magisk App and go to Settings.
- Turn on MagiskHide and Zygisk.
- In the Configuration section, add applications for which you need to hide root (for example, SberBank Online, Tinkoff).
- Reset the device.
If the app is still Detects root, try:
- Delete the application data and add it to MagiskHide again.
- Disable all Magisk modules except Universal SafetyNet Fix.
- Use Termux to manually hide root: su props # Select "Edit device fingerprint" and specify the fingerprint of the stock device