[GUIDE][HOWTO] instruction to restore the Mi4/Mi3 bricks (broken partition table)

royskeyz

Senior Member
Apr 10, 2011
681
291
0
Bacolod
please help on this guide pls. my mi3 full dead. I downloaded all needed files I don't know how to follow guide where to put additional line.
Can someone pls make step by step of this please.
 
Last edited:

ravi.vamos

Member
Jul 2, 2013
9
1
0
Bhimavaram,Hyderabad
If you connect your phone to the pc and see something like this

This guide is for you

Phone will remain a black screen in the Device Manager, the new device will be Qualcomm HS-USB Diagnostics 9006/9008, and Windows about 7 new flash devices. Simply close all offers their formatting. Reboot the PC (required on Windows 10, or sections will not be able to unmount when flash).
Oh Dear!...my ignorance amuses me...i have realized how ignorant i have been in closing those format prompts from windows when my Mi3 was connected to PC...i was lost in a pool of thoughts of what had gone wrong...Just a line made me realize it...of all the tuts i read this is the best and most precise to the problem..if u know what all those tech jargon meant....my mi3 has a second life now and will be obliged to the OP for the rest of its life:) here in India we're so crazy :p abt "life saviour" that we may even build a temple for ya.. Kudos matie:angel::highfive:
 

aayushgadia

Member
Oct 7, 2014
5
0
0
Jaipur
Stuck in Fastboot cant flash

Hi,
I am novice at flashing and stuff.
My Mi4 was stuck at Mi logo. I tried searching and found fastboot flashing. However, I can not fastboot flash using neither MiFlash not MiPCSuite.
MiFlash I get error Unspecified Error(0x8000405:FAILED (remote: flash write failure))

Then I searched again and came to this thread, and as per my understanding I need to follow 9006 mode instructions. but this seems too technical for me. Can you explain the 9006 mode in a step by step mode so I can follow.

Thanks in Advance.


If device hangs on Mi logo and cant flash via fastboot / problems after re-partition / defined as QHSUSB_BULK
If you touched anything from the name of the spoiler and the previous instruction does not help, then our task will be to move into 9006 mode (if your smartphone is already defined as QHSUSB_BULK, you can go directly to the firmware).

On a device located in fastboot write in the console:
Code:
fastboot erase aboot 
  fastboot reboot
View attachment 3590163
Phone will remain a black screen in the Device Manager, the new device will be Qualcomm HS-USB Diagnostics 9006/9008, and Windows about 7 new flash devices. Simply close all offers their formatting. Reboot the PC (required on Windows 10, or sections will not be able to unmount when flash).

MiFlash Run as Administrator, click the button "Refresh", this will be a new device like this
View attachment 3590164
Choose the folder with the firmware, click the button "Flash". After ~ 160 seconds, the firmware is completed, to restart, hold the power button.
View attachment 3590165

If in MiFlash nothing appeared
1. Make sure that the device appears in the Device Manager, if not:
1) Connect the USB cable to the motherboard (ie "behind")
2) Put the device on charge for at least two hours and try again

Device in 9008 mode

Here things can be a little tricky, but it depends only on your particular case.
It may be necessary short-circuit test points


Possible errors in MiFlash

EE: Access is denied. (0x80070005: Dismount volume ...)
AA: Restart your laptop, connect the device to a different usb port
EE: Reached the end of the file. (0x80070026: Receiving hello packet)
AA: Need a short-circuit of the test-points, change the cable, use a different computer


Contributor
nikitaklsnkv2000
Original source
4pda[/QUOTE]
 

imgblur

Senior Member
Nov 3, 2015
212
50
0
Bangalore
I don't know how it got screwed but it did. I don't have fastboot access now. If i press and hold the power button for say 10 secs, the MI logo come up that's all. Can somebody help?
 

diongdyh

Senior Member
Dec 6, 2014
1,116
447
0
Kuala Lumpur
I don't know how it got screwed but it did. I don't have fastboot access now. If i press and hold the power button for say 10 secs, the MI logo come up that's all. Can somebody help?
Try to boot into fastboot. Even if only the Mi Logo is up, try to check if your phone is actually in fastboot or not. Install the drivers needed and open command prompt. Type in:
fastboot devices
 

imgblur

