[No More Errors] [Fastboot Rom Flashing] [Direct Method]

Search This thread

rkmadotra

Senior Member
Jan 17, 2014
189
274
31
jind
Hi all,
Yesterday i flashed miui LP on my Redmi 2 Prime. In the evening i tried to flash the miui KK with fastboot rom. But ended up with unspecified error ;). I tried many things but no luck. Then i followed direct method and that worked. Following is the procedure.

Note:
1. This will erase all your data and internal storage so better you backup them first.
2. I'm not responsible if anything goes wrong with your device.

Requirement:
1. Minimal ADB and Fastboot
2. Fastboot rom
3. Mi Pc Suite (for drivers, you can skip if already installed drivers)

Preparing:
1. Install Mi Pc Suite.
2. Install Minimal ADB and Fastboot.
3. Extract fastboot rom anywhere.
4. Copy all the files from images folder to the directory where Minimal ADB And fastboot is installed.
for example C:\Program Files (x86)\Minimal ADB and Fastboot

Procedure:
1. Connect your phone to pc in fastboot mode,
your Pc will install some drivers automatically.
2. Go to Minimal ADB and Fastboot directory .
3. Hold shift and right click.
4. Click open command window here.
5. Enter fastboot devices command.
If you see your device name in list of devices attached in command window then your good to go.
6. Now enter the following commands given below one by one in sequence.

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 flash hyp hyp.mbn
fastboot flash tzbak tz.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash hypbak hyp.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


Or

Simply put Flash All.bat (Attached Bellow) in Minimal ADB and Fastboot directory and double click on it (No need to enter those commands). Your Devices will reboot automatically when flashing done.

congrats :)
Hit thanks
 
Last edited:

gabika1941

Member
Jan 22, 2016
38
3
Nyíregyháza
It fails at the first step. Can't flash the partition table, it always says "FAILED (remote: failed to write partition)"
I've tried several different ROM packs, even tried one for a different Redmi 2 version, and still can't do it.
 

rkmadotra

Senior Member
Jan 17, 2014
189
274
31
jind
did you place all the files in minimal adb and fastboot folder?

It fails at the first step. Can't flash the partition table, it always says "FAILED (remote: failed to write partition)"
I've tried several different ROM packs, even tried one for a different Redmi 2 version, and still can't do it.

did you place all the files in minimal adb and fastboot folder? And what you mean by using several different rom package? This method is only for fastboot rom made for redmi 2 only. Make sure your phone is detected by PC in fastboot mode with command fastboot devices.
I have tested this method three times without any errors. You are surely doing something wrong.
 

rkmadotra

Senior Member
Jan 17, 2014
189
274
31
jind
screenshot

It fails at the first step. Can't flash the partition table, it always says "FAILED (remote: failed to write partition)"
I've tried several different ROM packs, even tried one for a different Redmi 2 version, and still can't do it.

Can you attach a screenshot of your minimal adb and fastboot folder here. Also attach screenshot of your cmd window when you face error.
 

olaf2k4

Senior Member
Oct 20, 2011
146
25
Cluj
Can you attach a screenshot of your minimal adb and fastboot folder here. Also attach screenshot of your cmd window when you face error.
i have a similar problem :
C:\Xiaomi\wt86047_pro_images_6.3.25_20160307.0000.16_5.1_cn_ee14351bfb\images>fastboot.exe flash partition gpt_backup0.bin
target reported max download size of 268435456 bytes
sending 'partition' (16 KB)...
OKAY [ 0.005s]
writing 'partition'...
FAILED (remote: failed to write partition)
finished. total time: 0.018s

C:\Xiaomi\wt86047_pro_images_6.3.25_20160307.0000.16_5.1_cn_ee14351bfb\images>

I have a 2014813 , was using a moded 2014811 rom on it. Kept crashing wanted to reflash , and installed TWRP on it , that said can't mount partitions and now i can't flash neider the 811 or the 813 roms to it . Just keeps saying error writing to partition . I can attach a screenshot of the Miflash tool if it helps. And above is the Command prompt error.
 

apriores

Senior Member
Jul 25, 2012
186
29
Pushing just 5 img files didn't worked for me and was stuck on MI logo, but pushing all files was reviving my phone!
Thank you very much for this method!
 

Rohit1999

