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

Getting root rights to Xiaomi Redmi 9A gives you access to hidden Android features, from removing system applications to fine-tuning performance. However, the process requires care - a mistake at any stage can turn a smartphone into a brick. This guide will help you understand the nuances of the nuances from unlocking the bootloader to installing Magisk or SuperSU, taking into account the features of the dandelion model (codenamed Redmi 9A).

We will look at the official and informal methods, compare their pros and cons, and also analyze the typical problems โ€“ for example, why after unlocking the bootloader, the phone can hang on the Mi logo. All steps are tested on current firmware versions (MIUI 12-14) and comply with Xiaomiโ€™s policy for 2026.

โš ๏ธ Important: The procedure voids the warranty and may disrupt banking applications (due to the SafetyNet trigger). 9A For payment via Google Pay or SberBank Online, check in advance for alternative ways to bypass checks (for example, MagiskHide Props Config modules).

1.Preparation: What to do before unlocking

Before you start getting root rights, make sure your Redmi 9A is ready for the procedure. Failure to comply with preconditions is the main cause of failure.

First, check the firmware version in the Settings menu โ†’ About Phone โ†’ MIUI version. Global or EEA (Europe) firmware is required to successfully unlock the bootloader. Chinese versions (China ROM) are not supported by the official Mi Unlock tool. If you have unofficial builds (e.g. from xiaomi.eu), return to stock firmware via Fastboot.

Second, back up your data. Unlocking the bootloader will reset your phone to factory settings! Use Mi Cloud or third-party utilities like Titanium Backup (requires root, so copy the data to your PC via MTP).

  • ๐Ÿ“ฑ Contacts (export to.vcf)
  • ๐Ÿ“ธ Photo and video (transfer to Google Drive or flash drive)
  • ๐Ÿ”‘ Wi-Fi passwords (save screenshots) QR-codes from Settings โ†’ Wi-Fi)
  • ๐ŸŽฎ Save games (use the game cloud or Helium)

Finally, prepare a Windows 7/10/11 PC (macOS/Linux may have driver problems).

  • ๐Ÿ–ฅ๏ธ Mi Unlock Tool (last version from official website)
  • ๐Ÿ”Œ Drivers. ADB/Fastboot (For example, through Android. SDK Platform-Tools)
  • ๐Ÿ”’ Antivirus temporarily disable โ€“ it can block Mi Unlock as suspicious software.

๐Ÿ’ก

If you have a Redmi 9A with a MediaTek Helio G25 processor, download a separate MTK USB driver package from mtk-driver.com. Googleโ€™s stock drivers may not recognize the device in Fastboot mode.

2 Unlock the bootloader: the official method

Xiaomi allows you to unlock the bootloader legally, but with restrictions, most importantly by tying your Mi Account to the device for 30 days, and if you recently dropped your phone or changed your account, you'll have to wait.

Algorithm of action:

  1. Turn on Developer Options: Go to Settings โ†’ About Phone and tap the MIUI version 7 times.
  2. Back to Settings โ†’ Additionally. โ†’ For developers and activate: ๐Ÿ”“ Unlocking OEM (point-of-point!) ๐Ÿ”Œ Debugging by USB

Redmi 9A

Mi Unlock Tool

Mi

Fastboot

Power + Volume reduction

Mi Unlock

Unlock

If the program is unable to unlock or wait 168/72 hours, it means:

  • ๐Ÿ•’ Mi Account is not tied to the device for long enough (you have to wait).
  • ๐Ÿ“ฑ The phone does not support unlocking (check on the official page).
  • ๐Ÿ”„ You are using the wrong version of Mi Unlock (download the latest version!).
What if Mi Unlock is 99% locked?
The 99% or 50% error is often related to Xiaomi servers. Try: 1. Change IP (use a VPN with a region in China or Germany). 2. Disable the antivirus and Windows firewall. 3. Run Mi Unlock on behalf of the administrator. 4. Wait 1-2 hours and try again (servers may be overloaded).

โš ๏ธ Warning: Once the bootloader is unlocked, the phone will automatically reset. Don't be afraid, that's okay. The first boot after unlocking can take up to 10 minutes.

