Xiaomi

POCO X5 5G

Firmware flashing guide for the POCO X5 5G using Mi Flash Tool. Covers regional HyperOS fastboot ROMs, unlocking, and step-by-step instructions.

POCO X5 5G February 2023
Models
22111317PG (Global), 22111317PI (India), 22111317I (EEA)
CPU
Octa-core (2x2.2 GHz Kryo 660 Gold & 6x1.7 GHz Kryo 660 Silver)
GPU
Adreno 619
RAM
6GB / 8GB LPDDR4X
Storage
128GB / 256GB UFS 2.2 with hybrid microSD slot
Display
6.67" AMOLED, 1080x2400, 120Hz
Battery
5000mAh with 33W wired fast charging
OS
Android 12 / MIUI 13 (upgradable to HyperOS, Android 14)
Connectivity
5G, Wi-Fi 5, Bluetooth 5.1, USB-C 2.0, NFC (region dependent), IR blaster
Colors: Cosmic Blue Bright Yellow Ocean Blue

About the POCO X5 5G

The POCO X5 5G (codename: moonstone) arrived in February 2023 as a mid-range 5G phone built around the Qualcomm SM6375 Snapdragon 695 5G (6nm), positioned for everyday multitasking rather than gaming. Xiaomi kept the same hardware platform across several regional variants, each with its own firmware branch tuned for local carrier bands.

Note that a separate, non-5G POCO X5 exists on different hardware entirely, so double-check the codename with a fastboot command rather than relying on the product name alone, covered in the Prerequisites section below.

Which Flash Mode Should You Use?

Manual ADB / Fastboot Commands

Run individual fastboot flash commands from Platform Tools instead of the Mi Flash Tool interface. Useful for reflashing a single partition, such as a modem image after a bad regional switch, but a full manual restore requires getting the partition order right yourself.

How to enter
Hold Volume Down + Power to Fastboot; confirm with fastboot devices
Requires
Unlocked bootloader, Android SDK Platform Tools, Xiaomi USB drivers

EDL / QFIL (Emergency)

The Snapdragon 695 supports Qualcomm Emergency Download mode at the hardware level, usable when moonstone no longer responds in Fastboot. Xiaomi withholds the signed programmer file QFIL needs for this platform, so this path is mostly limited to an authorised repair centre.

How to enter
Short EDL test points on the board with USB connected to a PC running QFIL
Requires
Qualcomm programmer file (not publicly released by Xiaomi for moonstone)

What You Need Before Flashing

1
Windows PC with Mi Flash Tool

Mi Flash Tool's interface only runs on Windows. Get it along with the Xiaomi USB driver package from Xiaomi's developer site before starting.

2
Unlocked bootloader

Turn on OEM Unlocking in Developer Options, bind your Mi Account, then run Mi Unlock Tool from a PC. The unlock itself wipes the phone once approved.

3
The matching regional fastboot ROM (.tgz)

Check Settings → About Phone for your build string and match the suffix — UMPMIXM for Global, UMPEUXM for EEA, UMPINXM for India, UMPRUXM for Russia.

4
USB-C data cable

Fastboot needs a real data connection. Use the cable that shipped with the phone or a known data-rated USB-C cable plugged directly into a PC port rather than a hub.

5
Battery at 60% or higher

A shutdown mid-flash while the modem or boot partition is writing can leave moonstone unable to reach Fastboot again. Charge to at least 60% and keep the cable connected the whole time.

6
Photos and files backed up

Both the account-bind step for unlocking and the flash itself wipe internal storage. Move everything to cloud storage, a PC, or the microSD slot before starting.

How to Flash the POCO X5 5G — Quick Overview

A condensed step-by-step summary specific to the POCO X5 5G. Follow the full Mi Flash Tool guide for screenshots, an interactive progress checklist, and complete troubleshooting.

  1. Confirm fastboot reports moonstone before downloading a ROM
  2. Unlock the bootloader with Mi Unlock Tool
  3. Match your MIUI build string to a regional fastboot ROM
  4. Install Qualcomm drivers and open Mi Flash Tool
  5. Extract the .tgz and point Mi Flash Tool at the top-level folder
  6. Wait for Mi Flash Tool to finish, then let the phone reboot on its own
  7. Check 5G signal, camera, and IMEI after first boot

Finding the Firmware Package for SM6375

Xiaomi ships moonstone firmware as a regional fastboot archive (.tgz). Once fully extracted, the folder Mi Flash Tool needs contains a top-level flashing script alongside the partition images:

