Table of Contents
Prerequisites
Before you begin, make sure you have everything you need:
- Unlocked Bootloader: Xiaomi phones come with a locked bootloader, so this needs to be unlocked first.
- USB Debugging: Enable this in Developer Options (Settings > About Phone > Tap “MIUI Version” 7 times > Developer Options).
- Mi Unlock Tool: Required to unlock your bootloader. Download Mi Unlock Tool here.
- Platform Tools (ADB & Fastboot): Necessary for issuing commands from your computer. Download Platform Tools.
- TWRP Recovery: A custom recovery tool that lets you flash files. Get TWRP for Redmi 9A/9T.
- Magisk for Rooting: A tool to get root access. Download Magisk v23.0 APK.
Compatibility: This guide works for Xiaomi Redmi 9A/9T. Make sure not to follow these steps for other models to avoid any problems.
Unlocking the Bootloader for Xiaomi Redmi 9A or 9T
To start rooting, you need to unlock the bootloader. Think of it like getting permission to make deeper changes to your phone.
Mi Account Setup
First, sign into your Mi Account. Go to Settings > Mi Account, or create one if you don’t already have it.
Enable Developer Options
Head over to Settings > About Phone and tap the MIUI Version seven times. This will unlock Developer Options. Then, navigate to Additional Settings > Developer Options and turn on OEM Unlocking and USB Debugging.
Download Mi Unlock Tool
Download the Mi Unlock Tool. Extract the files, open the tool, and log in with your Mi Account credentials.
Boot into Fastboot Mode
Turn off your phone, then press and hold the Power + Volume Down buttons until the Fastboot screen appears.
Connect to PC and Unlock
Connect your phone to the PC with a USB cable. Open the Mi Unlock Tool, and once it detects your phone, click Unlock. Be prepared to wait up to 7 days before the bootloader can be fully unlocked.
Installing TWRP Recovery on Xiaomi Redmi 9A or 9T
After unlocking the bootloader, the next step is installing TWRP, a custom recovery tool that allows you to root your phone and flash custom files.
Download the TWRP Image
Download the latest TWRP image file specifically for your Redmi 9A/9T.
Boot into Fastboot Mode
Power off your device again and press Power + Volume Down to enter Fastboot Mode.
Flash TWRP via Fastboot
Connect your phone to the PC and open a command prompt or terminal in the folder where you downloaded Platform Tools and the TWRP image. Run this command:
fastboot flash recovery twrp.img
Once the flashing is complete, reboot into recovery mode by typing:
fastboot reboot recovery
This will boot your device into TWRP.
Secure TWRP Installation
To prevent the stock recovery from overwriting TWRP, open TWRP and go to Advanced > Disable Replace TWRP.
Rooting Xiaomi Redmi 9A or 9T with Magisk
Now that TWRP is installed, it’s time to root your device using Magisk.
Download Magisk
Download the latest Magisk v23.0 APK.
Boot into TWRP
Reboot your phone into TWRP recovery by turning off the phone and holding Power + Volume Up.
Flash Magisk
In TWRP, go to Install, locate the Magisk APK file, and swipe to flash it.
Reboot into System
After flashing, reboot your phone back into the system. Congratulations, your Xiaomi Redmi 9A/9T is now rooted!
Finalizing: Verify Root Access with Magisk and SafetyNet
You’ve made it! Now, let’s ensure everything is working correctly.
Install Magisk Manager
Once your phone reboots, install the Magisk Manager app. Open the app, and it will confirm that your device has root access.
Bypass SafetyNet (Optional)
If you need to use apps that rely on SafetyNet (like banking apps or Google Pay), open the Magisk Manager, go to Settings, and enable MagiskHide. This will help ensure that apps can run without issues.
Rooting your Xiaomi Redmi 9A/9T gives you a lot of control over your device. You’ve followed every step to set up your phone for root access and install useful tools like Magisk. Now that your phone is rooted, you can explore new features, remove unwanted apps, or install custom ROMs if you wish. If you ever need to unroot your device, you can easily reverse the process.