How to get root access on Xiaomi Redmi: a safe way to unlock the bootloader

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 caution: improper actions can turn the device into a brick or deprive you of warranties. In this article, we will discuss the current 2026 method of unlocking the bootloader and installation of Magisk, which works on most Redmi models (from Redmi Note 10 to Redmi 13C).

It is important to understand that Xiaomi has tightened its security policy: from 2022, it requires a binding Mi Account account to the device and a wait of 168 hours (7 days) to unlock the bootloader. It is officially impossible to circumvent this rule โ€“ all โ€œfastโ€ methods using vulnerabilities are closed in the latest versions. MIUI. We will focus on a legal method that minimizes risks.

Before you start, check:

  • ๐Ÿ“ฑ Device model: the method is suitable for Redmi 9/10/11/12/13 series, POCO M/X and others on the base MIUI 13/14. For older models (e.g. Redmi) 5) Other tools may be needed.
  • ๐Ÿ”‹ Battery charge: at least 60%, interruption due to discharge leads to hard brick (irreparable damage).
  • ๐Ÿ’พ Backup: Unlocking will reset the device to factory settings.Use Mi Cloud or Google Drive to save data.

๐Ÿ“Š Why You Need Root Rights to Xiaomi?
Removal of embedded applications
Installation of custom firmware
Optimizing productivity
Game cheats
Other

1.Preparation: What to do before unlocking the bootloader

The first step is to link the device to your Mi Account and enable USB debugging, without which unlocking is impossible.

Go to Settings โ†’ About Phone and 7 times click on the MIUI Version to activate Developer Mode. Then go back to the main settings, open Additional โ†’ For Developers and turn on:

  • ๐Ÿ”ง Debugging by USB (USB Debugging)
  • ๐Ÿ”“ Unlocking OEM (OEM Unlocking โ€“ this item may not be available on new devices, but it simplifies the process.
  • ๐Ÿ”„ Factory Unlocking (if any.

Now connect your smartphone to your PC using the original USB Type-C cable. Install the ADB and Fastboot drivers:

  • ๐Ÿ–ฅ๏ธ For Windows: Download Android Platform Tools and unpack to the root of the disk C:\platform-tools.
  • ๐Ÿง For Linux/macOS: Install packages via terminal: sudo apt install adb fastboot # Debian/Ubuntu brew install android-platform-tools # macOS

โš ๏ธ Note: If you use a laptop, connect it to the network.Some Redmi models (e.g. Redmi Note 12 Pro)+) They require stable nutrition. USB-Port for the correct operation of fastboot.

2 Unlock the bootloader: the official way through Mi Unlock

From 2021, Xiaomi requires a mandatory wait of 168 hours (7 days) after linking an account to a device, which cannot be circumvented legally, all โ€œcircumventโ€ methods lead to account locking or hard brick.

Download the official Mi Unlock Tool from en.miui.com/unlock (version must be at least 5.5.224.30) and run it on behalf of the administrator and follow the steps:

  1. Sign in with the same Mi Account as you do on your phone.
  2. Transfer the device to fastboot mode: turn off the smartphone, then press Volume down + Power for 10 seconds.
  3. Connect your phone to your PC. In Mi Unlock Tool, press Unlock.

If you have a Couldnโ€™t unlock or Device not supported error, check:

  • ๐Ÿ”— Account is linked to the device (in Settings) โ†’ Mi Account โ†’ Mi Cloud should be "Device foundยป).
  • โณ 168 hours have passed since the binding (timer is reset when you change your account or reset your settings).
  • ๐Ÿ“ต The device is not on the Xiaomi blacklist (check by the phone). IMEI i.mi.com).

Link Mi Account to your device|Enable debugging on USB and OEM Unlock|Install ADB/Fastboot driver|Download the Mi Unlock Tool for the latest version|Wait 168 hours (if required)-->

Mistake in Mi UnlockReason.Decision
Couldnโ€™t unlockIt's been 168 hours.Wait or use another account (risk of blocking)
Device not supportedThe model is not officially supportedUse alternative tools (e.g. fastboot oem unlock-go)
Mi account not boundThe account is not tied to the deviceLog in to Mi Account on your phone and try again
Network errorProblems with Xiaomi serversTry it later or use a VPN (e.g. Hong Kong)

3.Install Magisk: Getting root rights after unlocking

Once the bootloader is successfully unlocked, you can start installing Magisk, the most reliable root-rights tool, download the latest version of Magisk from the official repository: github.com/topjohnwu/Magisk (at the time of writing, version 26.4 is current).

Magisk can be used in two ways:

  1. Through custom recovery (TWRP):
  2. Through fastboot (without TWRP):

โš ๏ธ Note: On devices with Dynamic Partition (e.g. Redmi Note) 11 Pro+) Firmware through fastboot flash boot can lead to a logo hanging. In this case, use the command fastboot flash boot_a magisk_patched.img and fastboot flash boot_b magisk_patched.img.

๐Ÿ’ก

If the phone is stuck on the screensaver after Magisk firmware, try booting into safe mode (clip Volume Up when turned on) and remove conflicting modules through Magisk Manager.

4. Root rights verification and solution of typical problems

Once you reboot, install Magisk Manager (or Magisk Alpha for newer versions) and check root status. If the app shows a green tick and a Magisk version, it's a success. To make sure the rights work, use the commands in ADB:

adb shell


su




whoami

