Xiaomi

Xiaomi 13 (fuxi): Stock Fastboot Flashing Guide

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

Xiaomi 13 December 2022 (China), March 2023 (Global)
Models
2211133C (China), 2211133G (Global / Europe / UK)
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
8 GB / 12 GB LPDDR5X
Storage
128 GB (UFS 3.1) / 256 GB / 512 GB (UFS 4.0)
Display
6.36" FHD+ 120Hz AMOLED, 2400x1080 pixels, 1900 nits peak, Gorilla Glass 5
Battery
4500 mAh Li-Po, 67W wired, 50W wireless, 10W reverse wireless
OS
Android 16.0 (HyperOS 3.0), Launched on Android 13 (MIUI 14)
Connectivity
5G Dual-SIM (nano-SIM + eSIM in Global), Wi-Fi 6E/7, Bluetooth 5.3, USB Type-C 2.0, NFC, IR Blaster, IP68
Colors: Black White Flora Green Mountain Blue

About the Xiaomi 13

The Xiaomi 13 (hardware codename fuxi, model numbers 2211133G Global/EEA and 2211133C China) was released in December 2022 (China), March 2023 (Global), built on the Qualcomm SM8550-AB Snapdragon 8 Gen 2 (4nm) platform with an Adreno 740 GPU, 6.36-inch FHD+ 120Hz flat AMOLED display, Leica co-engineered triple 50 MP cameras with a 1/1.49-inch sensor, and a 4,500 mAh battery supporting 67W fast charging.

This workshop bench guide walks you through flashing official stock Fastboot firmware on the Xiaomi 13 using Xiaomi Mi Flash Tool. Whether you are restoring a device stuck on the boot screen, recovering from failed modifications, or returning to a clean factory state, follow these verified steps to flash safely.

Which Flash Mode Should You Use?

Stock Recovery / Local Update

Official on-device recovery update method for flashing official Recovery OTA 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 appears on screen.
Requires
Stock recovery, locked or unlocked bootloader, official recovery ZIP

What You Need Before Flashing

1
Windows PC & Platform Tools

A 64-bit Windows 10/11 computer with updated Qualcomm USB drivers and Android SDK Platform Tools (v35+).

2
Unlocked Bootloader

An officially unlocked bootloader via the Xiaomi Mi Unlock utility is mandatory for Fastboot partition flashing.

3
50%+ Battery Capacity

Ensure the 4,500 mAh battery holds at least 50% charge to prevent power loss during 7GB+ super partition streaming.

4
Certified USB Type-C Cable

Use an authentic data cable connected directly to a rear motherboard USB port to avoid transmission interruptions.

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. Unlock bootloader with Mi Unlock
  2. Decompress Fastboot TGZ archive twice
  3. Enter Fastboot mode
  4. Configure Mi Flash Tool with "clean all"
  5. Flash firmware and await first boot

Fastboot Script Structure & Flashing Modes

Fastboot firmware packages for the Xiaomi 13 unpack into an images folder containing raw partition binaries alongside automated flashing scripts: flash_all.bat (clean flash), flash_all_except_storage.bat (preserve user data), and flash_all_lock.bat (clean flash and relock bootloader). Technicians recommend strictly selecting flash_all.bat to ensure clean partition formatting across storage.

flash_all.bat

Official Fastboot images for the Xiaomi 13 include automated command scripts for different repair scenarios. Understanding these scripts ensures you select the correct operation in Mi Flash Tool.

Never select flash_all_lock.bat when flashing cross-regional firmware (for example, flashing European EEA firmware onto a Chinese 2211133C handset), as relocking the bootloader against mismatched regional root-of-trust certificates will result in an irrecoverable brick.

Xiaomi 13 Firmware Versions

Below is the verified factory Fastboot image for the Xiaomi 13 European and China editions. For additional regional packages, recovery files, and custom ROMs, visit the master archive.

Version Region Android Version Size MD5 Download
OS3.0.303.0.WMCEUXM (HyperOS 3.0) EEA (Europe / UK) β€” 2211133G Android 16.0 7.9 GB ff2f93e502a123098cd107e034c7f3a6 ⬇️ Download
OS3.0.309.0.WMCCNXM (HyperOS 3.0) China (CN) β€” 2211133C Android 16.0 8.4 GB 669d2b22347cc981355e495c98a9d81f ⬇️ Download

Need additional regional builds, older updates, or recovery packages? Browse the full Xiaomi 13 archive on AndroidFirmwareFile.com β†’

Xiaomi 13 β€” Important Notes

The Qualcomm Snapdragon 8 Gen 2 platform employs Google Virtual A/B partition architecture with dynamic partitions (super.img). Flashing begins in standard bootloader Fastboot mode and automatically transitions into userspace fastbootd to stream dynamic logical partitions (system, system_ext, product, vendor, odm). Maintain a steady USB connection throughout this process.

Troubleshooting Xiaomi 13 Flashing & Fastbootd Errors

Fastbootd Transport Stalled: "FAILED (remote: 'fastbootd transport stalled') during super.img chunk streaming"

While writing dynamic super partitions on the Snapdragon 8 Gen 2 platform, the device transitions from bootloader Fastboot into userspace fastbootd. If PC USB controllers apply power-saving sleep states or delay USB re-enumeration beyond 10 seconds, the flashing script aborts mid-stream. Technicians recommend plugging directly into a rear motherboard USB port, running Mi Flash Tool as Administrator, and disabling USB selective suspend in Windows Power Options.

Bootloader Lock Rejection: "FAILED (remote: 'Command not allowed / Token verify failed')"

The device bootloader remains in a locked state, rejecting partition writes dispatched by Mi Flash Tool. Verify Developer Options to ensure "OEM Unlocking" is enabled and bind your authorized Xiaomi account under "Mi Unlock Status". Then run the official Mi Unlock utility on a PC to complete bootloader unlocking before retrying Fastboot flashing.

Anti-Rollback (ARB) Protection Trap: "The system has been destroyed / dm-verity verification failed after flashing"

Attempting to downgrade from HyperOS 3.0 (Android 16.0) to older MIUI 14 builds with a lower Anti-Rollback index triggers Qualcomm hardware efuse mismatch protection. Furthermore, selecting "clean all and lock" (flash_all_lock.bat) when flashing cross-regional firmware locks the bootloader against mismatched cryptographic signatures, causing an immediate boot failure. Technicians recommend flashing matching or newer firmware and always selecting "clean all" (flash_all.bat).

Qualcomm EDL Authentication Barrier: "Sahara Fail S9 / Authentication Required in Qualcomm EDL Mode"

Low-level Qualcomm Emergency Download (EDL 9008) mode on the Snapdragon 8 Gen 2 platform enforces cryptographically signed server authentication tokens. Attempting to flash raw XML partitions with unauthenticated tools like standard QFIL fails with Sahara protocol rejection. Recovering from a hard brick in EDL mode requires an authorized Xiaomi service center account token.

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

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