How to flash Xiaomi Redmi Note 9: official and custom firmware

Xiaomi Redmi Note 9 (codenamed merlin) may need firmware to upgrade to the current MIUI, install custom firmware like LineageOS or Pixel Experience, and solve software failures. However, the process has nuances, from unlocking the bootloader to choosing the right version of software for your modification (Note 9, Note 9S or Note 9 Pro).

In this article, we will discuss all the current methods of firmware: through MIUI Updater, Recovery and Fastboot, and also consider how to avoid typical errors.

If your Redmi Note 9 is slowing down, running out quickly, or making bugs when you upgrade over the air, firmware often helps to make your device work again. But it's important to understand that any firmware is a risk. Even official Xiaomi updates sometimes contain bugs, and custom firmware can deprive you of features like the Widevine L1 (needed for watching Netflix in HD).

Preparation for firmware: what to do before the start

Before you start firmware, follow the mandatory steps, which can lead to data loss or the inability to restore the phone.

1. Create a backup. The firmware erases all data from internal memory (except for the MIUI Updater update without resetting). Use Mi Cloud, Google Photos for media files or programs like Titanium Backup (requires root).

  • ๐Ÿ“ฑ Contacts (export to) VCF)
  • ๐Ÿ“ธ Photos and videos (transfer to PC or cloud)
  • ๐Ÿ”‘ Wi-Fi Passwords (Write down or use WiFi Key Viewer)
  • ๐ŸŽฎ Preserve games (if you play Genshin Impact, PUBG Mobile and the like.)

2. Check the model and firmware version. The Redmi Note 9 has several modifications:

  • ๐Ÿ“ฑ Redmi Note 9 (merlin) โ€” MediaTek Helio G85
  • ๐Ÿ“ฑ Redmi Note 9S (curtana) โ€” Snapdragon 720G
  • ๐Ÿ“ฑ Redmi Note 9 Pro (joyeuse) โ€” Snapdragon 720G (for India)

Install the wrong firmware, you get a "brick." You can find out the model in Settings โ†’ About the phone โ†’ Model or through the command:

adb shell getprop ro.product.model

3. Charge the phone at least 60%. Interrupting the firmware due to battery discharge is almost guaranteed to lead to the failure of the device. If the battery is worn out (capacity below 80%), connect the phone to charge necessarily through a USB-hub with power - directly from the PC may not be enough current.

๐Ÿ“Š Youโ€™ve already done Xiaomi before?
Yes, many times.
Yeah, but long ago.
No, first time.
I tried it, but it turned out a breech.

Official Firmware Methods: MIUI Updater and Recovery

If you need to upgrade the Redmi Note 9 to the latest version of MIUI without risking losing your warranty, use official methods.They do not require unlocking the bootloader and are suitable for most users.

Method 1: Update via MIUI Updater (the safest)

  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. Specify the path to the downloaded firmware file (should be called type) miui_MERLINGlobal_V12.5.3.0.RJOMIXM_...).
  4. Confirm the installation and wait for the reboot.

โš ๏ธ

Note: If the firmware file is larger than 2GB and the phoneโ€™s internal memory is almost full, the update may end with an error of 7.

Method 2: Installation via Recovery (if the โ€œover-the-airโ€ update doesnโ€™t work)

  1. Download the official firmware for your model from en.miui.com (select Recovery ROM).
  2. Rename the file to update.zip and transfer it to the root of internal memory.
  3. Turn off the phone, then press Power + Volume up to enter Recovery.
  4. Select Install update.zip and confirm.

Download the official Recovery ROM|File renamed to update.zip|Phone's charged. >60%|Backup created-->

๐Ÿ”น Important: If after the firmware through Recovery, the phone is stuck on the logo MI, Wait 10-15 minutes. Sometimes the first download takes a long time. If after that time nothing has changed, try resetting your settings via Recovery (Wipe Data).

Firmware through Fastboot: when you need to unlock the bootloader

The Fastboot method is used to install official Fastboot ROMs or custom firmware, requiring unlocking the bootloader, which resets the phone to factory settings and may take away warranty (if it still works).

Step 1: Unlock the bootloader

  1. Link your Mi Account to your phone in Settings โ†’ Xiaomi Account.
  2. Turn on Developer Options (7 times tap on the MIUI version in About Phone).
  3. Activate OEM Unlock and USB Debugging in Settings โ†’ Additional โ†’ For Developers.
  4. Download Mi Unlock Tool from the official website and unlock it (it may take 7-15 days).

โš ๏ธ

Warning: Once the bootloader is unlocked, anti-rollback will work, which means you wonโ€™t be able to return to an older version of MIUI than the one you originally installed. Check the current version in Settings โ†’ About Phone โ†’ MIUI version.

Step 2: Firmware through Fastboot

  1. Download Fastboot ROM for your model (the file will be in the archive.tgz).
  2. Unpack the archive in a folder on your PC (the way without Cyrillic!).
  3. Connect your phone to your PC in Fastboot mode (press Power + Volume down when the phone is off).
  4. Launch the file. flash_all.bat (for Windows or flash_all.sh (for Linux/Mac).

If the script gives an error waiting for the device, check:

  • ๐Ÿ”Œ Cable USB (Better to use the original)
  • ๐Ÿ–ฅ๏ธ Mi Phone Manager drivers installed
  • ๐Ÿ”„ Try another one. USB-port (preferably) USB 2.0)
What if Fastboot canโ€™t see the phone?
If the PC does not recognize the device in Fastboot mode: 1. Open Device Manager (Win) + X โ†’ Device Manager). 2. Find a device with an exclamation mark (usually "Android" or "Other devices"). 3. Update the driver manually by specifying the folder with drivers from Mi Phone Manager (usually) C:\Program Files (x86)\Xiaomi\MiPhone\Google\UsbDriver). 4. If it doesnโ€™t help, try disabling the driver signature in Windows (the command in the box). CMD from admin: bcdedit /set nointegritychecks on, then reboot).

