Getting root rights on Xiaomi smartphones opens up access to hidden system functions, but requires caution: wrong actions can lead to a bootloader lock or loss of warranty.In 2026, the procedure became more complicated due to tightening security policies. MIUI, But it remains possible for most models, from the Redmi Note 12 to the flagship Xiaomi 14 Ultra, and this article will help you understand how to securely activate superuser rights, what tools you will need to do this, and how to avoid typical errors.
It is important to understand: unlocking the bootloader through the official Mi Unlock tool now requires linking the Mi Account to the device at least for a few hours. 72 It's an hour before the procedure starts. 2023 year and applies to all devices under control MIUI 14/15. If you just bought a smartphone, immediately link it to your account β this will save time.
Weβll look at two main ways to get root rights: through Magisk (the recommended way for most users) and alternative solutions for devices with a locked bootloader, and weβll also look at which apps actually require root access, and where you can get by with standard Android permissions.
What are root rights and why do you need them on Xiaomi?
Root rights (or superuser rights) give you complete control of the Android operating system.
- π§ Remove system applications (bloatware) that cannot be uninstalled in standard ways
- π± Modify system files (e.g., modify build.prop to trick applications)
- π Install custom firmware (LineageOS, Pixel Experience)
- π Bypass manufacturer restrictions (e.g. overclocking the processor or disabling forced encryption)
- π‘ Use specialized utilities like Titanium Backup or AdAway
However, there is a downside: with root rights, you lose the official Xiaomi warranty, and some banking applications (such as SberBank Online or Tinkoff) may stop working due to the SafetyNet trigger.
β οΈ Attention: On devices with MIUI 15 or later, some features (such as Mi Share or Game Turbo) may stop working after rooting. Before starting the procedure, check if there are alternative solutions for your task.
If you need root rights only to remove ads in system applications, consider alternatives:
- π‘οΈ Use of the ADB-commands to disable advertising without root
- π Installation MIUI European ROM (default-free)
- π΅ Application DNS-filters (e.g. AdGuard) DNS)
Preparation of the device: requirements and warnings
Before starting the procedure, make sure your device meets the following requirements:
| Parameter | Requirement | How to check |
|---|---|---|
| MIUI version | 12.5 and newer | Settings β The phone. β Version. MIUI |
| Loader status | Unlocked (or ready to unlock) | Settings β Additionally. β For developers β Loader status |
| Mi Account | Tieted to the device β₯72 hours | Settings β Xiaomi account |
| Battery charge | β₯60% | Battery indicator in the status bar |
| Backup copy | Required. | Use Settings β Additional β Backup |
Pay special attention to the status of the bootloader. On new Xiaomi devices, it is blocked by default, to check its status:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Back to Settings β Additionally. β For developers.
- Find the bootloader status item β if it says βBlockedβ, you will need official unlocking through the Mi Unlock Tool.
β οΈ Note: On devices with MediaTek processors (e.g. Redmi Note 11 or POCO M5) Unlocking the bootloader can lead to hardware locking Anti-Rollback. Before you start, check the compatibility of your model on the forum XDA Developers.
Also prepare:
- π» Windows computer 10/11 (For the Mi Unlock Tool)
- π Original. USB-cable (do not use cheap analogues)
- π± Find My Device and Mi Cloud Sync
- π Password from Mi Account (if two-factor authentication is enabled)
Create a backup copy of the data|Link Mi Account to your device|Disable Find My Device|Charge the battery. β₯60%|Install drivers ADB PC-only-->
Unlock the bootloader through the Mi Unlock Tool
This is the only legal way to unlock a bootloader on Xiaomi, but it has limitations:
- β³ Wait 72β168 hours after account link
- π± It only works on supported models (the list is updated monthly)
- π Maximum 3 unlocks per month for one Mi Account
Step-by-step:
- Download the Mi Unlock Tool from the official en.miui.com/unlock website (the version must match your MIUI).
If the tool is running a "Couldn't unlock" or "Wait" error XX hours":
- π‘ Check the Internet connection (tool requires connection to Xiaomi servers).
What if the Mi Unlock Tool canβt see the device?
Install Magisk for root rights
Magisk is a one-stop root solution that allows you to pass SafetyNet and use banking applications (if you configure them correctly).
To install Magisk on Xiaomi, you will need:
- Unlocked boot loader (see previous section).
- Castomic recovery (TWRP or OrangeFox)
- File. Magisk.zip (Download the latest version from GitHub).
Installation instructions:
- Install custom recovery: fastboot flash recovery twrp.img Fastboot Reboot Recovery (Replacement) twrp.img Up-to-date version for your model).
- In Recovery: Select Wipe β Format Data (this will delete all data!) Move Magisk.zip phone-in MTP (Install the zip file via Install.
Reboot.
Magisk Manager
If after installing Magisk phone fixes on the logo MIUI:
- π Download to recovery and re-install Magisk.zip.
- π₯ Try another version of Magisk (like Magisk Delta for new devices).
- π§ Turn off Force Encrypt in recovery (if encryption is enabled).
π‘
If banking applications donβt work after installing Magisk, activate MagiskHide and Enforce DenyList options in Magisk settings. Also install Universal SafetyNet Fix module via Magisk Manager.
Alternative methods of obtaining root rights
If official unlocking is not available (for example, on devices with MIUI China ROM Or corporate models, alternative ways can be tried:
1. Exploits for older versions MIUI
On some firmware (e.g, MIUI 12.0β12.5) There are exploits like DirtyCow or CVE-2020-0041. They allow you to get a temporary root without unlocking the bootloader, but:
- β οΈ It doesn't work on all models.
- π Requires a reboot to activate.
- π‘οΈ Antiviruses can be triggered (false positives).
2. Custom firmware with pre-installed root
Firmware like LineageOS for MicroG or Havoc-OS already includes Magisk, which requires an unlocked bootloader to install, but eliminates manual root configuration. NFC on some Xiaomi models.
3. Root through. ADB (temporary)
On Android 11 and below, you can get a temporary root through the ADB:
adb shell
su -c "your_command"But this method only works until the first reboot and requires enabled debugging. USB.
β οΈ Note: Use of informal unlock methods (for example, through paid services such as Xiaomi Tool) PRO") This can lead to hard-brick, which is a permanent breakdown of the device, and these services often use undocumented commands. EDL, Which Xiaomi is locked at iron level.
How to give root rights to a particular application
Once Magisk is installed, the superuser rights are managed through Magisk Manager (or Magisk App in newer versions) to provide root access to the application:
- Open the Magisk App and go to the Super User tab.
- Click on the icon. βοΈ in the upper right corner and select the Superuser Settings.
- Activate the Automatic Response option for queries (Request is recommended).
- Run an application that needs root rights β it must ask for permission.
- Confirm access in the Magisk window that appears.
If the application does not request root rights:
- π Check if it supports Magisk (some apps require SuperSU).
- π₯ Update the application to the latest version.
- π§ Manually add the application to the list of allowed in the Settings of the superuser β Politics.
Examples of applications that require root:
| Annex | What is root for? | Alternative without root |
|---|---|---|
| Titanium Backup | Backup of system applications | Swift Backup (c) ADB) |
| AdAway | Blocking Advertising at System Level | Blokada or DNS-filter |
| FX File Explorer | Access to system folders (/data, /system) | ADB-Teams or Total Commander with a plugin |
| Greenify | Deep hibernation of system processes | Battery settings in MIUI |
π‘
Not all apps work correctly with Magisk. If the application crashes after providing root permissions, try enabling DenyList for it in the Magisk settings or using the MagiskHide Props Config module.
Solving Typical Problems After Getting Root Rights
Even if you successfully install Magisk, you can still get errors.
1.The phone does not pass SafetyNet
If your banking app or Google Pay refuses to work:
- π§ Install Universal SafetyNet Fix via Magisk.
- π± Turn on MagiskHide (new versions β DenyList).
- π Restart the device after the changes are applied.
2. Logo fixation MIUI
If the phone does not boot after installing Magisk:
- π οΈ Download to recovery and reinstall Magisk.zip.
- π₯ Check the compatibility of the Magisk version with your firmware.
- π§ Disable data encryption (Format Data in recovery).
3. Apps don't see root rights
If Magisk is installed, but the apps donβt get root:
- π Reinstall Magisk App (download the latest version from GitHub).
- π Check that the application is added to the Superuser Policy.
- π§ Execute the command in ADB: adb shell su --install
4. Loss of network connection (IMEI)
If after the manipulation of the system disappeared IMEI mobile:
- π‘ Restore. IMEI through QCN-Recovery (backup required).
- π§ Refuse the modem module with Fastboot: fastboot flash modem NON-HLOS.bin
- π οΈ Install the module. IMEI Repair for Qualcomm via Magisk.
β οΈ Note: If the camera or fingerprint sensor stopped working after obtaining root rights, the most likely problem is the incompatibility of the custom core. stock_boot.img (file stock_boot.img You can get it from the official firmware for your model).