Getting root rights on Xiaomi smartphones opens up access to hidden Android features, but requires caution. Without proper preparation, you risk turning the device into a brick or losing your warranty. In this article, we will discuss current methods for unlocking the bootloader and installing Magisk for models from 2023-2026, taking into account changes in Xiaomi policy and MIUI features.
Itβs important to understand that the procedure is different for Redmi, POCO and the Mi lineup due to different firmware versions and types of bootloaders, and weβll detail each step from PC prep to final superuser rights checks, and also caution against typical bugs that lead to crashes.
What do root rights give to Xiaomi and what risks do they carry?
Root access allows:
- π§ Remove pre-installed system applications (bloatware) and free up memory.
- β‘ Accelerate the device through fine-tuning the kernel and task scheduler.
- π± Install custom firmware (LineageOS, Pixel Experience) and modified recovery (TWRP).
- π Block ads at the system level through the hosts file or Magisk modules.
But there is a downside:
- π« Loss of warranty: Xiaomi officially bans bootloader modifications.
- π‘οΈ Security vulnerabilities: some banking applications (e.g. Sberbank Online) will no longer work.
- π Risk of βbrickingβ: Wrong actions when unlocking can make your phone inoperable.
β οΈ Attention: On devices with MIUI 14+ HyperOS (2026 Xiaomi has tightened the check of the bootloader, and for some models (Xiaomi) 13/14, Redmi Note 12 Pro+) wait 168 hours after account link.
Preparing a smartphone and PC: what to do before unlocking
Before starting the procedure, make sure that:
Make a backup copy of the data (photos, contacts, messages)
Charge your phone at least 70%
Install the latest version of MIUI via Settings β About Phone β System Update
Connect to Mi Account and confirm it via SMS/email
Download Mi Unlock Tool (2026 version)
-->
Pay special attention to drivers. On a Windows 10/11 PC, you need to:
- Disable driver signature verification (Shift + Reboot β Diagnostics β Additional settings β Download options β Reboot with verification disabled).
- Install Mi Flash Tool and drivers for Fastboot mode (download from the official website).
- Enable USB debugging: go to Settings β About Phone β MIUI version (click 7 times), then to Settings β Additional β For Developers β Debugging over USB.
For the POCO F5, Redmi K60 and later models, you will also need:
- π± Disable Data Protection MIUI safety-setting.
- π Link the device to the Mi Account in Settings β Xiaomi account β Mi Cloud β Find the device.
π‘
If the Mi Unlock Tool doesnβt see the device in Fastboot mode, try using the original one. USB-Xiaomi cable and port USB 2.0 (blue) on PC.
Unlock the bootloader: step-by-step instructions for MIUI 14 and HyperOS
The unlocking procedure has changed since 2023, with most models now having a 168-hour wait after the account is tied, with the exception of devices up to the Redmi Note 11 (2022), which is 72 hours.
Steps to unlock:
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect the device to your PC and start the Mi Unlock Tool (you need to log in to the same Mi Account as you do on your phone).
- Press Unlock. If a message appears, it means that 168 hours have passed.
- After successful unlocking, the phone will automatically reset to factory settings.
| Xiaomi model | Waiting time | Features |
|---|---|---|
| Xiaomi 13/13T/14 | 168 hours | Requires HyperOS 1.0+ |
| Redmi Note 12 Pro+/13 Pro+ | 168 hours | Support only through Mi Unlock 2026 |
| POCO F5/F5 Pro | 72 hours | You can use older versions of the tools. |
| Redmi 10/Note 11 | 72 hours | Support for TWRP without additional patches |
β οΈ Warning: If the phone is stuck on the logo after unlocking MI, Don't panic. Hold the volume up. + 10 seconds power for forced reboot.If that doesn't work, you'll need firmware through Fastboot.
Installation of TWRP and Magisk: obtaining root rights
Once you unlock the bootloader, you need to install custom recovery (TWRP) and Magisk to manage root access, and itβs important to use versions that are compatible with your model and the version of MIUI/HyperOS.
Download:
- π± Official TWRP for your model (for example, twrp-3.7.0_12-vayu.img for POCO X3 Pro).
- π§ The latest version of Magisk (at 2026 β Magisk) v26.4).
Installation instructions:
1. Move the downloaded Magisk (.apk) to the phone's memory.
2.Reboot the device to Fastboot mode:
adb reboot bootloader
3. Squeeze the TWRP:
fastboot flash recovery twrp.img
4. Without leaving Fastboot, go to recovery:
fastboot reboot recovery
5. In TWRP, select "Install" β specify the path to Magisk.apk β swipe for confirmation.
6. Reboot to the system.To check root rights, install the Root Checker app from Google Play or run in the terminal:
suIf a superuser invites, the access is successful.
What if Magisk is not installed?
Solving Typical Problems After Getting Root
Even with the right installation, there can be difficulties.
1.The phone does not load (bootloop)
The reason is that it is not a compatible version of TWRP or Magisk.
Decision:
- π Sweep the original boot.img via fastboot flash boot boot.img.
- π₯ Install another version TWRP (For example, an unofficial assembly for your model).
2 Bank applications are not working
Reason: Root access is detected via SafetyNet.
Decision:
- π Install MagiskHide Props Config and activate MagiskHide for problem applications.
- π Update SafetyNet Certificates with Universal SafetyNet Fix.
3. no network after firmware
Cause: damage to the modem partition.
Decision:
- π‘ Sweep the original modem.img stock-stack.
- π§ Reset network settings in Settings β SIM-maps and mobile networks β Resetting settings.
π‘
If Google Pay or Netflix stop working after receiving root, use the MagiskHide module and turn off root for these applications in the Magisk settings.
How to get it back: root removal and bootloader lock
If you need to return the device to its original state (for example, for warranty repairs), follow the following steps:
- Uninstall the Magisk menu (Uninstall β Complete Uninstall).
- Download boot.img: fastboot flash boot.img
- Return stock recovery: fastboot flash recovery.img
- Block the bootloader: fastboot oem lock β οΈ Warning: Locking the bootloader will result in a complete data reset.
HyperOS models will also need to flash the full fastboot-ROM through the Mi Flash Tool by selecting the clean all and lock option.