Xiaomi Redmi Note 9 Pro 5G (The codename gaia remains a popular smartphone even years after its release, but its owners often face the need to reflash the device. MIUI You may want to install custom firmware like Pixel Experience or LineageOS, but the wrong firmware can turn your phone into a brick, especially when it comes to models with a high-end phone. 5G-A modem where errors in the radio module cause network loss.
In this guide, we will analyze all the current methods of firmware for the Redmi Note 9 Pro 5G: from official updates via OTA to manual installation via Fastboot and TWRP. Particular attention will be paid to unlocking the bootloader without waiting 168 hours (relevant to new devices) and the nuances of working with firmware for the Chinese (China ROM) and global (Global ROM) versions. If you are a beginner, start with the Preparation section, if an experienced user, immediately go to the desired method.
1. Firmware Preparation: What to Do Before Starting
Redmi Note 9 Pro firmware 5G It doesnβt just require a downloaded file. ROM, Missing at least one step can lead to data loss, failure in the process or even hardware damage (for example, when you work with a device incorrectly). EDL-regime).
First, check the current version of MIUI in settings: Settings β About Phone β MIUI version. This will help you choose the right firmware (for example, switching from MIUI 12 to MIUI 14 may require an interim update). Second, make sure that the phone has enough charge - at least 60%, as long-term firmware through the Fastboot drains the battery.
- π± Save data: firmware erases internal memory (except in cases where the data is stored) OTA-Use Mi Cloud, Google Drive or physical backup on your PC.
- π Prepare the cable: the original USB-C Xiaomi cable (not cheap analogues!) and port USB 2.0 on PC (USB 3.0 can cause firmware errors).
- π₯οΈ Install drivers: download Mi Flash Tool and drivers for Fastboot/EDL official website.
- π Unlock the bootloader (if necessary): Custom firmware or manual installation via Fastboot requires unlocking (see Section 3).
β οΈ If you want to use Redmi Note 9 Pro 5G bought in China (version with the suffix C in the model name), firmware global ROM block 5G-Check compatibility on the forum XDA Developers.
2. Selection of firmware: official vs custom
The type of firmware depends not only on the functionality, but also the stability of the smartphone. Official firmware from Xiaomi is divided into:
- Stable ROM: A proven version with a minimum number of bugs, updated every 1-2 months.
Custom firmware (e.g. Pixel Experience, LineageOS, Havoc-OS) gives more freedom, but has risks:
- π« There may be problems with the camera (all modules are not working) or 5G (Because of Qualcomm's proprietary drivers).
- π Increased battery consumption due to unoptimized core.
- π± Loss of official warranty (if the bootloader is unlocked).
| Type of firmware | Pluses | Cons | Recommendation |
|---|---|---|---|
| Official Stable | Maximum stability, OTA support | Lots of Bloatware, Slow Updates | For most users |
| Official Developer | New features, frequent updates | Critical bugs are possible | For enthusiasts. |
| Castomic (AOSP) | Pure Android, no Advertising | The camera/5G may not work | For experienced users |
Where to download firmware:
- π Official: Xiaomi website (choose version for gaia).
- π οΈ Castomy: XDA Developers or Telegram channels (for example, MIUI Russia).
π‘
Before downloading the firmware, check its hash amount (MD5) using the WinMD5Free utility. This will save you from downloading corrupted files.
3. Unlock the bootloader: bypass the 168-hour timer
To install firmware via Fastboot or TWRP on the Redmi Note 9 Pro 5G, you need to unlock the bootloader.The official way from Xiaomi involves binding the Mi Account and waiting 7 days (168 hours), however, there are workarounds to speed up the process.
Official method (with waiting):
- Link your Mi Account to your phone in Settings β Xiaomi account.
- Activate USB debugging: Settings β About Phone β MIUI version (tap 7 times), then Settings β Additional β For Developers β Debugging over USB.
- Connect the phone to the PC, confirm the debugging permission.
- Download the Mi Unlock Tool, log in to your account and follow the instructions. The timer will start after the first connection.
Informal method (no waiting time):
Use the timer to bypass the timer EDL-Emergency Download Mode with Mi Flash Pro and an authorized Xiaomi account (for example, through services such as MIUI.SU). This method requires physical access to testpoints on the board and is only suitable for power users.
β οΈ Warning: Unlocking the bootloader resets the phone to factory settings. If you used Find My Device, unplug it beforehand, otherwise, once unlocked, the phone will require the old password from your Mi Account.
What to do if Mi Unlock Tool gives you a "Couldn't unlock" error
4. Firmware through Fastboot: step-by-step instructions
Fastboot is the most reliable method for installing official firmware, especially if the phone is not turned on or stuck on the logo. For the Redmi Note 9 Pro 5G, Fastboot firmware with the.tgz extension is suitable.
What you need:
- π₯οΈ Windows PC (Linux/macOS Require additional drivers).
- π Fastboot firmware (for example, gaia_global_images_V12.5.1.0.RJSCNXM_20230315.0000.00_11.0_global.tgz).
- π§ Mi Flash Tool (version 2020.3.14.0 or later).
Instructions:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\ROM\gaia).
- Turn off the phone, press the power. + Volβ for the entrance to the Fastboot.
- Connect your phone to your PC and start the Mi Flash Tool.
- Click Select, point the way to the firmware folder.
- Select Clean All or Clean All and Lock (if you want to lock the bootloader after you have been firmware).
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
β οΈ If the Mi Flash Tool is an error flash_not_allow_in_lock_state, So the bootloader is locked. Unlock it (see section) 3) Or use the firmware through Recovery.
βοΈ Preparation for firmware through Fastboot
5. Install custom firmware through TWRP
To install Pixel Experience, LineageOS or other custom firmware will require custom recavers β TWRP. the Official version for the Redmi Note 9 Pro 5G, but there are unofficial builds from the community (for example, from the developer Woa).
Steps of TWRP installation:
- Download the latest version TWRP for gaia (e.g, twrp-3.7.0_12-0-gaia.img).
- Rename the file to recovery.img and place it in the folder with the platform-tools (from Android SDK).
- Turn on Fastboot on your phone (Power + Volβ).
- Run the command at the terminal: fastboot flash recovery.img fastboot boot recovery.img
Installation of custom firmware:
- V TWRP Make a backup of the persist section (important for work) 5G-modem!).
- Wipe out the Dalvik, Cache, System, Data sections (do not touch Internal Storage unless you want to lose files).
- Install. ZIP-Firmware file and (if necessary) GApps.
- Reboot. The first launch can take up to 15 minutes.
Popular custom firmware for Redmi Note 9 Pro 5G:
- π± Pixel Experience (Android 13) β pure Android with chips from Pixel.
- π LineageOS 20 - stable build based on the AOSP.
- β‘ Havoc-OS - customizable firmware with many settings.
π‘
After installing custom firmware, be sure to check the work 5G-modem in network settings. If the network is not catching, return the backup of the persist partition via TWRP.
6. Solving firmware errors
Even if you follow the instructions, you can get errors, and here are the most common problems and solutions for the Redmi Note 9 Pro 5G.
| Mistake. | Reason. | Decision |
|---|---|---|
| Invalid sparse file format at header | Firmware file damaged | Download the firmware again, check the MD5 |
| This package is for "gaia" devices; this is a "" | Wrong firmware model | Download the firmware specifically for gaia |
| The phone does not turn on after the firmware | Incompatible firmware or failure when recording | Repeat the firmware via Fastboot or EDL |
| No network (5G/4G) | Modem or persist partition damaged | Restore the backup via TWRP or flash the official firmware |
If the phone doesnβt respond to buttons and doesnβt boot, try EDL emergency mode:
- Download Mi Flash Pro with EDL support.
- Connect the phone when it is off by pressing the Vol+ and Volβ buttons (to log in to EDL).
- Select firmware in.mbn format and start firmware.
β οΈ Attention: Use EDL Without an authorized Xiaomi account, it can lead to blocking IMEI. To unlock you will need to contact the service center.
7. Update via OTA: a secure way
If you donβt need custom firmware, the easiest way to upgrade the Redmi Note 9 Pro is to get a new one. 5G β built-in OTA-This method does not require unlocking the bootloader and saves all data.
How to update through OTA:
- Go to Settings β About the phone β System update.
- Click Check Updates. If the update is available, download it.
- After downloading, click Reboot and install.
If OTA-No updates are available, you can install it manually:
- Download Recovery firmware (file with.zip extension) from the official website.
- Rename the file to update.zip and place it in the root of internal memory.
- Press Power + Vol+ to log in to Recovery.
- Select Install update.zip and confirm the installation.
π‘
If so, OTA-updates phone began to slow down, make a reset to factory settings (Settings) β Additionally. β Recovery and reset. This will delete user data, but return performance.