Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,247 Members 50,407 Now Online
XDA Developers Android and Mobile Development Forum

[UNBRICK] HTC Unbricking Project

Tip us?
 
dexter93
Old
(Last edited by dexter93; 1st July 2012 at 12:13 PM.)
#1  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1946
Posts: 11,453
Join Date: Jul 2010

 
DONATE TO ME
Default [UNBRICK] HTC Unbricking Project

We are proud to announce that the Evo 3D is now UNbrickable. Users with the QHSUSB_DLOAD issue can now fully recover their phones and get them fully functional.



Note: This will fix only devices which were bricked by turning S ON. And bricks caused by a damaged hboot via interrupted OTA update/RUU flash on a S-ON device. Any devices bricked with other ways are currently *not* supported. We are working on it

The "core" of the unbricking project dev team:
MOVZX
RussianBear
Fuses
Dexter93

Testing stuff and irc support:
globatron
Deceptivechaos
dburgd84
Snake_skw

Other stuff:
dmcb123
xIndirect
Hawke84

Thanks to trevE, xHausx and the rest of the evo3d team that gave us the basic info to work on and made us curious to see if we could get something out of it. Also thanks to ief and his team @revolutionary for helping us understand the bootloaders better. We should also not forget to thank cxb01 of malshenzu.com and xda members arthurire and untrueparadox who helped in translation.
Initiator of the HTC Unbricking Project
Sensation | MyTouch 4G Slide | Amaze 4G | Vivid, Raider, Velocity | EVO 3D GSM | EVO 3D CDMA | Jetstream | EVO 4G LTE | HTC ONE
Support is NOT given via pm.
~*~
Juopunutbear S-OFF | LazyPanda S-OFF
finally here... http://unlimited.io
~*~
OTA Updates for everyone!
https://otaupdatecenter.pro
~*~
 
The Don

The Following 40 Users Say Thank You to dexter93 For This Useful Post: [ Click to Expand ]
 
dexter93
Old
(Last edited by dexter93; 16th September 2012 at 12:33 PM.)
#2  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1946
Posts: 11,453
Join Date: Jul 2010

 
DONATE TO ME
Prerequisites
  • a linux box/live cd with automount disabled and without unity
  • the appropriate package for the device
  • the latest RUU for your device
  • a device bricked by writing security flag 3 with an unsigned hboot, or caused by a damaged hboot via interrupted OTA update/RUU flash on a S-ON device
  • a usb cable
  • some basic linux experience
  • patience

DISCLAIMER: We do NOT guarantee that this method will work for you, or that it is flawless. We are also not responsible if your phone is completely dead after the procedure, or your house burns down because your phone exploded. You are doing this in YOUR OWN RISK.

Instructions

NEW: Detailed video on the process. Its displaying the process on a Sensation, but its pretty much the same thing. Thanks to kgs1992

  1. Boot the linux box and download the appropriate package for the device.
    WARNING: IT IS DEVICE SPECIFIC. DO NOT USE THE GSM VERSION ON A CDMA EVO AND VICE VERSA. SAME GOES FOR THE INSTRUCTIONS
  2. Extract the package in the home directory
  3. Open up a terminal
  4. Remove SIM, microSD card and battery and connect the device using the USB cable. This procedure must be done without battery
  5. Detect the device using the script provided. Type this in the terminal
    Code:
    ./brickdetect.sh
    You should get something like sdX. We are interested on that "X"
  6. Unplug the usb cable from the device
  7. Backup the hboot currently in the phone by using this command. Plug the device in ONLY when asked to
    Code:
    sudo ./emmc_recover --backup b_hboot.img --device /dev/sdX12
    Replace the "X" with the letter the script gave you
  8. Follow the on-screen instructions from emmc_recover
  9. Hexdump the b_hboot to check the hboot version
    Code:
    hexdump -C b_hboot.img |less
    The output should be like this:
    Code:
    00000000  05 00 00 00 03 00 00 00  00 00 00 00 00 00 10 40  |...............@|
    00000010  d8 fc 0f 00 d8 fb 0f 00  d8 fb 1f 40 00 01 00 00  |...........@....|
    00000020  d8 fc 1f 40 00 00 00 00  12 00 00 ea 31 2e 34 39  |...@........1.49|
    00000030  2e 31 31 30 37 00 00 00  38 32 36 30 20 53 50 4c  |.1107...8260 SPL|
    00000040  00 00 00 00 00 f0 20 e3  53 48 49 50 00 00 00 00  |...... .SHIP....|
    00000050  00 f0 20 e3 00 f0 20 e3  48 42 4f 4f 54 2d 38 32  |.. ... .HBOOT-82|
    00000060  36 30 00 00 00 f0 20 e3  65 64 62 61 38 31 32 66  |60.... .edba812f|
    This is the typical hex of a hboot. We are interested to check if that is the hboot partition and if it is, to get to know the version. In this case it is 1.49
  10. If in the above step you failed to identify the hboot, unplug all devices connected to that pc, reboot and try again
  11. Unplug the device
  12. Check again it is the right version, because if you do a mistake here, you won't be able to go back
    You can only flash the same version as the one in the device.


    !!!!!DO NOT ATTEMPT TO FLASH ANOTHER VERSION OR DOWNGRADE!!!IT HAS BEEN PROVEN FATAL!!!!
  13. Flash the hboot on the device. Replace "V.VV" with hboot version (eg. 1.49) and "X" with the one you got from the detect script. Plug the device in ONLY when asked to
    Code:
    sudo ./emmc_recover --flash shotrUV.VV.nb0 --device /dev/sdX12 --backupafter hboot_f.nb0
  14. Follow the on-screen instructions from emmc_recover. A successful flash should have this output:
    Code:
    511+1 records in
    511+1 records out
    1047808 bytes(1.0 MB) copied
  15. Unplug the device, put SIM, microSD card and battery in and power on
  16. Congratulations, the device is unbricked.
  17. FLASH THE RUU IMMEDIATELY AFTER RECOVERING!! The device will be unstable after the recovery if you don't flash it.

