How to flash Xiaomi Redmi 9 without unlocking the bootloader: 3 working ways

Owners of Xiaomi Redmi 9 (codenamed lancelot) often face the need to reflash the device - whether it is a recovery from a crash, updating to the current version of MIUI or installing custom firmware. The main obstacle: the official policy of Xiaomi requires unlocking the bootloader through the Mi Unlock Tool, which takes up to 720 hours of waiting (30 days) and connects the account to the device. But what to do if there is no time to wait or unlock for some reason is not available?

There are workarounds that allow you to flash Redmi 9 without unlocking the bootloader, but all of them have limitations and risks. In this article, we will discuss three proven methods (taking into account current versions of MIUI 14/15 and Android 12/13), their pros, cons and potential consequences. Importantly, none of them guarantees 100% success, and the wrong actions can lead to a β€œbrick” of the device without the ability to recover through standard tools.

Before you go to the instructions, make sure your Redmi 9 meets the following criteria:

  • πŸ“± Model: Redmi 9 (Lancelot – check in Settings β†’ The phone. β†’ Model. For other models (e.g. Redmi) 9A/9C/9T) The methods may not work.
  • πŸ”‹ Battery charge: at least 60% – interruption of the process due to discharge is fraught with hardware damage.
  • πŸ’» PC: Windows 10/11 with Windows Defender disabled and drivers installed ADB/Fastboot.
  • πŸ”— Cable: original USB Type-C: Cheap cables can cause data transmission errors.
πŸ“Š Why do you want to install Redmi 9?
Update MIUI to the latest version
Install custom firmware (LineageOS, Pixel Experience)
Restore the phone after a failure
Remove ads and bloatware
Another option

1. Firmware through Fastboot bypassing loader check (the "EDL" method)

The Emergency Download Mode (EDL) method allows you to flash your device in emergency mode without locking the bootloader, which is suitable for restoring bricks or forcing the installation of official firmware, but it requires a special auth file for your model, which Xiaomi does not distribute publicly.

How does it work? In EDL mode, the phone connects to the PC via the Qualcomm 9008 port, which allows you to use utilities like Mi Flash Tool or QFil to firmware stock ROM. The main nuance: without an authorized auth file (unique for each device), the firmware will end up with a Sahara Communication Failed error.

  • βœ… Pros: Restores the device even with a damaged boot partition.
  • ❌ Cons: Requires an auth file that can only be obtained through Xiaomi service centers (cost) ~1500–3000 β‚½). The risk of turning your phone into a brick if you interrupt the process.

Step-by-step:

  1. Download the official firmware for Redmi 9 (select the Fastboot ROM version).
  2. Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\lancelot).
  3. Install Qualcomm HS-USB QDLoader 9008 drivers (can be found in the Mi Flash Tool package).
  4. Turn off the phone, press the volume up. + Volume down and connect to the PC – the device will be determined as QHSUSB_BULK.
  5. Run the Mi Flash Tool, select the firmware folder and press Refresh. If the phone is detected, press Flash.

⚠️ Note: If the Mi Flash Tool gives you a Couldn't find device error, check the drivers or try another one. USB-port, use of hubs or USB 3.0 can cause problems.

Where to get an auth file for EDL?
Officially, it can only be obtained from an authorized Xiaomi service center. Alternative sources (forums, telegram chats) often distribute fake or outdated files, leading to firmware errors. The risk of blocking IMEI when using pirated auth files is ~30%.

2. Install Custom Recovery (TWRP) through vulnerability in ADB

This exploits vulnerability in ADB, which allows you to temporarily gain rights to write to the recovery partition. It only works on MIUI firmware older than 12.5.3 (on new versions, the vulnerability is closed). If your Redmi 9 has not yet been updated, the chance of successfully flashing TWRP is ~70%.

What you need:

  • πŸ”§ TWRP for Redmi 9 (version 3.7.0_12-0 or newer).
  • πŸ–₯️ Utilities. ADB and Fastboot (download to Android) SDK).
  • πŸ“ Firmware in.zip format (for example, LineageOS or Pixel Experience).

Instructions:

adb shell


su




dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery




reboot recovery

Once you reboot to TWRP, you can flash custom firmware, but the bootloader will remain locked.

  • βœ… You can install.zip-firmware through TWRP.
  • ❌ You can’t modify the boot section (leads to bootloop).
  • ❌ You can’t install Magisk for root rights (requires patching) boot.img).

⚠️ Attention: If after installation TWRP The phone is loaded into stock recovery, so the vulnerability is closed by the update.

Enable USB debugging in Settings β†’ About Phone β†’ MIUI Version (7 clicks) β†’ For Developers

Connect your phone to your PC and confirm your trust in your computer

Download TWRP and firmware to a memory card (not internal memory!)

Disable data encryption in TWRP (Wipe β†’ Format Data β†’ yes)-->

3.Use of the utility "Mi Unlock (Alternative)" to bypass the waiting

There are modified versions of the Mi Unlock Tool that allow you to unlock the bootloader without 720 hours of waiting, such as the XiaomiTool V2 utility or Python-based scripts that mimic the responses of Xiaomi servers.

  • 🚫 Blocking your Mi Account on suspicion of fraud.
  • 🚫 Warranty loss (if the device is linked to the account).
  • 🚫 "Soft Brick (device loads but fails anti-rollback check).

