How to Get Root on Xiaomi: The Complete Guide

Obtaining superuser rights on Xiaomi smartphones is a powerful step, opening up access to hidden Android features that are normally not available to the average user. By owning a device with Root rights, you can remove system debris, install specialized modules to change the interface and significantly improve the performance of the gadget.

However, this process requires caution and a clear understanding of all the steps. Unlocking the bootloader is a prerequisite, without which any manipulation of system partitions is impossible. Modern models such as the Xiaomi 14 or Redmi Note 13 have enhanced protection, which makes the procedure more difficult than older models.

In this guide, we will discuss current methods of obtaining administrator rights using proven tools like Magisk and TWRP. It is important to understand that interfering with system files always carries certain risks, so following the instructions is critical to maintaining the health of your smartphone.

Preparation of the device and necessary tools

Before you start modifying the system, you need to collect all the necessary tools. You will need a computer running Windows, macOS or Linux, as well as a high-quality computer. USB-The cable, preferably original, to ensure a stable connection, without a reliable cable, the firmware process can be interrupted, leading to errors.

On your smartphone, you need to activate the developer mode. To do this, go to Settings → About Phone and quickly click on MIUI Version (or HyperOS) seven times. After that, a new section will appear in the menu “Additional” or “Extended Settings”, where you need to select “Developers”.

  • 🔌 Put the debugging on. USB developer-menu.
  • 🔓 Permission. OEM-unlocking (if available).
  • 💾 Make a full backup of all important data.
  • 🔋 Charge the device to a minimum of 60%.

You also need to download and install ADB and Fastboot drivers on your computer, and these tools allow your PC to communicate with your phone in special modes, without which your computer simply won't see the device in the right state.

⚠️ Warning: All data on the device will be destroyed when you unlock the bootloader. Save photos, contacts and documents to the cloud or external media in advance.

Check if you have the latest Mi Unlock Tool installed.This official tool from Xiaomi is needed to unlock the bootloader.Older versions may not support new models released in 2026-2026.

Unlocking the bootloader (Bootloader)

The first and most important step is unlocking the bootloader, a process that removes the manufacturer's restrictions on downloading third-party software, without which you can't install Custom Recovery or a modified bootloader.

To start, link your Mi Account to your phone settings. Go to the Mi Unlock Status menu and click Add Account and Device. The system will alert you to the risks, confirm the action, and then the phone should be connected to the Internet.

📊 What Unlocking Status Are You Faced With?
Successful first time.
Waited 7 days
Waited 30 days
I couldn't unlock it.

Launch the Mi Unlock Tool on your computer and log in to the same account. Put your phone in Fastboot mode, pressing Volume Down + Power at the same time. Connect the device to your PC and press the Unlock button in the program.

Xiaomi’s security policy requires waiting 7 to 30 days (168 or 720 hours) after the first attempt of tethering.

What to do if the timer is not going?
Sometimes the timer freezes. Try logging out of your Mi Account in your phone settings, rebooting, logging in again and re-associating your device in Mi Unlock, and changing the network (e.g., handing out from your phone instead of Wi-Fi) also helps.

When the wait time is up, repeat the procedure. The utility unlocks the Bootloader, and the phone automatically restarts, resetting all data to factory settings. This is the standard security behavior.

Installation of custom TWRP Recovery

Once successfully unlocked, the standard recovery menu will not allow us to set root rights. We'll need a TWRP (Team Win Recovery Project) that allows you to install modified bootloaders and make full partition backups.

Find a TWRP firmware file that is compatible with your model. Using an image for Xiaomi Redmi Note 10 on Xiaomi 13 will lead to a "brick" of the device. The file usually has the.img extension.

Place the image file in the folder with ADB-Open the command line in this folder and type in the command to check the connection:

fastboot devices

If you see the serial number of the device, you've got the connection, you've got to flash the Recovery, and the command is as follows:

fastboot boot twrp_image_name.img

Using boot instead of flash allows you to run TWRP temporarily, without writing to memory. This is a safe way to check the performance of the image. If the TWRP menu is loaded and the sensor is working, you can move on to the next step.

☑️ Checklist before firmware

Done: 0 / 4

In the TWRP menu, select the language (usually English) and don't agree to modify the system partition right now if the system asks. We need to install the rights management file first.

Install Magisk to obtain Root rights

The most relevant and secure way to obtain superuser rights in 2026 is to use Magisk. Unlike the old methods (SuperSU), Magisk works systemless, allowing for security checks in banking applications.

