Root on Xiaomi Redmi: the complete guide from unlocking the bootloader to SuperSU

Getting root rights on Xiaomi Redmi smartphones opens up access to hidden Android features, allows you to remove system applications, optimize performance and install custom firmware. However, the process requires care: one error can turn a device into a brick. In this article, we will discuss current methods for obtaining root rights on Redmi Note 12/13, Redmi 10/11 and other models from 2020-2026, taking into account the latest MIUI updates and Xiaomiโ€™s policy on blocking the bootloader.

It's important to understand that the procedure differs from model to model. For example, the Redmi Note 10 Pro (with a Snapdragon 732G processor) and Redmi 9A (on the Helio G25) use different versions of TWRP and Magisk. We'll look at the universal algorithm, as well as the nuances for specific devices. If you're a beginner, don't skip sections about backup and possible risks!

1.Preparation of the device: what to do before unlocking

Before you start unlocking the bootloader, make sure your Redmi meets the minimum requirements:

  • ๐Ÿ“ฑ Battery charge of at least 70% (to avoid shutdown during the process).
  • ๐Ÿ”„ Backup of all important data (unlocking will reset the device to factory settings!).
  • ๐Ÿ”— Original. USB-cable (cheap cables can interrupt the connection to fastboot).
  • ๐Ÿ’ป Windows computer 10/11 Linux (macOS is not recommended due to driver issues) ADB).

Also check the MIUI version in settings (Settings โ†’ About Phone โ†’ MIUI Version). Redmi models on Android 13/14 (MIUI 14/15) may need to roll back on older firmware - some versions block unlocking the bootloader. Use the official Mi Flash Tool for downgrade if necessary.

โš ๏ธ Note: On devices with HyperOS (new shell from Xiaomi), the unlocking process may be different. Before you start, check the compatibility of your model in the forum XDA Developers or in telegram chats dedicated to Redmi.

Donโ€™t forget to disable Find My Device (Settings โ†’ Google โ†’ Security โ†’ Find Device) and Mi Account (Settings โ†’ Xiaomi Account โ†’ Sign Out).A Xiaomi account linked to you can lock your device after a reset if you donโ€™t untie it in advance.

๐Ÿ“Š What Redmi model do you use?
Redmi Note 12/13
Redmi 10/11
Redmi 9/9A/9C
Redmi K50/K60
Another model

2 Unlock the bootloader: the official way through Mi Unlock

Since 2021, Xiaomi has tightened its policy of unlocking the bootloader, now requiring:

  1. Link your Mi Account to your device (at least 7 days of active use).
  2. Get permission to unlock through the official Mi Unlock Tool app.
  3. Wait 168 hours (7 days) after the account is linked.

Download the Mi Unlock Tool from Xiaomi's official website (the version should match your MIUI!). Install ADB and Fastboot drivers via the Mi Flash Tool or manually.

  1. Activate Developer Mode (Settings โ†’ About Phone โ†’ MIUI version โ€“ tap 7 times).
  2. Enable USB Debugging and OEM Unlocking in Settings โ†’ More โ†’ For Developers.
  3. Connect your phone to your PC in fastboot mode (turn off the device, then press Volume Down + Power).
  4. Start the Mi Unlock Tool, log in and follow the instructions.

If the tool is running a "Couldn't unlock" or "Device not supported" error, try:

  • ๐Ÿ”„ Restart your PC and phone.
  • ๐Ÿ”Œ Use the other USB-port (preferably) USB 2.0).
  • ๐Ÿ“ฅ Download an older version of the Mi Unlock Tool (e.g. 5.5.224.30 for the MIUI 12).

โš ๏ธ Warning: Once the bootloader is unlocked, the smartphone will be reset to factory settings. All data, including photos and apps, will be deleted. If you used data encryption, it will be impossible to restore it.

Linking your Mi Account to your device (minimum) 7 days)|Download Mi Unlock Tool from the official website|Install drivers ADB/Fastboot|Enable the Developer Mode and Debugging by USB|Disable Find My Device and Mi Account-->

3. Install custom recovery (TWRP) after unlocking

