How to flash Xiaomi via Fastboot
A fastboot ROM is the full factory firmware for Xiaomi devices, installed from a computer via Fastboot mode. Unlike a Recovery update, the fastboot method rewrites every partition, which makes it ideal for recovering a phone after serious failures, rolling back to a stable version, or switching regional firmware.
What you need
- A Windows PC (easiest), macOS or Linux.
- A USB cable, preferably the original one.
- An unlocked bootloader. Without unlocking, a fastboot ROM will not install.
- Xiaomi USB drivers and the ADB/Fastboot platform tools installed.
- A fastboot firmware image for your exact model — a
.tgzarchive with partition files and scripts.
Step 1. Unlock the bootloader
If your bootloader is still locked, complete the official Mi Unlock procedure. Note that Xiaomi enforces a waiting period (from hours to a week) and that unlocking wipes your data.
Step 2. Download the correct firmware
Find your device codename — for example venus for Mi 11 or spes for Redmi Note 11. The codename matters more than the marketing name because one model can have several regional versions. On ZFirm.me you can search by codename and pick the right region on the device page. Download the Fastboot image (a .tgz archive), not the Recovery version.
Step 3. Extract the archive
Extract the .tgz to a short path without spaces, e.g. C:\rom. Inside you will find partition images and ready-made scripts: flash_all.bat (full clean flash), flash_all_except_storage.bat (keeps internal storage) and flash_all_lock.bat (flash and re-lock — use with caution).
Step 4. Enter Fastboot mode
- Power off the phone completely.
- Hold Volume Down + Power together.
- Wait for the Fastboot logo (the Mi bunny with FASTBOOT text).
- Connect the phone to the computer.
ZFirm.me has a "Detect my device via USB" feature that reads the codename in Fastboot mode through your browser and shows the matching firmware instantly.
Step 5. Flash
Verify the connection with fastboot devices — your phone should appear. Then run the script you need. For most users flash_all_except_storage.bat is best — it updates the system without wiping photos and files. Wait for completion (usually 3–10 minutes); the phone reboots automatically.
Troubleshooting
Phone not detected
Reinstall Xiaomi USB drivers, try another USB port (USB 2.0 works best) and another cable. On Windows check Device Manager — it should show up as Android Bootloader Interface.
"Token verification failed" or lock error
This means the bootloader is locked. Go back to the unlock step.
Partition write error
Make sure you downloaded firmware for your exact model and region. Firmware from another device will not work and may cause damage.
Conclusion
Fastboot flashing is a reliable way to restore or update a Xiaomi when a normal update is unavailable. The keys are an unlocked bootloader, the correct firmware by codename, and care during the process. Download the image you need from the ZFirm.me catalog with direct links to Xiaomi servers.
Go to catalog