How to flash Xiaomi Redmi 9A: all the ways from official updates to custom firmware

Xiaomi Redmi 9A β€” One of the most popular budget smartphones, but even it requires an upgrade or a complete flashing over time. OTA-updates, or you want to install custom firmware for advanced features. In this article, we will discuss all the current ways of firmware for Redmi. 9A (codename dandelion, including formal and informal methods, as well as nuances of unlocking the bootloader and solving typical errors.

Smartphone firmware is a responsible process, but not as complex as it seems, and the key is to understand what exactly you want: stable work on the official MIUI, clean Android through the caste or restore the brick after a failed update, and we will describe each step in detail so that even a beginner can cope without risking damage to the device.

Preparation for firmware: what you need to know before you start

Before you start the firmware Xiaomi Redmi 9A, you need to follow a few critical steps, neglecting them can lead to data loss, locking the device or even its β€œbricking”.

  • πŸ“± Save all the data: contacts, photos, messages. Clear flash will remove everything from internal memory. Use Mi Cloud, Google Drive or physical backup on your PC.
  • πŸ”‹ Charge the battery to at least 60%. interruption of the process due to battery discharge can make the smartphone inoperable.
  • πŸ”— Install drivers: to work with Fastboot and ADB on the PC you need drivers Xiaomi (download from the official site) and Google USB Driver.
  • πŸ”“ Unlock the bootloader (if you plan custom firmware). Official updates via MIUI Updater doesn't require it.

Pay special attention to the firmware version. The Redmi 9A has several modifications:

  • 🌍 Global (MIUI Global - for the international market;
  • πŸ‡¨πŸ‡³ Chinese (MIUI China – without Google services;
  • πŸ‡ͺπŸ‡Ί EEA β€” for Europe (c) GDPR-restraint);
  • πŸ‡·πŸ‡Ί Russian – with pre-installed local services.

Installing the wrong version can lead to network or language pack problems.

⚠️ Attention: If your Redmi is 9A bought in China and has firmware China Stable, after firmware global version may stop working LTE in some regions due to differences in modem settings!

πŸ“Š Why do you want to send Redmi to you? 9A?
Remove the lags and brakes
Install a new version of Android
Install custom firmware (LineageOS, Pixel Experience)
Recovery after failure
Other

Method 1: Official update via MIUI Updater (no PC)

The easiest and most secure method is to upgrade over the air (OTA) or through the built-in System Update app, which is suitable if:

  • πŸ“² The device is stable, but there are available updates;
  • πŸ”„ You do not want to lose data (update is done without resetting);
  • πŸ”’ bootloader is locked (no unlock required).

Instructions:

  1. Open Settings β†’ About the phone β†’ System update.
  2. Click on the three dots in the top right corner and select Select Service Pack.
  3. If an update is available, download it (file weight ~1.5-2.5 GB).
  4. After downloading, click Reboot and Update.

If the update doesn’t come automatically, you can download the full Recovery ROM from MIUI Downloads and install it manually through the same menu, and it’s important to choose the right version for your model and region.

πŸ’‘

If the update has hung during the verification phase, try clearing the System Update app cache in the settings or restarting the phone.

Type of firmwareFile sizeDo you need unlocking?Data dump?
Recovery ROM (OTA)1.5–2.5 GB❌ No.❌ No.
Fastboot ROM (full)2.5–3 GBβœ… Yes (if the loader is locked)βœ… Yes.
Castomic (LineageOS, PE)1-1.5 GBβœ… Yes.βœ… Yes.

Method 2: Fastboot Firmware (full reset)

The Fastboot method is used to completely flash the device when:

  • πŸ”„ You need to return the smartphone to the β€œfactory” state;
  • 🐌 The phone is slowing down a lot, and OTA-Update doesn't help;
  • πŸ”§ Requires a change of firmware region (for example, from Chinese to global).

This will require a PC with the Mi Flash Tool installed and Xiaomi drivers.

Download Fastboot ROM for dandelion from the official website |

Unpack the archive in a folder without Cyrillic |

Install Mi Flash Tool (version no lower than 2020.3.14.0)|

Disable driver signatures in Windows (if OS blocks installation)|

Charge the phone to 100%-->

  1. Turn off the phone. Press Volume down + Power to enter the Fastboot (there will be a hare in a hat-eared hat on the screen).
  2. Connect your smartphone to your PC through USB-cable (preferably original).
  3. Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware folder.
  4. At the bottom, select Clean All (Full Reset) or Clean All and Lock (Reset + Lock bootloader).
  5. Press Flash and wait until it is completed (the process will take 5-10 minutes).

Once the firmware is successful, the phone will automatically restart. The first run can take up to 15 minutes -- that's okay.

⚠️ Note: If the Mi Flash Tool is an anti-rollback error, you are trying to install an older version. MIUI, It irreversibly blocks the bootloader! Always flash only new versions or those that are allowed to roll back (check on the forum). XDA Developers).

Method 3: Install custom firmware (TWRP + LineageOS/Pixel Experience)

Custom firmware such as LineageOS or Pixel Experience allows you to get a pure Android without the branded MIUI shell, as well as more recent versions of the OS (for example, Android 13 instead of the standard Android 10 for Redmi 9A).

  • πŸ”“ Unlocked loader;
  • πŸ› οΈ Established TWRP Recovery;
  • πŸ“¦ Compatible firmware for the dandelion model.

Instructions:

  1. Unlock the bootloader through the official Mi Unlock Tool (requires a Mi Account binding and a wait of 7-15 days for new devices).
  2. Install TWRP for Redmi 9A via Fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
  3. In TWRP, make a full backup (Backup β†’ select Boot, System, Data).
  4. Sweat the custom firmware (Install) β†’ choose ZIP-File) and GApps (if you need Google services).
  5. Clean the cache (Wipe β†’ Dalvik/ART Cache + Cache) and reboot.