If the whoami command returns root, access is obtained. If not, check:

  • ๐Ÿ”„ Reflash Magisk: Sometimes the first patch boot.img slips through.
  • ๐Ÿ”ง Turn it off. AVB 2.0: on certain devices (Redmi) K50, POCO F4) You need to disable the boot loader check: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  • ๐Ÿ“ต Module conflict: remove all Magisk modules through Magisk Manager โ†’ Modules and reboot.

If the device doesnโ€™t turn on or freezes on Fastboot Mode, try returning stock boot.img:

fastboot flash boot boot_stock.img


fastboot reboot

What to do if Magisk is not installed?
If you install Magisk through TWRP There is a Failed to mount error. /system, It means your firmware is using system-as-root: 1. Download the full firmware for your model from Xiaomifirmwareupdater.com. 2. Take it out of her. boot.img and vbmeta.img. 3. Hands-on: Fastboot Flash boot boot.img fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img 4. Repeat the installation of Magisk.

5 Risks and Consequences: What You Lose by Getting Root

Root access gives you freedom, but it deprives you of some functions:

  • ๐Ÿ”’ Security: Root apps can access passwords, bank details and other sensitive information. Use MagiskHide (or DenyList in newer versions) to hide root from banking apps.
  • ๐Ÿ“ฑ Guarantee: Xiaomi will cancel the warranty if it detects an unlocked bootloader.
  • ๐Ÿ”„ Updates OTA: Automatic update MIUI You'll have to manually run the updates through the settings.
  • ๐ŸŽฎ Google Services: Some features (e.g. Google Pay, Netflix) HD) This is done by installing the Universal SafetyNet Fix module.

Also note that on MediaTek devices (e.g. Redmi 10C, Redmi 9A), unlocking the bootloader can cause you to lose IMEI or modem problems, and you can recover them through tools like MauiMeta or SN Write Tool, but this requires separate knowledge.

๐Ÿ’ก

Before getting root, consider the need: if you only need to remove the bloat and backup, consider alternatives like ADB AppControl or Shizuku โ€“ they donโ€™t require unlocking the bootloader.

6.Alternative methods: when the standard method does not work

If the Mi Unlock Tool refuses to unlock the bootloader (for example, on the Redmi Note 12 5G or POCO X5 Pro), you can try alternative tools:

  • ๐Ÿ”“ Fastboot Scripts: For some models, there are scripts that bypass the Mi Account check. Example for Redmi Note 11: Script to unlock without waiting (Redmi Note 11) โš ๏ธ Use it at your own risk! This method can lead to the blocking of your account. 1. Download the script from the website. XDA. 2. Run unlock.cmd in the folder with the platform-tools. 3. Follow the instructions (you will need to enter a login / password from Mi Account). 4. If you see a token invalid error, try again in 24 hours.
  • ๐Ÿ› ๏ธ EDL Mode: Qualcomm devices can use Emergency Download Mode and flash the bootloader through the Mi Flash Tool. requires an authorized Xiaomi account and file auth.ini.
  • ๐Ÿ“ก Telegram bots: some bots (for example, @MiUnlockBot) Offer unlock for a fee. Risk of fraud is high - check reviews before paying.

For devices on MediaTek (like Redmi 10A), there is a method through the SP Flash Tool, but it requires an authentication file from Xiaomi that is virtually impossible to obtain legally.The alternative is to exploit vulnerabilities in older versions of MIUI, but they are closed in updates after 2022.

7. How to hide root from apps (MagiskHide and DenyList)

Many apps (e.g. Sberbank Online, Tinkoff, Pokรฉmon GO) block work on root devices. To get around this, use the built-in Magisk โ€“ DenyList feature (formerly MagiskHide):

  1. Open Magisk and go to Settings โ†’ Hide the Magisk app (this will hide the application itself from the launcher).
  2. Enable Zygisk in the Magisk settings.
  3. Go to DenyList and add apps that you want to cheat (e.g. com.sberbankmobile for Sberbank).
  4. Install Universal SafetyNet Fix via Magisk โ†’ Modules.

Then restart your device and check SafetyNet status through the YASNAC app. If PASS status is a cheat, then try it.

  • ๐Ÿ”„ Disable all other Magisk modules.
  • ๐Ÿ“ต Remove Xposed Framework or EdXposed if installed.
  • ๐Ÿ”ง Use an alternative SafetyNet Fix module (e.g. SafetyPatch).

โš ๏ธ Note: Some banking applications (e.g. VTB Online) check not only SafetyNet, but also the integrity of system files, in which case only temporary root removal through Magisk will help. โ†’ Uninstall โ†’ Complete Uninstall.

FAQ: Answers to Frequent Questions

Can I get root on Xiaomi without unlocking the bootloader?
No. Since MIUI 12, Xiaomi has completely closed the vulnerabilities that allowed you to get root without unlocking, the only legal way is to officially unlock through the Mi Unlock Tool.
How long does it take to unlock the bootloader?
If you first link an account to a device, you'll have to wait 168 hours (7 days) and this timer can't be bypassed officially. On older devices (before 2020), the wait could have been 72 hours.
Will Google Pay work after you get root?
Not unless you set up MagiskHide and SafetyNet Fix. Even with these modules, some banks can block payments. The alternative is to use virtual cards (like Curve or Revolut).
Can I return the guarantee after unlocking?
Theoretically, yes, if you return the stock firmware and lock the bootloader back, but Xiaomi keeps an unlock log, and the service center will check it out, and the chances of warranty repairs are minimal.
Which Xiaomi Redmi models canโ€™t be unlocked?
Xiaomi officially blocks unlocking for devices sold through carriers (e.g. Redmi) 9T from MTS), as well as for some regional versions (for example, Redmi Note). 11T 5G Check the support of your model in India. en.miui.com/unlock.