Xiaomi

Xiaomi 12X (psyche): Mi Flash Flashing Guide

Complete firmware flashing guide for the Xiaomi 12X using Mi Flash Tool. Covers prerequisites, firmware package setup, and step-by-step instructions.

Xiaomi 12X March 2022
Models
2112123AG (Global / EEA), 2112123AC (China)
CPU
Octa-core (1x3.2 GHz Kryo 585 Prime & 3x2.42 GHz Kryo 585 Gold & 4x1.80 GHz Kryo 585 Silver)
GPU
Adreno 650
RAM
8 GB / 12 GB LPDDR5
Storage
128 GB / 256 GB UFS 3.1
Display
6.28" FHD+ 120Hz Curved AMOLED, 2400x1080 pixels, 1100 nits peak, Gorilla Glass Victus
Battery
4500 mAh Li-Po, 67W wired fast charging, PD 3.0, QC4+
OS
Android 13.0 (Xiaomi HyperOS 1.0), Launched on Android 11.0 (MIUI 13)
Connectivity
5G Dual-SIM, Wi-Fi 6, Bluetooth 5.2, USB Type-C 2.0 (OTG), NFC, IR Blaster
Colors: Gray Blue Purple

About the Xiaomi 12X

The Xiaomi 12X (hardware codename psyche, model numbers 2112123AG, 2112123AC) was launched in March 2022, built on the Qualcomm Snapdragon 870 5G (7nm) processor. Designed with a compact 6.28-inch 120Hz curved AMOLED display, this platform incorporates an Adreno 650 GPU, stereo speakers tuned by Harman Kardon, 67W fast charging, and a 50MP Sony IMX766 main camera with optical image stabilization.

This flashing guide provides verified step-by-step instructions for flashing official stock Fastboot firmware and Recovery packages on the Xiaomi 12X using Xiaomi Mi Flash Tool. Whether you are unbricking a phone stuck in a bootloop, resolving system bugs after an update, or restoring clean factory software, follow these instructions to restore your device safely.

Which Flash Mode Should You Use?

Stock Recovery / Local Update

Official on-device recovery update method for installing signed Recovery ZIP packages without wiping personal data.

How to enter
Turn off phone completely. Press and hold Volume Up + Power together until the Mi recovery menu displays on screen.
Requires
Stock recovery, locked or unlocked bootloader, official recovery ZIP

Custom Recovery (TWRP / OrangeFox)

Custom recovery environment for installing flashable ZIP packages, custom ROMs like Xiaomi.eu, or full system backups.

How to enter
Boot image temporarily using "fastboot boot recovery.img", or hold Volume Up + Power after permanent installation.
Requires
Unlocked bootloader, fastboot boot command, terminal execution

Qualcomm EDL 9008 Mode

Low-level hardware recovery mode for completely bricked devices unable to boot into Fastboot or recovery.

How to enter
Remove rear glass panel, short the designated motherboard hardware test points with tweezers, and plug in the USB cable.
Requires
EDL test point shorting, Qualcomm HS-USB QDLoader 9008 driver, authorized service account

Pre-Flash Hardware Setup & Driver Requirements for psyche

1
Windows PC & Platform Tools

A 64-bit Windows 10/11 computer with official Qualcomm USB drivers and current Android SDK Platform Tools.

2
Unlocked Bootloader

An officially unlocked bootloader via the Xiaomi Mi Unlock desktop utility is required for Fastboot flashing.

3
50%+ Battery Capacity

Ensure the 4,500 mAh battery retains at least 50% charge to prevent shutdowns during 5GB+ super partition writes.

4
Certified USB Type-C Cable

Use an authentic data sync cable connected directly to a rear motherboard USB 2.0 port to prevent communication drops.

5-Step Mi Flash & Fastboot Walkthrough for Xiaomi 12X

5-step quick reference for the Xiaomi 12X. Need visuals or troubleshooting help? The full Mi Flash Tool guide covers everything in detail.

  1. Unlock bootloader with Xiaomi Mi Unlock
  2. Decompress psyche_eea_global_images_OS1.0.8.0.TLDEUXM_20241125.0000.00_13.0_eea_8a7873c96f.tgz twice
  3. Reboot into Fastboot mode and check active slot
  4. Select firmware directory in Mi Flash and verify clean all
  5. Flash partitions and allow fastbootd dynamic partition writing

Fastboot Flashing Scripts & Mode Selection

