Xiaomi Redmi Note 9 remains a popular device even years after its release, but many users face the need to reflash it. The main problem is a blocked bootloader, which limits the ability to install custom firmware or restore the system after failures. Unlike the newer Xiaomi models, where unlocking requires waiting 7-15 days, the Redmi Note 9 (codenamed merlin) has its own nuances.
In this article, we will analyze all the current methods of firmware with a locked bootloader: from official methods through the Mi Flash Tool to workarounds using Fastboot and other technologies. EDL-We'll focus on the risks of bricks and how to avoid them. If you're a beginner, don't worry: the instructions are tailored for users with no experience with the bricks. ADB or SP Flash Tool.
Warning: the procedure requires care, errors in the firmware stage can lead to loss of warranty, failure IMEI If your goal is simply to upgrade the system, first check if it is available. OTA-Updates to Settings β The phone. β Updating the system.
For power users, there is a section on informal firmware (e.g. Pixel Experience or LineageOS), but installing it is only possible after unlocking the bootloader. If your Redmi Note 9 is already brick-shaped (not included, getting stuck on the Mi logo), weβll show you how to bring it back to life through EDL.
1.Why is the bootloader locked and can it be unlocked?
The blocked bootloader is protection against unauthorized firmware changes that Xiaomi has implemented to improve security. On the Redmi Note 9, it is blocked by default, and unlocking requires official permission through the Mi Account.
First, unlocking through the Mi Unlock Tool takes up to 168 hours (7 days) of waiting if the account is not tied to the device in advance. Second, after unlocking, all data is reset and the warranty can be canceled. Third, some firmware (for example, for the CN region) can re-block the bootloader after the update.
But what if you can't unlock it? There are workarounds.
- π§ Firmware via Fastboot using official images (without unlocking, but with restrictions).
- π Use of the EDL-mode (emergency firmware via Qualcomm) HS-USB QDLoader 9008).
- π± Installation of custom recaveri (TWRP) on an already unlocked device.
Important: Xiaomi periodically tightens security policies.If your device was released after July 2021, some methods (for example, firmware through EDL without authorization) may not work.
2. Firmware Preparation: What to Do Before Starting
Before you start the firmware, be sure to follow these steps:
1. Back up your data. The firmware erases all files, including photos, contacts and messages. Use Mi Cloud, Google Photos or physical copying on your PC.
2. Charge the phone to at least 60%. interruption of the process due to battery discharge can lead to irreparable damage.
3. Install the necessary drivers:
- Qualcomm drivers for EDL-The system (if you plan to use it).
ADB/Fastboot Drivers (download from Xiaomi or Googleβs SDK Platform Tools).
4. Download the correct firmware. for Redmi Note 9 (merlin) only tagged files are suitable merlin_global or merlin_eea (depending on the region).
List of official sources for downloading firmware:
- π Official website of Xiaomi (Global)
- π¨π³ Official site Xiaomi (China) - for firmware CN.
- π Xiaomi Firmware Updater β Archive of All Versions.
β οΈ Warning: Do not download firmware from questionable forums or torrent trackers. Fake files may contain malware or be collected with errors, which will lead to a brick.
Make a data backup|Charge the phone. >60%|Install drivers ADB/Fastboot|Download the official firmware for merlin|Disable antivirus (can block firmware files)-->
3. Method 1: Fastboot firmware (without unlocking the bootloader)
This method is suitable if you want to return stock firmware without unlocking the bootloader. It only works with official images from Xiaomi and does not allow you to install custom firmware.
Step-by-step:
- Download the firmware in.tgz format for Fastboot (for example, merlin_global_images_V12.5.1.0.RJOMIXM_20210913.0000.00_11.0_global_XXXXXX.tgz).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\merlin_fastboot).
- Turn off the phone and press Volume Down + Power to enter the Fastboot (the image of a hare in a hat-eared will appear).
- Connect your phone to your PC and start the Mi Flash Tool (you can download from the official website).
- In Mi Flash Tool, click Select and specify the path to the folder with the unpacked firmware.
- Select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
- Press Flash and wait until it is completed (5-10 minutes).
β οΈ Note: If you choose Clean all and lock, the bootloader will be blocked again, and you will need to wait for the unlock again to install custom firmware.
Possible errors and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Can't receive hello packet | Problems with drivers or USB-connection | Reinstall drivers, try another cable/port |
| Flash not done. Unknown error | A damaged firmware file | Download the firmware again, check the checksum (MD5) |
| Device is locked | Trying to flash custom firmware on a blocked bootloader | Use only official images or unlock the bootloader |
π‘
If the Mi Flash Tool doesnβt see the device, try running it on behalf of the administrator or temporarily disable Windows Defender protection.
4. Method 2: Firmware through EDL-regime (for βbricks")
EDL-Emergency Download Mode is a firmware emergency mode that is used when the phone is not turned on, stuck on the logo or not defined in the Fastboot. For the Redmi Note 9, it is activated via a button combination or forced through a button combination. ADB.
β οΈ Note: Xiaomi has been blocking unauthorized access to the Internet since 2021 EDL If your Redmi Note 9 was produced after July 2021, this method may not work without official permission (authorization through your Mi Account).
How to log into EDL:
- Turn off the phone.
- Press Volume Up + Volume Down and connect the USB cable to the PC.
- Hold the buttons for 10-15 seconds until Qualcomm HS-USB QDLoader 9008 appears in Device Manager.
If the button combination does not work, use ADB:
adb reboot edlTo run through EDL, you will need the Mi Flash Tool (the same as the Fastboot), but with additional Qualcomm drivers. Download them from the official website or use the QDLoader Driver package.
The firmware process is similar to Fastboot, but instead of Clean all, choose Clean all and lock if you want to get your phone back to a fully stocked state.
What to do if EDL-no-determined?
5. Method 3: Unlock the bootloader via Mi Unlock Tool
If you need complete freedom (installation) TWRP, Custom firmware, root rights, you have to unlock the bootloader, it takes up to 7 days and requires you to link your Mi Account to your device.
Step-by-step:
- Download Mi Unlock Tool from the official website.
- Log in to your Mi Account on your phone and enable sync.
- Go to Settings β About Phone β MIUI version and tap 7 times to activate Developer Mode.
- Back to Settings β Additionally. β For developers and include OEM-unlocking and debugging USB.
- Connect your phone to your PC, launch the Mi Unlock Tool and follow the instructions.
You'll have to wait to send the unlock request. You can check the status in the app. When the timer is zero, plug your phone in Fastboot mode and press Unlock.
β οΈ Note: If you bought the phone with your hands, the previous owner could have linked his Mi Account. In this case, unlocking is possible only after resetting the account through Xiaomi Service Center.
π‘
Unlocking the bootloader resets all the data on the phone.
6. Installation of custom firmware after unlocking
Once unlocked, you can install custom recavators (TWRP) and firmware like Pixel Experience or LineageOS. However, there are limitations to the Redmi Note 9:
1. There is no official TWRP for merlin. You have to use informal builds (for example, from XDA Developers).
2. firmware based on Android 12+ may not work stable due to problems with the drivers MediaTek Helio G85.
3. Banking applications (Sberbank, Tinkoff) can block work on custom firmware due to the lack of SafetyNet certification.
Instructions for installing TWRP:
- Download the unofficial TWRP for merlin (e.g., from here).
- Rename the file to recovery.img and place it in the folder with ADB.
- Turn off your phone and log in to Fastboot.
- Fastboot flash recovery recovery.img fastboot boot recovery.img
- After downloading to TWRP, make a backup of the persist partition (important for IMEI!).
For custom firmware installation:
- Download firmware in.zip format (e.g. Pixel Experience).
- Transfer the file to your phone or flash drive.
- In TWRP, select Wipe β Advanced Wipe and select Dalvik, Cache, System, Data.
- Press Install, select a firmware file and confirm the installation.
7. Frequent errors and their solutions
Even if you follow the instructions, you can have problems.
π΄ The phone does not turn on after firmware (brick)
- π Try to stitch through EDL (see method 2).
- π§ If EDL Not determined, check Test Point (soldier iron required).
- π± If the screen is black, but the phone vibrates when you connect the charger, maybe the display firmware has gone off.
π΄ The error "Invalid image" in the Fastboot
- π Check that the firmware is designed specifically for merlin (not merlinin or merlinin). merlin_pro).
- π Download the firmware again - the file could download with errors.
π΄ IMEI He jumped or became "Null"
- π‘ This happens when the partition persists. Restore it from the backup to the TWRP.
- π§ If you donβt have a backup, use tools like Maui. META or SN Writer for recovery IMEI (requires authorization).
π΄ phone is stuck on startup Mi logo after firmware
- π Try resetting your settings with Fastboot: fastboot erase userdata fastboot reboot
- π± If it doesnβt work, swipe your phone again with the Clean all option in the Mi Flash Tool.
π‘
If the sensor or camera doesn't work after the firmware, chances are you've installed the firmware for another model. Check the device's code name in Fastboot with the fastboot getvar product command.