[GUIDE][FASTBOOT] FLASHING FASTBOOT MiUI ROMS

dr.arifeen7009

Senior Member
May 2, 2015
116
15
0
28
Khulna
getting flash tz error error

xiaomi Redmi 4 prime

tried to put rom via mi flash tool in fastboot mode.but geeting "flash tz error"

second time getting "echo mismatched device and image error" while tried to use edl mode

I tried to put xiaomi Redmi 4 prime stable china version
 
Last edited:

sanju0707

New member
Mar 25, 2017
2
0
0
redmi 3s prime

sir i have redmi 3s primei had flash all file expect system.img file is showing error.i had used this line fastboot flash system system.img

plz help sir.......

if you found any solution so please inform me.
[email protected]
+919899426481
 

deady

Member
Jan 10, 2008
12
0
0
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash userdata userdata.img
target reported max download size of 805306368 bytes
erasing 'userdata'...
FAILED (remote: failed to erase partition
)
finished. total time: 0.012s


Any idea what that might be. I get problem with every flash method i try....
 

sanju0707

New member
Mar 25, 2017
2
0
0
Hey sir,
On cmd I try flash system file. But its showing error.
I used this one cmd... Fastboot flash system system.img
Plz help me sir I would like to know that what's the error.
 

HannibalLecter

Senior Member
May 12, 2016
1,492
543
113
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
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 reboot

After all the commands except erase boot and reboot I get en error: target report max download size of 671088640 bytes error cannot flash..............
Any help would be deeply apreciated

SOLVED!!!! Using this.
http://forum.xda-developers.com/showthread.php?t=2277112
Hey brother how did you SOLVE this? I did not understand that from the guide.
PLEASE HELP> I AM FACING THE SAME ISSUE :/
 
  • Like
Reactions: m.morcielago

Pallmalli

Senior Member
Apr 10, 2011
198
37
0
Hey brother how did you SOLVE this? I did not understand that from the guide.
PLEASE HELP> I AM FACING THE SAME ISSUE :/
If you click on the link at the end of my post you'll find to the thread. Read it very thoroughly and than proceed with the fastboot flashing. It's been some time since but I remember to have erased everything (the command witch ends with a -w). Than flash the recovery and the rom. Didn't do anything different. Read the first few posts very well and if needed many times. That's all.
 

aliasviper

Member
Nov 14, 2018
5
0
0
Saved my day!

Your solution helped me, saved 12hrs of hard work.

My issue was:
1. Got bootloop in Fastboot mode, nothing worked to get out of it.
2. I tried installed TWRP from Fastboot but didn't work either

I was using TWRP with LineageOS 16 for me Redmi 3S (Land) device, but this morning I did a update and since my phone had a PIN code, it couldn't flash the update and that was the root cause of all the problem. I was stuck into TWRP bootloop, to fix that I was ended up into Fastboot bootloop.

Here is what worked for me...
1. Downloaded ROM from https://mirom.ezbox.idv.tw/en/phone/land/ use the Fastboot file
2. Installed Minimal ADB and Fastboot in my Windows 10 PC
3. Then extracted ROM files (from images folder) to Program files "Minimal ADB and Fastboot" folder
4. Shift + right clicked on the empty space of "Minimal ADB and Fastboot" folder to open Windows Power Shell program
5. And then followed the exact commands mentioned by Sk.D but all the commands started from .\ for example .\fastboot flash tz tz.mbn
6. For me fastboot flash dbi sdi.mbn file was missing and that didn't make any difference
7. After reboot command, it took nearly 15-20mins to reboot my phone, so you must have patience

Now, I'm going to install TWRP and Lineageos 16 again.

thanks so much for saving the day!

Introduction:



Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.



So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.

Prerequisite :



Computer :p
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)








Steps to be performed :



1)Download minimal adb and fastboot zip and install it.

2) Also install Miflash for necessary usb drivers!

3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.

FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER

5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.

6) Follow the commands given below : Ps Enter commands one by one!!





Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
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 reboot
7) The phone will automatically reboot after entering last commands , so have patience!

ENJOY!!!!!!

ps :Btw this helped me fix my otg which was giving me error!
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone