By -

 

Devices usually get bricked if you try to run potentially hazardous tasks like rooting, HBoot updates etc. Bricking is a nightmare for all users. You need not get worried if you are a HTC Sensation owner, XDA senior member dexter93 has come up with a solution to restore fully bricked HTC Sensation.

How To Unbrick HTC Sensation

Still unbricking is not an easy job, restoring the device in this method too is a little bit sophisticated task. This method will not work for all kind of bricks, but will work only for devices bricked by setting S On with an unsigned HBoot or caused by a damaged HBoot. You’ll also need a Linux based PC and an up to date RUU for the device.

Below we have the steps to unbrick your HTC Sensation.

  • At first download the necessary package for your device. Read the original thread at XDA to get the list of files which should be downloaded.
  • Extract the downloaded package in the home directory.
  • Open up a terminal window.
  • Connect the device to PC via USB cable after removing the SIM, micro SD and battery.
  • Detect the device with the provided script and type the following command in the terminal window

./brickdetect.sh

  • Something like sdX should appear.
  • Unplug the USB cable from the device.
  • Backup the current hboot in the device by entering the command. Plug the device in ONLY when asked to

sudo ./emmc_recover –backup b_hboot.img –device /dev/sdX12

  • Replace the “X” with the letter the script gave you
  • Follow the instructions on the screen from emmc_recover
  • Hexdump the b_hboot to check the hboot version, enter the code

hexdump -C b_hboot.img |less

  • You should get an output like this
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 31 37  |...@........1.17|
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 32 65 35 33 37 31 30  |60.... .92e53710|
  • This is the typical hex of a hboot, check if that is the hboot partition and if it is, to get to know the version. In this case it is 1.17
  • If the above steps fails unplug everything and try again.
  • Unplug the device.
  • Flash the hboot on the device. Replace “V.VV” with hboot version (eg. 1.17, 1.18, 1.19, 1.20, 1.23, 1.27) and “X” with the one you got from the detect script. Plug the device in ONLY when asked to

sudo ./emmc_recover –flash pyrV.VV.nb0 –device /dev/sdX12 –backupafter hboot_f.nb0

  •  Follow the on-screen instructions  from emmc_recover. The following output will appear if you have successfully done the procedures
511+1 records in
511+1 records out
1047808 bytes(1.0 MB) copied
  •  Now unplug the device and put SIM, Micro SD and battery.

You have successfully unbricked your HTC Sensation.

If you have any doubts, drop down a comment below or visit the original post at XDA

Subscribe to our feed using the subscription box on the right, follow us on twitter or like us on Facebook for more guides, resources and news in the rooting scene.