Why do you need to use the Mi 9 Lite and what are the risks?
The Xiaomi Mi 9 Lite (codenamed pyxis) is still a popular smartphone due to its balance of performance and price, but over time, official MIUI support runs out, and users are faced with brakes, lack of security updates, or the desire to install custom firmware like LineageOS or Pixel Experience.
It is important to understand that any firmware is an interference with the system files of the device. Incorrect actions will lead to a โbrickโ (complete failure), loss of warranty or problems with the IMEI module. For example, when installing an incompatible version of MIUI, the camera or fingerprint sensor can break. So before you start, check the bootloader version and the device model in Settings โ About the phone.
In this guide, we will analyze all the current ways to install the Mi 9 Lite firmware in 2026: from the official update via MIUI Updater to install custom firmware through TWRP and Fastboot. Particular attention will be paid to unlocking the bootloader - a mandatory step for most methods.
1. Firmware Preparation: What to Do Before Starting
Before you start firmware, follow the mandatory preparatory steps, which can lead to data loss or software failure.
- ๐ฑ Save all the data: firmware will reset the device to factory settings. Use Mi Cloud, Google Drive or physical copying on your PC.
- ๐ Charge the battery to at least 60%, and when discharged during firmware, the smartphone can turn into a brick".
- ๐ Install drivers: to work with Fastboot and ADB Download official Xiaomi drivers or Mi Flash Tool package.
- ๐ Check the model: type in ##4636### and make sure pyxis is displayed (for Mi 9 Lite).
Also, prepare a USB Type-C cable (preferably original) and a Windows 10/11 PC (for Fastboot).
- ๐ฆ TWRP Recovery for pyxis (up-to-date version from official website).
- ๐ฑ Firmware: official (from the Xiaomi website) or custom (from the site Xiaomi) XDA Developers).
- ๐ Unlock Tool to unlock the bootloader (if it is blocked).
โ ๏ธ Note: If your Mi 9 Lite is purchased in China ROM), To unlock the bootloader, you will need to link the Mi Account account to the device and wait for 7-15 days for confirmation from Xiaomi. ROM) unlock faster.
Make a data backup|Charge the phone. โฅ60%|Install Xiaomi drivers|Download the firmware and TWRP (if necessary)|Connect Mi Account (to unlock)-->
2 Unlock the bootloader on the Mi 9 Lite
The factory bootloader on all Xiaomi smartphones is locked, and to flash the device through Fastboot or install TWRP, it must be unlocked, a process that takes anywhere from a few minutes to a week, depending on the version of MIUI and the region of the device.
Instructions for unlocking:
- Activate Developer Mode: Go to Settings โ About Phone and click on MIUI Version 7 times.
- Enable USB debugging and OEM unlocking in Settings โ Additional โ For developers.
- Attach Mi Account to your device in Settings โ Xiaomi Account.
- Download Mi Unlock Tool, log in and connect your phone in Fastboot mode (clip Volume Down + Power).
- If you receive a message about the need to wait, wait for the specified time (usually 72-168 hours).
Once successfully unlocked, the phone will automatically reset to factory settings, and you can now start the firmware.
โ ๏ธ Warning: Unlocking the bootloader will void the Xiaomi warranty.If the device is warranty, use only official updates via MIUI Updater.
What if the Mi Unlock Tool canโt see the device?
Method 3: Firmware via MIUI Updater (official update)
The safest method is to upgrade through the built-in MIUI Updater app, which is suitable for installing official stable or beta versions of MIUI without unlocking the bootloader, but this method will not allow you to downgrade the software version or install custom firmware.
Step-by-step:
- Open the MIUI Updater app on your phone.
- Click on the icon. โฎ (three dots) in the upper right corner and select Select Service Package.
- Specify the path to the downloaded firmware file (.zip format). 9 Lite file name should start with pyxis_.
- Confirm the installation and wait for the restart. It'll take 5-15 minutes.
If the update is โhangingโ during the verification phase, try:
- ๐ Rename the firmware file to update.zip try again.
- ๐ Move the file to the root of internal memory (not to folders).
- ๐ Make sure the battery is charged โฅ50%.
| Type of firmware | Suitable for | Do you need unlocking? | Data dump? |
|---|---|---|---|
| Stable MIUI (official) | Update of the current version | โ No. | โ No. |
| MIUI beta | Testing of new functions | โ No. | โ No (but bugs are possible) |
| Downgrading of MIUI version | A return to the old firmware | โ Yes. | โ Yes (full reset) |
| Castom firmware (LineageOS, etc.) | Installation of alternative software | โ Yes. | โ Yes. |
๐ก
If after updating through MIUI Updater, the phone began to brake, reset the cache: turn off the device, press Volume up + Power, select Wipe Cache in the Recovery menu.
Method 4: Fastboot (Mi Flash Tool)
Fastboot is suitable for installing official firmware (including for recovery of "brick") or downgrading the version of MIUI. This will require an unlocked bootloader and a PC with the Mi Flash Tool installed.
Instructions:
- Download Fastboot firmware for pyxis from the official website (file in.tgz or.zip format).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\Mi9Lite_Fastboot).
- Turn off the phone and put it in Fastboot mode (clamp Volume down + Power).
- Connect the device to your PC and start the Mi Flash Tool.
- In the program, click Select, specify the folder with the unpacked firmware, then select Clean all (full cleaning) or Clean all and lock (clean + lock the bootloader).
- Press Flash and wait until it is completed (10-20 minutes).
Important: If you choose Clean all and lock, the bootloader will lock again and the next firmware will require re-unlocking.
Fastboot Firmware Errors and Their Solutions:
- ๐ซ Anti-rollback check fail: try to install an older version MIUI It's a device with an updated recoil mechanism, and the solution is to flash only the new version.
- ๐ Device not found: problems with drivers or cable. try another port or reinstall drivers.
- โณ Flash timeout: too slow connection. USB 2.0 and turn off the others USB-device.
๐ก
Fastboot firmware is the only way to restore the blinky Mi 9 Lite if it doesnโt turn on or gets stuck on the logo.
5. Method 3: Install custom firmware via TWRP
To install alternative firmware (LineageOS, Pixel Experience, Havoc-OS) will require custom recovery โ TWRP. This method gives full control over the system, but requires caution.
Installation steps:
- Download the current version of TWRP for pyxis from the official website (.img file).
- Transfer the phone to Fastboot mode and connect to the PC.
- Open the command line in the folder with ADB Enter: Fastboot Flash Recovery twrp-3.7.0_9-0-pyxis.img fastboot reboot recovery
- In TWRP, run Wipe โ Format Data (required for custom firmware!).
- Transfer the firmware file (.zip) to your phone via MTP (in TWRP, select Mount โ Enable MTP).
- Install the firmware through Install, then repeat the step for GApps (if you need Google services).
- Reboot to the system.
The most popular custom firmware for Mi 9 Lite:
- ๐ฑ LineageOS 20 (Android 13) is fast and stable.
- ๐จ Pixel Experience โ pure Android with chips from Pixel.
- โก Havoc-OS โ flexible configuration and high performance.
โ ๏ธ Note: After installing custom firmware may not work: - Data encryption (solved by disabling encryption in the TWRP). - Banking apps (due to lack of Google certification โ Magisk will be required to hide the root) โ Fingerprint sensor (in some builds).
6. Solving common firmware errors
Even with the exact instructions, there can be errors, and letโs look at the most common problems and solutions for the Mi 9 Lite.
| Mistake. | Reason. | Decision |
|---|---|---|
| This package is for "pyxis" devices; this is a "" | Disparity between the device model and firmware | Download the firmware specifically for pyxis (Mi 9 Lite) |
| E: Footer is wrong (TWRP) | A damaged firmware file | Download the archive and check the checksum (MD5) |
| Hanging on the MI logo | Incompatible firmware or incomplete cleaning | Sign in to Fastboot and run the official MIUI via the Mi Flash Tool |
| Anti-rollback check fail | Reverse to the old version of MIUI | Only use the new version or custom firmware. |
If the phone does not turn on after the firmware:
- Try going to Fastboot (Loudness Down + Power) and flash the official MIUI.
- If the screen is black, plug it into charging for 30 minutes, possibly the battery has run out.
- For a soft breech (hang on the logo), a reset via TWRP (Wipe โ Format Data) will help.
If nothing works, contact the service center. In some cases, you need to flash through the service. EDL-Download emergency mode, which is only possible with an authorized Xiaomi account.
7.How to get back the official MIUI after custom firmware
If custom firmware is unstable or you need official updates, you can return stock MIUI.
- Download Fastboot firmware for your model from the Xiaomi website.
- Unpack the archive and launch the Mi Flash Tool.
- Select Clean all and lock mode - this will return factory settings and block the bootloader.
- After firmware, the phone will automatically reboot to stock MIUI.
If after returning to the official firmware do not work:
- ๐ถ Network: check IMEI *#06# If lost, restore through SN Write Tool (requires authorization).
- ๐ Fingerprint Sensor: Reset to Settings โ Biometry.
- ๐ Sound: Update drivers through Settings โ The phone. โ Update of the PO.
๐ก
Return to the official MIUI is necessary before contacting the service center - otherwise warranty repair will be impossible.