New member
Jun 15, 2016
1
0
sir, my Redmi 2 is bricked
when I am trying to flash this the error messages is coming like
cannot load " gpt_both0.bin".
like these and so on. when I am using flash all.bat same messages is coming and then after erasing boot the phone reboots with black screen .
sir please help me
your help will be highly appriciated.


[email protected]
 

vtvipul

New member
Jul 26, 2016
1
2
yeah!!!!!!!!!!!! after trying many other methods like recovery through adb ,command prompt,mi flash tool,mi pc suit...... i downloaded atleast 4-5 roms to just confirm that whether flash tool has some problem or the ROMs..........but if something worked after constantly trying many things in past three days it is this method.......seriously...

FYI this is the way i used it and u should probably use the same way
-> download MI flash tool (google it)
->install(in C:)
->download any compatible ROM for ur phone
->open :- C:\Program Files\Xiaomi\MiPhone\Google\Android
->paste all the contents of image folder from the ROM into this android folder
->then download this Flash All.bat from here and extract it...
->put your phone in fastboot mode ->connect it via usb
->then double click your Flash all.bat file-> give it some time->once finished ur device will start automatically
->after 10 mins or so disconnect ur phone from pc ... give it 4-5 mins , ur phone will be out of bootloop and u will be awarded with a new MIUI
 

Shriprathaps

New member
Jul 31, 2016
1
1
Yes! It worked for me as well.
Thanks for your steps.
(FYI this is the way i used it and u should probably use the same way
-> download MI flash tool (google it)
->install(in C
->download any compatible ROM for ur phone
->open :- C:\Program Files\Xiaomi\MiPhone\Google\Android
->paste all the contents of image folder from the ROM into this android folder
->then download this Flash All.bat from here and extract it...
->put your phone in fastboot mode ->connect it via usb
->then double click your Flash all.bat file-> give it some time->once finished ur device will start automatically
->after 10 mins or so disconnect ur phone from pc ... give it 4-5 mins , ur phone will be out of bootloop and u will be awarded with a new MIUI )
and it worked good.
My Mi Account was locked and could not connect to internet at all.
I had tried using Flash tools, PC suite - Flash methods and nothing worked. I had spend more time to fix my mobile in all these ways.
But this method is awesome. Only took around 15 minutes to completely flash my mobile.
After flashing the mobile, I am able to connect to internet and I have also created a new Mi-Account and linked my G-Mail account to it.
Am super happy now.
Thanks a lot.

However I would wish to add another details to the above setps:
The Flashall.BAT too needs to be extracted and copied into the same folder where the contents from ROM's Image folder were copied.
 
  • Like
Reactions: dohn joe

Dadarocks

Senior Member
Mar 24, 2015
68
14
Tried a similar method and got my redmi2 prime hard bricked. Can someone tell me the test points in the device 2014818?
 

yog9216

New member
Jun 11, 2015
1
1
Thanx This works for me. successfull to flash my redme 2

Simply put Flash All.bat (Attached Bellow) in Minimal ADB and Fastboot directory and double click on it (No need to enter those commands). Your Devices will reboot automatically when flashing done.

congrats :)
Hit thanks[/QUOTE]
 
  • Like
Reactions: dohn joe

oarthus

Member
Sep 28, 2007
16
0
Hello

I am stick in bootloop with my Redmi 3 (after trying Flashify).
Tried the above method with high hopes, as I have been trying everything else also with no luck.
I have downloaded a ROM for my device of course.
It all seems to go well until I launch the Flash_All.bat
Then the DOS commands are executed in 5 to 10 secs, and my devices reboot, but in a bootloop again
I got a breif view at the DOS commands, and it basically, at several lines says somthing, like: "failed to write, device is locked"
see attached sreen shot


does this mean my problem has no solution and I can simply throw away my device?

Thanks
 

Bhargab Deka