๐Ÿ“Š What method of unlocking the bootloader you used?
Official (Mi Unlock)
Informal (EDL)
Through the service center
I haven't tried it yet.

3. Installation of custom recaveri (TWRP)

You will need to obtain a routing license TWRP โ€” squashing-up ZIP-Modified files for Redmi. 9A (codename dandelion) use a special build, as the general-purpose versions may not work.

Download the current TWRP for dandelion from the official website:

๐Ÿ”— twrp.me/xiaomi/xiaomiredmi9a.html

Or from the XDA Developers forum (look for themes from the user mauronofrio or wrzt).

Installation via Fastboot:

  1. Unpack the archive from TWRP in a folder with platform-tools.
  2. Transfer your phone to Fastboot (Power + Volume Reduction).
  3. Open the command line in the folder with platform-tools and do: fastboot flash recovery twrp-3.7.0_12-dandelion.img fastboot reboot recovery

If after rebooting in TWRP the screen flashes or the recovery does not start, then:

  • ๐Ÿ”„ You downloaded the wrong version (check the code name of the device!).
  • ๐Ÿ”ง You need to disable signature verification in Fastboot: fastboot flashing unlock_critical
  • ๐Ÿ“ฑ You have installed firmware with a patch against custom recavery (you need to roll back to an older version).

The correct file for dandelion is downloaded|Battery charged. >50%|Drivers. ADB/Fastboot fixed|Signature verification disabled (if required)|-->

4. Obtaining Root Rights through Magisk

Magisk is the most popular root rights tool without the SafetyNet trigger, which allows you to hide your root from banking applications and is checked by Google Pay.

Instructions:

  1. Download the latest version of Magisk from GitHub: ๐Ÿ”— github.com/topjohnwu/Magisk (look for the file Magisk-v26.4.zip or newer).
  2. Transfer the archive to your phone or flash drive.
  3. Download to TWRP (Nutrition + Volume Increase).
  4. Press Install, select Magisk-v26.4.zip and swipe for confirmation.
  5. After installation, reboot to the system.

To check your success, install the Magisk Manager app (or renamed the Magisk App) from Play Market and run status checks. If you see a green tick and you see Installed: 26.4, root is received!

โš ๏ธ Attention: On Redmi 9A firmware MIUI 13/14 You may need an additional patch to bypass DM-Verity.If the phone has been stuck on the logo after installing Magisk, download to the DM-Verity. TWRP and sew:

Magisk-v26.4.zip

And then again, the file. disable_dm-verity_forceencrypt.zip (download XDA).

๐Ÿ’ก

Magisk is the only way to get a root without triggering SafetyNet. Alternatives like SuperSU are outdated and don't support newer versions of Android.

5. Alternative methods: SuperSU and EDL

If Magisk is not suitable for some reason, consider alternatives, but consider their disadvantages:

MethodPlusesConsIs it good for Redmi 9A?
SuperSUEase of installationOutdated, not updated, not passed SafetyNetโŒ No (problems with Android 10)+)
EDL ModeIt works even with a blocked loader.Requires an authorized Xiaomi account, risk of bricksโš ๏ธ Yes, but only for experienced users.
Patched BootNo TWRP required, minimal riskYou need to patch boot.img manuallyโœ… Yes.

For the Patched Boot method:

  1. Download the stock firmware for dandelion from the Xiaomi Firmware Updater website.
  2. Remove the boot.img file from the archive.
  3. Transfer it to your phone and open it in Magisk Manager (Install โ†’ Select and Patch a File).
  4. Squeeze the result. magisk_patched.img Fastboot: Fastboot Flash boot magisk_patched.img

On Redmi 9A with MIUI 14 and Android 12+, Patched Boot may not work due to the changed boot partition structure. In this case, use full firmware via TWRP.

Typical errors and their solutions

