Getting root rights on Xiaomi Redmi 9A It opens up access to hidden Android capabilities, from removing embedded apps to fine-tuning performance, but the process requires care β a mistake at any stage can turn a smartphone into a brick. In this article, we will break down three officially supported methods (via Magisk, SuperSU and LineageOS), focus on unlocking the bootloader without waiting 7 days, and explain how to avoid common errors, such as losing your bootloader. IMEI or trouble OTA-update.
Important: the procedure cancels the warranty Xiaomi, and some banking applications (for example, Sberbank Online or Tinkoff) may stop working due to the trigger SafetyNet. MIUI 12.5/13 (Android 10/11) β Other versions may require additional steps, if your goal is simply to remove ads from the MIUI, Consider alternatives like ADB-commands or custom firmware without a root.
Preparation of the smartphone: backup and unlock OEM
Before you start, make sure to back up your data. Even if you successfully obtain root rights, some applications (such as Google Pay or Netflix) may lose their license.
- π± Local Copying: Transfer photos, videos and documents to a PC or flash drive (folders) DCIM, Downloads, Pictures).
- βοΈ Cloud Services: sync your contacts with your Google Account and your messages through your Google Account SMS Backup & Restore.
- π§ Titanium Backup (requires root): If you already had a root on another device, save your application data.
Next, activate the developer mode and allow unlocking the bootloader:
- Go to Settings β About Phone β MIUI version and tap 7 times on the line Build Number.
- Back to Settings β Additionally. β For developers and include: π Unlocking OEM (may require input PIN-code). π Debugging by USB.
β οΈ Note: If the option is Unblocked OEM Inactive, check if the Mi Account is attached to the device, and without it, unlocking the bootloader is impossible!
Unlock the bootloader: bypassing the wait of 7 days
The official Mi Unlock Tool requires a device-based account and 168-hour wait, but there is a legal way to speed up the process:
- Link up your Mi Account: π± Go to Settings. β Xiaomi account and log in. π In the Mi Cloud section, enable synchronization of Contacts and Notes (this will confirm the activity of the account).
Use an alternative server
Download the Mi Unlock Tool (version no lower than 5.5.224.30) When you first connect your device to your PC:
1. Launch the tool on behalf of the administrator.
2. log in under the same Mi Account as on your phone.
3.Push Unlock Now β If the Couldnβt unlock error appears, reconnect the phone in Fastboot mode (Put Volume Down + Power).
4.Repeat the attempt after 24 hours - often the wait is reduced to 1 day.| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't unlock (10008) | It has not been 7 days since the account was linked. | Use an alternative server (see above) or wait. |
| Current account is different | On PC and phone different Mi-Accounts | Sign out on both devices and log in again. |
| Device is locked | The bootloader has already been unlocked | Skip this step and proceed to install TWRP |
β οΈ Warning: Once the bootloader is unlocked, the smartphone will perform a full reset (wipe). All data, including photos on internal memory, will be deleted!
π‘
If the Mi Unlock Tool doesnβt see the device, try connecting Redmi. 9A elsewhere USB-port (preferably) USB 2.0 on the back of the PC) and disable signature drivers in Windows via the bcdedit command /set nointegritychecks on (administrator rights required).
Installation of custom TWRP Recovery
For Magisk or SuperSU installation, you will need custom recavers. For Redmi 9A (codename dandelion), use the official TWRP build:
- Download the files: π₯ TWRP for Redmi 9A (version 3.7.0_12-0 or newer). π₯ Magisk (last stable version). π₯ Disable Force Encryption (if you plan to encrypt).
Install TWRP via Fastboot
Connect your phone in Fastboot mode (click Volume Down + Power) and execute the command:
fastboot flash recovery twrp-3.7.0_12-0-dandelion.img
fastboot boot twrp-3.7.0_12-0-dandelion.imgThe phone will then automatically reboot to TWRP.
Battery charge > 50% | Encryption disabled (if used) | All files downloaded (TWRP, Magisk, Disable Force Encryption) | ADB/Fastboot-->
If after the reboot, TWRP is not saved (replaced with stock recavers), do:
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.imgFiles. vbmeta.img and vbmeta_system.img You can get it from the stock firmware for your version. MIUI.
Install Magisk: Getting root rights
Magisk is the most popular root rights tool thanks to SafetyNet (which allows you to use banking applications).
- Move Magisk to your phone: π Get Redmi on board. 9A to the PC and copy the file Magisk-v26.4.zip inner-memory. π If TWRP asks for a password (due to encryption), execute Format Data (all data will be deleted!).
- Sweep Magisk via TWRP: In the main TWRP menu, select: Install β Select Magisk-v26.4.zip β Swipe to Confirm Flash After installation, click Reboot System.
- Check the root rights: π± Install Root Checker from Play Market. π Open the app and press Verify Root - the message Congratulations! Root access is properly installed....
What to do if Magisk is not installed?
To hide root rights from banking applications:
- Open Magisk Manager (sets automatically after firmware).
- Go to Settings β Hide Magisk Manager and rename the application (e.g., Manager).
- Turn on MagiskHide and tick the apps that need to hide the root (for example, Sberbank Online or Google Pay).
Alternative methods: SuperSU and LineageOS
If Magisk is not suitable (for example, due to SafetyNet issues), consider alternatives:
Method 1: SuperSU (Old but Working)
SuperSU is a classic root rights tool, but it doesnβt pass SafetyNet and can cause problems with the system. OTA-The installation is similar to Magisk:
- Download SuperSU.zip.
- Swipe through TWRP (Install β SuperSU.zip β Swipe).
- Reboot and check the root through the Root Checker.
Method 2: LineageOS (without MIUI)
If your goal is not only root, but also pure Android, install custom firmware LineageOS:
- π₯ Download LineageOS 18.1 (Android 11) for dandelion.
- π₯ Download Open GApps (option of pico).
- π§ Flow through TWRP fine: lineageOS β GApps β Magisk (optional).
β οΈ Note: LineageOS does not run Google Pay services and some banking applications without Magisk due to the lack of SafetyNet support.
Solving problems after obtaining root rights
Even if you successfully install root rights, you can have problems, and here are the most common ways to solve them:
| Problem. | Reason. | Decision |
|---|---|---|
| Phone not switched on (brick) | Wrong firmware TWRP or Magisk | Swipe stock firmware through the Mi Flash Tool in Clean All mode |
| Network loss (no IMEI) | Damage to the modem partition when firmware | Restore stock modem.img via TWRP or Fastboot |
| It's not working. OTA-update | Modified System Section | Turn off automatic updates or manually stitch through TWRP |
| Banking applications are not launched | SafetyNet Trigger | Install Universal SafetyNet Fix in Magisk |
If your fingerprint or facial scanner stops working after you get the root license, the cause may be damage to the persist partition.
fastboot flash persist persist.imgThe persist.img file can be extracted from the stock firmware for your model.
π‘
If the phone is stuck with the MIUI logo after installing Magisk, the reason is most often a conflict with Xposed modules or an incompatible version of Magisk.Solution: boot into TWRP, delete files from the /data/adb/modules folder, and reflash Magisk.
How to Remove Root Rights and Return Guarantee
If you need to return the smartphone under warranty or fix problems with the software, perform a full rollback to the stock firmware:
- Download the stock firmware for your model: π₯ The official firmware: Xiaomi Firmware Updater. π Select the Stable version (for example, V12.5.1.0.QCDMIXM global version).
Flow through the Mi Flash Tool
Unpack the firmware and launch MiFlash.exe. Connect your phone in Fastboot mode and select:
Select β Specify the folder with the firmware
Flash β Clean All (Full Cleaning)
Wait β Wait for the completion (5-10 minutes)Check the status of the bootloader.
After the firmware is installed, the bootloader will remain unlocked. To hide this from the service center, do:
fastboot oem lockβ οΈ Warning: This command will block the bootloader and can lead to a brick if non-storage partitions are installed on the device! Use only after a full return to the original firmware.
To check the unlock status, use the command:
fastboot oem device-infoIf the output contains the line Device unlocked: false, the warranty obligation is restored.