Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,310 Members 45,494 Now Online
XDA Developers Android and Mobile Development Forum

[UNBRICK] HTC Unbricking Project

Tip us?
 
dexter93
Old
(Last edited by dexter93; 21st October 2012 at 10:37 PM.)
#1  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1893
Posts: 11,445
Join Date: Jul 2010

 
DONATE TO ME
Default [UNBRICK] HTC Unbricking Project



We are proud to announce that the Jetstream is now supported by the HTC Unbrick Project!

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.
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 7 Users Say Thank You to dexter93 For This Useful Post: [ Click to Expand ]
 
dexter93
Old
(Last edited by dexter93; 31st October 2012 at 12:31 AM.)
#2  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1893
Posts: 11,445
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
  • a piece of insulted wire of approx length 10-15cm and with solid core
  • 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
Detailed video on the process. It's displaying the process on a Sensation, but its pretty much the same thing( except for the wire trick). Thanks to kgs1992



Detailed instructions on the wire trick: here. We need ONLY parts 1-3 of that guide, since we need to make contact ONLY ONCE and NOT TWICE!!! Thanks to unlimited.IO for the nice write up
  1. Boot the linux box and download the appropriate package for the device.
  2. Extract the package in the home directory
  3. Open up a terminal
  4. Remove SIM, microSD card and connect the device using the USB cable.
  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. Do the wire trick once and unplug the device
  7. Re-plug the device
  8. 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
  9. Follow the on-screen instructions from emmc_recover
  10. 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 37 38  |...@........1.78|
    00000030  2e 31 31 31 31 00 00 00  38 32 36 30 20 53 50 4c  |.1111...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  39 30 30 31 66 34 63 36  |60.... .9001f4c6|
    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.78
  11. This part of the procedure is to ensure future compatibility with updated hboots. You may as well skip the version detection and flash the 1.78 hboot directly if you S-Off'ed with JuopunutBear
  12. If in the above step you failed to identify the hboot, unplug all devices connected to that pc, reboot and try again
  13. Do the wire trick once and unplug the device
  14. Replug the device
  15. 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!!!!
  16. Flash the hboot on the device. Replace "V.VV" with hboot version (eg. 1.78) and "X" with the one you got from the detect script. Plug the device in ONLY when asked to
    Code:
    sudo ./emmc_recover --flash verdV.VV.nb0 --device /dev/sdX12 --backupafter hboot_f.nb0
  17. 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
  18. Do the wire trick once and unplug the device, put SIM, and microSD card in and power on
  19. Congratulations, the device is unbricked.
  20. 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 do the wire trick once, 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/.10, or 10.04/.10 liveCD
  • USB3 ports do not work properly. Please plug the device in a USB2 port
  • USB hubs are also known to cause issues. Avoid using them
  • The liveCD provided has autoount enabled. please disable it
  • How to disable automount on ubuntu
    Code:
    gsettings set org.gnome.desktop.media-handling automount false
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 2 Users Say Thank You to dexter93 For This Useful Post: [ Click to Expand ]
 
dexter93
Old
(Last edited by dexter93; 21st October 2012 at 10:14 PM.)
#3  
dexter93's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1893
Posts: 11,445
Join Date: Jul 2010

 
DONATE TO ME
Downloads

For Jetstream (Verdilte):

32bit version MD5: 257edd0e4002d0e660ff55ecefa3bb43
64bit version MD5: 2c673a3b0571b52555dfe2299dc993a5

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 2 Users Say Thank You to dexter93 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes