How to install firmware on Xiaomi Redmi Note 9: official and alternative ways

Xiaomi Redmi Note 9 remains one of the most popular budget smartphones even years after its release. However, over time, the regular MIUI firmware begins to slow down, and updates from the manufacturer stop coming out, in such cases, users resort to manual flashing โ€” whether it is the official global version or custom build like LineageOS or Pixel Experience.

This guide will take a look at all the steps from the device preparation to the final setup after installation, and we will look at two main scenarios: updates via Fastboot (for official firmware) and TWRP (for custom ones), and pay special attention to common mistakes that plague beginners, such as locking the bootloader or โ€œbrickingโ€ the device due to the wrong version of firmware.

Important: The procedure requires precision. 9 with a Mediatek Helio processor G85 (codename merlin) and G80 (merlin_in) The algorithm for unlocking a bootloader is different from Snapdragon devices. ADB Fastboot, we recommend you first learn the basic commands.

1. Device Preparation: What to Do Before Firmware

The first step is to back up your data, and even if you plan to install the official firmware without resetting your settings, you still have the risk of losing your data. Use Mi Cloud or third-party tools like Titanium Backup.

  • ๐Ÿ“ฑ Contacts and messages (export to.vcf and.xml)
  • ๐Ÿ“ท Photos and videos (transfer to PC or cloud)
  • ๐Ÿ”‘ Passwords from apps (use Bitwarden or analogues)
  • ๐ŸŽฎ Save games (via Helium or manual backup folder) /Android/obb)

Next, check the current firmware version. Go to Settings. โ†’ The phone. โ†’ Version. MIUI. Write down the full title (for example, MIUI Global 12.5.3 Stable and device code (merlin or) merlin_in). This information will be needed to select the correct firmware file.

โš ๏ธ Note: If your Redmi Note 9 is purchased in China (suffix version) CN), firmware of the global version without prior unlocking the bootloader will lead to permanent locking IMEI. In this case, you will need to contact the service center.

Also prepare:

  • ๐Ÿ”Œ Cable USB Type-C (original or certified)
  • ๐Ÿ’ป Windows computer 10/11 Linux (MacOS is not recommended due to driver issues)
  • ๐Ÿ”‹ Battery charge of at least 60%
  • ๐Ÿ› ๏ธ Used by Mi Flash Tool, ADB/Fastboot, TWRP (if you need custom firmware)
๐Ÿ“Š What kind of firmware do you plan to install?
Official MIUI
LineageOS (Pixel Experience)
Stock without bloat
I don't know, looking for information.

2. Unlocking the bootloader: step-by-step guide

The bootloader on Xiaomi Redmi Note 9 is locked by default.To install any firmware (except for the one on the phone). OTA-Updates, it needs to be unlocked, takes up to 72 hours due to Xiaomi's policy.

Steps to unlock:

  1. Link your Mi Account to your device: Settings โ†’ Xiaomi Account โ†’ Sync.
  2. Enable USB Debugging and OEM Unlock in Settings โ†’ About Phone โ†’ MIUI version (tap 7 times on version to activate the developer menu).
  3. Download Mi Unlock Tool and log in to the program.
  4. Connect your phone in Fastboot mode (clip Power + Volume down when the device is off).
  5. If you receive a message about the need to wait, wait for an SMS from Xiaomi (usually 3-5 days).

โš ๏ธ Warning: Once unlocked, the bootloader will reset all data on the device, including internal memory.Don't rely on backups created after unlocking - they may contain artifacts from the old system.

If the utility gives you a "Couldn't unlock" error, check:

  • My account is tied to the phone for more than 7 days.
  • The device has the latest version of MIUI installed (update via Settings โ†’ System Update).
  • You use the original cable and USB 2.0 port (problems are more common with USB 3.0).

Linked to the Mi Account to the device|Debugging is on. USB|Downloaded Mi Unlock Tool|Phone's 60-charged%+|There's a backup of the data.-->

3. Installation of the official firmware through Fastboot

The official firmware for Redmi Note 9 is available in two formats:

  • Recovery ROM โ€“ installed through stock recovery (without unlocking the bootloader, but with restrictions).
  • Fastboot ROM โ€“ full system image, requires Mi Flash Tool and unlocked bootloader.