Notes on the procedure:
  • If the device doesn't power on, get a copy of the hboot_f.nb0 and b_hboot.img (should be located in the home directory) and contact us
  • The connection between the device and the pc will be unstable, and will time out. You have to be quick when doing the above, specially while flashing. If the connection times out don't panic, just unplug and replug the device
  • Unity and automount are known to cause issues in ubuntu 11.04 and 11.10. We recommend getting rid of both, or use a 12.04, or 10.04/.10 liveCD
  • USB3 ports do not work properly. Please plug the device in a USB2 port
  • How to disable automount on ubuntu
    Code:
    gsettings set org.gnome.desktop.media-handling automount false


Downloads

For EVO 3D GSM( ShooterU):
32bit version MD5: 4fa6ddf99acc33f069e3192ee8417aa0
64bit version MD5: 8acfdfc391de99e864bfd7e6ca34e9b3

Don't have a linux distro installed on your pc? We highly recommend this livecd
Initiator of the HTC Unbricking Project
Sensation | MyTouch 4G Slide | Amaze 4G | Vivid, Raider, Velocity | EVO 3D GSM | EVO 3D CDMA | Jetstream | EVO 4G LTE | HTC ONE
Support is NOT given via pm.
~*~
Juopunutbear S-OFF | LazyPanda S-OFF
finally here... http://unlimited.io
~*~
OTA Updates for everyone!
https://otaupdatecenter.pro
~*~
 
The Don

The Following 23 Users Say Thank You to dexter93 For This Useful Post: [ Click to Expand ]
 
kjames2001
Old
#3  
Member
Thanks Meter 10
Posts: 84
Join Date: Oct 2011

 
DONATE TO ME
1st! Finally.

Sent from my HTC EVO 3D X515m using Tapatalk 2
 
s_superman
Old
#4  
s_superman's Avatar
Senior Member
Thanks Meter 119
Posts: 464
Join Date: Jan 2011
Location: Cairo
Second !!

and thanks in advance
Own right now :

Xperia Z2 D6503

ROM :Stock 17.1.1.A.0.402
Kernel : Stock locked


One M7C Dual SIM 802w

ROM :Stock Sense 6.0 KitKat + Xposed
Kernel : Stock
HBOOT : Rumrunner S-OFF

Google NEXUS 4

ROM : Rooted Paranoid Android
Kernel : Franco + bponury TouchControl

Owned before :
HD2(Retired) EVO 3D (Dodgy screen\retired) Desire 600 Dual SIM (Sold - poor development) HTC One(Sold - Not enough memory)


If I helped you, dont forget to press Thanks
 
scariola
Old
#5  
scariola's Avatar
Senior Member
Thanks Meter 420
Posts: 1,160
Join Date: Nov 2009
Location: Sandy Eggo, CA
I thanked without even knowing what this is, but again thanks, this development is gonna skyrocket with this ICS leak now.

Can I ask what are we in store for?

Google + pertinent info = results
 
jcsy
Old
#6  
jcsy's Avatar
Senior Member
Thanks Meter 925
Posts: 3,529
Join Date: Jan 2009
Location: Land of the HD2/EVO3D/GTAB10.1(2)

 
DONATE TO ME
first of all, the major project is to NOT BRICK YOUR phone, to get into this thread
because if you do , i guess LOL
Primary: HTC EVO3D GSM HBOOT 1.49.0007 S-OFF
ROM: Johnnyslt CM11 (20 June 2014)
Radio: 11.77.3504.00P

CID: HTC__044
CPU: 384-1180mhz (Interactive)
Kernel: KSM OFF, NOOP

SD Card: Sandisk 4x 32GB


Secondary: HTC HD2 HSPL 2.08
ROM: WP7.8 PDAIMATEJAM v8.9
Radio: 2.15.50

Soft Radio: 5.51
CPU: 998mhz

SD Card: Sandisk 4x 16GB


