Xiaomi

Xiaomi 13

A flashing walkthrough for the Xiaomi 13 (fuxi) built around Mi Flash Tool — regional HyperOS fastboot archives, unlocking the bootloader, and the full sequence from download to first boot.

Xiaomi 13 December 2022 (China), February 2023 (Global)
Models
2211133C (China), 2211133G (Global)
CPU
Octa-core (1x3.2 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510)
GPU
Adreno 740
RAM
8GB / 12GB LPDDR5X
Storage
128GB UFS 3.1, 256GB / 512GB UFS 4.0
Display
6.36" AMOLED, FHD+, 120Hz, Dolby Vision, 1900 nits peak
Battery
4500mAh with 67W wired and 50W wireless charging
OS
Android 13, MIUI 14 (upgradable to HyperOS 3, Android 16)
Connectivity
5G, Wi-Fi 6E, Bluetooth 5.3, USB-C 2.0, IR blaster, NFC
Colors: White Black Flora Green Mountain Blue

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?

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.

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 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.

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 fuxi)

What You Need Before Flashing

1
Windows PC with Mi Flash Tool

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.

2
Unlocked bootloader

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.

3
The matching regional fastboot ROM (.tgz)

Check Settings, About phone for the build string and match its suffix — WMCCNXM for China, WMCMIXM for Global, WMCEUXM for EEA, and so on.

4
USB-C data cable

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.

5
Battery at 60% or higher

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.

6
Photos and files backed up

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.

  1. Verify the bootloader reports fuxi before touching any ROM
  2. Bind a Mi Account and unlock through Mi Unlock Tool
  3. Read the build string to find fuxi's current region branch
  4. Install the Xiaomi driver package, then launch Mi Flash Tool
  5. Unpack the .tgz and point Mi Flash Tool at the extracted folder
  6. Run the flash and don't interrupt it once it starts
  7. 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

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