A fastboot ROM is the full MIUI (or HyperOS) firmware package for a Xiaomi phone, and flashing it manually is a dependable way to restore the stock software when the Mi Flash Tool refuses to cooperate. Every fastboot ROM ships with ready-made flash scripts, so you do not actually need the tool at all. This guide walks through the manual method on any Xiaomi, Redmi, or Poco device.
One thing to be clear about before you start: this method needs an unlocked bootloader. Fastboot will reject the flash commands on a locked device, so if your bootloader is still locked, unlock it first using the guide linked at the end of this article.

Newer Xiaomi phones run HyperOS instead of MIUI, but the fastboot ROM and the steps below are the same for both. Just download the HyperOS package if that is what your phone uses.
⚠️ Disclaimer:
This guide is intended for advanced users. Flashing firmware manually can be risky and may brick your device if done incorrectly. GetDroidTips is not responsible for any damage, data loss, or issues that occur during or after this process. Proceed at your own risk, and make sure you understand each step before you run it.
Prerequisites
- An unlocked bootloader on your Xiaomi device (see the unlock guide at the bottom).
- The latest USB drivers installed for your device.
- A full backup of your data, since flashing can wipe the phone.
- At least 50% battery so the phone does not die mid-flash.
- ADB and Fastboot (platform-tools) installed on your Windows PC, or just the fastboot binary that comes inside the ROM folder.
Where to Download the Fastboot ROM
Xiaomi closed its public ROM download portal some time ago. The community-run Xiaomi Firmware Updater (xmfirmwareupdater.com) is now the usual place to grab official fastboot ROMs. Make sure you pick the package for your exact model and region, as flashing the wrong one can hard-brick the phone.
A fastboot ROM is a large .tgz file. Inside, after extracting, you will find an images folder and a set of flash scripts such as flash_all.bat, flash_all_except_storage.bat, and flash_all_lock.bat.
Step-by-Step Guide to Flash a MIUI Fastboot ROM
- Download and extract the ROM. Download the fastboot ROM for your device, then extract the
.tgz file (you may need to extract twice) until you reach the folder containing the images folder and the flash_all scripts.
- Boot into Fastboot mode. Power off the phone, then press and hold Volume Down + Power until you see the Fastboot/Mi Bunny logo. Connect the phone to your PC with a USB cable.
- Open a command window in the ROM folder. Go into the extracted ROM folder, hold Shift, right-click an empty area, and choose Open Command Prompt Here or Open Terminal Here.
- Verify the connection. Run the following and confirm your device’s serial number appears:
fastboot devices
If nothing shows up, reinstall the USB drivers or try a different cable or port.
- Flash the ROM. Run one of the bundled scripts depending on what you want:
flash_all.bat flashes the firmware and wipes all data, including internal storage. Use this for a clean install or to fix a bootloop.
flash_all_except_storage.bat flashes the firmware but keeps your data.
flash_all_lock.bat flashes and then relocks the bootloader. Only use this if you specifically want to relock, and never on a non-official build, as it can brick the device.
Double-click the script, or type its name in the command window and press Enter. The window will show the progress as each partition is flashed.
- Reboot. Most scripts reboot the phone automatically when they finish. If yours does not, run:
fastboot reboot
The first boot after flashing can take five to ten minutes, which is normal.
Flashing partitions by hand (older devices only)
On older Xiaomi phones with static partitions you could flash each image manually, for example fastboot flash boot boot.img. This no longer works cleanly on modern devices, which use dynamic (super) partitions and have no separate system.img. For anything from the last several years, use the flash_all scripts above rather than flashing partitions one by one.
Important Notes
- Choosing
flash_all.bat erases everything on the phone, so back up first.
- Always download the ROM that matches your exact model number and region. The wrong firmware can hard-brick the device.
- If the flash fails, check the USB cable and drivers, confirm the bootloader is unlocked, and re-download the ROM in case the file was corrupted.
FAQ
Can I flash a fastboot ROM with a locked bootloader?
No. Fastboot blocks flash commands when the bootloader is locked. You have to unlock it first, which itself wipes the phone.
How do I flash without losing my data?
Run flash_all_except_storage.bat instead of flash_all.bat. It reflashes the system while leaving your internal storage untouched. Back up anyway, since any firmware flash carries some risk.
My phone runs HyperOS, not MIUI. Does this still work?
Yes. HyperOS replaced MIUI on newer Xiaomi phones, but the fastboot ROM format and the flashing steps are identical. Download the HyperOS fastboot package for your model.
The phone is stuck in Fastboot mode after flashing. What do I do?
Run fastboot reboot from the PC. If it still will not boot, the ROM may be wrong for your model, in which case flash the correct fastboot ROM again.
That is the full manual method for installing a MIUI or HyperOS fastboot ROM on any Xiaomi phone without the Mi Flash Tool. If you run into problems, let us know in the comments below.
Thanks Bro you have help me i like this site thx :)