How to Flash Xiaomi Firmware using MIUI Fastboot and Recovery ROM

Ever since the dawn of affordable smartphones in countries like India and China, the demand for more has increased. The consumers now, more than ever, are asking for the most out of their buck in the smartphones being released. Xiaomi is unarguably one of the biggest reasons why cheap smartphones got good in the masses, allowing for a plethora of developmental stages in the Android ecosystem.

All of you may already have come across the term “Custom ROM” or “Root”. These are essentially what the power Android users strive to attain. Having an unlocked bootloader with a custom recovery on your phone allows a world full of possibilities to come. You can exploit the most out of the internal hardware of your Android device. When it comes to Xiaomi, most power users don’t necessarily like the lackluster custom skin, MiUI on top of Android. This is why Xiaomi is one of the biggest vendors which supports a host of custom software and kernels.

Why One need Xiaomi Firmware?

Most of the times, the procedure goes on smoothly and the end result is a familiar smartphone but now with incredible potential. However, it would be an understatement to say that a few people mess during the procedure and get their devices into a bootloop. This is basically a state where your software partition goes corrupt, and your phone is stuck in an endless loop trying to power up. There are various ways to bypass and diagnose this issue, but Xiaomi phones are known for their infamous Mi Flash Tool.

Technically, the release of the Mi Flash Tool was subjected towards helping such issues being resolved quickly on the press of a button, however, it’s only gotten complicated since its inception. Half of the times, the Flash Tool denies to recognize your device in the fastboot mode, or it fails to write the software properly. In such cases, the one and the only way out is the traditional fastboot flash method. This involves manual entry of fastboot commands in the command prompt terminal to install the system images one by one.

If you’ve unfortunately bricked your Xiaomi device, and doesn’t seem to help, this is the right place for you to be! In this guide, we will be taking a look at how you can easily restore the Xiaomi Firmware on your Xiaomi device using Mi Flash Tool and if you are facing any lag or want to upgrade the security patch, then follow the recovery flashing procedure.

How to Flash Xiaomi Firmware using Fastboot and Recovery ROM


  • You need a Xiaomi device with an unlocked bootloader.
  • You need a Windows PC with ADB & Fastboot installed.
  • Download Latest Mi Flash Tool and Extract it on your PC.
  • Download and Install Xiaomi USB drivers.
  • We do not recommend you attempt this process without a battery percentage of 70 or more, to avoid any unforeseen shutdowns in the middle of the process.
  • You’ll need the fastboot ROM zip for your compatible Xiaomi device. You can search for your device’s ROM file in this archive.

How to Flash Xiaomi Firmware using Fastboot

  1. Download the MIUI xxxx Fastboot ROM for your Xiaomi devices
  2. Now turn your device off completely. Press the Volume– key and the Power button simultaneously to enter Fastboot mode.
  3. Once you have entered fastboot mode, you will see the Mi Bunny Fastboot mode picture (See screenshot below)Mi Bunny Logo
  4. Now connect the device to the Windows PC/laptop via a micro USB cable.
  5. You need to double click on the downloaded ROM file to extract it.
  6. Open the extracted ROM folder, and copy its path on the computer. Mi Flash Tool mi6
  7. To install Mi Flash ToolDownload Mi Flash Tool Zip and Extract the MIUI MI Flash tool on your computer.
  8. Now click on the installer file on your computer and continue the installation. (Ignore the security warning) and select run to continue the installation.
  9. After installation is completed, open MiFlash.exe and paste the address bar from the ROM file folder path copied in the 6th step. (You can also browse the folder by tapping the Select button) Mi Flash Tool mi6
  10. If you have pasted the Address code, Now Click on the first button (circled out in yellow) to Refresh, and MiFlash should automatically recognize the device. Then click the second button (circled out in red) to flash the ROM file to the device. Mi Flash Tool mi6
  11. Your flashing process has started, Now Wait until the progress bar inside MiFlash turns fully green, which means the ROM has been successfully installed. Then your device should automatically boot to the new version. Mi Flash Tool mi6

How to Flash Xiaomi Firmware using Recovery

In a case where you can still access your data partition, or just want to update your firmware using the recovery, the following steps will deem useful.

  1. Download the ROM file compatible with your device, and rename it to
  2. Transfer it to the root of your internal storage.
  3. Proceed by booting your Xiaomi device into the recovery mode by pressing both the Power and Volume Up buttons together.
  4. Once you enter the recovery mode, you can navigate using the volume up and down keys, and use the power button to select an option.
  5. Scroll down and select the “Install” option, and give your phone a while to do the task.
  6. Once done, if you phone doesn’t reboot automatically, just navigate and select the “Reboot” option from the recovery.

How to Flash Xiaomi Firmware via TWRP Recovery

  1. First of all, download the recovery ROM for your phone.
  2. Now connect your device to PC using the USB cable
  3. Move the downloaded zip file to the phone’s storage
  4. Once transferred, disconnect the phone and power it off completely
  5. Press the Volume Up and Power button simultaneously to enter TWRP recovery
  6. (Optional): If you’re using a custom ROM, go to ‘Wipe’ -> ‘Advanced Wipe’ and wipe the ‘Cache’, ‘Dalvik/ART Cache’, ‘Data’ and ‘System’ partitions.Advanced Wipe
  7. Once you are done, go back and tap on the ‘Install’ button
  8. Browse the internal storage and select the Recovery ROM zip file.
  9. To confirm, swipe the button on the screen to start installing the firmware on your Xiaomi device
  10. Once it is finished, press the ‘Reboot System’ button

Voila! You’ve successfully flashed a system image on your Xiaomi device using either the fastboot mode or the recovery mode. If you have any queries regarding the guide, make sure you hit us down below, we’d be glad to help!


    1. I tried flashing my REDMI 5a, it shows while flashing “flash partion error” ! I didn’t had an unlocked bootloader and my phone went into bootloop. Now how would i get it fixed ?

  1. Can i ask. I want to install eu rom miui10.3.2.0 rom. Via miflash can i flash the recovery files to a miflash tool thanks i want flash that rom den lock the bootloader again..

  2. Hi bhui mere pas pc ne nhi he to bahar phone ke dukan par hoske ga ?? MIUI 11 mi note 3 pro par ??

  3. ಒಳ್ಳೆಯ ಮಾಹಿತಿ ಕೊಟ್ಟಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು sir

  4. ಒಳ್ಳೆಯ ಮಾಹಿತಿ ನೀಡಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು ಪ್ರಿಯ ಸ್ನೇಹಿತರೆ

  5. MI MAX 3. updating V10.0.7.0 via OTA. installation stopped after a few minutes and rebooted. ‘INSTALLATION CANNOT COMPLETE’ tried a few times, always cannot complete.
    my phone is rooted but i re-installed stock recovery.

    if i install via recovery using file, will all data be deleted?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.