Getting root rights on Xiaomi smartphones opens up access to hidden Android features, allows you to remove system applications, optimize performance and install custom firmware. However, this process requires caution: improper actions can turn the device into a brick or deprive you of warranties. In 2026, the procedure for unlocking the bootloader and installing Magisk changed, now it includes mandatory binding of a Mi Account account and waiting for confirmation from Xiaomi servers.
In this guide, we will go through all the steps from device preparation to the final superuser rights check, and focus on the new restrictions for MIUI 14/15 models and Snapdragon 8 Gen 2/3 processors, where standard methods may not work. If you are a beginner, donβt miss the warning and alternative sections!
1.Preparation of the device: what to do before unlocking
Before you start unlocking the bootloader, follow the mandatory steps, and ignoring them will lead to errors like Couldn't verify device or account lock.
First, check the version. MIUI In Settings β On the phone. For most models (Redmi Note 12 Pro)+, Xiaomi 13 Ultra, POCO F5) Global or European firmware (signatures) EEA Chinese versions or Global (CN) They often block the unlocking of foreign accounts. CN-Firmware, first reflash the device through the Mi Flash Tool.
- π± Create a backup through Settings β Additionally. β Backup or Google Drive.Root can erase data!
- π Charge the battery to at least 60 percent. When unlocked, the bootloader consumes a lot of power.
- π Tie it up. SIM-Mi Account card (if new device) This is Xiaomi's requirement to protect against theft.
- π₯οΈ Install drivers for ADB/Fastboot Download the Mi Unlock Tool (Play the Mi Unlock Tool).
Note: If your device was purchased less than 7 days ago, Xiaomiβs server will block the attempt to unlock. This is an anti-theft measure, in which case wait or use bypass methods (about them in the section on alternative methods).
2 Unlocking the bootloader (Bootloader)
The Xiaomi bootloader is locked by default, and unlocking it is the first and most critical step, taking 3 to 7 days due to the Xiaomi servers checking.
Download the official Mi Unlock Tool from Xiaomi (the version should match your MIUI!) and run it on behalf of the administrator and follow the steps:
- Sign in to your Mi Account (should be linked to your device!).
- Connect your phone in Fastboot mode (turn off the device, then press Volume Down + Power).
- If you see a message called Couldn't unlock, wait 168 hours (7 days) and try again.
β οΈ Note: On some models (Xiaomi) 13T, Redmi K60) after unlocking, they are reset IMEI module data NFC. To avoid this, save the persist partition before unlocking TWRP (If it is available for your model).
Linked Mi Account to the device|Data backup made.|Drivers installed ADB|Phone's charged. >60%|Download the latest Mi Unlock Tool version-->
Installation of custom recovery (TWRP)
Once you unlock the bootloader, you need to install custom recovery β usually TWRP β that will allow you to flash Magisk and modified images.
Download the current version of TWRP for your model from the official website twrp.me or trusted forums (XDA Developers, 4PDA). Make sure that the version is compatible with your firmware! For example, for Redmi Note 12 Pro+ (codename ruby) TWRP 3.7.0 is suitable, and for Xiaomi 13 Ultra (isisis) β only special builds with support for dynamic partitions.
Installation via Fastboot:
fastboot flash recovery twrp-3.7.0-ruby.img
fastboot reboot recoveryIf you reboot your TWRP with a password, that's OK. Just connect to Wi-Fi in the TWRP menu and reset your password through Format Data (Warning: this will delete all the data!).
What happens if TWRP doesnβt start?
4. Magisk firmware to get Root
Magisk is a root-rights tool that allows you to hide root from applications (such as banking) and to flash modules.
Download the latest version of Magisk from GitHub (Magisk-v26.4.zip file) and transfer it to your phone and run it through TWRP:
- In TWRP, click Install and select Magisk-v26.4.zip.
- Swipe to confirm the firmware.
- After completion, press Reboot System.
If the root does not appear after the reboot, check:
- π Compatibility of the Magisk version with yours MIUI (for MIUI 15 Magisk 26.4 needs+).
- π οΈ Correct installation (b) TWRP There is no E-Error: Footer is wrong).
- π Availability of blockers like SafetyNet (check through the Magisk app) β MagiskHide).
π‘
If after firmware Magisk phone is stuck on the logo, download to the TWRP and sew Disable_Dm-Verity_ForceEncrypt.zip (download XDA). This will disable the integrity check.
5. Root rights verification and problem solving
After successful firmware Magisk, check for root rights using the Root Checker app (download to Play Market). If the status of Root access: Yes, congratulations!
- ποΈ Remove System Applications via Titanium Backup.
- β‘ Optimize performance with Kernel Adiutor.
- π§ Install Magisk modules (e.g, ViPER4Android sound-enhancing).
If root is not working, use the table below for diagnosis:
| Problem. | Possible cause | Decision |
|---|---|---|
| Root Checker shows No | Misstitched by Magisk | Refuse Magisk.zip via TWRP |
| The phone is loaded into the bootloop | Module conflict or incorrect TWRP | Please. Disable_Dm-Verity or reset the data |
| Apps don't see root | Not included in MagiskHide | Activate in the Magisk settings β MagiskHide |
| This package is for... in TWRP | The Incompatible Version of Magisk | Download Magisk for your architecture (arm64/arm) |
β οΈ Note: On some models (Xiaomi) 12S Ultra, Redmi K50 Gaming) after you get root, the encryption stops working. To avoid losing files, turn off the encryption in the root. TWRP Format Data β Format as Ext4 (It'll delete all the data!).
6. Alternative ways to obtain Root
If the standard method didnβt work (for example, because of a Xiaomi server lock), try alternatives:
Method 1: Waiting bypass 168 hours
Some users have successfully unlocked the bootloader without waiting, using EDL-This requires an authorized Xiaomi account and Mi Flash Pro. However, this method is risky - if you make a mistake, the device can turn into a brickΒ».
Method 2: Root without unlocking the bootloader
For older models (Redmi 4X, Xiaomi Mi A1/A2), there are exploits like DirtyCOW that allow you to get root without unlocking, but they only work on Android 7-9 and require technical skills.
Method 3: Using a Patched Boot Image
If TWRP is not available for your model, you can manually patch boot.img through Magisk on PC and then flash it through fastboot:
fastboot flash boot magisk_patched.img
fastboot rebootπ‘
On HyperOS models (such as Xiaomi 14), standard root methods may not work. Watch out for updates on XDA Developers or Telegram channels like @xiaomiroot.
7 Risks and how to minimize them
Getting root rights deprives you of an official guarantee and may result in:
- π¨ Blocking banking applications (solved via MagiskHide or SafetyNet Fix module).
- π Unstable system operation (especially if incompatible modules are stitched through).
- π΅ Poose. OTA-Updates (you will need to update manually through the TWRP).
To reduce the risks:
- π Regularly do backups through TWRP (backup).
- π‘οΈ Do not remove system applications unless you are sure of their purpose.
- π Before you install the modules, read the reviews on XDA or 4PDA.
β οΈ Note: On devices with HyperOS (the new Xiaomi shell), some Magisk modules can cause soft-reboot (cyclic reboot). TWRP and remove the problem module from the folder /data/adb/modules.