Installation of custom firmware: TWRP and alternative OS

Custom firmware like LineageOS, Pixel Experience or ArrowOS offer more customization options, but require an unlocked bootloader and custom Recovery (usually TWRP) installation, a process that is more risky than official firmware, but allows:

  • ๐Ÿš€ Install a clean Android without shell MIUI
  • ๐Ÿ”„ Get updates longer than Xiaomi officially supports
  • ๐Ÿ”ง Customize the interface deeper (themes, animations, sounds)

Step 1: Installation of TWRP

  1. Download the current version of TWRP for Redmi Note 9 (merlin) from twrp.me.
  2. Rename the file to twrp.img and place it in the folder with the platform-tools (from the Android SDK).
  3. Connect your phone in Fastboot mode and execute the command: fastboot flash recovery twrp.img fastboot boot twrp.img

Step 2: Firmware custom OS

  1. Download firmware (e.g. LineageOS 20 for merlin) and GApps (if you need Google services).
  2. Transfer files to your phone or flash drive (FAT32!).
  3. In TWRP, run Wipe โ†’ Advanced Wipe and mark Dalvik, Cache, System, Data.
  4. Install firmware, then GApps, then (if necessary) Magisk for root.

โš ๏ธ

Note: After installing custom firmware may stop working: ๐Ÿ“ท Wide-angle camera (requires separate fixes) ๐Ÿ” Banking applications (due to lack of SafetyNet) ๐ŸŽฌ Netflix HD (Widevine loss L1) Some of the problems are solved by installing Magisk and modules like Universal SafetyNet Fix.

๐Ÿ’ก

Before installing custom firmware, check on the XDA-Developers forum to see if there are any bugs specifically for your model. For example, some LineageOS builds for Redmi Note 9 don't have NFC or proximity sensors working.

Common mistakes and their solutions

Even when you follow instructions, you can have errors, and here are the most common problems and ways to fix them.

Mistake.Reason.Decision
Couldn't verify the device in Mi UnlockAccount not tied to phone or waiting is not completedWait 7-15 days after you have attached your account. Check that your email is displayed in Settings โ†’ Xiaomi account.
Mistake 7 in RecoveryIncompatible firmware or a corrupted fileDownload the firmware again (check the hash amount). For custom firmware, make sure that the MIUI version is not lower than the required one (see the recoilout).
The phone does not turn on after the firmwareIncorrect firmware or interrupted processTry to log in to Fastboot (Food). + Volume down) and re-stitch. If it doesn't work, use the Mi Flash Tool with the clean all option.
Invalid sparse file format in TWRPA damaged firmware file or an incompatible TWRPDownload the firmware again. Update TWRP to the latest version for your model.

Critical: If, after a failed firmware, the phone doesn't respond to any combination of buttons and is not detected by the PC, it's a "hard brick." It can only be restored through a hard brick. EDL-Mode (requires an authorized Xiaomi account or contacting a service center).

How to return the official firmware after custom

If custom firmware is unstable or you need a warranty, you can return to the official MIUI.

  1. Download Fastboot ROM for your model from the official website.
  2. Unpack the archive and launch it. flash_all.bat (For Windows, use the Mi Flash Tool.
  3. In the Mi Flash Tool, select the clean all option.
  4. After firmware, the phone will automatically restart and start setting up as new.

โš ๏ธ

Note: If you have installed custom firmware with a modified vendor or persist partition, the official firmware may not stand up. In this case, you need firmware through EDL (power users only!).

After returning to MIUI, you may need to re-unlock the bootloader (if you want to install custom firmware again).

  • ๐Ÿ“ถ Communication modules (Wi-Fi, Bluetooth, mobile network)
  • ๐Ÿ“ธ All cameras (main, wide-angle, macro)
  • ๐Ÿ”‹ Charging (sometimes after firmware disappears fast charging)

๐Ÿ’ก

You can return to the official firmware at any time, but if you changed partitions of the disk (for example, when installing LineageOS), you may need firmware through EDL - this is a difficult procedure, it is better to contact the service.

FAQ: Frequent questions about the Redmi Note firmware 9

๐Ÿ”น Can I flash Redmi Note 9 without unlocking the bootloader?
Yes, but only official updates via MIUI Updater or Recovery.For custom firmware or Fastboot ROM, unlocking is mandatory.
๐Ÿ”น Why did he disappear after the firmware? IMEI?
This happens when you damage the nvram partition or modem. You can restore the IMEI through the SN Write Tool (requires nvram backup) or contact the service center. Do not use IMEI generators - this is illegal and can block the network.
๐Ÿ”น How to check if the bootloader is unlocked?
Turn off the phone, then press Power + Volume up. If you see Unlocked and the yellow lock icon, the bootloader is unlocked. If Locked is locked.
๐Ÿ”น Can I Switch Redmi Note 9 to Android 13?
Xiaomi has not officially released Android 13 for the Redmi Note 9 (the latest version is MIUI 14 based on Android 12).However, there are unofficial builds of LineageOS 20 or Pixel Experience 13, but they can run unstable.
๐Ÿ”น What to do if the phone does not see after the firmware SIM-map?
The problem is typical for custom firmware. Check: Does the firmware support your modem model (for Redmi Note 9 it is Helio G85) If the right firmware and vendor sections are installed. Try flashing the official firmware through Fastboot with the clean all option. If it doesn't, the problem may be in the SIM slot or antenna (physical breakdown).