The following are the Redmi 9A firmware:

  • πŸ“± LineageOS 20 (Android 13) – stable, but without some camera features;
  • πŸ“± Pixel Experience (Android 12) – as close as possible to Google’s β€œpure” Android;
  • πŸ“± Havoc-OS is flexible, but may be less stable.

What happens if you make an incompatible firmware?
If you install a firmware not intended for Redmi 9A (For example, from Redmi. 9C or other model, the phone may: - Do not turn on (black screen or stuck on the logo) MI); - Stop defining SIM-- Lose the functionality of the camera or speakers. in this case, you can only restore the device through the Fastboot with official firmware or using the help of EDL-Mode (requires an authorized Xiaomi account).

Unlocking the bootloader: a step-by-step guide

Without unlocking the bootloader, you can’t install custom recavers or firmware. Xiaomi officially allows this, but with some restrictions:

  • πŸ“… New devices require 168 hours (7 days) of account retention;
  • πŸ”— You should use the Mi Unlock Tool;
  • πŸ“± Mi Account should be linked to the phone in settings.

Instructions:

  1. Enable OEM Unlock in the developer settings (Settings β†’ About Phone β†’ MIUI Version (click 7 times) β†’ Additional β†’ Developers β†’ Unlock OEM).
  2. Download Mi Unlock Tool from the official website and install it on PC.
  3. Turn off your phone and log in to Fastboot (Loudness Down + Power).
  4. Connect your phone to your PC and start the Mi Unlock Tool. Sign in to your Mi Account.
  5. Press Unlock and wait until it is completed (if a waiting message appears, try again once a day).

⚠️ Note: Once the bootloader is unlocked, all data will be deleted from the phone, as well as security settings (including fingerprints and pattern lock) will be reset.In addition, some banking applications (for example, SberBank Online) may stop working due to the SafetyNet trigger.

Solving typical firmware errors

Even if you follow the instructions accurately, you can get errors, and here are the most common ways to fix them:

Mistake.Reason.Decision
Couldn't verify device (in Mi Unlock)Mi Account not tied to phone or waiting is not completedCheck the account binding in Settings β†’ Mi Account and wait 7 days
Anti-rollback check failReversed to an older version of MIUISwitch only the new version or the one that is allowed to roll back
The phone does not turn on after the firmwareIncompatible firmware or interrupted processRun the official Fastboot ROM through the Mi Flash Tool
E: Unknown command [log] (in TWRP)An outdated version of TWRPDownload the current version of the recavΓ©rie for dandelion

If the phone has turned into a brick (no buttons, no PC), try:

  1. Press Volume up + Power for 20-30 seconds for forced reboot.
  2. Connect to a PC and check if Device Manager defines Qualcomm HS-USB QDLoader 9008 (EDL mode).
  3. If yes, flash through the Mi Flash Tool in EDL mode (requires an authorized Xiaomi account).

πŸ’‘

If the phone doesn't respond to any manipulation, don't panic. In 90% of cases, it can be recovered through a phone. EDL-mode, but this will require access to an authorized Xiaomi account (for example, through a service center).

FAQ: Frequent questions about Redmi firmware 9A

Can I flash Redmi 9A without unlocking the bootloader?
Yes, but only official updates via MIUI Updater or Recovery ROM. For custom firmware and TWRP, unlocking is mandatory.
How to check the firmware version and phone model?
Go to Settings β†’ About Phone. The MIUI version bar shows the current firmware, and the Model codename (should be dandelion for Redmi 9A).
Will data be lost when you run through Fastboot?
Yes, clean all mode in the Mi Flash Tool completely clears internal memory, including photos, apps and settings. Always backup!
Can I get my MIUI back after a custom firmware?
Yes, you need to flash Fastboot ROM through the Mi Flash Tool with a clean all and lock mode option (this will also block the bootloader back).
Why is the mobile network not working after the firmware?
This is a typical problem when changing the firmware region (for example, from Chinese to global). APN In Settings β†’ SIM-maps and mobile networks β†’ Access points (APN). If it doesn’t work, run modem and non-hlos files from the original firmware through Fastboot.