In the course of trying to fix the mess I created when I installed the wrong ROM on my Xiaomi Redmi 2 Prime phone, I learnt quite a few things. Just like we have the SP Flash Tool for Lenovo devices, the MiFlash tool serves for flashing Xiaomi phones via fastboot mode.
While it’s quite simple to use, sometimes one might encounter the dreaded “Missmatching Image and Device error“. This error in most instances happens when you’re trying to flash the wrong ROM. That is the ROM you intend to flash wasn’t built for that particular device.
If you’re quite sure this is some mistake on the part of the MiFlash or you’re just adamant about flashing that ROM to your device, here’s how to go about it.
WARNING! DO NOT PROCEED IF YOU CAN’T RISK DAMAGING YOUR DEVICE.
UPDATE 21 February 2017: THERE SEEMS TO BE A HUGE NUMBER OF PEOPLE COMPLAINING OF BRICKING THEIR PHONES AFTER TRYING THIS METHOD. PLEASE DO NOT TRY IT IF YOU CAN’T RISK PERMANENT DAMAGE TO YOUR PHONE…..INSTEAD TAKE IT TO A XIAOMI SERVICE CENTER.
This guide is for the Xiaomi Redmi 2 Prime. For other devices, the files you need to flash might vary based on what is reflected in the the flash_all.bat or flash_all_except_data_storage.bat file. See this.
Reboot your phone into Fastboot mode and plug it into your computer
Copy the content of the images folder of your fastboot ROM then navigate to the Android folder of your MIUI ROM Flashing Tool i.e C:\Program Files (x86)\Xiaomi\MiPhone\Google\Android and paste them there as shown below.
While in the Android folder, hold down the left Shift key on your keyboard and right click inside this folder and then select Open command window here.
This will launch this screen
Proceed to run the following commands via the prompt as shown in the capture below. You can copy and paste them one by one.
fastboot flash partition gpt_both0.bin
fastboot flash tz tz.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash persist persist.img
fastboot flash sec sec.dat
fastboot flash splash splash.img
fastboot reboot
The last command will automatically reboot your device and you’re done force flashing your Xiaomi device in fastboot mode.
Be sure to let me know if this helps. If it doesn’t take a trip to the MIUI forums. I’m sure you would be able to find some help there like I did.
You’ll also like:
- SOLVED! IMEI and Signal Issues On Xiaomi Redmi 2 HM2014811, HM2014812, HM2014813
- How To Fix No Network Signal On Xiaomi Redmi 2 Prime HM2014813
- How to Flash the Xiaomi Redmi Note 2 Via FastBoot Mode
- How To Change 32bit Android to 64bit Android On Oukitel K6000 Pro
- How To Flash Xiaomi MiPad In Fastboot Mode
Please rate & share this article to help others. Thanks
I got RN4 a week ago faced the same problem, what I learnt that I didn’t turned on USB Debugging and got stuck at this error. after turning that on everything worked perfect
Awesome :-)
Thanks, At first i thought my phone get bricked but after a minute it started loading and all is set as new. Thanks for the great tutorial.
You’re welcome sir
Now mobile is not getting on and there is no charging light also while plugged the charger
@Pradip: Sorry to hear that. I did leave a disclaimer that this was risky (WARNING! DO NOT PROCEED IF YOU CAN’T RISK DAMAGING YOUR DEVICE.)
You would have to take it in for repairs
My device has gone to Dead condition after done this method :(
Man, this tutorial saved my phone!!!
Thank you so much!! ;)
@Yuri you’re welcome
my redmi 2 prime got is not rebooting after applying the above procedure
@Vihaari so sorry to hear that. Have you tried flashing another ROM?
now i have hardbricked u r a cheater
You obviously chose to ignore the part that says
WARNING! DO NOT PROCEED IF YOU CAN’T RISK DAMAGING YOUR DEVICE
What device where you trying to flash using this guide? This tutorial was in reference to the Redmi 2 Prime.
Can you still boot into fastboot mode?
I was using redmi 2
whether this method can be used for in Xiaomi redminot 3 and whether the file redmi 2 to reedminote 3 same.plse gve me instructions thanks
@Junvonx: I don’t think this method will work for redmi note 3.
first of all thanks a ton !!!!!!! i messed up with the redmi 2 prime phone in every possible way while trying reverting to stock xiaomi miui from resurection remix rom..
1) no recovery mode
2) wiped data and restoring failed with twrp
3) mi tool gave mismatch error
tried all forums and their way but getting different errors :(
finally i tried this ….and it worked .im so happy ..thanks a lot
@Joel you’re welcome sir. I’m glad I could be of service 😊
Thank you SO MUCH !
I had been trying to save my phone for hours when I found your tutorial. I followed it out of despair, ready to break my beloved Redmi 2 if I failed again.
But it worked ! It PERFECTLY worked !
I’m so happy !
THANK YOU !
@Moon: You’re welcome
This worked for me.. when everything else failed.
@imtiyaz really nice to hear that. 😀
You sir, deserve a medal!
Many thanks for sharing the procedure with us. Worked flawlessly.
Cheers from Portugal! All the best.
@Gustavo: You’re welcome :)
Thank you so much Sir !!!
@Kapil you’re welcome sir
hi bro, my redmi 2 (HM2014818) was converted in to (HM2014813) when i am flashing a cracked custom rom. so i cant find any way to return (HM2014818). But your article is just amazing why because i can find the right way and my device is returned from HM2LTE-CMCC to HM2LTE-IN.thank you so much. please post this tutorial for youtube users.
@Veepi: Thanks for the feedback and I’m glad to hear it worked for you. Unfortunately I don’t know how to do youtube videos yet so I’m sticking with writing for now. Thanks one again :D