Installing Xiaomi Firmware Using MiFlash Tool

Installing Xiaomi Firmware Using MiFlash Tool


On this occasion we will learn how to install rom xiaomi via PC using MIFLASH tool or Official Xiaomi Flashing tool. Usually this way is used if we want to update or downgrade firmware, it can even be used to unbrick if it can not enter recovery mode and device stuck in logos or can not enter Homescreen.


  • If you fail to install the rom using the MIFLASH Tool, try with the ADB fastboot method [Read Here], this lets you install one by one .img .bin partition from the xiaomi firmware.
  • For Xiaomi Devices using Mediatek “MTK” chipset, you can try update firmware using SP-Flashtool China phones tool [ Here ] for unbricking
  • For Xiaomi Devices using Qualcomm Snapdragon chipset, you can try update firmware using Qfil / QPSTools [ Here ] for unbricking

This guide for educational purpose only, not responsible if your Xiaomi bricked after updates firmware or following our tutorial. ( Do With Your Own Risk )

Preparation :

  • PC / Laptop window OS
  • USB cable
  • Fully charge battery minimal 60%, To avoid failure of flashing process.
  • Download and unpack Your stock firmware with extension .tgz (Not flashable .zip)
  • Download and install -> Latest Version of MiFlash  on PC
  • Download and install -> Driver  on PC

Start the flashing process with fastboot / Emergency mode

  1. Please check if the ROM file suffix is ‘.tgz’. If it is ‘.gz’, please rename it to ‘.tgz’
  2. Open Mi Flash Tool, Then click the SELECT button and highlight it to the rom folder you extracted before, and click OK.
  3. At the bottom right of the Mi Flash Tool -> click on the dropdown menu. Choose flash type you want. = Installing firmware without remove internal memory (Recommended)
    Flash_all.bat = Install firmware and All system data, internal memory will removed
    flash_all_lock.bat = Install firmware and All system data, internal memory will removed, Then your device will be locked bootloader again
  4. Turn off Your Xiaomi Device.
  5. Press the Volume down and the Power button at the same time to enter Fastboot mode.
  6. Connect the device to the Windows PC/laptop via a micro USB cable, Click REFRESH button on MIFLASH To detect the xiaomi device connected to the computer. Then press FLASH Button to starting installation ROM / firmware.
  7. 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. enjoy 🙂



One thought on “Installing Xiaomi Firmware Using MiFlash Tool

Leave a Reply

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