Official Fastboot firmware packages for the Xiaomi 12X unpack into an images folder containing raw partition binaries alongside automated flasher batch scripts: flash_all.bat (clean flash), flash_all_except_storage.bat (preserve user data), and flash_all_lock.bat (clean flash and relock bootloader). For general unbricking and restoring stock HyperOS 1.0, selecting flash_all.bat writes images cleanly across dynamic super partitions.

flash_all.bat

Official Fastboot packages for the Xiaomi 12X contain batch flasher scripts for distinct repair requirements. Understanding their behavior helps you choose the correct option in Mi Flash Tool.

Flashing Safety Rule: Always confirm that "clean all" (flash_all.bat) is selected in Mi Flash Tool before flashing. Because the Xiaomi 12X features regional SKUs (Global/EEA 2112123AG and China 2112123AC), never select "clean all and lock" when installing cross-region or modified firmware, as relocking foreign cryptographic signatures triggers an instant brick.

Xiaomi 12X Firmware Versions

Below are tested factory Fastboot and Xiaomi.eu custom ROM packages for the Xiaomi 12X. For older MIUI releases, regional archives, and custom recoveries, browse the master archive.

Version Region Android Version Size MD5 Download
OS1.0.8.0.TLDEUXM (HyperOS 1.0) EEA (Europe / UK Retail) β€” 2112123AG Android 13.0 5.6 GB 8a7873c96f3d895e60a21c55e1a13765 ⬇️ Download
OS1.0.15.0.TLDCNXM (HyperOS 1.0) China (CN) β€” 2112123AC Android 13.0 5.9 GB 1a422adee15b0efb9ddc2a3625edb8b5 ⬇️ Download
OS1.0.15.0.TLDCNXM (Xiaomi.eu) Multi-Language (EU / Custom) Android 13.0 4.03 GB β€” ⬇️ Download

Need additional packages like historical MIUI builds or custom recovery toolkits? Browse the complete Xiaomi 12X archive on AndroidFirmwareFile.com β†’

Virtual A/B Ramdisk & Snapdragon 870 Storage Mechanics

The Qualcomm Snapdragon 870 platform utilizes Google dynamic partitions inside a Virtual A/B dual-slot structure. Flashing packages like psyche_eea_global_images_OS1.0.8.0.TLDEUXM_20241125.0000.00_13.0_eea_8a7873c96f.tgz transfers logical partitions (system, vendor, product, system_ext) inside a 5GB+ super container. Always maintain an uninterrupted connection to a rear motherboard USB 2.0 port throughout the entire installation.

Troubleshooting Xiaomi 12X Flashing & Fastboot Errors

Missing Recovery Partition Error: "FAILED (remote: 'Partition table doesn\'t exist / No such partition: recovery')"

The Xiaomi 12X utilizes Google Virtual A/B architecture starting on Android 11 with no dedicated physical recovery partition on UFS 3.1 storage. The recovery ramdisk is housed directly inside boot.img. Running "fastboot flash recovery twrp.img" fails because the partition does not exist. Users must temporarily boot the image with "fastboot boot twrp-3.7.1_12-v9.0_A15-psyche-skkk.img" and then install it permanently from within TWRP via Advanced > Flash Current TWRP.

Corrupted Baseband / NV Data Warning: "NV data is corrupted / Fastboot reboot loop"

This critical fault occurs when cross-flashing mismatched regional modems or corrupting protected EFS partitions (modemst1, modemst2, fsg). The Qualcomm Snapdragon 870 baseband radio fails cryptographic validation and loops the device back into Fastboot mode. Restore partition integrity by clean-flashing matching regional stock Fastboot firmware using flash_all.bat; never flash NVRAM or EFS backups from another handset.

Fastbootd Super.img Sparse Chunk Timeout: "FAILED (remote: 'Data transfer timeout / Write error') during super partition flashing"

On Android 13 HyperOS 1.0, the dynamic super partition measures over 5 GB and houses system, system_ext, product, and vendor logical images. During flash_all.bat execution, the device automatically transitions from bootloader Fastboot into userspace fastbootd. If connected through an unpowered USB hub, front-panel PC port, or third-party cable, the USB controller drops communication during high-volume chunk writes. Always connect to a native rear motherboard USB 2.0 port and run Mi Flash as Administrator.

Encountering issues during flashing? Review these verified workshop troubleshooting notes for the Xiaomi 12X. Troubleshooting & Common Errors β†’

Xiaomi 12X Flashing & Workshop Recovery FAQ

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