THANK POSTS ARE TEMPORARY, THANKS BUTTON IS PERMANENT
The Following User Says Thank You to jcsy For This Useful Post: [ Click to Expand ]
 
Grea09
Old
#7  
Member
Thanks Meter 10
Posts: 90
Join Date: Sep 2007
Location: Viriat
Too late for me.
My phone is bricked with following instructions.
I tried to install the official ICS update and just after flashing the PG86IMG.zip my phone was bricked.
No reaction at all of power button, power button + any other buttons, charge, USB. No led no connection (lsusb) nothing.
I will try to return it and hope they accept it.
It's just the worse moment to brick it because I have an Android App to devellop, and now I must use the laggy emultor.

plug and pray.
"We see the world as 'we' are, not as 'it' is; because it is the 'I' behind the 'eye' that does the seeing."- Ana´s Nin
 

I've got access to :
  • Nexus 4 - 4.4.2 using Xposed for everything [Mine]
  • Asus TF101 - KatKiss Rom [Mine/Father]
  • HTC Hero - ICS With crazy screen[Dev]
  • Samsung Galaxy Spica CM6- rooted and slow [Dev]
  • HTC Evo 3D - Stock hboot 1.53 [Brother]
  • Samsung Galaxy S4[Sister]
  • Sony Ericson Xperia X10 CM7 with ICS style[Sister backup]
 
Funkyasshit
Old
#8  
Funkyasshit's Avatar
Senior Member
Thanks Meter 200
Posts: 380
Join Date: Mar 2012
Location: Madona
Quote:
Originally Posted by Grea09 View Post
Too late for me.
My phone is bricked with following instructions.
I tried to install the official ICS update and just after flashing the PG86IMG.zip my phone was bricked.
No reaction at all of power button, power button + any other buttons, charge, USB. No led no connection (lsusb) nothing.
I will try to return it and hope they accept it.
It's just the worse moment to brick it because I have an Android App to devellop, and now I must use the laggy emultor.

plug and pray.
If you have the newest CWM your phone doesn't charges when turned off. A lot guys had this problem even on regular ROM. The battery was empty til 0%. They thought it's bricked. No led etc. You just need to leave it for 2-3hours for charging and after that just get in fastboot and flash old cwm and after that get 4EXT. I had smth similar. Thank God everything is fine. That's why I always leave 4EXT but when I need cwm I use fastboot boot cwmrecovery.img (The latest touch). I feel more safe doing like this.
The Following User Says Thank You to Funkyasshit For This Useful Post: [ Click to Expand ]
 
Grea09
Old
#9  
Member
Thanks Meter 10
Posts: 90
Join Date: Sep 2007
Location: Viriat
Quote:
Originally Posted by Funkyas**** View Post
If you have the newest CWM your phone doesn't charges when turned off. A lot guys had this problem even on regular ROM. The battery was empty til 0%. They thought it's bricked. No led etc. You just need to leave it for 2-3hours for charging and after that just get in fastboot and flash old cwm and after that get 4EXT. I had smth similar. Thank God everything is fine. That's why I always leave 4EXT but when I need cwm I use fastboot boot cwmrecovery.img (The latest touch). I feel more safe doing like this.
I had charged it during the night anyway, it doesn't works.
I'll try to do that but I knew already this issue and it never goes this way.
"We see the world as 'we' are, not as 'it' is; because it is the 'I' behind the 'eye' that does the seeing."- Ana´s Nin
 

I've got access to :
  • Nexus 4 - 4.4.2 using Xposed for everything [Mine]
  • Asus TF101 - KatKiss Rom [Mine/Father]
  • HTC Hero - ICS With crazy screen[Dev]
  • Samsung Galaxy Spica CM6- rooted and slow [Dev]
  • HTC Evo 3D - Stock hboot 1.53 [Brother]
  • Samsung Galaxy S4[Sister]
  • Sony Ericson Xperia X10 CM7 with ICS style[Sister backup]
 
dexter93
Old
#10  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1946
Posts: 11,453
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by Grea09 View Post
Too late for me.
My phone is bricked with following instructions.
I tried to install the official ICS update and just after flashing the PG86IMG.zip my phone was bricked.
No reaction at all of power button, power button + any other buttons, charge, USB. No led no connection (lsusb) nothing.
I will try to return it and hope they accept it.
It's just the worse moment to brick it because I have an Android App to devellop, and now I must use the laggy emultor.

plug and pray.
There is a 80% chance that this method will work for you
Initiator of the HTC Unbricking Project
Sensation | MyTouch 4G Slide | Amaze 4G | Vivid, Raider, Velocity | EVO 3D GSM | EVO 3D CDMA | Jetstream | EVO 4G LTE | HTC ONE
Support is NOT given via pm.
~*~
Juopunutbear S-OFF | LazyPanda S-OFF
finally here... http://unlimited.io
~*~
OTA Updates for everyone!
https://otaupdatecenter.pro
~*~
 
The Don


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes