Why you need Root on Xiaomi and what risks it carries
Obtaining superuser (Root) rights on Xiaomi smartphones opens up access to hidden Android features, allowing you to remove system applications, optimize performance or install custom firmware. However, this process requires unlocking the bootloader, installing custom recovery (TWRP) and Magisk firmware - every step involves risks, from loss of warranty to the "brick" of the device.
V 2026 Xiaomi tightens security policy on new models (for example, Redmi Note) 13 Pro+ Xiaomi 14 Ultra) unlocking the bootloader requires binding the Mi Account and waiting until 720 hours (30 Old devices like Poco. F3 or Redmi Note 10 Pros unlock faster, but even here, the verification algorithms have changed. MIUI 14/15 HyperOS.
Preparation of the device: what to do before unlocking
Before starting the process, make sure your device meets the key requirements:
- π± Smartphone model: check the unlock support on Xiaomi's official website.Some models (e.g. Xiaomi) 13T Pro for the European market may have restrictions.
- π Battery charge: at least 60% Interrupting the process due to discharge will result in inability to recover via Fastboot.
- π Backup: Use Settings β The phone. β Backup or Mi Mover. data will be deleted!
- π» Computer: Windows required 10/11 (for Mi Unlock Tool or Linux/macOS (for ADB/Fastboot). Virtual machines are not recommended.
Pay special attention to drivers: download Mi PC Suite or install Google USB Driver via Android SDK. Without the correct drivers, the Mi Unlock Tool will not recognize the device.
Unlock the bootloader with the Mi Unlock Tool
The official Mi Unlock Tool is the only legal way to unlock a bootloader on Xiaomi, and the process consists of two steps: linking the account to the device and actually unlocking.
- Activate Developer Options: Go to Settings β About Phone and click on MIUI 7 times.
- Enable USB Debugging and OEM Unlock in the Settings menu β Additional β For developers.
- Link Mi Account to your device: Settings β Xiaomi Account β Security β Link your account.
- Download Mi Unlock Tool, log in and connect your phone in Fastboot mode (clip Volume Down + Power).
Once connected, the tool will show you the latency (72 to 720 hours) on new devices (HyperOS) may require confirmation via SMS. Don't disconnect the device from the PC while waiting - this will reset the timer!
Linked Mi Account to the device|Debugging is on. USB|Drivers installed ADB|Battery charge >60%|Backup created-->
β οΈ Note: If the Mi Unlock Tool gives you a Couldn't unlock error, check if the process is blocked by an antivirus (for example, Avast or Kaspersky.
TWRP Recovery: An Alternative to Standard Recovery
TWRP (Team Win Recovery Project) is a customized recavery required to run Magisk firmware and get Root. For each Xiaomi model, there is a version of TWRP that you need to download from the official website.
Installation instructions:
- Download. twrp-3.7.0_12-0-<model>.img for your device (for example, twrp-3.7.0_12-0-alioth.img POCO F3).
- Move the file to the folder with the platform-tools (Android SDK).
- Connect your phone in Fastboot mode and execute the command: fastboot flash recovery twrp-3.7.0_12-0-<model>.img
- Immediately after firmware, go to TWRP, holding Volume Up + Power.
On some devices (Xiaomi 12T, Redmi K50), TWRP may not start due to anti-Rollback protection, which will require a rollback to an older version of MIUI.
What to do if TWRP does not start?
| Xiaomi model | Supported version of TWRP | Features |
|---|---|---|
| Redmi Note 11 Pro+ 5G (peux) | 3.7.0_12-0 | Requires to disable dm-verity after firmware |
| Poco F4 GT (ingres) | 3.6.2_11-0 | HyperOS is not compatible with MIUI 14 |
| Xiaomi 13 Lite (taoyao) | 3.7.0_9-0 | Supports data encryption (you need to enter a PIN into TWRP) |
| Redmi K60 Pro (mondrian) | 3.7.0_12-1 | Requires a patch for vendor_boot installation of Magisk |
Magisk firmware and obtaining Root rights
Magisk is a modern alternative to SuperSU, allowing you to get Root without changing the systemless root.
Step-by-step:
- Download the latest version of Magisk from GitHub (Magisk-v26.4.zip file).
- Move the archive to your phone or flash drive.
- Download to TWRP and select Install β specify the path to Magisk-v26.4.zip.
- After installation, run the Reboot System.
On devices with HyperOS (such as Xiaomi 14), you may need an additional patch for boot.img:
- Remove boot.img from the firmware via MIUI bootloader.
- Patch it in Magisk: Upgrade β Select and patch the file.
- Sweep the patchy boot.img Fastboot: Fastboot Flash boot magisk_patched.img
β οΈ Note: On some devices (Redmi Note) 12 Turbo) Magisk may conflict with module miui_camera, Solution: disable the module via Magisk β Modules.
π‘
If after installing Magisk phone is fixated on the boot, try flashing Disable_Dm-Verity_ForceEncrypt.zip through TWRP. This will disable the integrity check.
Root rights check and solve typical problems
After the reboot, check for Root with the Root Checker app or the command in Terminal:
suIf the command returns #, the rights are obtained successfully. If there is a Permission denied error, follow the following steps:
- π Reinstall Magisk: Download the latest version and repeat the firmware.
- π± Check the version. TWRP: on some devices required TWRP supportive A/B partitions.
- π§ Disable modules: In Magisk, go to Modules and deactivate everything except MagiskHide.
- π Reset the context of SELinux: Setenforce 0
HyperOS devices may require manual mounting of /vendor partitions in TWRP:
mount /vendorπ‘
If banking applications (Sberbank, Tinkoff) refuse to work, activate MagiskHide and add them to the list of hidden applications.
Hiding Root for Banking Apps and SafetyNet
Many apps (such as Sberbank Online or Google Pay) block work on devices with Root. To circumvent this protection, use:
- MagiskHide: Enable the option in the Magisk settings and add apps to the list.
- Universal SafetyNet Fix: Install the module through Magisk to pass the SafetyNet test.
- Props Config: Change the device fingerprint to a certified one (e.g. Pixel 6).
Use the YASNAC app to check SafetyNet status. If the test is not passed, update the modules or try an alternative method of hiding - Shamiko.
β οΈ Note: On HyperOS devices, MagiskHide may not work smoothly due to new security mechanisms. In this case, try using DenyList (Settings tab). β Configuration in Magisk).