[HTC Sensation] xyber109210:
the first step you already have. s off

please see http://xdaforums.com/showthread.php?t=1192300

STEP 2. To INSTALL Recovery - v5.0.0.8

1. Download recovery v5.0.0.8 for the Sensation HERE: or Multiupload

2. Copy the PG58IMG file into the Root folder of your SD card (The main Folder of your Memory Card)

3. Turn off your phone FUlly and reboot into the Bootloader/HBOOT screen (see post above on how to get to hboot screen)

4. Press Volume up to Accept when it asks" Do you want to start the update"

5. Press Power Off to Reboot back to android after installation is successful (normal screen with homescreen)

6. Delete PG58IMG from your memory card and you can now root using step 3 below or install a custom ROM using CWM (Customs Roms are already rooted)

7. OPTIONAL: Boot into recovery or Completely switch off (Fastboot disabled or remove and reinsert battery)

Follow STEP 4 SUPER CID sub steps 1-6 to get adb running

8. Enter the command "adb shell cat /sys/devices/platform/htc_battery/power_supply/battery/status" Phone will confirm it is "CHARGING"

Charging issues fixed with new clockwork recovery. writing is now BLUE not purple or orange

Step 3. To permanently root your Sensation - (This means you will NOT LOSE ROOT on rebooting)

1. Download the file su-2.3.6.3-ef-signed.zip from here: DOWNLOAD

2. Copy su-2.3.6.3-ef-signed.zip to your SD card root folder (main folder of your memory card)

3. Start clockworkmod recovery (instructions below. See To Start Clockwork recovery)

4. BACKUP YOUR ROM USING CWM BEFORE ATTEMPTING ROOT!

5. Navigate to "Backup & Restore" using the Volume Down button and press select (power button to select) then select "Backup"

6. Select "install zip from sdcard" after backing up

7. Then select "Choose zip from sdcard"

8. Then select "su-2.3.6.3-efgh-signed.zip"

9. Then select "Yes - install su-2.3.6.3-efgh-signed.zip" to confirm

10. Then go back

11. Then reboot.

12. You're rooted!

If you are getting error messages regarding S-OFF, Rooting or installation - Troubleshoot below in post 2

See POST 2(HERE):

STEP 4. WRITE SUPER CID [YOU ONLY NEED TO DO THIS ONCE]- (continue from step 11 below if you have already done this)

(allows you to flash ANY ROM to the device regardless of the carrier. Just click RUU.EXE)

1. Download adb tools here: download for WINDOWS or download for LINUX or from the attachments below

