Jump to content


Photo

Full HTC Desire HD (sense 3.0/android 2.3.5) guide to root, S-OFF/Sim Unlock

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Haxorg

Haxorg

    Regular

  • Members
  • PipPip
  • 90 posts
  • Gender:Male
  • Devices:ZTE Crescent, ZTE Skate
This thread is the same thread that i posted over at XDADevelopers, here is the link to the original thread:
http://forum.xda-dev...d.php?t=2221039

I probably won't ever update this, I am however uploading the rom as one ZIP file so people don't get confused.

NONE OF THIS IS MY WORK, IT PURELY THIS GUIDE (http://tau.shadowchild.nl/attn1/?cat=6) SIMPLIFIED TO SOME EXTENT. with parts that werent included in the guide added to the guide.

PREFACE:

Download this and unzip it somewhere (reccommend C:\ root folder): http://www.multiupload.nl/MXW371YT87
Full HTC Desire HD guide to root, S-OFF/Sim Unlock

1. Unlock the bootloader at http://htcdev.com/bootloader/
2. Copy your Unlock_code.bin file that you got in the email to the ace-tools folder.

3. Download rooted stock rom: http://www.multiupload.nl/20T9R21IGY
(link to rom thread: http://forum.xda-dev...ht=rooted stock )
copy the ROM zip file to your SD card.

4. Install recovery image:
Open cmd and type:
• cd <the directory of the ace-tools folder> (eg cd C:\ace-tools)
Ensure your phone is connected to your PC and then boot into bootloader, then navigate to fastboot.

In cmd:
• fastboot recovery1.img
5. boot into recovery through bootloader and Install the ROM you placed on the SD card, (via install zip fileselect the rom zip)
6. Reboot the phone, ensure the rom is working fine and you have root access you can test this by turning on usb debugging then:
• Adb shell
• Su
You should see the $ turn into a #. If this happens, congrats you have root access.
Then type this:
• Exit
Then again:
• Exit
Then:
• Adb push boot.img /data/local/tmp
• adb shell dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img
• adb pull /data/local/tmp/boot.img
• adb push goldcard /data/local/tmp
• adb shell chmod 775 /data/local/tmp/goldcard
• adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
take note of the string of numbers and letters that appear.
then:
• adb shell /data/local/tmp/goldcard -c <string of numbers and letters should go here> -o /data/local /tmp/goldcard.img
• adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1
• adb push misc_version /data/local/tmp
• adb shell chmod 775 /data/local/tmp/misc_version
• adb shell /data/local/tmp/misc_version -s 1.11.111.1



7. If this is all fine boot into bootloader again.
From bootloader go to fastboot.
Go back to the cmd window on your PC from earlier, type in:
• Fastboot oem lock
Then type:
• fastboot oem rebootRUU
• fastboot flash zip firmware.zip
• fastboot reboot-bootloader
unlock the bootloader again using the Unlock_code.bin you got from HTC:
• fastboot flash unlocktoken Unlock_code.bin
then flash boot.img in ace-tools folder:
• fastboot flash boot boot.img
next:
• fastboot flash recovery recovery.img
8. boot to recovery again then:
• adb push gfree /tmp/
• adb shell chmod 775 /tmp/gfree
• adb shell /tmp/gfree -f
reboot to bootloader and you should see it says S-OFF at the top of the screen, if It does congrats your done.

VICTORY:
Posted Image
[ATTACH]1858622[/ATTACH]

Edited by Haxorg, 05 April 2013 - 02:31 PM.

  • 0
Always have your stuff when you need it with Dropbox. Sign up for free! http://db.tt/G8qfL77X

#2
pontypool

pontypool

    Newbie

  • Members
  • Pip
  • 1 posts
In cmd:
• fastboot recovery1.img
5. boot into recovery through bootloader and Install the ROM you placed on the SD card, (via install zip fileselect the rom zip)
6. Reboot the phone, ensure the rom is working fine and you have root access you can test this by turning on usb debugging then:
• Adb shell
• Su

Am stuck here, since when I enter Su in cmd it says "permission denied"

Up till that point I beleive everything went ok. My software version seems to indicate that I am using the rooted rom and my bootloader is unlocked. Please explain why I can't complete this step. The people at xda couldn't / wouldn't help me. I am far from a "noob" but the steps aren't going as expected.

  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users