Algorithm of action:

  1. Download XiaomiTool V2 and unpack.
  2. Sign in to Mi Account on your phone and tool.
  3. Connect Redmi 9 in Fastboot mode (clamp Volume Down + Power).
  4. Select Bypass Mi Account (if required) and Unlock Bootloader.
  5. If you see a Couldn't unlock error, try again in 24 hours.
MethodRequires unlocking.Risk of a brickSupport for custom firmware
EDL with an auth file❌ No.⚠️ Medium.βœ… Yes, stock only. ROM)
TWRP via ADB❌ No.⚠️⚠️ High-pitchedβœ… Yes (no boot modification)
Mi Unlock Alternativeβœ… Partially.⚠️⚠️⚠️ Very tall.βœ… Complete.

πŸ’‘

If the phone doesn't turn on after you've run through EDL, try clamping Volume Up + Power for 20 to 30 seconds, which sometimes helps you get out of the soft breech by resetting the cache.

4.Alternative methods: firmware via OTA with modified package

If your goal is simply to update MIUI Before the latest version, you can try the modified version. OTA-Some developers create firmware that bypasses the loader check by changing the structure. update.zip. For example, the project MIUI bootloader offers "clean" versions MIUI without Bloatware, which can be installed through stock recovery.

How it works:

  1. Download. OTA-bundle for your model (for example, with Xiaomi Firmware Updater).
  2. Rename the file to update.zip and copy it to the root of the internal memory.
  3. Go to stock recovery (Loudness up + Power), select Install update.zip.
  4. After the reboot, you get an updated MIUI without unlocking.

Limitations:

  • πŸ”„ Works only for updates (not for downgrades or region changes).
  • πŸ”’ It does not allow you to install custom firmware (only official). MIUI).
  • πŸ›‘οΈ Anti-rollback protection can work if the firmware version is older than the current one.

πŸ’‘

Modified OTA-Packages are the safest way to update MIUI without unlocking, but they do not give freedom custom firmware and require strict adherence to versions.

5 Risks and how to minimize them

Any firmware without unlocking the bootloader is a game of roulette.

  • πŸ’€ "Hard brick: Device not turned on, not detected by PC. Restore only through EDL auth file (cost) ~3000 β‚½ service).
  • πŸ”’ Lockdown IMEI β€” If you get the Modem Module Firmware wrong, the phone loses the network. EDL.
  • 🚨 Anti-rollback – if you run the version MIUI older supported, the device is locked at the bootloader level.

How to reduce the risks:

  • πŸ“Œ Use only firmware designed for lancelot (check the model name in the build.prop file).
  • πŸ”‹ Switch from a charged battery (minimum 80%) and with a connected cable.
  • πŸ’Ύ Make a NANDroid backup in TWRP (if we can install it).
  • πŸ› οΈ Have an auth file on hand for EDL fail-in.

⚠️ Note: If your Redmi 9 is purchased on credit or tied to an operator (for example, MTS / Beeline), the firmware can reset the connection to the network.

6. What to do if nothing works?

If all the methods fail, you have three options:

  1. Official unlock: Sign up for Mi Account. Link your account to your phone at Settings β†’ Xiaomi Account. Download Mi Unlock Tool and follow the instructions (waiting 720 hours).
  2. Service center: The cost of unlocking the bootloader: ~1500–2500 β‚½. Cost of recovery after the brick: ~3000–5000 β‚½.

Sale of spare parts

  • You can get help on Avito or Yula. ~3000–5000 β‚½ Redmi 9 (if the screen and body are intact).

If you decide to give up and wait for the official unlock, remember: 720 hours is 30 days of active waiting.

  • You untie your Mi Account from your phone.
  • There was a re-flash through Fastboot.
  • The device was reset to factory settings.

FAQ: Frequent questions

Can I play Redmi 9 without a PC?
No. All firmware methods without unlocking the bootloader require a connection to the computer, and the only exception is an OTA update, but it doesn't allow custom firmware to be installed.
Will Google Pay work after the firmware?
If you’ve been flashing your device without unlocking the bootloader and you haven’t installed Magisk, Google Pay will work, but custom firmware (like LineageOS) may require manual certification via SafetyNet.
How to check if the bootloader is unlocked?
Turn off your phone, press Volume Down + Power to log into Fastboot. If there's Unlocked at the bottom of the screen and the yellow lock icon, the bootloader is unlocked. If Locked is locked.
Can I return the warranty after the firmware?
Theoretically, yes, if you return the stock firmware and lock the bootloader back, but Xiaomi logs with the bootloader, and the service center can detect signs of interference, the warranty is canceled when: Unlock the bootloader, install custom firmware, modify boot or restore partitions.
What is an anti-rollback and how to avoid it?
Anti-rollback is Xiaomi’s protection to prevent rollbacks to the older version of MIUI. If you flash an older version and then try to go back, the device locks. To avoid: Always check the MIUI and Android version in firmware. Do not install firmware with a newer anti-rollback index (indicated in the file name, for example, V12.5.1.0.RJCRUXM).