How to flash Xiaomi Mi9 Lite: all methods and step-by-step instructions

Xiaomi Mi9 Lite (codenamed pyxis) remains a popular smartphone even years after its release due to balanced performance and active support for custom firmware. However, standard updates through MIUI Updater sooner or later stop, and the desire to install a fresh version of Android, remove ads in MIUI or restore the โ€œbrickโ€ device forces users to look for alternative ways of firmware.

In this article you will find the latest methods of firmware Mi9 Lite in 2026, from official updates to custom builds like LineageOS or Pixel Experience, weโ€™ll go through every step of the way, from unlocking the bootloader to solving common bugs like anti-rollback or fastboot unknown command. We will pay special attention to data security and nuances associated with this model (for example, the problem with the data security system). EDL-post-failure).

Preparation for firmware: what you need to know before you start

Xiaomi Mi9 Lite firmware is a simple process, but it requires careful attention. The main mistake of beginners is to skip the preparation stage, which often leads to a โ€œbrickโ€ (inoperable state) of the device.

  • ๐Ÿ”“ Unlocking the bootloader is a must for any unofficial firmware, and without it, you can only update through the standard firmware. MIUI Updater.
  • ๐Ÿ“ฑ Data retention: firmware erases internal memory. Use Mi Mover or Google Drive for backup.
  • ๐Ÿ”‹ Battery charge at least 60%. interruption of the process due to discharge can damage the boot partition.
  • ๐Ÿ–ฅ๏ธ Windows PC 10/11 (for Fastboot/EDL). Nana Linux/Mac Possible problems with Qualcomm drivers.

Feature Mi9 Lite is a Snapdragon 710 chipset that supports EDL-Emergency Download Mode for recovery from serious crashes, but activating this mode requires an authorized Xiaomi account or a special box (for example, UFi Box.

โš ๏ธ Attention: If yours Mi9 Lite was purchased in China (version with the C suffix in the model), firmware global or European MIUI It can block the network due to differences in modem files. โ†’ The phone. โ†’ Version. MIUI.

๐Ÿ“Š What kind of firmware you plan to use?
Official MIUI Updater
Fastboot (via Mi Flash)
Castom Recovery (TWRP)
EDL-mode (emergency recovery)

Method 1: Officially Updated via MIUI Updater

The safest method is to upgrade through the built-in MIUI Updater, which is suitable for installing stable and beta versions of MIUI without losing data and unlocking the bootloader.

  1. Open Settings โ†’ About the phone โ†’ System update.
  2. Click on the icon. โ‹ฎ (three dots) in the upper right corner and select Select Service Package.
  3. Specify the path to the downloaded firmware file (the.zip format, the name should contain pyxis โ€“ the code name of the device).
  4. Confirm the installation and wait for the restart (it will take 5-15 minutes).

Where to get the official firmware? Download only from the official Xiaomi website, selecting the Mi9 Lite (pyxis).

  • ๐ŸŒ Global โ€“ for international versions, for example, pyxis_global).
  • ๐Ÿ‡ช๐Ÿ‡บ EEA โ€” Europe (without Google services in some builds).
  • ๐Ÿ‡จ๐Ÿ‡ณ China โ€“ Chinese version (requires manual installation of Google Play Services).

Type of firmwareAndroid versionFile sizeFeatures
A stable globalAndroid 10 (MIUI 12.5)~2.1 GBThe latest official version for the Mi9 Lite
Beta version (Weekly)Android 11 (MIUI 13)~2.3 GBIt may contain bugs, but with new features
Castomic (LineageOS)Android 13~1.8 GBRequires an unlocked bootloader and TWRP

โš ๏ธ Note: If you update through MIUI Updater appears error "Can't verify update", check the integrity of the downloaded file (compare hash amount) MD5 (c) or rename the file to update.zip.

๐Ÿ’ก

Official updates via MIUI Updater do not require unlocking the bootloader and save all data, but are limited to MIUI versions released by Xiaomi.

Method 2: Fastboot (Mi Flash Tool)

The Fastboot method is used to completely flash the device, including recovering from a soft breeze, and requires an unlocked bootloader and a PC with Qualcomm drivers installed. Here is a step-by-step instruction:

Download Mi Flash Tool from the official website|Install Qualcomm Drivers (QDLoader)|Unclose the firmware (file with extension.tgz)|Disable antivirus (can block firmware files)-->

Step 1 Unlocking the bootloader