We recommend Fastboot as a more reliable method, download the firmware from the official Xiaomi website by selecting the merlin model (for the global version) or merlin_in (The file is in.tgz format, unpack it into a folder without Cyrillic characters.

Installation instructions:

  1. Turn off the phone and press Power + Volume down to log into the Fastboot.
  2. Connect the device to your PC and run the Mi Flash Tool (on behalf of the administrator).
  3. In the program, click Select and specify the path to the unpacked folder with firmware.
  4. Select Clean All (full reset) or Clean All and Lock (reset + lock bootloader).
  5. Press Flash and wait until it's finished (10-15 minutes).
Mode in Mi FlashEffects of consequencesWhen to use
Clean allFull reset, the loader remains unlockedTo install custom firmware after the official
Clean all and lockReset + lock loaderIf you want to return the device to stock state
Save user dataStores user data (not always stable)Only for experienced users

If the process is stuck in the โ€œflash bootโ€ stage, check:

  • Correctness of the selected firmware (for merlin, a file from the merlin_in vice versa).
  • The lack of Chinese characters on the way to the firmware folder.
  • Mi Flash Tool (new firmware may require the latest beta version of the utility).

๐Ÿ’ก

If you've got your phone stuck on the MI logo after you've done it, press Power + Volume up for 15 seconds to force you to restart. If that doesn't work, repeat the procedure with Clean all mode.

4. Install custom firmware through TWRP

Custom firmware like LineageOS or Pixel Experience offers more features: pure Android without bloat, regular security updates and advanced settings, but they require an unlocked bootloader and TWRP Recovery to install.

Download it first.

  • ๐Ÿ“ฑ TWRP For the Redmi Note 9 (The version must be in accordance with the device code, merlin or merlin_in). Look for official builds on twrp.me.
  • ๐Ÿ–ฅ๏ธ Firmware (e.g. LineageOS 20 for merlin from lineageos.org).
  • ๐Ÿ”„ Open GApps (if you need Google services; choose the option) arm64 โ†’ 11.0 โ†’ pico for Android 11).

Installation of TWRP:

fastboot flash recovery twrp-3.7.0_9-0-merlin.img


fastboot reboot recovery

After you log in to TWRP, do:

  1. Swipe to allow modifications (if requested).
  2. Go to Wipe โ†’ Format Data, type in yes and confirm (this will delete everything, including internal memory!).
  3. Return to the main menu and select Install, then specify the path to the firmware file (e.g. lineage-20.0-20231010-nightly-merlin-signed.zip).
  4. After installing the firmware, repeat the step for GApps (if needed).
  5. Reboot to the system (Reboot โ†’ System).

โš ๏ธ Attention: On the Redmi Note 9 Android-based firmware 12+ You may need to disconnect AVB (Android Verified Boot, otherwise the device will not boot. TWRP Follow the command: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (file vbmeta.img usually comes with a firmware).

What if TWRP doesnโ€™t see internal memory?
If, after entering, TWRP The internal memory is displayed as "0 MB", which means that the data is encrypted. Solution: 1. Connect the phone to the PC and copy the firmware to the computer. SD-card (if there is a slot). 2. or in TWRP Go to Wipe. โ†’ Format Data โ†’ Yes (this will remove encryption, but all data!). 3. Alternatively, use it. OTG-flash-drive.

5. Typical errors and their solutions

Even if you follow the instructions accurately, users face problems.

Mistake.Reason.Decision
Invalid sparse file format at headerA damaged firmware file or an incompatible version of TWRPUpgrade the firmware, check the MD5 checksum. Update the TWRP to the latest version.
The phone does not turn on after firmware (black screen)Mi Flash Tool or incompatible firmwareRepeat the firmware with Clean All mode. Check the device code (merlin/merlin_in).
E: Unknown command [log] in TWRPOutdated version of TWRP or damaged partitionsInstall the current version of TWRP (3.7.0+). Run Wipe โ†’ Format Data.
Error 7 When Installing ZIP in TWRPThe firmware is not designed for your model or damagedCheck the name of the firmware file (should contain merlin).

If after installing custom firmware does not work:

  • ๐Ÿ“ถ Mobile Network: Check the settings APN or patch it. IMS (for LineageOS).
  • ๐Ÿ”Š Sound: Proprietary drivers may not be installed. Download vendor and firmware for your model.
  • ๐Ÿ”‹ Fast battery discharge: calibrate the battery (discharge to 0%, charge to 100% without interruptions).

๐Ÿ’ก

If the phone does not detect after the firmware SIM-The card is likely to be missing a modem. Install the stock firmware via Fastboot, then re-install the customization.

6. System optimization after firmware

After successful firmware installation, it is recommended to follow several steps for stable operation:

For the official MIUI:

  • ๐Ÿš€ Disable unnecessary system applications through Settings โ†’ Annexes โ†’ Application management (e.g. Mi Video, Mi Music).
  • ๐Ÿ”„ Update all apps through Google Play.
  • ๐Ÿ›ก๏ธ Enable Battery Optimization for Frequently Used Applications.

For custom firmware:

  • ๐Ÿ”ง Install FrancoKernel or Kirisakura kernel to improve performance (optional).
  • ๐ŸŽจ Set up theme and animations through Settings โ†’ System system โ†’ Advanced settings.
  • ๐Ÿ“Š Check the temperature of the processor using AIDA64 โ€” if it exceeds 50ยฐC in simple, you may need to flash the thermal-engine.

For all types of firmware:

  • ๐Ÿ”„ Perform a cache reset (Wipe) โ†’ Cache in TWRP or through the settings โ†’ Memory. โ†’ Cleanup).
  • ๐Ÿ“ฑ Install Magisk for root rights (if necessary). Download the latest version from GitHub and run through TWRP.

