Root rights on Xiaomi: how to unlock a superuser for apps in 2026

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)
πŸ“Š Why You Need Root Rights to Xiaomi?
Removal of system applications
Installation of custom firmware
Overclocking/undervolting
Blocking ads
Other

Preparation of the device: requirements and warnings

Before starting the procedure, make sure your device meets the following requirements:

ParameterRequirementHow to check
MIUI version12.5 and newerSettings β†’ The phone. β†’ Version. MIUI
Loader statusUnlocked (or ready to unlock)Settings β†’ Additionally. β†’ For developers β†’ Loader status
Mi AccountTieted to the device β‰₯72 hoursSettings β†’ Xiaomi account
Battery chargeβ‰₯60%Battery indicator in the status bar
Backup copyRequired.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:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. 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:

  1. 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?
1. Check that the phone is indeed in Fastboot mode (rabbit screen). 2. Install drivers manually through Device Manager (select "Install from Disk" and specify the path to drivers from the Mi Unlock folder). 3. Try another one. USB-port (preferably) USB 2.0.4) Disable the antivirus – it can block the tool.5. Use the original Xiaomi cable (not all) USB-C cables support data transfer to Fastboot).

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:

  1. Unlocked boot loader (see previous section).
  2. Castomic recovery (TWRP or OrangeFox)
  3. File. Magisk.zip (Download the latest version from GitHub).

Installation instructions:

  1. Install custom recovery: fastboot flash recovery twrp.img Fastboot Reboot Recovery (Replacement) twrp.img Up-to-date version for your model).
  2. 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:

  1. Open the Magisk App and go to the Super User tab.
  2. Click on the icon. βš™οΈ in the upper right corner and select the Superuser Settings.
  3. Activate the Automatic Response option for queries (Request is recommended).
  4. Run an application that needs root rights – it must ask for permission.
  5. 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:

AnnexWhat is root for?Alternative without root
Titanium BackupBackup of system applicationsSwift Backup (c) ADB)
AdAwayBlocking Advertising at System LevelBlokada or DNS-filter
FX File ExplorerAccess to system folders (/data, /system)ADB-Teams or Total Commander with a plugin
GreenifyDeep hibernation of system processesBattery 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).

FAQ: Frequent questions about root rights on Xiaomi

Can I get root rights without unlocking the bootloader?
On most modern Xiaomi devices (2020 and later) – no. The exceptions are some models with vulnerabilities in the firmware (for example, the Redmi Note 8 Pro on the Internet). MIUI 11), but such exploits are quickly closed with updates.The alternative is to use ADB-commands for limited access to system functions.
How to return the guarantee after obtaining root rights?
Technically, the warranty is cancelled when you unlock the bootloader, but it can be partially restored: Remove Magisk via Uninstall in the Magisk App. Return the stock firmware via Mi Flash Tool (select clean all). Secure the bootloader back through the Mi Unlock Tool (not always possible). However, Xiaomi can determine whether the bootloader is unlocked from the device logs, even if the bootloader is locked back.
Will Google Pay and banking apps work with Magisk?
Yes, but additional setup is required: Install Universal SafetyNet Fix. Activate DenyList in Magisk and add banking apps to the list. Check SafetyNet status through the app YASNAC. If Google Pay is not working, try also disabling MagiskHide for Google Play Services.
How to Upgrade MIUI with Root Rights?
Update through OTA Recommended method: Download the full service pack (.zip) from the official website. Install it through TWRP (Pre-disable Magisk in the module settings. After the update, re-install Magisk. For devices with Dynamic Partition (e.g., Xiaomi) 12T) Use Magisk-in-stock-boot.
Can I get root rights to Xiaomi with a MediaTek processor?
Yes, but with reservations: On MediaTek Helio G chips (like the Redmi Note). 10) Unlocking the bootloader may not work the first time. 900/1000/1200 (for example, POCO F3 GT) require special versions TWRP. Some models (e.g. Redmi Note) 11 Pro+ 5G) When you unlock, you trigger an anti-Rollback, which can lead to a hard-brick. XDA Developers.