How to install root rights on Xiaomi Redmi 9T: a safe guide with unlocking the bootloader

Getting root rights to Xiaomi Redmi 9T (codenamed lime) opens up access to hidden Android features, but requires care. This closed-loop Qualcomm Snapdragon 662 smartphone doesn’t forgive mistakes: wrong actions can turn a device into a β€œbrick.” This guide only shows current methods for MIUI 12/13/14 based on Android 10/11, tested on models from 2021-2023 release.

Important: the procedure voids Xiaomi's warranty and may disrupt banking applications (due to SafetyNet).We'll look at two ways: through official bootloader + Magisk unlock (recommended) and an alternative method with a boot image patch. If your goal is just to remove embedded apps, try ADB without root first.

1. Device Preparation: What to Do Before Unlocking

Before you start unlocking the bootloader, follow the mandatory steps, and skipping any of them can result in data loss or inability to complete the process.

First, check the MIUI version in Settings β†’ About Phone. Redmi 9T will only work with firmware with a build number ending in.0 (stable). Beta versions often block unlock. Also make sure that the device is debugging on USB:

  • πŸ“± Go to Settings. β†’ About the phone and 7 times click on the version MIUI, activate the developer mode.
  • πŸ”§ Back to Settings β†’ Additionally. β†’ For developers and include: Debugging by USB Unlocking OEM (The most important thing!) Factory unlock (if any)
  • πŸ”„ Make a full data backup via Mi Cloud or adb backup – after unlocking the phone will reset.

β˜‘οΈ Checklist before unlocking

Done: 0 / 5

Pay special attention to the item Unlock OEM. On some Xiaomi firmware, it may disappear after a restart - check it immediately before connecting to the PC.

  • πŸ’» Windows computer 10/11 (For the Mi Unlock Tool)
  • πŸ”Œ Original. USB-cable (do not use extension cords!)
  • πŸ“„ Mi Account Account Linked to Phone β‰₯7 days
  • πŸ› οΈ The Mi Unlock Tool: Mi Unlock Tool, ADB/Fastboot, Magisk (links below)

πŸ’‘

If the "OEM Unblock" option is inactive, go to "Settings β†’ Accounts β†’ Mi Account β†’ Sync" and update your account information. Sometimes re-assignment helps.

2 Unlock the bootloader through the Mi Unlock Tool

The official way from Xiaomi is the only safe way for the Redmi 9T. Alternative methods (e.g., via EDL) require an authorized account and risk blocking the IMEI.

Download the Mi Unlock Tool (version no lower than 5.5.224.30) and follow the steps:

  1. Install Xiaomi drivers via MiFlash or manually (driver folder in archive with utility).
  2. Launch the Mi Unlock Tool on behalf of the administrator and log in under the same account as you do on your phone.
  3. Put Redmi 9T to Fastboot: adb reboot bootloader Or manually: turn off the phone β†’ pinch Power + Volume down.
  4. Connect your phone to your PC. The utility will see a message called Phone Connected.
  5. Press Unlock. It takes 5-10 minutes. The phone resets to factory settings.
What to do if Mi Unlock Tool says "Couldn't unlock"
1. Check that the Mi Account is linked to the phone β‰₯7 days. 2. Make sure the developer settings include "Unlock" OEM". 3. Try another version of the utility (e.g. 3.5.1118.43). 4. If the error "Current account is not bound to this device", link to "Settings" β†’ Accounts. β†’ Mi Account β†’ Find the device".

⚠️ Note: After unlocking the Redmi bootloader 9T It will be reset to factory settings. All data (including photos in internal memory) will be deleted. Don't rely on recovery through Mi Cloud - some applications (such as WhatsApp) may not recover the history.

ScriptDecisionReason.
Error: "Couldn't verify device"Wait 72 hours after you have linked your accountXiaomi servers block frequent requests
Phone is not defined in FastbootInstall drivers manually through Device ManagerAutomatic driver installation often fails
The process is 99% frozen.Turn off the antivirus and try again.Antiviruses block access to system partitions
After unlocking the phone does not turn onSweat stock firmware through MiFlashInterrupted process or incompatible version of the utility

3. Install custom recovery (TWRP) on Redmi 9T

To obtain root rights, you will need TWRP, a custom recovery that allows you to flash modified images, and the official version for lime (codenamed Redmi 9T) is available on the TWRP website.

Download the file. twrp-3.7.0_9-0-lime.img (or newer) and do it:

  1. Move your phone to Fastboot mode (as in the previous section).
  2. Open the command line in the folder with fastboot and type: fastboot flash recovery twrp-3.7.0_9-0-lime.img fastboot reboot recovery
  3. If the phone loads into standard recovery after rebooting, repeat the command, but execute: fastboot boot before restarting. twrp-3.7.0_9-0-lime.img It'll temporarily load. TWRP firmwareless.

⚠️ Note: On some firmware Xiaomi blocks installation TWRP In this case, use the fastboot boot method and immediately flash Magisk or Disable_Dm-Verity_ForceEncrypt.

After successfully downloading to TWRP:

  • πŸ” Backup Boot, Data and System (Backup button).
  • πŸ“ Copy the file. Magisk-v26.4.zip (or newer) by phone through MTP (into TWRP: Mount β†’ Enable MTP).
  • βš™οΈ Pass Magisk through Install β†’ Select a file β†’ Swipe to Confirm Flash.
πŸ“Š What Unlocking Method You Used?
Official (Mi Unlock Tool)
Through EDL (Authorized Account)
Another method
I haven't tried it yet.