After successfully unlocking the bootloader, the next step is to install TWRP (Team Win Recovery Project. This custom recovery will allow you to sew ZIP-files (such as Magisk for root rights) and backup.

Download the current version of TWRP for your Redmi model from twrp.me. Pay attention to the modification of the device:

  • ๐Ÿ“ฑ Redmi Note 12 Pro+ โ€” twrp-3.7.0_12-v7.0_A13-redwood.img
  • ๐Ÿ“ฑ Redmi 10 2022 โ€” twrp-3.6.2_11-v6.7_selene.img
  • ๐Ÿ“ฑ Redmi K50i โ€” twrp-3.7.0_12-13-speed.img

Squeeze TWRP via fastboot:

fastboot flash recovery twrp.img


fastboot boot twrp.img

Then the device will automatically reboot to TWRP. Don't reboot the phone to the system immediately after installing TWRP, which will result in a stock replacement for custom recovery!

  1. Go to Wipe โ†’ Format Data (this will remove encryption and prevent logo getting stuck).
  2. Copy Magisk (or another ZIP for root) to your phone via MTP to TWRP.
  3. Install ZIP through Install โ†’ Select Storage โ†’ Select a file.

If the screen turns black after installing the TWRP, or the device hangs on the Redmi logo, then the firmware is incompatible with your version of MIUI.

  • ๐Ÿ”„ Install another version TWRP (For example, Android 12 instead of Android 13).
  • ๐Ÿ“ฅ Switch to Fastboot Flash Recovery stock_recovery.img, repeat.
What to do if TWRP asks for a password?
If TWRP requests a password after installation, it means that the /data partition is encrypted. Solution: 1. Go back to the main TWRP menu. 2. Go to Wipe โ†’ Format Data โ†’ type "yes." 3. Reboot to TWRP (not in the system!). 4. You can now flash Magisk without a password.

4. Getting root rights through Magisk: step-by-step instructions

Magisk is the most popular root-rights tool without the SafetyNet trigger (which is important for banking apps and games) download the latest version of Magisk from GitHub (Magisk-v26.4.zip or later).

Installation via TWRP:

  1. Copy Magisk-vXX.X.zip to the phoneโ€™s internal memory.
  2. V TWRP Choose Install โ†’ Choose. ZIP-file โ†’ Swipe to Confirm Flash.
  3. After installation, restart to the system (Reboot โ†’ System).

Check for root rights using the Magisk Manager app (should appear in the menu) or the command in the terminal:

su

If the command returns # instead of $, the root is successfully received.

For Redmi models on Android 13/14, you may need to adjust:

  • ๐Ÿ”ง Turn it off. AVB 2.0 (Android Verified Boot via command: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  • ๐Ÿ“ฑ Install MagiskDelta module to bypass SafetyNet checks.

โš ๏ธ Note: HyperOS Magisk may not work properly on some firmware due to a modified structure /system. In this case, try alternative methods, such as KernelSU firmware or patch. boot.img PC.

๐Ÿ’ก

If the phone doesn't boot after installing Magisk, try flashing stock boot.img, then patching it again through Magisk.Instruction: official documentation.

5. Solving common root errors

Even with the correct following of the instructions, errors can occur, and let's consider the most common of them and how to fix them:

Mistake.Reason.Decision
Fastboot: FAILED (remote: 'Flashing is not allowed in Lock State')The bootloader is not unlockedRepeat the unlocking procedure with the Mi Unlock Tool
TWRP: Unable to mount /dataPartition /data encryptedExecute Format Data in TWRP
Magisk: Installation failedIncompatible version of Magisk or firmwareDownload another version of Magisk or update your firmware
Hanging on the Redmi logoImproperly flash boot.img or TWRPSwitch to boot.img via fastboot

If Google Pay, Netflix or banking apps have stopped working after obtaining root rights, install SafetyNet bypass modules:

  • ๐Ÿ”’ MagiskHide Props Config (to change the print of the device).
  • ๐Ÿ›ก๏ธ Universal SafetyNet Fix (bypassing Google's checks).
  • ๐ŸŽฎ Play Integrity Fix (for games with protection).

To check the status of SafetyNet, use the YASNAC application or command in the terminal:

su -c "magisk --safetynet-check"

If you are FAIL, try disabling all Magisk modules and restarting.

๐Ÿ’ก

HyperOS devices may need to roll back to MIUI 14 before getting root. Newer versions of the shell block modifications to system partitions.

6. Alternative methods of root without TWRP

If you cannot install TWRP (for example, because you donโ€™t have a compatible build for your model), you can get root through boot.img:

  1. Download stock firmware for your Redmi from the Xiaomi Firmware Updater website.
  2. Remove boot.img from the firmware archive.
  3. Transfer boot.img to your phone and patch it through Magisk (Install โ†’ Select and Patch a File).
  4. Sweep the patchy boot.img Fastboot: Fastboot Flash boot magisk_patched.img

This method works on most Redmi models, including those that donโ€™t have custom recovery, but it requires a precise match to boot.img and the deviceโ€™s current firmware.

For Dynamic Partition devices (e.g. Redmi Note) 11 Pro+ 5G) may require a patch init_boot.img instead boot.img. In this case, use the command:

fastboot flash init_boot magisk_patched_init_boot.img

If you are not sure which image to patch, check the firmware structure through the command:

fastboot getvar all

Look for lines init_boot or boot in output.

7 Risks and Consequences of Getting Root Rights

Root access gives you complete control over the system, but it also entails a number of limitations and potential problems.

  • ๐Ÿšซ Loss of warranty: Xiaomi cancels warranty if unlocked bootloader is detected.
  • ๐Ÿ”’ Security issues: Root opens access to system files for malicious applications.
  • ๐Ÿ“ต Services that are broken: Google Pay, Netflix HD, Pokรฉmon GO Banking applications can block access.
  • ๐Ÿ”„ Difficulties with OTA-Updates: After receiving root, automatic updates MIUI will not work.

To minimize the risks:

  • ๐Ÿ”„ Update Magisk and modules regularly.
  • ๐Ÿ›ก๏ธ Use AFWall.+ for controlling network access of applications.
  • ๐Ÿ“ฑ Install only verified modules from the Magisk repository.

If you decide to return the device to its original state (for example, for sale or warranty repairs), do:

  1. Remove Magisk via Uninstall in the app.
  2. Swipe the stock firmware through the Mi Flash Tool (select clean all).
  3. Lock the bootloader back (requires an official Xiaomi service center).

โš ๏ธ Note: Some Redmi models (e.g. Redmi) K60) locking the bootloader after unlocking is impossible without replacing the motherboard!

8. Frequently Asked Questions (FAQ)

โ“ Can I get root on Redmi without unlocking the bootloader?
No, on all modern Xiaomi devices (starting in 2018), unlocking the bootloader is mandatory. There were exploits to bypass this protection (such as DirtyCOW), but they have long been closed in new versions of MIUI.
โ“ Why Mi Unlock Tool Writes 168 Hours"?
This is the standard delay introduced by Xiaomi to protect users from accidental unlocking. You canโ€™t get around it โ€“ you have to wait 7 days from the moment you attach your Mi Account to the device. Check status through fastboot oem device-info โ€“ Device unlocked: true should appear after waiting.
โ“ How to update MIUI after rooting?
Automatic updates via Settings โ†’ System update will not work. You need: Download the full firmware package (.tgz) from xiaomifirmwareupdater.com. Swipe it through TWRP (no data wipe) or Mi Flash Tool (selecting clean all and lock, but this will remove root). After updating, re-swipe Magisk. For devices with Dynamic Partition (such as Redmi Note 12), use OrangeFox Recovery instead of TWRP - it works better with new partitions.
โ“ Why Banking Apps Stopped Working After Root?
Banking applications (Sberbank, Tinkoff, VTB) check SafetyNet status and root availability. Solutions: Install the MagiskHide Props Config module and change the device's print to a certified one (for example, fingerprint). google/redfin/redfin:12/SP2A.220505.008/7641977:user/release-keys Pixel 5). Activate MagiskHide in Magisk settings and add the banking app to the hidden list. Use alternative versions of apps (e.g. Sberbank Online Lite). If nothing helps, consider using a second phone for banking.
โ“ Can I get a root on Redmi with HyperOS?
Yeah, but the process is more complicated than the MIUI. The main nuances: TWRP HyperOS is not available for most models yet โ€“ use the patch init_boot.img. Some Magisk modules may not work due to a modified system structure. OTA root will fly, you will have to sew again. XDA Developers, where they publish current guides for new versions.