Download the latest version of the Magisk apk file from the official GitHub repository. Rename the file by changing the extension from.apk to.zip. This archive will need to be flashed through TWRP.

Boot into TWRP (clambing Volume Up + Power) and connect your phone to your computer and copy the zip archive to your internal memory. Select "Install" from the recaveri menu.

  • 📂 Find the file. Magisk.zip list.
  • ✅ Confirm swipe installation.
  • ⏳ Wait for the firmware process to be completed.
  • 🔄 Press "Reboot System».

Once you restart, you'll see a new Magisk app. If you don't have one, find the Magisk installer in apk format and install it manually. When you first start, the app can ask for permission to access files and complete the installation, you'll agree.

⚠️ Note: If after installing Magisk, the phone goes into an endless restart (bootloop), you will need to boot up to the phone. TWRP And do the "Wipe" Dalvik/Cache», and then reinstall magisk or restore backup.

Open the Magisk app, and if you have a green version numbered version number in the center of the screen, you've got the Root rights, and you can now check the rights through the special tools.

Verification of rights and configuration of modules

To confirm the success of the operation, download the Root Checker app from Google Play or use the built-in superuser function in Magisk. Run the check, and the system will give you the result of the presence of administrator rights.

One of the main features of Magisk is that it supports modules, which are small packages that change the behavior of the system without replacing system files, and you can install modules to improve sound, change fonts, or increase autonomy.

Title of the moduleFunctionImpact on the system
MagiskHideHiding the root from the appsHigh (required for banks)
Systemless HostsModification of the hosts fileAverage (for blocking ads)
Universal GMS DozeOptimizing Google ServicesLow (battery savings)
Viper4Android FXImprovement of sound qualityAverage (audio drivers)

To activate the MagiskHide root-rights hide, go to the Magisk app settings and turn on "Zygisk" and "Enforce DenyList." Then, in the DenyList, select all banking and anti-cheat games.

💡

Use the Superuser feature in Magisk settings to see which apps are requesting root rights and block suspicious requests in real time.

Remember that installing too many modules can slow down your smartphone.Remove unused components through the module menu in the Magisk app.

Possible problems and ways to solve them

In the process of modifying Xiaomi, users often encounter typical errors. One of the most common is the Mi Unlock Tool refusal to see the device. In this case, check the drivers in Windows Device Manager and try another one. USB-port.

If TWRP doesn’t press (touch doesn’t work), you may be using the image for another version of Android or regional firmware (Global vs China), so you can look for a specific image for your software build.

In case banking applications stopped working even with MagiskHide enabled, try clearing the Magisk app itself and the problem bank's cache. Sometimes you need to update the DenyList list after each install of a new module.

💡

The most common reason for errors is the incompatibility of the TWRP and Android versions. Always check the release date of the image of the Recovery.

Don’t ignore error messages in ADB logs. If a command is executed with an error, further action may be useless.

Safety and Return to Factory Settings

Having root rights reduces the overall security of the device. Malware that gains access to a superuser can cause irreparable damage. Install applications only from trusted sources.

If you decide to return the device to its original state, you will need a complete firmware flashing through Fastboot.Just removing Magisk is not enough for a full return, as the bootloader will remain unlocked.

To return, use the official Mi Flash Tool and a firmware image marked "Clean All" to clean the phone completely and return the original bootloader unless you previously blocked it again (which is not recommended without stock firmware).

⚠️ Warning: Locking a relock with modifications installed or custom recovery is guaranteed to turn the phone into a brick.

Backups of important data regularly. A modified system may be unstable after OTA updates; it is better to skip automatic updates and manually stitch the new version through Recovery.

Will the Root Rights Guarantee Reset Xiaomi?
Technically, unlocking the bootloader and obtaining root rights will void the software warranty. However, if you fully return the stock firmware and lock the bootloader before contacting the service center for a hardware problem (for example, changing the screen), it will be extremely difficult to determine the interference.
Can I get it? OTA-root-rights?
Standard. OTA-Updates with root rights won't get up. If you try to install, the system will give you an error. You'll have to download the full firmware package every time and install it manually through Recovery, saving data (no wipe data).
Do banking applications work after rooting?
Yes, they work, but only if Magisk (Zygisk + DenyList) is configured correctly. Some banks may require additional manipulation or hide the application from the system, but in 95% of cases, standard MagiskHide settings are enough.
Is it dangerous for the average user?
If you follow the instructions strictly and understand the meaning of each step, the risk is minimal, and the main danger is inattention: firmware of the wrong file or interruption of the recording process can lead to the device failure.