Xiaomi has its own Mi Flash Tool in which we select the .bat and flash.

But if we use fastboot commands then we only need system.img, boot.img, recovery.img, cache.img and userdata.img

So I checked .bat files using notepad++ and they contain commands for various other files too like modem etc that are present in images folder.

But phone gets booted perfectly with both methods!


  1. Are those other files not important?

  2. How the fastboot mode that uses less files work too?

  3. Does those images only flash the other files? Because in tutorial the person said to copy all files of images folder to adb folder.

  • it's not true what they say, various other partitions like modem etc are important. just because you flashed only boot system vendor ... - that doesn't mean your device will work without - all partitions (erase them you will see). afaik 'fastboot flash' only works for unlocked bootloader. MIFlash not only run fastboot.exe, it can flash via Qualcomm HS-USB QDLoader 9008 with fh_loader.exe, too
    – alecxs
    May 6, 2020 at 11:09
  • @beeshyams see this post. My phone was hard bricked. I got it fixed and when I flashed OrangeFox recovery and enabled OTA and flashed full MIUI 11 rom again (as the recovery says so that it can detect OTA in future) but it gave me error 7. And when I turned it on it got stuck on Mi logo. Mi flash tool gavee system flashing error so I flashed using fastboot commands. And my bootloader is unlocked.
    – Pragyan
    May 6, 2020 at 11:24
  • @beeshyams so are these critical partition important? Will not flashing them cause any errors because my phone is working fine now except one problem that I can't update system launcher app of MI (whenever I install an APK of its new version from apkmirror it gets installed but when I add any widget or any new app is added then it gives me error saying system launcher has stopped.
    – Pragyan
    May 6, 2020 at 11:29
  • @beeshyams how to flash those critical partitions?
    – Pragyan
    May 6, 2020 at 11:30
  • @alecxs hi, so I should flash them?... How?.... Should I take a backup or those partitions won't delete all data?
    – Pragyan
    May 6, 2020 at 11:34


You must log in to answer this question.

Browse other questions tagged .