Xiaomi is blocking the bootloader on all devices to unlock it:

  1. Link your Mi Account to your phone in Settings โ†’ Xiaomi account.
  2. Go to Settings. โ†’ Additionally. โ†’ For developers and turn on OEM-unlock.
  3. Turn off the phone, press Volume Down + Power to log into the Fastboot.
  4. Connect to your PC and use the Mi Unlock Tool (download on the official website), waiting time for unlocking up to 72 hours (for new accounts).

Step 2: Installation of firmware

Download the Fastboot firmware (.tgz format) and unpack it into a folder without Cyrillic characters.

  1. Run the Mi Flash Tool on behalf of the administrator.
  2. Click Select and point the way to the firmware folder.
  3. Connect your phone in Fastboot mode (black screen with a rabbit and the words Fastboot).
  4. Select Clean All or Clean All and Lock (if you want to lock the bootloader after you have been firmware).
  5. Press Flash and wait until it is completed (10-20 minutes).

Important: Fastboot firmware with the โ€œClean all and lockโ€ option will block the bootloader, making it impossible to install custom recoveries or firmware in the future without re-unblocking.

What to do if the Mi Flash Tool gives you a โ€œflash not doneโ€ error
1. Check that you are using the latest version of the Mi Flash Tool (at least below). 2020.3.14.0). 2. Turn off driver signature verification in Windows (via command line: bcdedit) /set testsigning on). 3. Try another one. USB-port (preferably) USB 2.0) cable. 4. If persists error, download the firmware again - the file may have been corrupted.

Method 3: Install custom firmware through TWRP

For enthusiasts wanting to install LineageOS, Pixel Experience or other custom builds, TWRP Recovery is required, a method that gives full control of the system, but requires an unlocked bootloader and knowledge of the basic ADB commands.

Step 1: Installation of TWRP

Download the latest version of TWRP for pyxis from the official website.

  1. Transfer the phone to Fastboot (Loudness down + Power).
  2. Connect to your PC and check the connection with the command: fastboot devices must display the serial number of the device.
  3. Install. TWRP: fastboot flash recovery twrp-3.7.0_9-0-pyxis.img fastboot boot twrp-3.7.0_9-0-pyxis.img The second command loads the phone directly into the TWRP.

Step 2: Firmware custom ROM

TWRP:

  1. Backup your current firmware (Backup โ†’ Select System/Data โ†’ Swipe for confirmation).
  2. Go to Wipe โ†’ Advanced Wipe and mark Dalvik, Cache, System, Data. Swipe for cleaning.
  3. Return to the main menu, select Install and specify the path to the firmware file (for example, lineage-20.0-20231210-pyxis.zip).
  4. After installation, go through Gapps (if you need Google services) and Magisk (for root rights).
  5. Reboot โ†’ System: The first launch can take up to 10 minutes.

Popular custom firmware for Mi9 Lite:

  • ๐Ÿ“ฑ LineageOS 20 (Android 13) โ€“ pure Android without unnecessary applications.
  • ๐ŸŽจ Pixel Experience โ€“ The interface is like Google Pixel + monthly security updates.
  • โšก ArrowOS โ€“ Optimized Performance and Customization.
  • ๐Ÿ”’ Havent OS โ€” Focus on privacy (without Google services by default).

โš ๏ธ Attention: Installation of custom firmware on Mi9 Lite with version MIUI below 12.0.3.0 can cause an anti-rollback problem.If the phone doesn't start after firmware and flashes a red LED, you'll need to run through the firmware. EDL logged-in.

๐Ÿ’ก

Before installing custom firmware, check on the XDA-Developers forum if there are any camera or modem bugs in the selected build. For example, some versions of LineageOS do not run the Mi9 Lite wide-angle camera module.