2. On your pc click on your local disk C: Drive (or D: drive for some) (WINDOWS users: Start > My computer > Local Disk (C)

3. Create a new folder called "adb" and extract the files from adb.zip into it. Make sure it doesn't create another folder in the adb folder when extracting

4. open command prompt (or terminal for linux) and type "cd" "followed by the path to your adb folder" (windows users can type "cd C:\adb")

5. Ensure your phone is switched on (regular home screen) and connect it by USB in charging mode (Ensure usb debugging is on settings)

6. enter the command "adb devices". This is to confirm your phone is connected. (It should come back with list of devices attached and your serial number)

7. enter the command "adb reboot-bootloader". (nothing further required device WILL reboot in bootloader)

IF it doesn't you can Manually put the phone in the bootloader/hboot mode

Navigate to fastboot by pressing volume down and pressing power button to select (power off > vol down + power on)

It will take you to the fastboot bootloader screen on your phone

Connect your phone via USB

Your Screen should now read fastboot USB

8. enter the command "fastboot oem writecid 11111111"

9. enter the command "fastboot reboot-bootloader (Wait for it to reboot the bootloader)

10. enter the command "fastboot getvar cid" [it should confirm your CID is 11111111]

11. enter the command "fastboot reboot"

12. You can now flash any ROM you like.

To reinstall any stock ROM after this or De-brand or reinstall a different type of Rom (European, Asian, US).

Just click here to download an Official Rom,

Connect to your phone in charging mode. click the "RUU_pyramid_*****.exe" file you downloaded and follow on screen instructions.

I can confirm SuperCID is successful as i just flashed a Tmous Rom (1.25.***) to my EU unbranded device to check. (added t-mobile tv and other carrier stuff to my apps list)

TO DE-BRAND OR REINSTALL STOCK ROM (Changes to Stock S-off, Removes Root and clockwork)

Reinstall your original stock ROM you had (e.g Vodafone, Tmous, Asian, European unbranded etc. if you are changing back to S-ON)

1. Backup all User Data and Apps (Titanium backup Recommended) SKIP THIS STEP IF YOU WANT TO WIPE EVERYTHING

2. Use the SUPERCID method above. (Confirmed to work)

3. If you cannot get superCID to work. Follow this by Alexp999. HERE: any problems PM ME and i will help

Your phone bootloader will read "PYRAMID PVT SHIP S-OFF RL" after this, Root and clockwork will have been removed now

STEP 5 - CHANGING BACK TO S-ON - PROCEED WITH CAUTION. ONLY DO THIS IF YOU ABSOLUTELY HAVE TO. BEWARE THERE IS A RISK OF BRICKING READ BEFORE GOING TO STEP 1.

YOU MUST Follow this correctly otherwise you could semi-brick your device (Semi bricks recovery by re-flashing RUU). If you follow it correctly YOU WILL GET S-ON SUCCESSFULLY -confirmed by other users

I cannot be held responsible if anything goes wrong but i will help in every situation. 2 unrecoverable bricks so far. 1 due to not flashing RUU

First time i did this with a custom ROM installed - semi-bricked my device (couldn't boot due to security warning as S-on doesn't work with custom roms), restored it using RUU.exe

Second time after S-off i took the following steps and successfully went back to S-ON without any problems and booted up into stock rom.

Confirmed to work by several others as well as myself

1. Follow Step 4 above to get SuperCID - Skip if you already have it

2. Restore your official stock Rom: Just click here to download an Official Rom RESTORE STOCK EVEN IF YOU JUST RESTORED IT RECENTLY OR ARE ALREADY ON STOCK ROM. This is to ensure nothing gets changed in stock for S-on to be successful

So if you are already on a stock ROM or you just went back to stock ROM, i don't care, restore the stock ROM again using the RUU.exe if you don't want to be bricked!

Connect to your phone in charging mode. click the "RUU_pyramid_*****.exe" file you downloaded and follow on screen instructions.

3. Make sure when you download the RUU. download the same or similiar RUU version as your phone came with (e.g. Tmous or EU or Asian etc). As long as you install a stock rom similiar to what you had you should be ok. FAILURE TO DO THIS MAY BRICK YOUR PHONE.

4. Switch your phone on now and let it boot for the first time and just skip through the welcome screen.

5. Go back to Step 4 - SUPERCID and go through 1 to 7 to get to the fastboot bootloader. (so just do what you did before, put adb files in local disk, adb reboot bootloader etc)

6. enter the command "fastboot oem writesecureflag 3" (Thanks Dazweeja)

7. Reboot into bootloader using "fastboot reboot-bootloader" or remove & reinsert the battery and press power on while keeping hold of volume down.

8. Bootloader should now read Pyramid PVT Ship S-ON RL.

9. Remove and reinsert the battery. Press power on as normal

You should now have S-on back and you can return your device or do whatever it is covered again under warranty.

10. IF IT DOESN'T REBOOT and bootloader says ***Security Warning**

Remove and re-insert the battery and go back into bootloader and holding Volume Down +power button select fastboot

11. Run RUU_Pyramid_***.exe to reflash stock rom. (the one u just downloaded in step 1) and then reboot. It should work now

The above method works successfully. So do not under any circumstances try this without going back to stock first using Ruu.exe. and Follow the instructions correctly if you want S-on WITHOUT problems Any doubts or questions PM me and i will get back to you and help you.

Donations welcome as i had a very shaky night experimenting and bricking my device (and having a panic attack over it) to find a safe method for successfully getting S-on back for all you out there complaining about warranty.

To Start Clockwork recovery

1. EITHER make sure fastboot is disabled in settings and shut down your phone

This can be done via Settings > Power> Untick "FAST BOOT" at the bottom.

OR take out your battery and put it back in. (this is easier)

2. Keep hold of the volume down button and switch your phone on.

3. Hboot will start. Navigate to recovery with the vol down button. Press power button to select and enter recovery.

To install a Custom ROM - you will not lose data or apps with this method!

1. Download your chosen ROM by other developers in the development threads and copy the ZIP file to your SD Card ROOT directory

2. Start clockworkmod recovery (instructions above)

3. BACKUP YOUR ROM USING CWM BEFORE ATTEMPTING ROOT! (skip this step if you have already made a backup previously)

4. Navigate to "install zip from sdcard" using the Volume Down button and press select (power button to select)

5. Then select "Choose zip from sdcard"

6. Then select "your_chosen_rom.zip"

7. Then select "Yes - install your_chosen_rom.zip" to confirm

8. Then go back

9. Then reboot.

10. First boot will take quite some time -This is normal, i know you want touch your nice shiny phone but BE PATIENT - ENJOY!

Special Thanks to AlphaRev, unrEVOked Team, Bin4ry & to everyone else that helped with this GUIDE and with S-off and Dazweeja with S-on