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

Xiaomi Redmi Note 9 remains one of the most popular budget smartphones even years after its release. However, over time, factory firmware may start to slow down, and updates through OTAs stop coming, in such cases, flashing the device becomes relevant โ€” whether it is switching to a fresh version of MIUI, installing custom firmware like LineageOS or restoring functionality after a failure.

In this guide, we will look at all the current ways to run the Redmi Note 9 firmware (codenamed merlin), including official methods through the Mi Flash Tool and Recovery, as well as installing informal builds. We will focus on unlocking the bootloader, without which most operations are impossible, and the typical errors that users encounter. If you have never flashed a Xiaomi smartphone before, start with the introductory section, which explains the key concepts and risks.

Preparation for firmware: what you need to know before starting

Smartphone firmware isnโ€™t just about pressing a few buttons. Wrong actions can turn the Redmi Note 9 into a brick, so itโ€™s important to understand the basic principles:

  • ๐Ÿ”“ Bootloader โ€“ by default locked on all Xiaomi devices. without it unlocking it is impossible to install custom software or even official firmware through Fastboot.
  • ๐Ÿ“ฑ Firmware versions: for Redmi Note 9 there are Global (international), China (Chinese), EEA (Europe and custom builds, you need to install the one that fits your model (M2003J15SC โ€” global, M2003J15SS โ€” Indian).
  • ๐Ÿ”„ Firmware types: Recovery ROM โ€” It's installed through stock recovery, it saves data. ROM โ€” requires an unlocked bootloader, a complete partition rewriting. ROM โ€” Unofficial firmware (e.g. Pixel Experience) requires custom recovery (TWRP).

Before you start, check:

  • โšก Battery charge of at least 60% (when discharged during firmware, the device may turn off).
  • ๐Ÿ’พ Backup data (Fastboot firmware erases everything, including photos and contacts).
  • ๐Ÿ–ฅ๏ธ The PC has installed Xiaomi drivers and ADB/Fastboot (You can download from the official website).

โš ๏ธ Note: Fastboot firmware using the Mi Flash Tool automatically formats the userdata partition. If you don't backup, all personal files will be lost without recovery.

๐Ÿ“Š Why do you want to flash Redmi Note 9?
Install a new version of MIUI
Go to custom firmware
Correct errors/lag
Unlock additional functions
Other

Unlock the bootloader on Redmi Note 9

Without unlocking the bootloader, you canโ€™t flash Redmi Note 9 through Fastboot or install custom recovery.The process takes 7 days (from the moment you link your Mi Account to your device) and requires confirmation via SMS.

Step-by-step:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone โ†’ MIUI version and tap 7 times on this item.
  2. Return to Settings โ†’ Additional โ†’ For developers and enable: Debugging over USB Unlock OEM (may be called Factory Unlock)

Mi Unlock

Mi

Fastboot

Loudness down + Nutrition

Unlock

โš ๏ธ Warning: Once the bootloader is unlocked, the smartphone will reset to factory settings, all data, including apps and settings, will be deleted, and some features (e.g. Mi Pay or Widevine) will also be deleted. L1 viewable HD-Netflix videos may stop working.

โ˜‘๏ธ Preparation for unlocking the loader

Done: 0 / 5

Firmware via Mi Flash Tool (official method)

Mi Flash Tool is Xiaomiโ€™s official firmware utility for Fastboot devices, suitable for installing stock firmware (for example, when recovering from a crash) or upgrading to a new version of MIUI.

Download the current version of the Mi Flash Tool from the official website and firmware for your model (for example, merlin_global_images_V12.5.3.0.RJOMIXM_20220321.0000.00_11.0_global). Pay attention to the regionโ€™s compliance (Global, China, EEA).

Instructions:

  1. Unpack the archive with firmware in a folder without Cyrillic characters (for example, C:\miui_rom).
  2. Turn off the phone and put it in Fastboot mode (clamp Volume down + Power).
  3. Connect the device to your PC and start the Mi Flash Tool.
  4. In the utility, click Select and specify the path to the folder with the firmware.
  5. Select firmware mode: Clean all - complete cleaning (recommended in case of failures); Clean all and lock - cleaning + lock bootloader (only for official firmware); Save user data - data storage (not always stable).

Flash

Firmware modeAre the data stored?Is the loader locked?When to use
Clean allโŒ No.โŒ No.If you have a critical failure or switch to another version of MIUI
Clean all and lockโŒ No.โœ… Yes.To return to stock firmware with loader lock
Save user dataโœ… Yes.โŒ No.Update without data loss (error risk)

If the Mi Flash Tool gives you an error "Couldn't find fastboot devices", check the driver installation and try connecting the phone to another device. USB-port (preferably) USB 2.0).

๐Ÿ’ก

If the firmware is stuck in the โ€œwaiting for deviceโ€ stage, try restarting your phone to Fastboot again or using another one. USB-cable (preferably original).

Firmware through Recovery (without data loss)

Recovery is a method that can be used to install official MIUI updates without unlocking the bootloader. It saves user data, but only works with firmware in.zip format for Recovery ROM.

Download the necessary firmware from the official website (for example, miui_MERLINGlobal_V12.5.6.0.RJOMIXM_5d8a3f3a7d_11.0.zip) and transfer it to the root folder of the phoneโ€™s internal memory (not to the folder!).

Instructions:

  1. Go to Settings โ†’ About the phone โ†’ System update.
  2. Slap the icon. โ‹ฎ (three dots) in the upper right corner and select Select firmware file.
  3. Specify the downloaded.zip file and confirm the installation.
  4. After restarting, the phone will automatically update (usually takes 10-15 minutes).

