Before you flash: Flashing firmware will erase all data on your device. Back up contacts, photos, and apps before proceeding. FlashGuideHub is not responsible for any damage caused by following this guide.
About the Xiaomi 13
Xiaomi built the Xiaomi 13 around the Qualcomm SM8550-AB Snapdragon 8 Gen 2 (4nm) and calls it fuxi internally, launching it in December 2022 (China), February 2023 (Global). It carries the same Leica camera partnership as its Pro sibling in a smaller, lighter body, which kept it a strong seller through several years of both MIUI and HyperOS updates.
Every fuxi unit runs from one shared firmware tree no matter where it was sold. What actually decides which package fits is the region suffix printed inside the build number — not the country a particular phone happens to be sitting in today.
Which Flash Mode Should You Use?
Mi Flash Tool (Fastboot ROM)
The standard route for reflashing fuxi. Mi Flash Tool executes the flash_all script bundled in Xiaomi's regional archive, writing bootloader, modem, system, and vendor partitions together in a single run. It requires an unlocked bootloader beforehand and clears user data as it goes.
Manual ADB / Fastboot Commands
Issues individual fastboot flash commands through Platform Tools instead of Mi Flash Tool's interface. Worth using when only a single partition needs replacing, such as recovering from a bad modem swap, since it hands you full control over partition order along with full responsibility for getting it right.
EDL / QFIL (Emergency)
The Snapdragon 8 Gen 2 supports Qualcomm's chip-level Emergency Download mode, relevant once fuxi stops answering fastboot entirely. Xiaomi hasn't published the signed programmer file this platform needs for QFIL, so in practice this path is reserved for authorized repair centers rather than home flashing.
What You Need Before Flashing
Mi Flash Tool only runs on Windows. Grab it and the matching Xiaomi USB driver package from Xiaomi's developer site before you plug the phone in.
Switch on OEM Unlocking in Developer Options, bind a Mi Account to the phone, then run Mi Unlock Tool from a PC once Xiaomi clears the request. The unlock itself wipes the device.
Check Settings, About phone for the build string and match its suffix — WMCCNXM for China, WMCMIXM for Global, WMCEUXM for EEA, and so on.
Fastboot needs a real data connection, not a charge-only cable. Use the one that came in the box, or a confirmed data-rated USB-C cable, plugged straight into a PC port rather than a hub.
A shutdown mid-write to the modem or boot partition can leave fuxi unable to reach fastboot mode afterward. Charge to at least 60% and keep the cable in the whole time.
Both the bootloader unlock and the fastboot flash wipe internal storage on their own. Move anything important to a cloud account or a PC before starting.
How to Flash the Xiaomi 13 — Quick Overview
A fast reference for flashing the Xiaomi 13 (Snapdragon 8 Gen 2) using Mi Flash Tool. For the complete walkthrough with images and error troubleshooting, see the full guide.
-
Verify the bootloader reports fuxi before touching any ROM
-
Bind a Mi Account and unlock through Mi Unlock Tool
-
Read the build string to find fuxi's current region branch
-
Install the Xiaomi driver package, then launch Mi Flash Tool
-
Unpack the .tgz and point Mi Flash Tool at the extracted folder
-
Run the flash and don't interrupt it once it starts
-
Let first boot finish, then check signal, camera, and refresh rate
Finding the Firmware Package for SM8550-AB
Each region branch of fuxi ships as a single fastboot archive (.tgz). Once you extract it fully, the folder Mi Flash Tool needs to open contains a flashing script sitting next to the partition images:
flash_all.bat
This script lives inside the extracted fastboot ROM. Once the .tgz has fully decompressed, look for 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 the entire archive to a folder on your PC first — Mi Flash Tool cannot run correctly from inside the compressed .tgz.
fuxi ships across six tracked region branches: WMCCNXM (China), WMCMIXM (Global), WMCEUXM (EEA), WMCRUXM (Russia), WMCTWXM (Taiwan), and TMCTRXM (Turkey, which still uses older MIUI 14-style numbering in some builds). All six run on the same Snapdragon 8 Gen 2 silicon and share a partition layout — what differs is default region, preinstalled services, and which bands the modem prefers.
Inside the extracted .tgz, flash_all.bat sits at the top for Windows users, flash_all.sh sits beside it for Linux and Mac, and an images folder next to both holds each partition file individually. Aim Mi Flash Tool's Select field at that top-level folder — never at the images subfolder — before pressing Flash.
China's WMCCNXM branch has been on HyperOS 3 (Android 16) since late 2025, while some other regions were still shipping HyperOS 2 (Android 15) builds around the same period — check the version table below and your own build string before assuming feature parity across regions.
Xiaomi 13 HyperOS Firmware Versions
Known stock HyperOS fastboot ROM releases for the Xiaomi 13. Double-check the regional suffix against your unit before flashing any of these.
| Version | Region | Build / OS | Size | Download |
|---|---|---|---|---|
OS3.0.307.0.WMCCNXM |
China (CN) u2014 HyperOS 3 (Android 16) | Android 16, May 2026 | 8.42 GB | ⬇️ Download |
OS3.0.303.0.WMCCNXM |
China (CN) u2014 HyperOS 3 (Android 16) | Android 16, Apr 2026 | 8.38 GB | ⬇️ Download |
OS2.0.215.0.VMCCNXM |
China (CN) u2014 HyperOS 2 (Android 15) | Android 15, Oct 2025 | 8.71 GB | ⬇️ Download |
More regional builds for fuxi → View the source listing on MIUIROM.org →
Xiaomi 13 — Important Notes
fuxi is the internal codename Xiaomi assigned to the Xiaomi 13 across every market it sells in, distinct from nuwa (the Xiaomi 13 Pro) despite the near-identical chipset and camera branding. Model numbers split by market — 2211133C for China, 2211133G for Global — but the underlying firmware tree and partition map are shared, so the region branch is the one variable that actually matters when choosing a package.
The Snapdragon 8 Gen 2 in fuxi does support Qualcomm's EDL (Emergency Download) mode at the silicon level, and QFIL can talk to a phone in that state given a signed programmer file. Xiaomi has not made that programmer file public for this platform, so outside of authorized service centers, Mi Flash Tool with a properly unlocked bootloader remains the practical route back to a working install for almost every owner.
Common Flashing Errors on the Xiaomi 13
Mi Flash Tool detects nothing while fuxi sits in fastboot
Check Device Manager on the PC with the phone connected. An entry under Other devices instead of Android Bootloader Interface means the Xiaomi/Qualcomm driver never installed properly. Reinstall the driver package from Xiaomi's developer portal, swap to a cable known to carry data (not a charge-only one), and use a motherboard USB port instead of a front-panel header or hub.
FAILED (remote: 'Command not allowed')
fuxi's bootloader is still locked and is rejecting the write Mi Flash Tool just sent. Open Developer Options and look for Bootloader unlocked rather than assuming the earlier step finished u2014 if Xiaomi's Mi Account approval hasn't cleared, Mi Unlock Tool still shows a countdown and nothing has actually unlocked yet.
Sahara Fail S9
The Sahara handshake between Mi Flash Tool and the Snapdragon 8 Gen 2 dies mid-flash, almost always because the .tgz extracted incompletely or the original download stopped short. Delete the extracted folder, redownload the archive for the exact branch you need, extract fresh into a short path such as C:uxi_rom, and make sure the USB cable is seated before trying again.
anti-rollback: partition [xbl] rollback index violation
fuxi's Qualcomm anti-rollback fuse rejected the flash because the target build's rollback index sits below what's already installed, usually from trying to step back from HyperOS 3 to HyperOS 2 or MIUI 14. Stay at or above the current rollback index, or treat a mid-downgrade brick as a job for an authorized repair center.
Phone loops on the fuxi boot animation after a flash
A boot loop right after flashing usually traces back to an interrupted write u2014 a cable that shifted, or a PC that went to sleep mid-session. Hold Volume Down + Power for about 10 seconds to force it back into fastboot, reopen Mi Flash Tool, reselect the same extracted folder, and run clean all again instead of trying to resume partway through.
For the full firmware error database: Fastboot Error Directory →
Frequently Asked Questions — Xiaomi 13
Match whichever branch the phone shipped with — WMCMIXM for most Global-market units, WMCEUXM for phones sold in the EEA. Staying on the matching branch keeps Google apps, 5G band coverage, and OTA eligibility working the way they did out of the box, none of which a China-branch build guarantees on non-China hardware.
Effectively yes. Binding a Mi Account to clear the bootloader unlock wipes user data as soon as Xiaomi approves the request, and then the fastboot flash itself erases storage again while writing partitions — more so with clean all selected. Back up photos, chat histories, and any 2FA seed codes before either step starts.
Owners on early HyperOS 2 and HyperOS 3 builds have reported the scheduler running CPU cores harder than needed at idle, which shows up as both heat and drain. Later maintenance builds tend to tune this down, so flashing the newest build matching your region with clean all selected is a reasonable troubleshooting step before assuming hardware failure.
It runs into Qualcomm's anti-rollback protection on this chipset, which blocks a flash if the target build's rollback index is lower than what's currently installed. Compare rollback indexes before attempting it, and expect a full data wipe plus the loss of any security patches gained since — a bricked mid-downgrade unit typically needs a service center.
Ready to Flash?
Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.