Method 4: Recovery through EDL-mod (for bricks")

EDL-Emergency Download Mode โ€“ The last chance to bring your phone back to life if it doesnโ€™t turn on, isnโ€™t detected in Fastboot, or gives a Qualcomm error HS-USB QDLoader 9008, however, requires a:

  • ๐Ÿ”Œ Authorized Xiaomi account (for official firmware) or boxing type UFi/EasyJTAG.
  • ๐Ÿ’ป PC with Qualcomm drivers and Mi Flash Pro or QFil.
  • ๐Ÿ“„ Firmware in.mbn format (for Mi9 Lite is a good fit. pyxis_edl_firmware).

Instructions:

  1. Turn off the phone. Press the volume up. + Volume down and connect to the PC. The device should be determined as QHSUSB_BULK qualcomm HS-USB QDLoader 9008.
  2. Run Mi Flash Pro, select firmware and press Refresh.The device should appear in the list.
  3. Press Flash and wait until it is completed (the process can take up to 30 minutes).
  4. After successful firmware, the phone will automatically reboot to the system.

If you donโ€™t have an authorized account, you can try to circumvent the restriction with a patched file. prog_emmc_firehose_8953.mbn (look 4PDA or XDA). However, it is risky โ€“ the wrong file can permanently damage eMMC memory.

๐Ÿ’ก

EDL-Mod is the only way to restore Mi9 Lite after serious failures (such as damage to the boot or modems partition), but requires special hardware or authorization from Xiaomi.

Typical errors and their solutions

Even when following instructions, users often encounter problems, and here are the most common Mi9 Lite firmware bugs and ways to fix them:

Mistake.Reason.Decision
Fastboot unknown commandOlder version of fastboot or driversUpdate ADB/Fastboot to 33.0.3 or use the Mi Flash Tool
Anti-rollback check failTrying to flash the old version of MIUI after the new oneSweep the same or newer version through Fastboot with the clean all option
This package is for pyxis devices; this is aModel mismatch in firmware file and deviceDownload firmware specifically for pyxis (not for lavender or other models)
The phone does not turn on after the firmwareThe boot or modem section is damagedTry flashing through EDL or repeat the process in Fastboot with a full cleanup
E: Unknown command [log] in TWRPThe Incompatible Version of RecaveriInstall TWRP 3.7.0 or later (for Android 12+)

If the IMEI is missing after the firmware or the mobile network is not working, restore the modem files:

  1. Download the original firmware for your Mi9 Lite version.
  2. Remove the nvdata.bin and nvram.net files from the archive (located in the image folder).
  3. Fastboot: fastboot flash nvdata nvdata.bin fastboot flash nvram nvram.net

How to check the success of the firmware

Once the firmware is complete, it's important to make sure everything goes right.

  • ๐Ÿ“ฑ Verification of the version MIUI/Android: Go to Settings. โ†’ Check the build number against what you installed.
  • ๐Ÿ“ถ Network Test: Make sure you are determined IMEI (Enter *#06# and catch the network (try calling or turning on mobile internet).
  • ๐Ÿ”‹ Charging and sensors: connect charging - the indicator should burn, and in Settings โ†’ The battery should display consumption data.
  • ๐ŸŽต Sound and vibration: Check speakers, microphone and vibrator (for example, through voice recording or music playback).
  • ๐Ÿ“ท Camera: Launch the camera app and test all modules (main, wide-angle, front-facing).

If something doesn't work, go back to TWRP (if installed) and restore the backup, or repeat the firmware with a full partition cleanup.

adb logcat > log.txt

This command will save the system log to a log.txt file that can be analyzed on forums.

๐Ÿ’ก

Once you have custom firmware installed, it is recommended that you calibrate the battery: completely discharge the phone, then charge to 100% without interruption, which will help the system correctly determine the level of charge.

FAQ: Frequent questions about the firmware Xiaomi Mi9 Lite

Can I flash the Mi9 Lite without unlocking the bootloader?
Yes, but only through MIUI Updater (official updates). To install custom firmware or firmware through Fastboot/TWRP, unlocking is mandatory. Except for recovery through EDL with an authorized account, but this does not eliminate the need to unlock for further manipulation.
How do I know if my Mi9 Lite bootloader is unlocked?
Turn off your phone and press Volume Down + Power to log into the Fastboot. If you have "Unlocked" on the bottom of the screen with an open lock, the bootloader is unlocked. If "Locked" is locked.
Which firmware is best to choose for the Mi9 Lite in 2026?
Depending on the goals: Stability: official MIUI 12.5 (Android 10) - the latest tested version from Xiaomi. New features: Pixel Experience (Android 13) with monthly updates. Performance: ArrowOS or LineageOS with Kirin kernel (optimized for Snapdragon 710). Privacy: Havent OS or CalyxOS (without Google services).
What if the phone doesnโ€™t turn on after the firmware (black screen)?
Try the following steps: Clutch the power + Volume up for 20 to 30 seconds (forced reboot). Connect to charge for 1 hour - possibly the battery ran out during firmware. Enter Fastboot (Loudness down) + Power) and re-flash through the Mi Flash Tool with the Clean all option. If the phone is not identified, try it. EDL-If nothing helps, contact the service center - perhaps damaged eMMC memory.
How to return the official MIUI after custom firmware?
Download the official Fastboot firmware from Xiaomi and run through the Mi Flash Tool with Clean all option. After that: The bootloader will remain unlocked (unless you choose Clean all and lock). Restore the IMEI if it is missing (see the error section). Update to the latest version via MIUI Updater.