Xiaomi

Xiaomi Mi 9 Lite / Mi CC9 (pyxis): Mi Flash Flashing Guide

Complete firmware flashing guide for the Xiaomi Mi 9 Lite / Xiaomi Mi CC9 using Mi Flash Tool. Covers prerequisites, firmware package setup, and step-by-step instructions.

Xiaomi Mi 9 Lite / Xiaomi Mi CC9 July 2019 (CC9) / September 2019 (Mi 9 Lite)
Models
M1904F3BG, M1904F3BC
CPU
Octa-core (2x 2.2 GHz Kryo 360 Gold & 6x 1.7 GHz Kryo 360 Silver)
GPU
Qualcomm Adreno 616
RAM
6 GB LPDDR4X
Storage
64 GB / 128 GB / 256 GB UFS 2.1
Display
6.39" Super AMOLED (2340x1080 FHD+, 403 ppi)
Battery
4030 mAh Li-Po, 18W Fast Charging
OS
Android 11 (MIUI 12.5 / V12.5.3.0.RFCEUXM)
Connectivity
Dual Nano-SIM, 4G LTE, Wi-Fi 5, Bluetooth 5.0, NFC, Infrared, 3.5mm Jack, USB-C 2.0
Colors: Aurora Blue Onyx Grey (Dark Night Prince) Pearl White

About the Xiaomi Mi 9 Lite / Xiaomi Mi CC9

The Xiaomi Mi 9 Lite / Xiaomi Mi CC9 (codename: pyxis, models M1904F3BG and M1904F3BC) launched in July 2019 (CC9) / September 2019 (Mi 9 Lite), integrating Qualcomm's Qualcomm Snapdragon 710 (SDM710, 10nm) processor with 6GB LPDDR4X RAM, a 6.39-inch Super AMOLED screen, and an illuminated rear notification logo.

Whether your phone is stuck in a bootloop, requires a clean factory unbrick via pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea_861e3ec2ae.tgz, or you want to install twrp-3.7.0_9-0-pyxis.img to flash Xiaomi.eu custom software, follow our verified instructions below.

Which Flash Mode Should You Use?

TWRP Recovery (Fastboot Recovery Image Flash)

Flashes official TeamWin custom recovery onto the dedicated physical recovery partition using fastboot flash recovery twrp-3.7.0_9-0-pyxis.img.

How to enter
From Fastboot mode, run fastboot flash recovery image, then hold Volume Up and Power to enter TWRP directly
Requires
Unlocked bootloader, TWRP image, USB data cable

Qualcomm EDL 9008 (Emergency Testpoint Unbrick)

Direct low-level hardware flashing path for deeply bricked devices that fail to turn on or cannot access the bootloader.

How to enter
Remove rear back cover, disconnect battery, and short the two gold EDL test points with metallic tweezers while connecting USB
Requires
Qualcomm QDLoader 9008 drivers, motherboard testpoint bridge, compatible programmer

Essential Preparations for Xiaomi Mi 9 Lite (pyxis)

1
Confirm Hardware Codename pyxis

Run fastboot getvar product in terminal to verify your device is pyxis (model M1904F3BG or M1904F3BC) before transferring partition images.

2
Check Anti-Rollback Counter

Execute fastboot getvar anti before flashing to ensure you are not attempting an unsupported firmware downgrade that could trip hardware fuses.

3
Install Fastboot & Qualcomm Drivers

Ensure your Windows PC properly detects the Android Bootloader Interface without driver exclamation marks in Device Manager.

4
Charge Battery Above 50%

Keep the 4030 mAh battery adequately charged to prevent unexpected power drops while writing to high-speed UFS 2.1 storage.

5
Backup Important Files Off-Device

Flashing factory Fastboot images completely erases internal storage, including photos, downloads, and user applications.

5-Step Mi Flash & Recovery Installation Procedure

A condensed step-by-step summary specific to the Xiaomi Mi 9 Lite / Xiaomi Mi CC9. Follow the full Mi Flash Tool guide for screenshots, an interactive progress checklist, and complete troubleshooting.

  1. Extract pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea_861e3ec2ae.tgz and Verify Directory
  2. Boot pyxis into Fastboot Mode via Physical Volume Down and Power Buttons
  3. Verify Fastboot Detection and Check Anti-Rollback Index via fastboot getvar anti
  4. Load Unpacked Folder in Mi Flash and Select clean all (flash_all.bat)
  5. Flash Partitions Preserving Persist Calibration and Await Initial MIUI Boot

Fastboot Script Architecture & Image Layout in Snapdragon 710 Packages

