Practical Steps to Install MIUI Fastboot ROM

Practical Steps to Install MIUI Fastboot ROM 1

All the steps outlined below will guide you through a full procedure of flashing MIUI full ROM package using the fastboot method. This is the common method to do a full factory reset. Moreover, this may also fix common soft brick problems such as a bootloop error. On top of that, switching between MIUI versions either from Stable to Beta/Developer or vice versa also requires this method. Personally, we usually use the fastboot method to do a clean upgrade to a major MIUI version; for instance, from MIUI 9 to MIUI 10.

Despite its advantages, this method has one major drawback which is full data cleaning. Hence, creating a full backup of your important data is crucial before going through the whole procedure. Otherwise, you will lose your data forever. There are many methods and apps to help you create backups. You just need to sort and pick from its features that suit you.

This tutorial is applicable to all Xiaomi devices.

Follow the steps below carefully to do an MIUI fastboot flashing:

  1. Unlock the bootloader of your device as what we have explained here.
  2. Download the full MIUI fastboot ROM package (.tgz) corresponding to your device variant.
  3. Disable Windows Driver Signature Enforcement on your 64-bit computer. Read the tutorial here.
  4. Download and install Mi Flash tool on your computer.
  5. Extract the full MIUI ROM (.tgz) file. Software like WinRAR or 7zip may come in handy for the task.
  6. Launch the Mi Flash tool.
  7. Turn off your phone completely.
  8. Reboot into bootloader mode by pressing the Power and Volume Down buttons simultaneously until you see the Fastboot logo displayed.
  9. Connect your phone to your computer using a compatible USB cable.
  10. Click the “Refresh” button on the tool to make sure it can recognize your device. Your device will then be displayed on the tool.
  11. Next, click the “Select” button to browse for the MIUI ROM files.
  12. Now locate the folder location of where you have extracted the ROM (step 5). Click “OK” once done.
  13. Select the “Clean all” option at the bottom of the tool. You may also select the “Clean all and lock” option if you wish to relock the bootloader. In most cases, many users want to leave the bootloader unlocked.
  14. Finally, click the “Flash” button to start flashing.
  15. A progress bar will be displayed. Wait until it turns fully green with a “Success” message being displayed.
ALSO READ:  A Hack to Fix Redmi Note 5 ARB Bricked without EDL/Test Point

Voila! Your phone will automatically reboot once the flashing process is done completely.

Some screenshot pics of the steps:

Bootloader mode (Fastboot) – Step 8

Practical Steps to Install MIUI Fastboot ROM 2

Using Mi Flash tool – Step 10, 11, 13, 14, 15.

Practical Steps to Install MIUI Fastboot ROM 3

There are some common problems that may occur during the process:

The Mi Flash tool cannot detect the device.

Some workarounds you may try:

  • Replace the USB cable.
  • Change different USB port.
  • Reinstall the Mi Flash tool.
  • Make sure your phone is in bootloader mode.

“Receiving Hello Packet, Ping Target Failed” Error.

Fix: Use an older version of Mi Flash tool. Such an error usually occurs on an older device being flashed through the latest version of the tool.

“Length cannot less than zero” Error.


  • Make sure that the ROM file has been extracted completely with no corrupted files.
  • Do not extract the ROM inside many folders. Try extracting it in the root directory such as drive C:\ or D:\.
  • If it is inside a folder, make sure its name has no space(s).
  • Try running Mi Flash tool as Administrator (Right click > Run as administrator).

“Mismatching image and device” Error.

This error occurs when the ROM file you use is incompatible. It means you have downloaded a wrong ROM file for your device. The only fix for this error is to download the appropriate ROM.

The device is bricked with no way to recover.

This happens when you attempt to downgrade the MIUI version to a previous release on a device with Anti-rollback protection enabled. There is no way to fix this but bringing your device to the nearest Xiaomi service center. The Test-point method may also help you if you have enough bravery and skill to proceed.

Tried these steps on your Mi or Redmi phone? How was your experience? Did you find any problem or was it a smooth process? Share your experience below.


19 thoughts on “Practical Steps to Install MIUI Fastboot ROM”

  1. just wanna clarify, what do you mean in step 5 “Extract the full MIUI ROM (.tgz) file. Software like WinRAR or 7zip may come in handy for the task.” where will i extract the tgz file. on the computer or to the phone itself. do you have official video regarding this?

  2. Hi there,

    You know if this will work with an MI 9 SE with unlocked bootloader at first and after a format i did?
    I am in the state of fastboot loop without any other option but to flash something.
    But you know if this will work?

    Thank you,

  3. You must not flash older MIUI version (downgrade) on a Xiaomi device with ARB Protection

    can you help me too im stack un fastboot only.

  4. Tried to flash my old Redmi 4x. Had fallen into the water and didn’t start again after that, only Mi-Logo, then black, then again Mi-Logo, then off. Could still go into fast boat mode, though.But with Fastboot I always get the error message “Flash error tgz”. I have tried different versions of the Mi-Flash, but always the same. What is wrong?

  5. I have a redmi note 9 pro 5g (Chinese version). Can I flash a global version so that it is English. I have:
    MIUI-V12.0.3.0.RJSCNXM. Stable Miui based on Android 11. Gauguin.

  6. Thanks a lot, Bro I didn’t know of disabling Windows Driver Signature Enforcement And now it worked bringing my stock ROM back to my device Thank you

Leave a Reply

Your email address will not be published.