flash_all.bat

This script lives inside the extracted fastboot ROM. After decompressing the .tgz, find flash_all.bat (Windows) or flash_all.sh (Linux/Mac) at the top level, next to an images folder holding the individual partition files. Extract fully to a folder on your PC first — running the script from inside the compressed archive will not work.

The moonstone platform covers several regional branches with their own suffix — UMPMIXM for Global, UMPEUXM for EEA, UMPINXM for India, UMPRUXM for Russia, UMPTRXM for Turkey, UMPTWXM for Taiwan, and UMPIDXM for Indonesia. Each branch has its own 5G band calibration, so a phone bought for one carrier market can lose specific bands if flashed to a mismatched region.

Inside the extracted .tgz you will find flash_all.bat for Windows and flash_all.sh for Linux/Mac at the top level, next to an images folder holding the individual partition files. Point Mi Flash Tool's Select field at this top-level folder rather than the images subfolder, then click Flash.

Xiaomi also distributes small vendor-only firmware packages for moonstone, separate from the full system ROM, that update modem and radio components without touching the rest of the system partition — these are useful when only signal or Bluetooth behavior needs a refresh.

POCO X5 5G HyperOS Firmware Versions

Known stock HyperOS fastboot ROM releases for the POCO X5 5G. Confirm the regional suffix matches your device before flashing.

Version Region Build / OS Size Download
OS1.0.26.0.UMPMIXM Global (MI) u2014 HyperOS (Android 14) Android 14, Dec 2025 6.0 GB ⬇️ Download
OS1.0.24.0.UMPMIXM Global (MI) u2014 vendor firmware package Android 14, Nov 2025 141.4 MB ⬇️ Download
OS1.0.4.0.UMPEUXM EEA (EU) u2014 vendor firmware package Android 14, Jun 2024 141.4 MB ⬇️ Download

More regional builds and recoveries for moonstone → View the source listing on AndroidFirmwareFile.com →

POCO X5 5G — Important Notes

The Snapdragon 695 in moonstone is a mid-range chipset built for balanced daily use rather than heavy gaming, and HyperOS builds after OS1.0.20.0 mostly adjust battery management and 5G modem behavior rather than raw performance. If battery drain increases after an update, check for a newer patch on the same regional branch before assuming a hardware fault.

Because moonstone uses a Qualcomm chipset, a hardware-level EDL/9008 recovery path exists through QFIL, but Xiaomi does not publicly release the signed programmer file this platform needs. For nearly all readers, Mi Flash Tool with a properly unlocked bootloader is the only self-service recovery option, and a bricked EDL-only unit typically needs an authorised repair centre.

Common Flashing Errors on the POCO X5 5G

Mi Flash Tool device list stays empty in Fastboot mode

Check Device Manager on the PC while moonstone sits in Fastboot; if it shows as an unknown device instead of an Android Bootloader Interface, the Xiaomi/Qualcomm USB driver did not install correctly. Reinstall the driver package, use a confirmed data-capable USB-C cable, and plug into a rear motherboard port rather than a front panel header, then click Refresh again.

FAILED (remote: 'Command not allowed')

moonstone's bootloader is refusing a partition write because it is still locked. Check Developer Options for a confirmed "Bootloader unlocked" status rather than assuming Mi Unlock Tool finished — if the account-bind approval has not cleared yet, the tool still shows a countdown timer and the unlock has not actually happened.

Sahara Fail S13

Mi Flash Tool loses the Sahara handshake with the Snapdragon 695 mid-flash, typically from an incompletely extracted .tgz or a partial download. Redownload the fastboot package for your exact regional suffix, extract it fresh to a short path such as C:\moonstone, and confirm the USB-C cable is fully seated before flashing again.

5G toggle greyed out and modem reports "No Service" after flashing

The modem/NV partition did not write correctly, usually from flashing a regional .tgz that does not match the phone's original branch, for example UMPRUXM on a unit that shipped as UMPINXM. Reflash the fastboot package matching your device's original build string rather than trying a third region to fix it.

Phone stuck on the POCO logo after a Mi Flash Tool session

A hang on the boot logo usually means the flash was interrupted before every partition finished writing. Hold Volume Down + Power for about 10 seconds to force moonstone back into Fastboot mode, reopen Mi Flash Tool, reselect the same extracted ROM folder, and run the full flash type rather than a partial one.

For the full firmware error database: Fastboot Error Directory →

Frequently Asked Questions — POCO X5 5G

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