๐Ÿ’ก

To speed up MIUI, turn off the animation interface. To do this, activate Developer Mode and in Settings โ†’ Additional โ†’ For developers, set all animation values to 0.5x or Off.

7. How to roll back on a previous firmware version

If the new firmware is unstable, you can return the previous version. MIUI:

  1. Download the desired version from the official website.
  2. Unpack the.tgz archive and run through the Mi Flash Tool in Clean All mode.

For custom firmware:

  1. Download the previous build (e.g. LineageOS 19 instead of 20).
  2. In TWRP, run Wipe โ†’ System, then install the old firmware and GApps.
  3. Reboot. If you have any errors, repeat the full formatting procedure.

โš ๏ธ Note: Retreat to an earlier version MIUI This can lead to a bootloader lock if the new firmware has an anti-rollback update. Before the procedure, check the list of blocked versions for your model on the forums XDA Developers.

8.Where to look for current firmware and updates

The official firmware for the Redmi Note 9:

  • ๐ŸŒ Global versions: miui.com (choose merlin).
  • ๐Ÿ‡ฎ๐Ÿ‡ณ Indian versions: miui.com/in (merlin_in).
  • ๐Ÿ‡จ๐Ÿ‡ณ Chinese versions: miui.com/cn (Requires manual installation of Google Services).

Castom firmware:

  • ๐Ÿ“ฑ LineageOS: download.lineageos.org
  • ๐Ÿ“ฑ Pixel Experience: download.pixelexperience.org
  • ๐Ÿ“ฑ ArrowOS: arrowos.net
  • ๐Ÿ“ฑ Havoc-OS: havoc-os.com

Before downloading, check:

  • Date of assembly (up-to-date versions are released at least 1 time per month).
  • Forum reviews (XDA, 4PDA) โ€“ some builds may have critical bugs.
  • firmware requirements (e.g., Pixel Experience may require stock vendor firmware pre-firmware).

๐Ÿ’ก

For stable operation of custom firmware on Redmi Note 9, it is recommended to use firmware from the latest official MIUI. Download it separately and flash before installing the custom OS.

FAQ: Frequent questions about the Redmi Note firmware 9

Can I flash Redmi Note 9 without unlocking the bootloader?
Yes, but only through OTA-updates or recovery ROM But it doesn't allow you to install custom firmware or roll back to the previous version.
Why does the Mi Flash Tool not see my Redmi Note 9?
The problem could be: No drivers (install Mi USB Driver manually through Device Manager); Non-original cable (use cable from the kit); Connection mode (check that the phone is actually in Fastboot, not Recovery); Also try running the Mi Flash Tool in Windows 8 compatibility mode.
How to check if the bootloader is unlocked?
Turn off your phone and press Power + Volume down. If you see "Unlocked" under the Fastboot logo, the bootloader is unlocked. If Locked is locked.
Which firmware to choose for maximum productivity?
For the Redmi Note 9, the best options are: Stock MIUI (if you need stability and all the camera features), Pixel Experience (pure Android with good optimization), LineageOS (minimalist interface, long updates). Avoid firmware based on Android 13+ - they can slow down due to a weak Helio G85 processor.
What if the touchscreen doesnโ€™t work after the firmware?
This is a typical problem when installing firmware that is incompatible with your firmware version. Solution: Sweep the stock firmware through Fastboot. Install the correct firmware version (download from xiaomifirmwareupdater.com). Re-install custom firmware. If the problem persists, check the integrity of the touchscreen plume (possibly physical damage).