If the menu update is not available (for example, due to a system failure), use stock Recovery:

  1. Turn off the phone.
  2. Press Volume Up + Power to enter Recovery Mode.
  3. Choose a language (usually English or Chinese).
  4. Go to Install update.zip to System and specify the path to the firmware file.
  5. Confirm the installation and wait for completion.

โš ๏ธ Warning: If your phone is stuck on the Redmi logo for longer than 15 minutes after you have been firmwareed through Recovery, reset it via Wipe Data in the same Recovery menu.

Installation of custom firmware (TWRP + Custom ROM)

Custom firmware such as LineageOS, Pixel Experience or ArrowOS allows you to get a pure Android without a MIUI shell, as well as more recent versions of the OS. However, they will require:

  • ๐Ÿ”“ Unlocked loader.
  • ๐Ÿ› ๏ธ Established custom recovery (TWRP).
  • ๐Ÿ“„.zip firmware compatible with merlin.

Download the current version TWRP For the Redmi Note 9 from the official website (for example, twrp-3.7.0_9-0-merlin.img). Also prepare:

  • Firmware (e.g. firmware, PixelExperience_plus_merlin-13.0-20230512-1200.zip).
  • Magisk.zip file (if root is required)
  • File. disable_force_encrypt.zip (to disable forced encryption).

Installation instructions:

  1. Transfer the phone to Fastboot mode and connect to the PC.
  2. Install. TWRP The command is fastboot flash recovery. twrp-3.7.0_9-0-merlin.img
  3. Immediately after installation, go to TWRP, holding Volume up + Power (otherwise, the stock firmware will overwrite recovery).
  4. In TWRP, run Wipe โ†’ Format Data (enter yes for confirmation).
  5. Return to the main menu and select Install, then specify the path to the custom firmware file.
  6. After installing the firmware, repeat the step to Magisk.zip (if root is needed, and disable_force_encrypt.zip.
  7. Reboot the phone (Reboot โ†’ System) The first launch can take up to 10 minutes.
What if TWRP doesnโ€™t see internal memory?
After installation TWRP internal memory is not displayed, most likely encryption enabled: 1. V TWRP Go to Wipe. โ†’ Format Data (this will delete all data but unlock access). 2. Or use it. OTG-wire-drive. 3. If nothing helps, try another version. TWRP (for example, twrp-3.6.2_9-0-merlin.img).

Typical Firmware Errors and Their Solutions

Even with strict adherence to instructions, errors can occur, and here are the most common ones and ways to fix them:

Mistake.Reason.Decision
Couldn't find fastboot devicesPC doesn't see the phone in Fastboot modeCheck it out. USB-Install Xiaomi drivers manually through Device Manager. Try another one. USB-port USB 2.0).
This package is for "merlin" devices; this is a ""The firmware is not suitable for your model.Download the firmware specifically for merlin (Redmi Note 9). Check the model code in Settings โ†’ About the phone.
Hanging on Redmi logo after firmwareIncompatible firmware or installation errorLog in to Recovery and run Wipe Data. Fastboot your phone with Clean all option.
Anti-rollback check failTrying to install an older version of MIUIUse firmware with a version not lower than the current one. Check the version in Settings โ†’ About Phone โ†’ MIUI version.

If the IMEI disappeared after the firmware or the mobile network did not work, the modem section was most likely damaged.

  1. Download the stock firmware for your model.
  2. Unpack it and find the NON-HLOS.bin file in the images folder.
  3. Fastboot: fastboot flash modem NON-HLOS.bin

๐Ÿ’ก

If after firmware the phone does not turn on at all (black screen, no reaction to buttons), try to pinch Volume up + Volume down + Power for 20 seconds - this will force the device to restart in emergency mode.

How to return stock firmware after custom

If custom firmware is unstable or you want to return the original MIUI, follow the following steps:

  1. Download Fastboot ROM for your model from the official website.
  2. Unpack the archive and launch the Mi Flash Tool.
  3. Connect your phone in Fastboot mode.
  4. In the utility, select Clean all and lock mode (this will block the bootloader and return stock recovery).
  5. Press Flash and wait until it is completed.

After the firmware:

  • The phone will automatically reset to factory settings.
  • The bootloader will be locked (unlocking will have to be done again if necessary).
  • Features like Mi Pay and Widevine L1 will be restored.

โš ๏ธ Note: If you have installed Magisk or modified system files, be sure to remove root and return all changes before returning to stock firmware. Otherwise, there may be firmware errors through the Mi Flash Tool.

FAQ: Frequent questions about the Redmi Note firmware 9

Can I flash Redmi Note 9 without unlocking the bootloader?
Yes, but only through Recovery using official firmware in.zip format. Unlocking is mandatory for firmware through Fastboot or custom build installation.
How do I know if the bootloader is unlocked on my phone?
Turn off the phone and turn it on in Fastboot mode (clamp Volume down). + Power. If you have Unlocked at the bottom of the screen, the bootloader is unlocked. If Locked is locked.
Which custom firmware is better to choose for Redmi Note 9?
Popular options: Pixel Experience is pure Android with features from Google Pixel. LineageOS is stable firmware with a minimalist interface. ArrowOS is a balance between performance and functionality. Before installing, check compatibility with the codename merlin on the XDA Developers forum.
Why is the camera or fingerprint sensor not working after the firmware?
This is a typical problem when installing custom firmware, especially Android-based ones. 12+. Solutions: Install a special patch for the camera (e.g, ANX_Camera Check if your firmware supports the hardware features of the Redmi Note. 9 (The information should be on the firmware page. MIUI, If the functionality is critical.
How long does it take to use the Mi Flash Tool?
The process usually takes 5 to 15 minutes depending on the speed. USB-If the firmware is stuck in the waiting for device phase for longer than 5 minutes, check the cable connection and drivers.