The best solution to fix Xiaomi device error: Bootloop, Hardbrick, and Softbrick is ROM Flashing via Fastboot mode and here’s how to do it correctly. I believe many of you ever felt confused and panic when facing with such kind of problems. Bootloop is an error which you can’t successfully boot your smartphone and being stuck in Mi or Android logo. The Bootloop error usually happens when a user does not correctly flash ROM to his/her phone during MIUI update. For example when you want to update MIUI ROM via TWRP or Mi Recovery. But however there are many other factors other than I mentioned can cause Android bootloop error.
This time I’ll share a small trick for you on how to dealing with bootloop, hardbrick, and softbrick error on any Xiaomi devices including the most popular Redmi 2, Redmi Note 2, Redmi Note 4G (dual SIM), Mi 4, and Mi 4i. Please remember that the guide you read here is not limited to Xiaomi devices I mentioned before but it can be applied to any (most of) Xiaomi devices because the basic is simple: bootloop, hardbrick, and softbrick error can be fixed by flashing ROM through Fastboot mode and using Fastboot-only MIUI ROM.
Also, the purpose of this guide is not limited to fix error on your smartphone but you can also use this guide just for ROM flashing purpose either to update your phone to latest MIUI version or to root the Android OS on your Mi phone. Enough the chit chat and let’s start the tutorial after the jump below.
Disclaimer: Credits of several images belong to and thanks to TeknikIT.com.
p.s: Some recent devices need to have unlocked bootloader before being able to flash Fastboot ROM.
How to Flash MIUI ROM via Fastboot Mode
Step 1 – Download Mi PC Suite tool then install it on your Windows-based computer (PC/laptop).
Step 2 – Download Mi Flash tool then install it on your computer. I’ve included the tutorial how to install it right in the same page where you download it.
Step 3 – Download Fastboot ROM package corresponding to your Mi device model, make sure you grabbed the correct package for your phone. The download links are below which you can grab the latest version of MIUI Fastboot-version ROM. If you need older version then Google is your friend.
MIUI Fastboot ROM Downloads
MIUI 7.1 Global Stable ROM Fastboot file here. Or, download latest version below (there’s a chance you’ll get the MIUI 8 version instead):
p.s:
– do not forget to check if the ROM file suffix is “.tgz” and if it is “.gz“, please rename it to “.tgz”
– the file size is quite large so you better use your favorite download manager.
Step 4 – Now you need to extract the newly downloaded MIUI Fastboot ROM package .tgz file using WinRAR. Make sure you extract its content to root of your computer’s drive and do not extract it inside a folder. That’s to make sure the files inside the content can be easily accessible later. For example, extrac it to drive D:\ or drive E:\ (drive C:\ is for Windows system, so you better not extract it there).
Once extracted, you’ll then get a folder named like this (example Global version):
hermes_global_images_V7.1.1.0.LHMMICK_20151221.0000.11_5.0_global
or this for Chinese version:
hermes_images_V7.1.1.0.LHMCNCK_20151221.0000.11_5.0_cn
Step 5 – Launch up MiFlash.exe to open Mi Flash tool you’ve downloaded earlier in Step 2. The file is usually located at:
C:\Program Files\Xiaomi\MiPhone
or if in x64 machine it is located at:
C:\Program Files (x86)\Xiaomi\MiPhone
Right-click on it and choose Run as Administrator:

Step 6 – Click the Browse button and look for the location of where you’ve extracted the MIUI Fastboot ROM file, choose folder images then hit OK button.

Step 7 – It will then look like below. Now click on the little arrow next to the Browse button (see picture) then click Advanced.

Step 8 – A dialog box will open. Now you have to click the Browse button in the Fastboot Script. Browse to the location you’ve extracted the MIUI ROM Fastboot file again and select the flash_all.bat file following by clicking the OK button. For your information, this script will wipe all your phone’s files including all of your data and it will do a clean install. Also, do not and never alter / change any other settings, just leave it as it is.


Step 9 – Next, you’ll need to connect your Xiaomi device / phone to computer. But first, you have to make it entering Fastboot mode. Achieving that is easy, simply grab your phone and press the Volume down (-) button and Power button all together at the same time. Hold your pressing until your phone restarting and entering Fastboot mode. You are doing that successfully if you’ve seen the Fastboot logo on your phone’s screen:

Step 10 – Now connect your phone which is in Fastboot mode to the computer using its USB cable.
Step 11 – Back to the MiFlash tool you’ve setup earlier. Click the Refresh button and the tool will detect your phone.

Step 12 – Once the MiFlash tool can detect your phone, click the Flash button to start flashing the MIUI ROM Fastboot file to your phone.

Make sure you see message saying “The operation completed successfully. (0x00000000;)” once it done:

Step 13 – Ok so now you’ve flashed the MIUI ROM and now your phone will restart. At this point you can disconnect your phone from computer and wait till your phone reboot and restart completely. Just keep in mind that initial booting process may take long time so do not panic and just wait till it’s fully boot.
Voila! your phone is now turned on and booted into the newly installed MIUI ROM. Installing MIUI via Fastboot is wiping all your phone’s data so it will be like a brand new phone. Hence you have to setup your phone from the basic, just take it as a new phone.
Congratulation and enjoy using your phone with brand new MIUI system.
p.p.s: If you flashed MIUI Stable China build then most likely you don’t have Play Store installed.