Even with the correct following of the instructions, there are possible failures.

  • ๐Ÿ”ด Mistake "This" MIUI "Version cannot be installed on this device" TWRP: โ†’ Download the firmware for the correct regional version (Global/EEA).
  • ๐Ÿ”ด phone is stuck on startup Mi logo after Magisk installation: โ†’ Keep your food on. + Volume up. 10โ€“15 Seconds for Forced Reloading in TWRP, then stitch disable_dm-verity.zip.
  • ๐Ÿ”ด Google Pay or Sberbank Online is not working: โ†’ Enable MagiskHide option and add apps to the list of hidden apps.
  • ๐Ÿ”ด Fastboot doesn't see the device: โ†’ Check the drivers, try another one. USB-port (preferably) USB 2.0) or cable.

If after all the manipulations the phone doesn't turn on (black screen, vibration without image), the persist partition may be damaged.

  1. Download the full firmware for dandelion in.tgz format.
  2. Unpack it and find the file persist.img.
  3. Fastboot: Fastboot Flash Continue persist.img

7. How to hide the root from banking applications

The main problem after obtaining a root license is blocking banking services, and this is solved using Magisk modules:

  1. Open Magisk Manager and go to the Modules section.
  2. Install modules: ๐Ÿ”’ MagiskHide Props Config (to change device fingerprints) ๐Ÿ›ก๏ธ Universal SafetyNet Fix (SafetyNet Verification bypass)

Reboot the phone.

MagiskHide

Sberbank Online

Google Pay

SafetyNet

YASNAC

If Google Pay is not working, then:

  • ๐Ÿ”„ Delete the Google Play Services app data in the settings.
  • ๐Ÿ“ฑ Change the device region to supported (e.g., USA) in Settings โ†’ Additionally. โ†’ Region.
  • ๐Ÿ”ง In MagiskHide Props Config, select the Pixel 5 certificate (Edit device fingerprint menu).

8.Returning Change: How to Bring Everything Back

If you no longer need root rights or have problems with your phone, go back to the stock firmware.

  1. Download Fastboot firmware for Redmi 9A (dandelion) from the official website: ๐Ÿ”— miuidownload.com
  2. Unpack the archive in a folder with platform-tools.
  3. Upload the phone to Fastboot.
  4. Launch the file. flash_all.bat (For Windows, or execute manual commands: fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img fastboot reboot

โš ๏ธ Warning: After rollback, the bootloader will remain unlocked! To lock it back, use the command:

fastboot flashing lock

But keep in mind: this will reset the phone to factory settings again.

If the phone doesnโ€™t turn on after firmware, try:

  • ๐Ÿ”Œ Switch only critical sections: fastboot flash boot boot.img fastboot flash dtbo dtbo.img
  • ๐Ÿ”„ Repeat the procedure with another firmware version (for example, an older version).

๐Ÿ’ก

Before selling the phone, be sure to return the stock firmware and lock the bootloader. Otherwise, the new owner may face problems when upgrading.

FAQ: Frequent questions

โ“ Can I get a rut on Redmi? 9A loader-free?
No. On all modern Xiaomi smartphones (including the Redmi 9A), unlocking the bootloader is mandatory for installing a custom recover or modified boot.img. Bypasses like exploits (such as DirtyCOW) do not work on MIUI 12+.
โ“ Why Mobile Data Stopped Working After Root?
This is a typical problem when using incompatible Magisk modules or damaging the modem partition. Solutions: Remove all modules in Magisk Manager and restart. modem.img from the original firmware. Reset the network settings to Settings. โ†’ SIM-maps and mobile networks โ†’ Resetting settings.
โ“ How to update MIUI after-root?
Updates by air" (OTA) There's no way to use the rue: ๐Ÿ”„ Download the full firmware (Fastboot) ROM) from the official website and pass through TWRP (Pre-removal of Magisk and reinstallation). ๐Ÿ“ฑ Use custom firmware (like LineageOS), but it can take away features like this IR Blaster. โš ๏ธ Do not update via Updater โ€“ this will lead to loss of root or phone freeze!
โ“ Can I get a rut on Redmi? 9A MediaTek-based?
This is a good guide for all versions of Redmi. 9A, including models from MediaTek Helio G25. The main thing is to download the right files: TWRP And Magisk is universal for all modifications. 9A, dandelion_india for the Indian version).
โ“ How to check if the root is received?
Install the Root Checker app from Play Market or execute a command in the terminal: su If a request for permission appears, root works. Also check for /su/bin folder through any file manager (for example, Solid Explorer).