Member
Dec 12, 2016
28
1
Fastbooting method did not bring back my stock model number that is hm2014818. It changed to 2014817 when i flashed miui 8 64bit rom for redmi 2. Now i am not able to go back to my original model number even by fastboot method. Any help please??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Hi all,
    Yesterday i flashed miui LP on my Redmi 2 Prime. In the evening i tried to flash the miui KK with fastboot rom. But ended up with unspecified error ;). I tried many things but no luck. Then i followed direct method and that worked. Following is the procedure.

    Note:
    1. This will erase all your data and internal storage so better you backup them first.
    2. I'm not responsible if anything goes wrong with your device.

    Requirement:
    1. Minimal ADB and Fastboot
    2. Fastboot rom
    3. Mi Pc Suite (for drivers, you can skip if already installed drivers)

    Preparing:
    1. Install Mi Pc Suite.
    2. Install Minimal ADB and Fastboot.
    3. Extract fastboot rom anywhere.
    4. Copy all the files from images folder to the directory where Minimal ADB And fastboot is installed.
    for example C:\Program Files (x86)\Minimal ADB and Fastboot

    Procedure:
    1. Connect your phone to pc in fastboot mode,
    your Pc will install some drivers automatically.
    2. Go to Minimal ADB and Fastboot directory .
    3. Hold shift and right click.
    4. Click open command window here.
    5. Enter fastboot devices command.
    If you see your device name in list of devices attached in command window then your good to go.
    6. Now enter the following commands given below one by one in sequence.

    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 flash hyp hyp.mbn
    fastboot flash tzbak tz.mbn
    fastboot flash sbl1bak sbl1.mbn
    fastboot flash rpmbak rpm.mbn
    fastboot flash abootbak emmc_appsboot.mbn
    fastboot flash hypbak hyp.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


    Or

    Simply put Flash All.bat (Attached Bellow) in Minimal ADB and Fastboot directory and double click on it (No need to enter those commands). Your Devices will reboot automatically when flashing done.

    congrats :)
    Hit thanks
    2
    yeah!!!!!!!!!!!! after trying many other methods like recovery through adb ,command prompt,mi flash tool,mi pc suit...... i downloaded atleast 4-5 roms to just confirm that whether flash tool has some problem or the ROMs..........but if something worked after constantly trying many things in past three days it is this method.......seriously...

    FYI this is the way i used it and u should probably use the same way
    -> download MI flash tool (google it)
    ->install(in C:)
    ->download any compatible ROM for ur phone
    ->open :- C:\Program Files\Xiaomi\MiPhone\Google\Android
    ->paste all the contents of image folder from the ROM into this android folder
    ->then download this Flash All.bat from here and extract it...
    ->put your phone in fastboot mode ->connect it via usb
    ->then double click your Flash all.bat file-> give it some time->once finished ur device will start automatically
    ->after 10 mins or so disconnect ur phone from pc ... give it 4-5 mins , ur phone will be out of bootloop and u will be awarded with a new MIUI
    1
    Yes! It worked for me as well.
    Thanks for your steps.
    (FYI this is the way i used it and u should probably use the same way
    -> download MI flash tool (google it)
    ->install(in C
    ->download any compatible ROM for ur phone
    ->open :- C:\Program Files\Xiaomi\MiPhone\Google\Android
    ->paste all the contents of image folder from the ROM into this android folder
    ->then download this Flash All.bat from here and extract it...
    ->put your phone in fastboot mode ->connect it via usb
    ->then double click your Flash all.bat file-> give it some time->once finished ur device will start automatically
    ->after 10 mins or so disconnect ur phone from pc ... give it 4-5 mins , ur phone will be out of bootloop and u will be awarded with a new MIUI )
    and it worked good.
    My Mi Account was locked and could not connect to internet at all.
    I had tried using Flash tools, PC suite - Flash methods and nothing worked. I had spend more time to fix my mobile in all these ways.
    But this method is awesome. Only took around 15 minutes to completely flash my mobile.
    After flashing the mobile, I am able to connect to internet and I have also created a new Mi-Account and linked my G-Mail account to it.
    Am super happy now.
    Thanks a lot.

    However I would wish to add another details to the above setps:
    The Flashall.BAT too needs to be extracted and copied into the same folder where the contents from ROM's Image folder were copied.
    1
    Thanx This works for me. successfull to flash my redme 2

    Simply put Flash All.bat (Attached Bellow) in Minimal ADB and Fastboot directory and double click on it (No need to enter those commands). Your Devices will reboot automatically when flashing done.

    congrats :)
    Hit thanks[/QUOTE]
    1
    Google

    Where i found redmi 1s hard brick solutuon.

    Search in Google for imei restore redmi 1s not for hard brick.