Senior Member
Nov 3, 2015
212
50
0
Bangalore
Try to boot into fastboot. Even if only the Mi Logo is up, try to check if your phone is actually in fastboot or not. Install the drivers needed and open command prompt. Type in:
fastboot devices
Tried all of that. But not able to boot into miui also. I used Mi Flash, used fastboot commands but my internal storage partition says 0mb in TWRP. Even tried formatting the partitions when it showed up on windows.
 

imgblur

Senior Member
Nov 3, 2015
212
50
0
Bangalore
Sorry? The phone was not able to go into bootloader. so I flashed miui latest with mi flash. Went into fastboot and flashed it again. But it's not booting up. When I use twrp as recovery, it says internal memory 0mb. I think the partition tables are messed up. I was on the new partition layout.
 

Dr. Ramm

Senior Member
Jun 20, 2015
219
746
133
25
Moscow
vk.com
Sorry? The phone was not able to go into bootloader. so I flashed miui latest with mi flash. Went into fastboot and flashed it again. But it's not booting up. When I use twrp as recovery, it says internal memory 0mb. I think the partition tables are messed up. I was on the new partition layout.
try to flash flash_all.bat with fastboot% * flash partition% ~ dp0images \ gpt_both0.bin line
 
  • Like
Reactions: imgblur

Aj_$tyle$

Senior Member
Feb 22, 2016
78
6
0
Hyderabad
A very BIG Thank you @Dr. Ramm
you saved MI3, i followed your article and unbricked my mi3 successfully.
and one question Dr. Ramm i also have yu yureka and i hard bricked it 4 days age, there is no such sure post to unbrick yureka all are giving error like Sahara Fail error, if you know about this, then plz i need your help. again thanks Dr. Ramm
( One thing to my friends who have Hard bricked their mi3\mi4, i can help you(if you want)(i dont need a single penny), i live in hyderabad, if any one lives in hyderabad who bricked their mi3\mi4 can contact me (if they are failing to revive ther mi3\mi4).
 

dmc^^

Member
Nov 23, 2010
14
3
0
Mainz
Brick is not recognizable through shell on Win7 (Mac VM)

Thx for the great guide!

But ive reached my limits i guess^^

Yesterday evening i screwed up while applying the latest Update (through update.zip via twrp... my bad)

After reading into this problem i spent the whole night figuring first XP-VM (poor crap on Parallels for Mac) without getting any positive results.
Now ive moved on to Win7, which seems to serve me well, but i still got the Problem:

If in MiFlash nothing appeared
1. Make sure that the device appears in the Device Manager, if not:
1) Connect the USB cable to the motherboard (ie "behind")
2) Put the device on charge for at least two hours and try again


Ive got the latest drivers, adb, miflash and misuite installed properly. Also my brick is perferctly recognized as Bulk Host with 7 devices.
It has beencharging the whole night on different chargers from 0,5a to 2a. I tried 7 different cables. Restartet the VM many times.

But my device is nevertheles unrecognized via ADB / Fastboot. Has anybody any suggestions left for me? I´d appreciate some new ideas how to move an from now. Thanx in advance, cheers!

Finally, only testpoint method worked out.
http://en.miui.com/forum.php?mod=viewthread&tid=22811
 
Last edited:

Zatyoshi

Member
Aug 13, 2010
5
0
0
I have flashed BeanStalk-6.19-20160713-cancro with banks_dynamic_gapps-6.x.x-20160729 and my phone crashed into a bootloop the next day during playing Pokemon Go. Keeps rebooting so quick I'm unable to get into recovery. Tried flashing trough fastboot and also did everything in this topic, but my MI3 keeps rebooting (flashing MI logo). Any ideas?
 

diongdyh

Senior Member
Dec 6, 2014
1,116
447
0
Kuala Lumpur
I have flashed BeanStalk-6.19-20160713-cancro with banks_dynamic_gapps-6.x.x-20160729 and my phone crashed into a bootloop the next day during playing Pokemon Go. Keeps rebooting so quick I'm unable to get into recovery. Tried flashing trough fastboot and also did everything in this topic, but my MI3 keeps rebooting (flashing MI logo). Any ideas?
Just press and hold volume up + power for 20-30 seconds. It will boot into recovery regardless of what the screen shows. Another possibility is you have faulty buttons which happened to me last few months where my power button is held down all the time (the button was not pressed in. I could still hear the clicky sound and feel the satisfying click.)