Why are Redmi 9 owners refashioning their smartphone?
Xiaomi Redmi 9 (codenamed lancelot) remains popular even years after its release β its balanced characteristics (Helio G80 processor, 4 GB of RAM, battery 5020 mAh) attract users looking for a reliable device at an affordable price. However, over time, standard MIUI firmware begins to slow down: updates accumulate, background processes eat resources, and the manufacturer stops issuing fresh security patches.
The main reasons for installing a new firmware:
- π Productivity Improvement β Custom firmware (like LineageOS or Pixel Experience) is devoid of βjunkΒ» MIUI They work faster on the same iron.
- π Xiaomi officially stopped supporting Redmi 9 in 2023, but custom builds get monthly patches.
- π¨ Changing the interface β MIUI Not everyone likes it, but Android One or AOSP They offer a βcleanβ Android.
- π Unlocking functions β for example, activation Camera2 API to fully operate GCam or remove regional restrictions.
But it's important to understand that flashing is always a risk, and that doing something wrong can lead to a "brick," a loss of warranty, or problems with the module. NFC/Wi-Fi. So before you start, study all the nuances and prepare for the process.
Preparation for firmware: what to do before the start
The first step is to save all the data. The firmware erases the device's internal memory, so without a backup, you lose photos, contacts, and settings.
- βοΈ Cloud services: Google Photos for Media, Mi Cloud for Contacts and Notes (but note that you may need to re-authorize after firmware is installed).
- πΎ Local Copy: Connect your smartphone to your PC and copy folders DCIM, Downloads, WhatsApp on your hard drive.
- π§ Specialized utilities: Titanium Backup (requires root) or Swift Backup to save applications and their data.
Then check the current firmware version and device model. This is critical, as the firmware for the Redmi 9 (lancelot) will not work for the Redmi 9A (dandelion) or Redmi 9C (angelica).
- In settings: Settings β About the phone β Model.
- Through the command line: connect your phone to a PC with USB debugging enabled and type: adb shell getprop ro.product.model
Also prepare the tools:
- π Cable USB (original, undamaged).
- π» Computer on Windows 10/11 Linux (Macs may require additional drivers).
- π Charge at least 60% β if the battery runs out during firmware, the device can turn into a βbrickΒ».
- π₯ Drivers: Install the Mi Flash Tool (for official firmware) or ADB/Fastboot drivers (for custom drivers).
βοΈ Checklist before firmware
Official firmware: update via Mi Flash Tool
If you are satisfied with MIUI, but you need to restore the smartphone or upgrade to the latest official version, use the Mi Flash Tool.
- π Recovery after a crash (for example, if the phone is stuck on the Mi logo).
- π₯ Downgraid (rollback) to an older version MIUI.
- π Unlock the bootloader (if it is already unlocked).
Step-by-step:
- Download the firmware from the official Xiaomi website. For Redmi 9, choose files marked with lancelot and the extension.tgz (for Fastboot) or.zip (for Recovery).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\lancelot).
- Launch the Mi Flash Tool on behalf of the administrator, connect the phone turned off in Fastboot mode (clip Volume Down + Power).
- Select the firmware folder in the program and press Refresh β the device should determine how to use it. COM-port.
- Press Flash and wait until it is completed (usually 5-10 minutes).
Important: If the Mi Flash Tool produces a couldn't flash anti error, then the bootloader is locked. It must be unlocked through the Mi Unlock Tool (see next section).
| Type of firmware | File extension | Installation mode | Wipes data? |
|---|---|---|---|
| Fastboot (full) | .tgz | Fastboot mode | Yes. |
| Recovery (update) | .zip | Recovery mode | No (unless selected) |
| Anti-rollback | Included in.tgz | Fastboot | Yes (required) |
| Castomium (TWRP) | .zip | Custom Recovery | By choice. |
π‘
If the phone doesn't turn on after you've run the firmware, try squeezing Volume Up + Power for 10 seconds to force you to restart. If it doesn't work, repeat the process with another version of MIUI.
Unlocking the bootloader: a mandatory step for custom firmware
Xiaomi blocks the bootloader on all devices to protect against unauthorized changes.To install custom firmware (such as LineageOS or HavocOS), it must be unlocked through the official Mi Unlock Tool utility. The process takes up to 7 days due to Xiaomi restrictions.
Instructions for unlocking:
- Link your Mi Account to: Settings β Xiaomi Account β Sign in. Make sure you have sync enabled.
- Activate USB debugging: Settings β About Phone β MIUI version (click 7 times to become a developer), then Settings β Additional β For Developers β Debugging over USB.
- Attach the device to your account in Settings β Additional β For developers β Mi Unlock status.
- Download Mi Unlock Tool from the official website and run on behalf of the administrator.
β οΈ Note: once the bootloader is unlocked, all data will be reset and the Xiaomi warranty is canceled. L1 for Netflix HD) They may stop working.
If the Mi Unlock Tool is a Couldn't unlock error, check:
- π Is your Mi Account linked to your phone (sometimes re-authorization helps).
- π 7 days after the first binding (even if you have already unlocked other devices).
- π± Is the phone connected in Fastboot mode (on the screen should burn a hare in a hat-hushanka).
What if the Mi Unlock Tool canβt see the device?
Installation of custom firmware through TWRP
If you want to install an alternative firmware (like Pixel Experience for pure Android or CrDroid for flexible customization), youβll need custom recovery β TWRP. This method requires an unlocked bootloader and is suitable for power users.
Installation steps:
- Download TWRP for Redmi 9 from the official website twrp.me. The file will be in.img format.
- Install. TWRP Fastboot: Fastboot Flash Recovery twrp-3.7.0_9-0-lancelot.img fastboot reboot recovery
- Make a backup in TWRP: Select Backup and save Boot, System, Data partitions to SD-card.
- Sweep through the firmware: Copy the firmware file (.zip) to your phone. In TWRP, select Install β specify the file β run for confirmation. After installation, run Wipe β Format Data (required for the first installation!).
Reboot.
The following are the Redmi 9βs best features:
- π± Pixel Experience β Pure Android with Pixel features.
- π§ LineageOS β stable firmware with long support life.
- π¨ HavocOS β maximum customization of the interface.
- π ArrowOS β Optimized for Performance.
β οΈ Note: Some custom firmware does not support VoLTE (voice calls via voice) 4G) or NFC Check the reviews on Redmi 9 before installing. XDA Developers.
π‘
Custom firmware requires regular updates! Outdated builds may contain vulnerabilities or run unstable.
Recovery after a failed firmware ("bricking")
If Redmi 9 doesn't turn on after the firmware, or if it's stuck on the logo, or if it's gone to bootloop, don't panic. In 90% of cases, the device can be restored.
| Symptoms. | Possible cause | Decision |
|---|---|---|
| Black screen, no response to buttons | Full discharge of the battery during firmware | Charge your phone for 30 to 60 minutes, then try going to Fastboot (Loudness Down + Power) |
| Hanging on the Mi logo | Incompatible firmware or installation error | Swipe the official MIUI through the Mi Flash Tool with the Clean all tick |
| Cyclical reboot | Boot or System partition damaged | Install the correct firmware version via TWRP or Fastboot |
| The Anti-rollback error | Reverse to the old version of MIUI | Sweat a new firmware (rollback is impossible!) |
If the phone is not detected by the computer:
- Try another one. USB-cable.
- Keep Volume Down + Power 20β30 seconds for forced login to Fastboot.
- Use Test Point, which is an extreme method that requires disassembling the device. On Redmi 9, the point is under the back cover, next to the SIM card jack, and lock it with tweezers when you connect to your PC so that the phone is identified as a Qualcomm HS-USB QDLoader 9008.
Critical information: If the phone is identified as QDLoader 9008 after firmware, DO NOT disconnect it from the PC! This is an emergency firmware mode, and interrupting the process can lead to irreversible memory damage (eMMC).
How to update the firmware in the future
After successful firmware, it is important to keep the device up to date. The upgrade methods depend on the type of firmware:
For the official MIUI:
- π± Through Settings. β The phone. β System update (if available) OTA-update).
- π» Through Mi Flash Tool β download new versions from the official website and sew manually.
For custom firmware:
- π Through the built-in updater (if the firmware supports) OTA). For example, in LineageOS: Settings β System system β Update.
- π¦ Manually through TWRP: Download the new build (.zip). Reboot to Recovery. Select Install. β specify the file β Run it for installation. Clear the cache. β Dalvik/Cache).
Before updating, always check:
- π Compatibility with your version (lancelot).
- π bootloader status (if it is blocked, custom updates will not be installed).
- π‘ Availability of backup copy (in case of error).