How to install root rights on Xiaomi Redmi 9A: a complete guide with unlocking the bootloader and Magisk

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:

  1. Go to Settings β†’ About Phone β†’ MIUI version and tap 7 times on the line Build Number.
  2. 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!

πŸ“Š Why You Need Root Rights?
Removal of embedded applications
Installation of custom firmware
Game cheats
Software testing
Other

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:

  1. 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 differentOn PC and phone different Mi-AccountsSign out on both devices and log in again.
Device is lockedThe bootloader has already been unlockedSkip 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:

  1. 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.img

The 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.img

Files. 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).

  1. 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!).
  2. 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.
  3. 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?
If you install Magisk error Failed to mount /system, The reason may be incompatible with the version. MIUI. Decision: 1. Please. Disable_Dm-Verity_ForceEncrypt before Magisk. 2. Use Magisk Canary (experimental version) instead of stable. 3. If the problem persists, return to the stock firmware via the Mi Flash Tool and repeat the process.

To hide root rights from banking applications:

  1. Open Magisk Manager (sets automatically after firmware).
  2. Go to Settings β†’ Hide Magisk Manager and rename the application (e.g., Manager).
  3. 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:

  1. Download SuperSU.zip.
  2. Swipe through TWRP (Install β†’ SuperSU.zip β†’ Swipe).
  3. 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 MagiskSwipe stock firmware through the Mi Flash Tool in Clean All mode
Network loss (no IMEI)Damage to the modem partition when firmwareRestore stock modem.img via TWRP or Fastboot
It's not working. OTA-updateModified System SectionTurn off automatic updates or manually stitch through TWRP
Banking applications are not launchedSafetyNet TriggerInstall 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.img

The 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:

  1. 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-info

If the output contains the line Device unlocked: false, the warranty obligation is restored.

FAQ: Frequent questions about root rights on Redmi 9A

Can I get a root without unlocking the bootloader?
No. On all modern Xiaomi devices (including the Redmi 9A), unlocking the bootloader is a must. Alternative methods (for example, through vulnerabilities in the kernel) either fail or cause the system to malfunction.
Will Google Pay and banking apps work after receiving the root?
With Magisk + SafetyNet Fix is not a problem for most applications, but some banks (such as Tinkoff or VTB) can block access: πŸ”„ Use MagiskHide Props Config to disguise as a different device. πŸ“± Install banking applications in an isolated profile via Island or Shelter.
How to update MIUI after obtaining root rights?
OTA-Update through Settings β†’ Updating the system won't work. Alternatives: Manual installation through TWRP: πŸ“₯ Download the full service package (.zip) with Xiaomi Firmware Updater. πŸ”§ Flow through TWRP β†’ Install (no wipe!) via Fastboot: use the Mi Flash Tool with the Clean All and Lock option (Lose root). ⚠️ After the update, Magisk may need to re-firm!
Can data encryption be returned after TWRP installation?
Yes, but it requires additional steps: Sweep through Disable Force Encryption before you first boot into the system. TWRP Execute Format Data β†’ Yes (this will delete all data!). After downloading to the system, turn on encryption in Settings β†’ Security β†’ Encryption of the telephone. ⚠️ Encryption may conflict with some Magisk modules (e.g, ViPER4Android).
What applications should be installed immediately after receiving the root?
Here's the top.-5 utility for rooted Redmi 9A: πŸ› οΈ Titanium Backup – Backup of applications and data. 🧹 SD Maid – cleaning up garbage and duplicates. 🎡 ViPER4Android β€” pitch-tuning. πŸ”’ AFWall+ β€” Firewall to block Internet access to individual applications. πŸ“‘ Network Signal Guru – Testing and Optimization of the Network.