FORUMS
Remove All Ads from XDA

[FIX] fix hard brick / qhsub_bulk after bad flash / cm12 flash from 5.1

1,545 posts
Thanks Meter: 1,035
 
By opssemnik, Senior Member on 20th March 2015, 01:24 AM
Post Reply Email Thread
First of all:Remember:im just making a thread, all of this wasn´t possible if not for @ccfries(He works at motorola, and sent the files to shamu´s device tree repo)
and @Casper34

See: http://forum.xda-developers.com/show...45&postcount=9 and https://android-review.googlesource.com/#/c/143010/
Requirements:
Pre Requirements:
- Disable driver signature checking
- Install the drivers:

Go to device manager, Unknown devices, double click qhusb_bulk, install driver, select location and select where you extracted the drivers.




- Next you should extract both zip files (Unbrick and factory images)
- Then Connect your nexus 6 on your computer (now should appear as Qualcomm HS-USB QD-Loader 9008 under "COM PORTS"):

- Open the Unbrick folder and run blank-flash.bat:

- Flash Stock factory images: (Problems see #2)
Your phone should show up on the computer as fastboot.Just flash stock factory images. (Motorola via "RSD Lite" or Google one should do the trick).
Thanks:
@ccfries(HUGE Thanks to him, turns out he is the one who made the commit with the necessary files, props to him!)
@Casper34 (Huge help with his working nexus 6)
@bitdomo (helped me a lot, and i got some images from another thread of his)
The Following 58 Users Say Thank You to opssemnik For This Useful Post: [ View ] Gift opssemnik Ad-Free
 
 
20th March 2015, 01:24 AM |#2  
opssemnik's Avatar
OP Senior Member
Flag Porto Alegre,Rio Grande Do Sul,Brasil
Thanks Meter: 1,035
 
More
Problems that may occur during or after:
Stuck at waiting for device

Check if drivers are installed correctly and restart pc
Check if you have an updated fastboot
THESE TWO ARE THE MAIN REASON OF PROBLEMS (mostly outdated fastboot)
-Drivers
http://forum.xda-developers.com/show....php?t=2263822
http://storage.googleapis.com/tether...ager_2.5.4.exe
Fastboot:
http://forum.xda-developers.com/show....php?t=2317790
Problems while flashing factory images:
Quote:
Originally Posted by ccfries

First, fastboot flash partition gpt.bin

Then flash the other images.

If you just bricked by downgrading bootloader, the persist and modem calibration should still be happily where it was when you started.

This won't help you if you're stuck with Allow OEM Unlock. Be careful locking on 5.1. There's accurate information elsewhere in the forum on that.

-Chris

PS:
Quote:
Originally Posted by ccfries

If you lock, it clears the setting by design, so you can't lock and unlock without booting up and checking the box.

Wifi / Bluetooh dosen´t work:
See http://forum.xda-developers.com/show...66&postcount=3
No IMEI / No Signal
Restore EFS Backup
The Following 11 Users Say Thank You to opssemnik For This Useful Post: [ View ] Gift opssemnik Ad-Free
20th March 2015, 01:25 AM |#3  
opssemnik's Avatar
OP Senior Member
Flag Porto Alegre,Rio Grande Do Sul,Brasil
Thanks Meter: 1,035
 
More
If wifi/bt/camera dosen´t work Then probably your /persist got somehow corrupted. (Post Under construction)
For a fix:

Flash a custom recovery, and open a terminal with the phone booted to it
run
umount /persist
mkdir /persist
mount /dev/block/platform/msm_sdcc.1/by-name/persist /persist
#e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
you will be propmpted to check / repair errors, keep pressing enter for each that it appears
then run
umount /perist
and reboot phone
The Following 9 Users Say Thank You to opssemnik For This Useful Post: [ View ] Gift opssemnik Ad-Free
20th March 2015, 01:28 AM |#4  
jayharper08's Avatar
Retired Senior Moderator - The Troll Whisperer
Flag The Dirty
Thanks Meter: 9,723
 
More
Wow! Very nice. I bet you just saved some poor guys from getting yelled at from wifey. Good job and thanks for helping the community.
The Following 7 Users Say Thank You to jayharper08 For This Useful Post: [ View ] Gift jayharper08 Ad-Free
20th March 2015, 01:30 AM |#5  
simms22's Avatar
Recognized Contributor - R.I.P
BROOKLYN!
Thanks Meter: 26,395
 
More
wow indeed!
The Following 2 Users Say Thank You to simms22 For This Useful Post: [ View ] Gift simms22 Ad-Free
20th March 2015, 01:44 AM |#6  
opssemnik's Avatar
OP Senior Member
Flag Porto Alegre,Rio Grande Do Sul,Brasil
Thanks Meter: 1,035
 
More
Thumbs up
Quote:
Originally Posted by jayharper08

Wow! Very nice. I bet you just saved some poor guys from getting yelled at from wifey. Good job and thanks for helping the community.

Quote:
Originally Posted by simms22

wow indeed!

Thanks to both, thankfully cm already merged a check for the bootloader, but i hope this can fix phones that are already bricked for people who cant use warranty (outside area, on a trip, etc).
Oh yeah, or in the case of my friend, his mom :P
The Following 4 Users Say Thank You to opssemnik For This Useful Post: [ View ] Gift opssemnik Ad-Free
20th March 2015, 02:09 AM |#7  
Senior Member
Iowa
Thanks Meter: 2,429
 
More
This needs stickied

Sent from my Nexus 6 using XDA Free mobile app
The Following 3 Users Say Thank You to akellar For This Useful Post: [ View ] Gift akellar Ad-Free
20th March 2015, 02:15 AM |#8  
Casper34's Avatar
Senior Member
Flag Home
Thanks Meter: 206
 
More
@opssemnik

No worries, glad to help out!

Sent from my Nexus 6
The Following 5 Users Say Thank You to Casper34 For This Useful Post: [ View ] Gift Casper34 Ad-Free
20th March 2015, 02:31 AM |#9  
Junior Member
Flag Chicago
Thanks Meter: 44
 
More
Quote:
Originally Posted by opssemnik

@ccfries(Huge thanks for him, for finding an un merged commit that had the partition layout)!.

I authored the commit this afternoon so finding it was pretty easy.
The Following 27 Users Say Thank You to ccfries For This Useful Post: [ View ] Gift ccfries Ad-Free
20th March 2015, 02:35 AM |#10  
opssemnik's Avatar
OP Senior Member
Flag Porto Alegre,Rio Grande Do Sul,Brasil
Thanks Meter: 1,035
 
More
Thumbs up
Quote:
Originally Posted by ccfries

I authored the commit this afternoon so finding it was pretty easy.

Oh no wait, I DIDN´T SEE THE AUTHOR LOL.
may i ask was it hard for you to get the permission to post? afaik these files are proprietary (aside from the paritition table) or aren´t they?.
also can i ask you something a bit more offtopic?
i noticied the nexus 6 works directly with QPST (at least it can communicate with it)
but some other devices (like the nexus 5) can´t, its something that qualcomm or the manufacturer decide / make?
Once again ,props to you and motorola!
Never thought of an oem doing that, even more that the bricks can only be achieved when messing with things you shouldnt be :P
20th March 2015, 06:21 AM |#11  
bradputt's Avatar
Senior Member
Thanks Meter: 295
 
More
Erm, don't mind me asking one question.
How do you back up your efs if your phone is bricked?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes