Getting root rights on Xiaomi smartphones is a process that opens up access to hidden Android features, but requires accuracy and understanding of risks. Unlike most brands, Xiaomi devices have a unique security system: locked bootloader, proprietary MIUI firmware and rollback mechanisms. In 2026, the procedure was complicated due to tightening security policies, but remains feasible even for beginners - provided they follow proven instructions.
This article covers all the steps from unlocking the bootloader to installing Magisk, taking into account the features of the latest versions of MIUI 14/15 and models based on Qualcomm Snapdragon/Mediatek. We will analyze legal and informal methods, warn against typical errors (for example, hard brick when you have improper firmware), and give recommendations for restoring the system in the event of a failure. If you are willing to sacrifice a warranty for the sake of full control of the device, read on.
What is rooting on Xiaomi and why is it risky?
Root rights on Xiaomi allow:
- π§ Remove embedded applications (bloatware) and system services MIUI that cannot be disabled by standard means.
- β‘ Install modified cores to overclock the processor or improve autonomy (e.g., KernelSU).
- π± Change system fonts, animations, and themes at framework-res.apk level.
- π Block ads at the hosts file level or through AdAway.
- π‘ Use applications that require low-level access (e.g. Titanium Backup or Greenify).
But there is a downside:
- β οΈ Warranty Loss: Xiaomi fixes the unlock status in the EFS- section and it is impossible to return it back.
- π‘οΈ Security vulnerabilities: Root opens access to system files for malware.
- π Problems with OTA- updates: After a root, an automatic MIUI update can lead to a bootloop.
- π΅ Banking applications inoperability: SberBank Online, Tinkoff and others block work on rooted devices (solved through Magisk Hide, but not always).
β οΈ Warning: On Xiaomi 13/14 series and Redmi Note 12 models with Snapdragon 8 Gen 2 processor, unlocking the bootloader may result in hardware locking of the 5G module (a bug confirmed by users on 4PDA).
Preparation of the device: what to do before unlocking
Before you start unlocking bootloader, follow the mandatory steps:
Backup data (photos, contacts, SMS) via Mi Cloud or local | Charge phone to at least 60% | Make sure the device is the latest version MIUI (update via Settings β Phone) | Enable debugging on USB in Settings β About Phone β Version MIUI (7 times tap) β Additional β β For developers |Install drivers ADB/Fastboot on PC (download from Google or Mi Flash Tool) | Download official Fastboot firmware for your model (from https://new.c.mi.com/global/miuidownload/index)
-->
Pay special attention to the choice of firmware. For Xiaomi models, there are three types of firmware:
| Type of firmware | Description | Is it good for the rut? |
|---|---|---|
| Stable (Stable) | The official version of MIUI with a minimum number of bugs is updated every 1-2 months. | Yes, but it requires unlocking the bootloader. |
| Developer (For Developers) | Weekly builds with new features, but bugs are possible. Easy to unlock. | Yes, recommended for beginners. |
| Fastboot | .tgz firmware for installation via Mi Flash Tool. Required for brick recovery. | Yeah, but only for flashing. |
| Custom (Castom) | Third-party firmware (e.g. LineageOS, Pixel Experience) | Yeah, but it requires a preliminary rut. |
For models on Mediatek (for example, Redmi Note 11, POCO M4 Pro) additionally you will need:
- π Install the MediaTek Preloader driver (without it, the PC wonβt see the device in fastboot mode).
- π¦ Download the SP Flash Tool instead of the Mi Flash Tool.
- π Get an authentication file to unlock (available free of charge on Xiaomi's official website).
Redmi Note 12/13 series|POCO F5/X5|Xiaomi 13/14 series|Redmi 10/11 series|Another model-->
Unlock bootloader on Xiaomi: the official method 2026
Xiaomi allows you to unlock the bootloader legally, but the process takes up to 7 days due to the account verification.
- Link your Mi Account to your device: Go to Settings β Xiaomi Account. Enter your username/password (if you donβt have an account, sign up). Activate the βDevice Searchβ and βData Syncβ option.
- Apply for unlocking: Download Mi Unlock Tool (2026 version). Launch the utility on behalf of the administrator and log in under the same Mi Account. Connect your phone in fastboot mode (turn off the device, press Volume down + Power).
Wait for the confirmation SMS (usually 3-5 days) and then try again to unlock in the Mi Unlock Tool.
If the utility produces an error "Couldn't unlock" or "Current account is different from the account info on the device", do:
- π Restart your phone and PC.
- π Try another one. USB-cable (preferably original from Xiaomi).
- π± Make sure that the Settings β Developer option is βUnlock OEM.β
- π Wait another 24 hours β sometimes the delay in confirming SMS is as long as 7 days.
β οΈ Warning: On devices with MIUI 15 (e.g., Xiaomi 14 Ultra), unlocking through the Mi Unlock Tool may require additional code that is issued only after contacting Xiaomi.
What if the Mi Unlock Tool canβt see the device?
Alternative Unlocking Methods (if the Official One is Not Working)
If the Mi Unlock Tool refuses to unlock the bootloader, you can use workarounds. These methods are informal and can lead to the blocking of the Mi or brick device account, so use them at your own risk.
Method 1: Emergency Download Mode (EDL)
Suitable for Qualcomm devices (e.g. POCO F4, Xiaomi 12T) You will need:
- π§ Test Point (point to transfer to EDL- mode, location depends on model).
- π₯.mbn firmware for your model (download from Xiaomi Firmware Updater).
- π₯οΈ Mi Flash Tool or QFil.
Algorithm:
- Open the back of the phone and close Test Point (see instructions for your 4PDA model).
- Connect the phone to a PC, and it will be defined as a Qualcomm HS-USB QDLoader 9008.
- In the Mi Flash Tool, select the firmware and press Flash.
Method 2: DirtyCOW exploit (for older models)
It works on Android 7-10 devices (e.g. Redmi Note 7, Mi 9).
- π± Installed application Xiaomi Root Tool.
- π Included debugging according to USB.
Instructions:
- Connect your phone to your PC and start adb devices (the device should be displayed).
- Enter the command: adb push dirtycow /data/local/tmp/ adb shell chmod 777 /data/local/tmp/dirtycow adb shell /data/local/tmp/dirtycow
- After the reboot, install Magisk via TWRP.
π‘
If after unlocking the bootloader, the phone is stuck on the MI logo, don't panic! turn off the device, press Volume up + Power to log into Recovery, and reset (Wipe Data).
Install TWRP and Magisk: Getting root rights
Once the bootloader is unlocked, it remains to install custom recavers (TWRP) and Magisk to manage root rights. Importantly, each Xiaomi model has its own version of TWRP!
Step 1: Installation of TWRP
- Download the current version of TWRP for your model from the official website (for example, for Redmi Note 12 Pro+ it is twrp-3.7.0_12-vayu.img).
- Rename the file to recovery.img and place it in a folder with fastboot.
- Fastboot flash recovery recovery.img fastboot boot recovery.img
Step 2: Magisk firmware
- Download the latest Magisk (Magisk-v26.4.zip) from GitHub.
- Move the archive to your phone (for example, internal memory).
- In TWRP, select Install β Select Magisk-v26.4.zip β Swipe to Confirm Flash.
- After installation, restart (Reboot System).
Step 3: Root rights verification
- Install the Root Checker app.
- Open it and click "Verify Root" - it should appear Congratulations! Root access is properly installed on this device!
π‘
If the phone doesnβt boot after installing Magisk, then the TWRP firmware is incompatible with your version of MIUI. Solution: Sweat the official firmware through the Mi Flash Tool and repeat the process with another version of TWRP.
Solving Typical Problems After Root
Even with successful root rights installation, Xiaomi users face typical problems.
| Problem. | Reason. | Decision |
|---|---|---|
| The phone is not loaded (bootloop) | Incompatible version of TWRP or Magisk. | Swipe the official firmware through fastboot, then repeat the installation of the root. |
| Magisk Hide is not working. | The MIUI update reset the settings. | Reinstall Magisk, activate Magisk Hide and add banking apps to the list. |
| There is no network after the root | Damaged EFS- section (stored IMEI). | Restore EFS via QFil or Mi Flash Tool (see instructions for your model). |
| MIUI not updated | The system partition /system has been changed. | Install the update manually via TWRP (download the full.zip package from the official website). |
If Google Pay or SberBank Online stop working after the root, do:
- Open Magisk and go to Settings β MagiskHide.
- Activate the option and add bank apps to the list.
- Reboot the phone.
- If you donβt, install Universal SafetyNet Fix via Magisk.
β οΈ Warning: On devices with MIUI 15 and Android 13+, Magisk Hide may not work due to the new Google Play Integrity API mechanism. Alternatively, use the Shamiko module or roll back to MIUI 14.
How to get everything back: root removal and bootloader lock
If you decide to opt out of the root rights (for example, to sell a phone or restore a warranty), follow the following steps:
Step 1: Remove Magisk
- Open the Magisk app.
- Go to Settings β Delete Magisk β Complete Deletion.
- Confirm the action and wait for the reboot.
Step 2: Firmware of official MIUI
- Download Fastboot firmware for your model from the official website.
- Unpack the archive and launch the Mi Flash Tool.
- Connect your phone in fastboot mode and select the option βClean all and lockβ (this will block the bootloader).
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
Step 3: Check the status of bootloader
After the firmware, execute the command:
fastboot oem device-infoIf the answer is Device unlocked: false, the bootloader is successfully locked. Otherwise, repeat the firmware with the Clean all and lock option.
Important: the warranty is not returned after unlocking the bootloader - Xiaomi fixes this fact in the hardware chip. However, locking the bootloader and the official MIUI firmware will allow you to use the phone without restrictions (except root functions).