[HTC Inspire 4G] deathscream:
After the advanced ace hack kit (AAHK) was taken down, it was a bit tough to get an S-Off on our devices. The existing guides never explained anything much.

So , I will be explaining and trying to simplify the S-Off method for HTC Inspire 4g.

Please note: I take absolutely no CREDIT for this. All I have done is simplified it.

The following goes unsaid.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about directions in this method
* before following it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Please donot ask me what fastboot mode is or how to boot into it or the advantages of an "S-OFF". I have only made this guide a bit simplified , but not noob friendly. This is still for advanced users and in addition for intermediate users.

Requirements

Your device must be rooted and the bootloader must be unlocked

Android sdk tools must be installed

Please make sure you have the Unlock_code.bin that you used to unlock the bootloaders since you will need it.

Most Important : Please follow the instructions exactly, Don't exit from shell unless I ask you to. I will not entertain any PMs or posts if you don't follow them.

Directions

I would prefer using a linux machine for this, but the choice is upto you.

1 . Download and extract this and cd into the directory in your terminal / CMD window and push the following files

#~adb push misc_version /data/local/tmp
#~adb push goldcard /data/local/tmp
#~adb push gfree /tmp/

2 . Make sure you have the original "boot.img" of your ROM on you PC HDD.

3 . Make a Goldcard in the following way

#~adb shell
$~su
#~chmod 775 /data/local/tmp/goldcard
#~cat /sys/class/mmc_host/mmc2/mmc2:*/cid

This will generate the CID. Copy the generated CID

#~/data/local/tmp/goldcard -c <YOUR_CID_HERE> -o /data/local/tmp/goldcard.img
#~dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1

This should create the Goldcard.

4. Next to lower the main version

#~chmod 775 /data/local/tmp/misc_version
#~/data/local/tmp/misc_version -s 1.11.111.1
#~reboot bootloader

5. Next relock the bootloader

#~fastboot oem lock

6. Flash the firmware.zip in RUU

#~fastboot oem rebootRUU
#~fastboot flash zip firmware.zip
#~fastboot reboot-bootloader

7. Unlock bootloader with the Unlock_code.bin got from HTC's Developer site

#~fastboot flash unlocktoken Unlock_code.bin

8. Next flash your ROM's boot.img

#~fastboot flash boot boot.img

9. Next flash the recovery.img

#~fastboot flash recovery recovery.img
#~fastboot boot recovery.img

Don't worry : The screen will stay blank. ADB will work.

10. Now to S-OFF...

#~adb shell
#~chmod 775 /tmp/gfree
#~/tmp/gfree -f
#~reboot bootloader

Now the device will reboot to bootloader. And you will see that your device as been S-Offed.

11. Next step is to enter fastboot mode on the device. (Please keep the device connected to the PC)

Choose the appropriate Hboot_xxxx.zip file for your phone

#~fastboot oem rebootRUU
#~fastbbot flash zip hboot_xxxxx.zip
#~fastboot reboot

12. Now flash CWM recovery

Download file from here

Pull battery out and reinsert. Boot phone to fastboot mode.

Connect to PC.

#~fastboot flash recovery recovery-clockwork-touch-5.8.1.5-ace.img

That's it!! Now flash your favourite ROM and reboot.
​

CREDITS

The Guy who posted the original method here

Cheers!!