4. Getting root rights through Magisk

Magisk is not just a root tool, but also a module management system that bypasses SafetyNet checks. 26.4+ is recommended for the Redmi 9T, as older ones may conflict with MIUI 14.

If you've flashed Magisk through TWRP, the Magisk Manager app will appear on your phone after you reboot it.

  1. Download the latest Magisk.apk from GitHub and install manually.
  2. Open the app and check the status at the top: It should be written Installed: 26.4 (26400) or later.
  3. Go to Settings β†’ Update and wait for the additional components to load.

To check the functionality of root:

  • πŸ“± Install Root Checker from Play Market.
  • πŸ” Open it and press Verify Root - the message Congratulations! Root access is properly installed....
  • πŸ›‘οΈ Check SafetyNet in Magisk (SafetyNet Check section). FAIL, Install the Universal SafetyNet Fix module.

πŸ’‘

After installing Magisk, DO NOT update MIUI through the standard menu! Use only manual firmware through TWRP, or you will lose root.

5 Solving problems after getting root

Even if you successfully install root on the Redmi 9T, you can have problems, and here are the most common ways to solve them:

Problem.Reason.Decision
The phone is loaded into the bootloopMagisk module conflict or damaged boot imageDownload to TWRP and re-flash the original boot.img, then re-install Magisk
Banking applications are not workingSafetyNet trigger or Magisk detectionInstall Universal SafetyNet Fix + MagiskHide Props Config
There is no mobile network.The modem partition is damaged when firmwareRestore backup modem via TWRP or flash stock firmware
The camera's not working.Conflict with Magisk modules (e.g. GCam)Disable all modules in Magisk and restart

After installing root, the phone stopped seeing SIM-maps, check the cards. IMEI teamwise:

adb shell


su




service call iphonesubinfo 3

If zeros are displayed instead of IMEI, restore it via TWRP using the IMEI Tool (available in Magisk repositories).

How to return the stock firmware if something went wrong
1. Download the latest stable firmware for Redmi 9T site MIUI Downloads. 2. Unpack. ZIP-archive and place the folder in the root of the disk C:. 3. Install the MiFlash Tool and flash the firmware in clean all. 4. After the firmware, unlock the bootloader again (if required).

6. Alternative method: patch boot image without TWRP

If TWRP installation is difficult, you can get root by patching boot.img directly through Magisk, a method that is suitable for firmware where TWRP is unstable.

Instructions:

  1. Download the stock firmware for your version MIUI (for example, lime_global_images_V12.5.3.0.RJQMIXM_20220314.0000.00_11.0_global).
  2. Remove the boot.img file from the archive (located in the image folder).
  3. Copy it on your phone and in Magisk, select Install β†’ Select and Patch a File.
  4. After the patching (magisk_patched.img) Copy the file on your PC and run through fastboot: fastboot flash boot magisk_patched.img fastboot reboot

This method is less risky because it doesn't affect the recovery section, but if you update MIUI, you'll have to repeat the procedure again.

7 Security and Restrictions After Getting Root

Root rights give you complete control of the system, but they also open up vulnerabilities.

  • πŸ”“ Security: Turn off root for apps in Magisk Settings β†’ Superuser, other than trusted.
  • πŸ“± Updates: Don't install OTA-updates, they'll remove root. Use only manual firmware.
  • πŸ’³ Banking apps: Even with SafetyNet Fix, some banks (like SberBank Online) can block access.Solution - MagiskHide + Change of fingerprints (Props Config).
  • πŸ”‹ Performance: Root doesn't speed up phone! removing system apps could disrupt stability.

To check the integrity of the system, use the command:

su


echo $?

If the answer is 0, root works correctly. To hide root from apps, activate MagiskHide in the settings and add apps to the list.

πŸ’‘

To return the original boot image and remove root, run the stock boot.img through fastboot: fastboot flash boot.img. SafetyNet will automatically recover.

FAQ: Frequent questions about root on Redmi 9T

❓ Can I get root without unlocking the bootloader?
No. On all modern Xiaomi smartphones (including the Redmi 9T), unlocking the bootloader is mandatory. Alternative methods (for example, through vulnerabilities) either fail or lead to hard brick.
❓ Why Wi-Fi is not turned on after unlocking?
This is a well-known problem on some firmware. MIUI 12/13. Solution: Fast forward through TWRP module Disable_Dm-Verity_ForceEncrypt. Or go back to the stock firmware and unlock it again, and if it doesn't work, check if the vendor partition is damaged (restore it from the backup).
❓ How to update MIUI root?
Stock-stock OTA-Update updates will delete root. To update: Download the full service pack (.zip) for your model. TWRP (No Wipes!! After the update, re-sweep Magisk. If the update results in a bootloop, go through the file. boot.img from the new firmware, then patch it through Magisk.
❓ Does Google Pay work with root?
Yes, but you do: Install Universal SafetyNet Fix and MagiskHide Props Config. In MagiskHide Props Config, select Pixel 5 certification. Reboot your phone and check SafetyNet in Magisk. If Google Pay doesn't work anyway, try clearing the Google Play Services app data.
❓ Can I return the guarantee after unlocking?
Technically, no. However, if you return the phone to stock (swipe the original firmware, lock the bootloader), the service center may not notice the interference. To lock the bootloader: Swipe the stock firmware through MiFlash in clean all and lock mode. Use the official Mi Unlock Tool for locking (the Lock option will appear after authorization).