Official Fastboot firmware packages for the Xiaomi Mi 9 Lite and Mi CC9 (pyxis) unpack to reveal flash_all.bat alongside flash_all_lock.bat, flash_all_except_storage.bat, and the images folder containing raw partition images including system.img, vendor.img, boot.img, recovery.img, cust.img, and modem images.

flash_all.bat

Unpacking pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea_861e3ec2ae.tgz provides flash_all.bat, flash_all_lock.bat, and the images folder containing system.img, vendor.img, boot.img, recovery.img, cust.img, and modem images. Always select the main folder containing the .bat files in Mi Flash Tool.

Always verify your device reports codename pyxis before executing flash_all.bat. Point Mi Flash Tool to the root extracted folder rather than the images directory, and ensure clean all is selected to avoid locking the bootloader on cross-region hardware.

Verified Factory Fastboot & Recovery Packages for Xiaomi Mi 9 Lite / Xiaomi Mi CC9

Official factory Fastboot packages and custom recovery builds for Xiaomi Mi 9 Lite / Xiaomi Mi CC9 (pyxis). For additional archive builds, regional packages, and recovery OTAs, see AndroidFirmwareFile.

Version Region Android Version Size MD5 Download
V12.5.3.0.RFCEUXM Europe / EEA (UK & EU) β€” Final Official MIUI 12.5 Fastboot Android 11.0 R (July 2022) 3.39 GB 861e3ec2ae4d0be84206457b453fd3a3 ⬇️ Download
V12.5.5.0.RFCCNXM China (CN) β€” Final Official MIUI 12.5 Fastboot Android 11.0 R (Oct 2021) 4.03 GB 571cf27a519a0746681fa5a344b33520 ⬇️ Download
V12.5.5.0.RFCCNXM_v12-11 Community Custom ROM (Xiaomi.eu Multilingual) Android 11.0 R (Nov 2021) 2.91 GB ac5cd82069b3f360eb964cc0481ff277 ⬇️ Download
TWRP 3.7.0_9-0 Official Custom Recovery (TeamWin Recovery Project) Android 9.0 - 12.0 64.00 MB e3fa4d01a0576942d1a2c0aecfbf32e7 ⬇️ Download

Need older builds, Russia releases, Recovery ZIPs, or earlier TWRP builds? View the full pyxis archive on AndroidFirmwareFile.com β†’ View full archive on AndroidFirmwareFile.com β†’

Flashing Modes & Installation Methods for pyxis

Restoring the Xiaomi Mi 9 Lite / Mi CC9 (pyxis) to factory state requires matching the flashing utility to your intended software goal. For complete unbricking, clean updates, or bootloop recovery, pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea_861e3ec2ae.tgz provides the official European factory build with full Google services.

If you prefer a debloated multilingual experience with native call recording, you can flash the custom recovery image twrp-3.7.0_9-0-pyxis.img over Fastboot mode and install xiaomi.eu_multi_MI9LiteMICC9_V12.5.5.0.RFCCNXM_v12-11.zip. Remember that transitioning from encrypted Android 11 firmware requires formatting userdata inside TWRP to clear storage encryption.

Troubleshooting Xiaomi Mi 9 Lite (pyxis) Flashing & Fastboot Errors

FAILED (remote: 'Partition table doesn't exist')

Mi Flash failed to parse GPT partition headers because the firmware path contains spaces or special characters. Move your unpacked firmware to a root directory such as C:\pyxis_fw\ and retry.

Fastboot Hang: Device undetected in Fastboot mode on Windows 10/11 USB 3.0/3.2 ports

AMD and Intel USB 3.1 host controllers frequently fail packet negotiation with the Snapdragon 710 bootloader. Connect your phone to a native rear USB 2.0 port or use a basic USB 2.0 passive hub.

TWRP Storage Lock: Internal storage shows 0MB or random alphanumeric folders

Android 11 File-Based Encryption (FBE) is locking the userdata partition. Inside TWRP, navigate to Wipe > Format Data, type "yes" to confirm, and reboot recovery to restore access.

Optical In-Display Fingerprint Sensor or Camera unresponsive (Persist Partition Missing)

Factory optical sensor geometry and Sony IMX586 ISP calibration matrices were erased during partition wiping. Restore your raw persist.img backup via TWRP or recalibrate sensors in CIT hardware diagnostic menu (*#*#6484#*#*).

Encountering a specific error code or connection issue during flashing? Xiaomi Fastboot & Mi Flash Error Directory β†’

Workshop Flashing & Troubleshooting Questions

Ready to Flash?

Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.

Open Full Guide