Return to Contents Page - doubleshot Developers Reference
In This Post I channeled the info I found for making S-ON for the sensation - the posts leading up to this I had a halfway decent idea on how to do it but here's where the info came from:
Guide to Installing S-off, Unlocking, ClockWork, Root, SuperCID & S-on
Thanks to the people over in the Sensation forums who mostly figured this out.
Specifically, this post was the piece of info needed, everything else is a detail:
Jimmy Flip said:
Has anyone tried 'fastboot oem writesecureflag 3' to get S-ON after everything else has been returned to stock? If it works at all, you'd definitely want to do this as the very last step so all partitions pass signature checking. I don't have phone insurance so I'm not keen to try it myself just yet
Click to expand...
Click to collapse
There is a warning surrounding all S-ON how-to's that i've seen that says you could brick. Consider yourself warned.
I personally was willing to risk my device even though I was kinda making it up as I go - the risk was worth the potential gain. Sometimes you just gotta lay it on the line for the greater good.
I had to try this without an official (or any...) RUU as every instruction calls for so I Kinda took the plunge with the best of what I had available. I managed to make it work without an RUU and in my search for one turned up a more recent PG59IMG.zip file we didn't yet know about, so it was a win.
I've been flipping S-ON and S-OFF (rev method) back and forth now for a couple of resets/restores etc... on the device, and no brick even without the RUU we don't have.
Here's how...
NOTE: Only have done this with a device with no SIM so far.
First - you need to do this:
Step-by-Step:
What you need:
- MicroSD card.
- A PG59IMG.zip file ( Links here )
How to make it:
[1] - Download an image linked here.
[2] - Rename it to PG59IMG.zip
[3] - Format your MicroSD card in the computer.
[4] - Transfer the image from the computer to the MicroSD card.
[5] - SAFELY EJECT the MicroSD card from the computer.
How to use it:
NOTE: Make sure you have a full battery!!!
[1] - Power off the doubleshot. Remove the battery and MicroSD card.
[2] - Insert new card from above. ( or back up current card, make, and re-insert )
[3] - Replace battery and backplate.
[4] - Holding the 'Volume Down' button, press the 'Power' button.
[5] - Wait for the loading bar to fill.
[6] - When ready, it will ask you if you want to start the update.
[7] - Select yes by pressing the 'Volume Up' button. Press 'Volume Down' if you just realized you have a low battery.
[8] - Allow the update time to flash to your doubleshot.
[9] - Let it sit for a minute or two after it says finished, then press power to reboot.
[10] - Follow on-screen instructions until finished.
Then:
[1] - Reboot the doubleshot.
[2] - When fully booted, open the settings menu.
[3] - Go to "SD & phone storage" and choose "Factory data reset"
[4] - Yes, wipe the sdcard too.
[5] - Follow on-screen instructions until finished.
You now have your doubleshot returned to 'factory fresh' for whatever software package you chose to download, through and through. We showed the method to include the sdcard so you would have the device in a state as close to:
"Just like new!!"
...as possible.
This is very important to do. The factory reset after the flash is mandatory and must include the sdcard.
If you have a partition mis-match for your version at this point, then you may not be able to fix it, and you could brick unintentionally.
Make sure to minimize this possibility as much as possible by wiping the sdcard with the factory reset so that you don't have any stray files floating around that could cause you harm!You should have already backed up the stuff on your sdcard you wanted to keep, that should go without saying for doing this kind of stuff?
Once this is done, you want to boot up to the stock ROM.
Then go to settings -> power -> uncheck fastboot
Then power off the device.
Give it a minute to settle down, then hold the 'Volume Down' key and press "Power' to boot into the hboot menu.
Choose 'fastboot' by pressing the power button while the highlight box is around that word in the hboot menu.
Once in the fastboot menu, plug into your computer.
Open a terminal window and get to the fastboot directory.
Type:
Code:
fastboot devices
...and make sure your device is listed.
Then type:
Code:
fastboot oem readsecureflag
should come back with secure_flag: 0
Now type:
Code:
fastboot oem writesecureflag 3
and then type:
Code:
fastboot oem powerdown
Now the device is powered off.
When next you power on, you will be S-ON with 1.44.0007 hboot and 1.28.531.9 software - back to retail launch condition. Completely.
Power on and get to the stock ROM.
Then go to "Settings" -> "SD & phone storage" and choose "Factory data reset" - Yep, sdcard too - and when this is done:
Congratulations - you are now factory fresh S-ON retail launch.
Check by booting into hboot and seeing it say S-ON or in fastboot mode issuing the command:
Code:
fastboot oem readsecureflag
----
What you do next is up to you - you can:
- S-OFF with the rev method
- Return to HTC in S-ON status (warranty?)
- Update your system to come forwad from stock retail.
----
STOP HERE IF JUST FOR HTC SERVICE
--------
SERIOUSLY, DON'T GO FURTHER IF THIS IS JUST FOR SHIPPING BACK TO HTC
----
Let's update:
Reboot your doubleshot to come back up to the full stock ROM.
Turn on wifi if necessary, add to a network and then:
Go to Settings -> About phone -> HTC software updates and then tap "check now"
It will tell you you have an update available, this will be the 1.28.531.10 update.
Follow the instructions for the update, let it install and when it is all finished and boots back up to the stock ROM you will be greeted with the popup:
"updated to 1.28.531.10"
Go to "SD & phone storage" and choose "Factory data reset" (yes for sdcard)
...and when that finishes:
Now you are at the last stopping point for S-OFF right now - you can either run the rev method and get S-OFF again, do nothing, or apply the next update.
----
Let's apply the next update:
(this is the point of no return - once you do this update you are stuck.)
This file was found on a quest for an RUU.
OTA 1.55.531.3 - Install as a PG59IMG.zip file.
When flashing the 1.55.531.3_Update_PG59IMG.zip file:
...on booting into hboot it loaded and then verified the package. Then asked me to update, I said yes and it immediately skipped:
- adsp.img
- boot_signed.img
- dzdata.img
- pg2fs_spcustom.img
- radio.img
- rcdata.img
- recovery_signed.img
- splash1.nb0
- system.img
- tp_atmelc12_20aa.img
...and installed:
- hboot_8x60_DOT_1.45.0013_20111121_signedbyaa.nb0
- ramdisk.img
- rpm.img
- sbl1.img
- sbl2.img
- sbl3.img
- tz.img
...then rebooted to hboot again, reloaded and re-verified the package, automatically continued the install and wrote all the partition images it skipped the first round.
It's obvious that the:
- hboot_8x60_DOT_1.45.0013_20111121_signedbyaa.nb0
- ramdisk.img
- rpm.img
- sbl1.img
- sbl2.img
- sbl3.img
- tz.img
...partition images had to be in place before the other ones could be written.
After it finished and booted all the way up again, I did a factory reset (yep, sdcard too) and then rebooted the device once it was finished that.
Which puts us right here, square at a 1.45.0013 hboot S-ON LOCKED device with 1.55.531.3 software.
For more detail on the whole process, see this posting:
1.45.0013 S-ON locked
I was unable to install either of the OTA updates we captured through the stock recovery once S-ON. Tried applying as-is and renaming to update.zip, multiple times, wouldn't take.
I have had no issues installing these updates without renaming them through the stock recovery when S-OFF. I would have preferred to install the OTA updates through recovery and use the PG59IMG.zip file afterwards, but it didn't want to do it that way.
I ended up getting the first one through HTC download, and using the new 1.55.531.3 PG59IMG.zip I found to bring me current.
----
Apparently this leaked PG59IMG.zip file, if flashed to a device, will solve the problem with the HTC Unlock-Bootloader tool and allow users to complete the process.
(Confirmed! - Sweet.)
Finally I can send phone in to be fixed, and not worry about not having S-Off.
Sent from my HTC myTouch_4G_Slide using Tapatalk
Do u mind if I add this to Mr root?
xmc wildchild22 said:
Do u mind if I add this to Mr root?
Click to expand...
Click to collapse
Go for it man - I was actually just about to message you about it and let you know we could do it, i'm eating my dinner and trying to clean up some loose ends in threads with the new knowledge we have now.
If you (or anyone) can figure out how to take something i've done and make it easier for other people to do - i'm all about it - that's progress!
Just link back to this thread so if people get stuck they can view the process and troubleshoot if necessary.
btw 2 questions.....
1. could you s-on then go stock (or would it brick)
2. if you do fastboot oem write secureflag 0....wouldn't it S-off?
for the first one - no, it doesn't but you MUST absolutely MUST flash to STOCK RETAIL first, then do a factory reset and wipe the sdcard BEFORE writing the command.
If you are not 100% stock and do it, you will have security mis-match errors and probably brick.
Do not use the new PG59IMG.zip file I found today that is for the most recent OTA update - use the old one we've been that's linked in this thread. That'll bring you back to stock for retail launch.
----
for the second:
Yep - but you can't use a write command if you are S-ON.
I think it's more forgiving going back to S-ON then going to S-OFF - you might brick doing it that way. Somehow the rev method prevents the other checks (like from radio) from working - just setting it to S-OFF might not work the same way.
Going backwards to S-ON is fine as long as you are completely stock when you do it. Any custom anything and you have a world of trouble.
(exception would be SuperCID - not sure if there are any other exceptions)
( and it's: fastboot oem writesecureflag 3 - you put an extra space in.
hboot commands in the bottom half of this post:
http://forum.xda-developers.com/showpost.php?p=17384086&postcount=4 )
AgentCherryColla said:
Finally I can send phone in to be fixed, and not worry about not having S-Off.
Sent from my HTC myTouch_4G_Slide using Tapatalk
Click to expand...
Click to collapse
+1
Just my spare change.
Related
Is there a.) A way to turn s-on after you have s-off? And b) if you have to flash... Have a noob guide on doing it?
Here, read this http://forum.xda-developers.com/showthread.php?t=1192300
STEP 5 - CHANGING BACK TO S-ON - PROCEED WITH CAUTION READ BEFORE GOING TO STEP 1. YOU MUST Follow this correctly otherwise you could semi-brick your device. 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. 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
Sent from my HTC Sensation Z710e using XDA Premium App
From the moment I turned on my phone I knew in my soul that I want to get rid of Sense 3.0
I used HTC's official method for unlocking my bootloader. Because this method is non-orthodox on this website I am wondering what I should do next in order to remove Sense 3.0 and install a fast up to date android OS
Thank you in advance
the first step you already have. s off
please see http://forum.xda-developers.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
xyber109210 said:
the first step you already have. s off
please see http://forum.xda-developers.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
---------------------snip---------------------------
Special Thanks to AlphaRev, unrEVOked Team, Bin4ry & to everyone else that helped with this GUIDE and with S-off and Dazweeja with S-on
Click to expand...
Click to collapse
LOL, the link should have been enough with some comments without copy/pasting most of the text.
Being a newcomer to the Sensation myself it took me some time to figure out how to get everything how I wanted it.
I can now flash custom roms without trouble thanks to all the amazing people of this community.
This guide will be a "noob to noob" guide, I will guide you through the steps require to be able to flash custom roms.
This guide works for hboot 1.27 and 1.29.
Also firmware 3.32 and 3.33.
And any combination of the above.
Click to expand...
Click to collapse
For who is this guide?
This guide is for people who are completely new to unlocking, rooting, flashing...
People who have experience in the field won't find this any useful.
Why not S-OFF?
Some people find it difficult / unnecessary to S-OFF. Specifically people with HBOOT 1.27, whom only have the Juopunutbear method which isn't as easy to do as the Revolutionary method for previous HBOOT's.
That being said, you can still S-OFF after (or before, you can skip STEP 1 then) we have completed this guide, nothing is stopping you from doing that.
HBOOT 1.27 S-OFF: http://forum.xda-developers.com/showthread.php?t=1614617, http://forum.xda-developers.com/showthread.php?t=1661631
Previous HBOOT: http://forum.xda-developers.com/showthread.php?t=1192300
Requirements:
Your phone
USB Connector
Backup of your phone's conent
A brain
1. Unlock your phone
Unlocking your phone is really easy, all you have to do is go to the HTC Dev website, select your device and follow the steps. (If your version of the HTC Sensation is not in the list you can select "All other Supported devices)
HTC has done a great job putting together guides for every device.
WARNING: This will factory reset your phone, so you will loose your applications, sms's...
After doing this you should have a folder on your C:\ drive called Android containing the following: adb.exe, AdbWinApi.dll, fastboot.exe, Unlock_code.bin
If you have this folder you can move to step 2. If however you do NOT have this folder; follow the guide in this thread.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Flashing a recovery
We will be using 4EXT recovery for reasons I will later explain. To do the following steps you have to have your phone plugged in and have USB Debugging enabled. (Settings - Develop Option - USB debugging)
Download 4EXT recovery (1.0.0.5!): https://www.dropbox.com/s/6ybcxyrpzv88uik/recovery.img
Put the file (recovery.img) in C:\Android (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here"
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
Type in: fastboot flash recovery recovery.img
Wait until the flashing is finished
Type in: fastboot reboot
You have now flashed the 4EXT recovery, through which you later will be flashing custom Rom's.
The newest version (1.0.0.5 and up) of 4EXT has the ability to flash the "boot.img" for you, so you don't have to do it yourself after every new kernel and rom flash!
You do have to enable it thought, which I will explain in the next step.
3. Enable 4EXT smartflash
This step is extremely important, because we are not s-off and there is a problem with creating the "boot.img". T-Macgnolia explained it nicely:
When you use HTC Dev to unlock your bootloader it does unlock the Recovery, System, and Boot partitions to allow your device to write to those partitions and not just read those partitions. But there is a catch, if you want to flash a custom recovery you have to use ABD fastoot commands to flash it. When you flash as ROM in a .zip file via Recovery, it only flashes the System partition. You then have to open the .zip file and extract the boot.img and then use ADB fastboot commands to flash the boot.img to your boot partition. If you do not you will still have the boot.img of the ROM you was using before you flashed the New ROM.
Now let me explain the boot.img a little so you know why it is so important. The boot.img does just what thee name implies, it is what boots the Android ROM on your device. Now let me explain this a little further, the Android OS runs on top of something called a Linux kernel. This means that your bootloader boots the Linux kernel and the hardware of the device. The Linux kernel then boots the Android OS. The kernel is also the connection between the hardware and the Android OS. So you see if the kernel is not compatible with the system that is on the system partition you will have troubles like Wifi not working or other I hardware reliant functions. So when you flash a new ROM and you are HTC Dev unlocked you will have to flash the boot.img for the ROM or you will more than likely have troubles.
Click to expand...
Click to collapse
There are 2 ways to enable smartflash, one is a temporary way inside the 4EXT recovery itself (only for first time!) and the second way is permanent, through the 4EXT application.
The permanent way can only be enabled if your phone has ROOT! It's impossible to do it when you are going to flash a ROM for the first time.
Once you have flashed your ROM you have to install the 4EXT application and enable smartflash through it, which is explained in Step 5.
3A. Enable 4EXT Temporary smartflash
Enabling this is as simple is getting into the recovery and enabling it as an option.
NOTE: You only need to do this right before flashing your first ROM, so you should skip this step and come back here when the guide tells you to.
Disable "Fast Boot" on your phone.
Settings
Power
Untick "Fast boot"
Turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says: "Fasboot".
Navigate to "RECOVERY" and select it, you should now boot into the 4EXT recovery
Select "Tools"
Scroll Down and select "Enable 4EXT SmartFlash"
Again, you only need to do this ONCE, once you have flashed your first custom ROM and enabled permanent smartflash, you don't need to this any more!
4. Rooting or Flashing a Custom Rom
Now you have a choice, you can either;
Flash Root on your phone so you can follow auggie2k amazing guide to S-OFF on HBOOT 1.27
or have a rooted stock rom on which you can now use certain applications you couldn't use without stock Root. If you wish to do this please follow step 4A.
Flash a custom Rom on your phone. If you wish to do this please follow step 4B.
4A. Flashing Root
Flashing root is easy now you have 4EXT installed, I will explain in a few simple steps how to do it.
Download the following zip: https://www.dropbox.com/s/enocgwvohd7abt7/Android_Revolution_HD_Root_and_BusyBox.zip
Put the zip on the root of your SD Card
Reboot your phone into recovery (like we did in step 3)
Turn off fastboot and turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says "FASTBOOT"
Navigate to RECOVERY and select it
Select "Install from sdcard"
Select "choose zip from sdcard"
Navigate to where you previously but the zips and select the root one (Android_Revolution_HD_Root_and_BusyBox)
Let it install
Reboot
Your phone should now be rooted. You can now continue using your phone or follow auggie2k his amazing guide to S-OFF your device. (You can start at Step 4).
4B. Flashing A Custom Rom
Congrats, you made it. This is a step you will never forget, because you have to do this every time you flash a new ROM (which I assure you, you will do multiple times ).
First of all you need to choose your Custom ROM. Seeing as we are S-ON we only flash rom's with the same firmware as ours.
You can get to know your firmware version by going to: Settings --> About Phone --> Software Information
Generally speaking if you have HBOOT 1.27 you have firmware 3.32 - 3.34.
If you need to know exactly which Firmware (in case you are stuck in a bootloop or something alike) you follow Extra 2. (at the bottom of the page)
For this demonstration I will be using Android Revolution HD, simply because it's the most popular option. This guide also works with nearly every other ROM out there.
For Android Revolution (and every ICS based ROM) you need the 3.32 (or 3.33) firmware, which you should have if you are on Stock ICS with HBOOT 1.27.
This means that you cannot flash GB Rom's, same goes for people who are on stock GB, they cannot flash ICS roms.
Most ROMS have a nice guide on how to flash their ROMS, but for this guide I'll be detailing on how to flash Android Revolution step by step.
Download the latest version of Android Revolution HD XE (Audio Beats) from the Downloads section of t he Android Revolution HD thread.
(Yes, you can flash the XE version on a normal sensation because they are the same phone but with a different case and different battery)
Put the zip on your SD Card (anywhere, as long as you remember where you put it)
Reboot your phone into recovery (like you can see in Step 3A)
Turn off fastboot and turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says "FASTBOOT"
Navigate to RECOVERY and select it
Enable Smart Flash like in Step 3A
Select "Tools"
Scroll Down and select "Enable 4EXT SmartFlash"
Wipe your phone
Go to "wipe | format"
Select "wipe data/factory reset"
Select "format all partitions (except sdcard)"
Select "Install from sdcard"
Select "choose zip from sdcard"
Navigate to where you previously but the zips and select the Superwipe one (Android_Revolution_HD_Super_Wipe_Sensation.zip)
Let it do it's thing, you can see what it's doing
Once again select "choose zip from sdcard" and browse to the location of the zips and select the Rom this time (Android_Revolution_HD-Sensation_6.6.3_XE.zip)
Follow through the steps and when it asks you to install a custom kernel it would be preferable to select YES, when Installing stock Kernel it is possible you will have Wifi problems. (see Step 3)
Reboot!
Hooray! You have now flashed your very first Custom Rom, please take in mind that a first boot can take quite a while, just be patient.
If during boot you are stuck on the white HTC screen, perform step Extra 1 and your problem should be resolved.
5. Enabling permanent smartflash
Like I explained in Step 3 when you want to flash roms with S-ON you need to have smartflash enabled, and now we have a rooted phone you can enable permanent smartflash! Here's how.
Installing the 4EXT Recovery Updater
Go to the 4EXT website and download the free 4EXT Recovery Updater.
You can also use the 4EXT Recovery Control application, which is available in the play store and has more features. (But isn't free)
Put the .APK file on your SD card like we did before with the ROM zip
Open your File Management application of choice (IO File Manager for example)
Search for the .APK file you previously put on your SD card and click "Install"
Open the 4EXT Recovery application
Press "Online install | upgrade"
The application should ask you to connect to 4EXT.Net servers to synchronise, press yes
If you don't have the newest version of the 4EXT Recovery application the application will ask you to update, if not just continue
If you updated the application it will close, so re-open it
Now you have installed and updated the 4EXT Recovery Updater, next we'll be enabling permanent smartflash in the application.
There are 2 ways to do this;
The first way is to upgrade your recovery (which is highly recommended), go to Step 5A.
The second way is through the settings menu, which will just enable smartflash, go to Step 5B.
5A. Enabling smartflash through updating recovery
Open the 4EXT Recovery application
Press "Online install | upgrade"
The application should tell you your phone model (HTC Sensation /XE), if this is the case press "Yes" otherwise press "No"
Now you will see a list of 4EXT recovery versions, simply press the top (should be in red) and press "Install"
At the end of the installation the application should ask you: "Is your device S-ON? Answer yes if unsure.", press "Yes"
5B. Enabling smartflash through the settings menu
Open the 4EXT Recovery application
Press "Settings"
Choose the tab "Recovery"
Scroll down until you see; "S-ON: 4EXT SmartFlash, and tick the box next to it
You should now have permanent Smartflash, you no longer have to enable smartflash inside the recovery itself when you flash a new rom.
Help and Thanks!
If you have ANY problems at all, please feel free to leave a message in this topic. But please remember that I am also still a noob and I will probably not be able to answer all of your questions.
You can also ask for help in this Help Thread by Tinky1 or join this IRC channel.
There are a bunch of people in there (including me ) who are very eager to help you.
Also if you have any suggestions for my thread, if you read any mistakes I have made (be it logic or spelling) feel free to correct me.
We are all here to learn.
And last but not least, a big THANK YOU! to all the lovely people from the #helpmenow irc channel and specifically: tinky1, ganeshp, dexter93, Kohr-ah, zylith...
I couldn't have done this without you!
Extra 1: Flashing "boot.img"
This is for people who are having problems with their Wifi after flashing a new Rom. (This might get fixed in later updates of 4EXT but currently it's not working.)
To fix your Wifi problems we have to find the "boot.img" fitting with the your kernel choice and have your phone connected to your pc with usb-debugging enabled.
Usually the fitting boot.img can be found inside the .zip of your desired Rom.
Finding your "boot.img"
Open your rom's zip file
Open the "kernels" folder
Open the folder of the kernel you chose during install of your rom (if there are any choices)
Extract the "boot.img" to C:\Android (or wherever your adb and fastboot are located)
Example location:
If you can not find the "boot.img" you can try the following links, but there is no guarantee in it working.
Stock ICS (3.32): https://www.dropbox.com/s/joe6fqa75teagnq/boot.img (Backup: http://d-h.st/pLG)
Stock GB: https://www.dropbox.com/s/gamaxd2eijnz3nw/GBSTOCKboot.zip (Backup: http://d-h.st/OSC)
Flashing the "boot.img"
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here"
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
In the command windows on your pc, type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
Once your phone is rebooted your problem should be fixed.
IF the problem isn't fixed, just re-flash your ROM again (without wiping!)
Extra 2: Checking your exact firmware version
This can be useful if your phone is stuck in a bootloop, people who will try to help you will need this formation. You can find out your exact firmware version by doing the following;
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
Type in the command window: fastboot getvar all
From the list "version-main" represents your current firmware version
Extra 3: Putting your phone back to stock
This can be useful if you need to send your phone to HTC to fix something or you just want go back completely to stock.
WARNING: This does not guarantee that you have warranty, but like I said before, the unlock method doesn't necessary void your warranty.
This also wipes your phone, so have a backup!
First of all you need to download to the correct RUU for your phone, which you can know by the firmware version, firmware radio and CID. You can get to know those by doing step EXTRA 2.
Once you know which firmware you have you can go ahead and download it from the following list: http://www.filefactory.com/f/c87a2330449af512/
Before that you can the RUU you first need to lock your phone again, this can be done very simply:
Plug in your phone and make sure USB-debugging is enabled
Go to C:\Android or wherever your adb and fastboot are located
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in the command window: fastboot oem lock
Wait until it's done and reboot.
Once your phone is rebooted make sure that you still have your usb cable plugged in and run the .exe file you downloaded before.
Just follow the steps in that and you should be back to your stock phone in no time!
Extra 4: Manually going into fastboot
If you are stuck in a bootloop or it another sticky situation, this can be quite helpful to get you out of it.
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
You should now be in fastboot!
Changelog:
08/09/2013: Added information that the guide works with both HBOOT 1.27 and 1.29 and as well with firmware 3.32 and 3.33.
29/01/2013: Added link to ganeshp's thread for easy S-OFF, indicated that you can still follow the rest of the guide to flash roms
14/10/2012: Removed superwipe instructions and changed it to wiping through 4EXT (Because superwipe doesn't work with non-sense roms)
03/10/2012: Provide better information for people who can't boot their phone
30/07/2012: Added information to perform step Extra 1 when stuck on boot after flashing rom.
great guide...glad you did it perfectly well
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
malybru said:
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
Click to expand...
Click to collapse
No malybru. Newer one is needed. 2.08 is still GB, right?
I stand corrected, for GB one, yes, that should do it
Mate, thanks a lot for this noob to noob guide.
Poelier/ bertuz
Sent from my HTC Sensation Z710e using XDA
Excellent guide
Great guide! i'll link it in my thread [GUIDE][MAY.01.12] How to flash ICS 3.32 firmware | flash/update ARHD 6.6.x ICS ROM.
Well done!
Great noob to noob guide, and thanks for the quote. Sorry about all the typos in it though. I think I posted that very quickly while on my lunch break, lol. I am always making typos when typing on my phone. Please feel free to correct them if you want to.
ganeshp said:
great guide...glad you did it perfectly well
Click to expand...
Click to collapse
You thanks for all the help!
malybru said:
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
Click to expand...
Click to collapse
Thanks, I'll add it to the guide!
poelier said:
Mate, thanks a lot for this noob to noob guide.
Poelier/ bertuz
Sent from my HTC Sensation Z710e using XDA
Click to expand...
Click to collapse
No problem!
joaquinf said:
Great guide! i'll link it in my thread [GUIDE][MAY.01.12] How to flash ICS 3.32 firmware | flash/update ARHD 6.6.x ICS ROM.
Well done!
Click to expand...
Click to collapse
Thanks a lot, Let's hope more people find their way with the Sensation.
T-Macgnolia said:
Great noob to noob guide, and thanks for the quote. Sorry about all the typos in it though. I think I posted that very quickly while on my lunch break, lol. I am always making typos when typing on my phone. Please feel free to correct them if you want to.
Click to expand...
Click to collapse
No need to apologise for typo's, I'm sure I made some too. I didn't correct them because it might seem rude. I'll correct em today.
Great guide, was really needed for newbs that updated to ICS OTA.
Followed it easily and flashed ARHD successfully, so many thanks Asskicker2.
The only issue I encounter so far is the Wi-fi. It won't turn on and is in "error" state when I look at it through Settings.
I think that that's some kind of a common problem, but I really followed the guide by the line, and had exactly the same prerequisites. Obviously something wasn't exactly the same.
So any ideas? Help would be greatly appreciated. I have CID HTC_044, was imported from Asia.
mage3 said:
Great guide, was really needed for newbs that updated to ICS OTA.
Followed it easily and flashed ARHD successfully, so many thanks Asskicker2.
The only issue I encounter so far is the Wi-fi. It won't turn on and is in "error" state when I look at it through Settings.
I think that that's some kind of a common problem, but I really followed the guide by the line, and had exactly the same prerequisites. Obviously something wasn't exactly the same.
So any ideas? Help would be greatly appreciated. I have CID HTC_044, was imported from Asia.
Click to expand...
Click to collapse
ohh for wifi problem...
repeat the "extra 1" step present in the guide
but get the boot.img from the ARHD rom zip file you've downloaded and do the steps from "extra 1"
to get the boot.img
1.open the rom zip file...and open the kernels folder..
2.extract the boot.img present in kernel folder
(if it has more than one boot.img...get the boot.img of your preferred kernel)
3.keep the boot.img in your adb folder
4.follow the steps in "extra 1" but use the boot.img you got
this should and will solve your wifi problem
Amy ROM recommandation for non sense?
Sent from my HTC Sensation Z710e using XDA
ganeship, thank you soo much!
Wi-fi sure is working now! Great!
mage3 said:
ganeship, thank you soo much!
Wi-fi sure is working now! Great!
Click to expand...
Click to collapse
I'm glad you got it working, I updated my guide because it seems having SmartFlash on doesn't work for everyone.
I'm just wondering, are you sure you enabled SmartFlash?
poelier said:
Amy ROM recommandation for non sense?
Sent from my HTC Sensation Z710e using XDA
Click to expand...
Click to collapse
Virtuous Inquisition looks like a great ICS AOSP rom, I haven't tried it though.
Asskicker2 said:
I'm glad you got it working, I updated my guide because it seems having SmartFlash on doesn't fit it for everyone.
I'm just wondering, are you sure you enabled SmartFlash?
Click to expand...
Click to collapse
Yes, I went in Recovery, then Tools end enabled SmartFlash. I remember this pretty clearly.
Anyhow, thanks again for the great guide, been searching for this since before you posted it. Was so happy this morning when I saw it!
mage3 said:
Yes, I went in Recovery, then Tools end enabled SmartFlash. I remember this pretty clearly.
Anyhow, thanks again for the great guide, been searching for this since before you posted it. Was so happy this morning when I saw it!
Click to expand...
Click to collapse
Ok, Thanks! I'll have to see if other people have the same problem.
If you have some free time this evening do you mind hopping on the #helpmenow irc channel? I'd like to test something just to be sure.
Added an Extra 3, which tells you how to put your phone back to Stock and locked. This can be helpful if you want to send your phone back to HTC for repairs or something alike.
Hi when i flash the Unlock_token.bin i get the error massage:
"writing 'unlocktoken'... FAILED (remote: unlock token check failed)"
At Asskicker2, your guide is great my friend. But I thought I might mention this, instead of telling people to remove the battery to boot into Hboot. Just tell them to go to Settings/Power and uncheck Fastboot. This will allow the device to shut all the way down wich is what pulling the battery does is completely shut down the device. The Fastboot option is a option that lets your device go into a sort of hibernation mood so it does not take so long to turn the device back on. This option is checked by default on most HTC Android devices.
My phone is untouched.I updated OTA to ICS 4.0.3 couple of weeks ago.
My firmare is 3.32.901.113
I was about to follow this guide and do it, and after that, install ARHD.
But after a close look on the ARHD 6.6.3 thread, I've noticed it says : " 3.32.401.x firmware is required! "
I think I have HBOOT 1.28, if I remember well, when I tried to use the Revolutionary tool and it didn't worked since my HBOOT wasn't supported.Or I am remembering wrong and the latest HBOOT is 1.27.
hi all
im living in lebanon and i have htc sensation middle east version
android 2.3.4 with sense 3
software number 1.50.415.1
is that the latest update for my phone ? coz i saw alot ppl got update and when im checking for update i get no update available
so my Quetion is that normal or something goes wrong ?
(someone told me to change CID to 15) if thats true how to do so?.
10x in advance
speechless said:
hi all
im living in lebanon and i have htc sensation middle east version
android 2.3.4 with sense 3
software number 1.50.415.1
is that the latest update for my phone ? coz i saw alot ppl got update and when im checking for update i get no update available
so my Quetion is that normal or something goes wrong ?
(someone told me to change CID to 15) if thats true how to do so?.
10x in advance
Click to expand...
Click to collapse
I guess your latest update (assuming you have an unbranded phone) should be Android v2.3.5 & Sense v3.5/3.6 unless ICS update has released already.
If your phone is branded, you will need to contact your operator to know about the software updates for your phone.
Anyway, to check for the latest update, go to Settings>About Phone>Software Updates>Check now.
If you really can't wait for an update, you can S-Off your phone, flash recovery of your choice, flash appropriate firmware & then apply a stock/custom ROM. Here is a guide for the same.
so what can i do in this case if my phone unbranded?
speechless said:
so what can i do in this case if my phone unbranded?
Click to expand...
Click to collapse
As I said check for the update from settings. If it says no updates found, try switching off and rebooting your phone & then checking again.
If it again says no updates found & if you really want new software, then you can follow the last suggestion in my previous post. Note that the last option can (and in some cases, will) void your warranty, especially if not done properly.
kgs1992 said:
As I said check for the update from settings. If it says no updates found, try switching off and rebooting your phone & then checking again.
If it again says no updates found & if you really want new software, then you can follow the last suggestion in my previous post. Note that the last option can (and in some cases, will) void your warranty, especially if not done properly.
Click to expand...
Click to collapse
ok i did as u said i got msg ( your phone is up to date there are no updates available for your phone) whats the best rom for sensation ? and 10x for your help appreciated
speechless said:
ok i did as u said i got msg ( your phone is up to date there are no updates available for your phone) whats the best rom for sensation ? and 10x for your help appreciated
Click to expand...
Click to collapse
ROMs are all about experience mate. If you like something, it's not necessary that I might like it too. Also true the other way round.
What version of android and sense are you looking for?
Also what features are most important to you?
kgs1992 said:
ROMs are all about experience mate. If you like something, it's not necessary that I might like it too. Also true the other way round.
What version of android and sense are you looking for?
Also what features are most important to you?
Click to expand...
Click to collapse
im looking for ics with good preference and stable doesnt metter what version of android or sense
speechless said:
im looking for ics with good preference and stable doesnt metter what version of android or sense
Click to expand...
Click to collapse
Well, ARHD 6.6.4 is stable & pretty smooth and has almost no bugs at all.
Ordroid 7.1.0 has a bug or two, but is stable & fast. I personally feel it also gives better battery performance, although, I can't say it for sure since it's been here just a day now.
You could also try an Insert Coin ROM, which I haven't been able to do myself, and hence cannot tell you anything about it.
Don't go for senseless ROMs yet, since I'm not really sure how stable they are and I wouldn't want to recommend something to you unless I've atleast heard about it.
All ROMs can be found in the Android Development section.
kgs1992 said:
Well, ARHD 6.6.4 is stable & pretty smooth and has almost no bugs at all.
Ordroid 7.1.0 has a bug or two, but is stable & fast. I personally feel it also gives better battery performance, although, I can't say it for sure since it's been here just a day now.
You could also try an Insert Coin ROM, which I haven't been able to do myself, and hence cannot tell you anything about it.
Don't go for senseless ROMs yet, since I'm not really sure how stable they are and I wouldn't want to recommend something to you unless I've atleast heard about it.
All ROMs can be found in the Android Development section.
Click to expand...
Click to collapse
im really appreciated but i have problem in ur guide cant read all things well there is a pic on front that hides half words tried on ff chrome IE pic attached
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xl VipeR lx said:
If you would like to S-OFF, Install ClockWork Recovery, permanently Root & obtain SuperCID. Follow Steps 1 to 4!
To Debrand or flash an official stock ROM only: follow Steps 1 & 4 only (you may skip step 3 & 4 is you do not need them)
To Root: follow steps 1-3
To install a custom ROM for the first time: Steps 1 & 2 then follow the guide below on how to install a custom Rom (step 3 isn't needed as customs roms are already rooted)
CLICK HERE FOR [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof) Steps 1-3 Needed! or Steps 1 & 2 plus custom ROM
UPDATE: NEW Recovery 5.0.0.8 - Follow Step 2 below to download and install. you do not need to follow the rest of the steps if you are just updating CWM
For Warranty Purposes/Returns:Follow Step 4 below for removing Clockwork and Root
FOLLOW STEP 5 TO CHANGE BACK TO S-ON - CONFIRMED TO BE WORKING- USE WITH CAUTION
Whether your a noob or not, it nice to see a step by step guide as S-off is developer preview only and doesn't come with much instructions. I have simply Collaborated what is out there into one easy thread. Nothing complex.
here is my very small simple detailed guide. I have put a lot of Time and effort to make sure everyone can benefit so Just push Thanks if it helped
Click here for TROUBLESHOOTING OR FAQ
Step 1. To S-OFF your Sensation - (You do not need to do this if you have S-off already or done this before) - WORKING NOW for TMOUS users
Visit http://revolutionary.io/
download the application for your operating System. AND EXTRACT IT TO A FOLDER
YOU MAY NEED TO DISABLE YOUR ANTIVIRUS PROGRAM- Norton is flagging up Revolutionary as a Virus when it isn't
IMPORTANT
Fill out the form under the download links with your OS, Device, Hboot Version and Serial number. This will give your beta key to enable you to S - OFF. Make a note of this.
How To get your Hboot Version - 3 methods below
1. Run the revolutionary Utility you just downloaded from http://revolutionary.io/ and if it has found your device it should read
"Found your Device: HTC Sensation Z710* Applications -> Development)
4. With the phone switched on (not in HBOOT, just the regular home screen), plug in your USB cable and select HTC sync mode.(IGNORE any warning messages on your phone telling you it cannot find HTC Sync )
5. Launch revolutionary.exe. It should detect the phone and ask for your beta key. Type it (BE CAREFUL, as its case sensitive) or copy and paste it in.
If Revolutionary fails to find your phone verify you have all the drivers installed, try disk drive mode or charging mode (Linux users can use disk drive mode. Confirmed to be working by others)
6. Once you have entered your beta key correctly, follow any on screen prompts or actions from revolutionary and wait for it to S-Off,
7. You're done. Your Device will Successfully have S-OFF....if it hangs on method 3 and doesn't S-Off. See post 2 below for solutions.
IF REVOLUTIONARY SAYS FAILED YOUR PHONE IS NOT SUPPORTED. Go back and check hboot using the methods above. some users are told its failed and they still have S off now. If you have S-off your hboot will now be 1.17.1011 and revolutionary will tell you now your device is not supported
8. Revolutionary will now ask you to Install clockwork recovery mod after S OFF. Type N and install it manually below (the recovery provided is v4.0.1.4 doesn't charge when device is switched off, the one below v5.0.0.1 does charge)
9. Your Device now is S-off.
To install clockwork recovery for the sensation. Follow step 2!
STEP 2. To INSTALL Recovery - v5.0.0.8
1. Download recovery v5.0.0.8 for the Sensation [URL="http://forum.xda-developers.com/showthread.php?t=1277975"]HERE:[/URL] 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
Click to expand...
Click to collapse
Attachments:
su-2.3.6.3-efgh-signed.zip
ADB-Windows.zip
ADB-Linux.zip
PG58IMG.zip
Click to expand...
Click to collapse
Quoted from here.
I've been searching around for hours now trying to work this is and, as always happens here, the information is a mess and disparate.
Is anyone able to link me a good walkthrough to do this? I'm not new to rooting terminology generally but I am totally new to the Desire S.
HBOOT is as above, S-ON, 2.3.5.
Thanks.
There is a nice thread for beginners and others in the general section. Also there is an INDEX thread in the Development section. All the info you need is there. Only some info that you may not find explained in this guides:
currently there are 2 ways to achieve what you need:
1) unlock with htcdev.com (but stays S-ON)
2) S-OFF with the Revolutionary tool (only older bootloader supported - 0.98.0000 and 0.98.0002)
Option 1 will give you the ability to flash custom recoveries, kernels and ROMs. The cons of this way are as follows: you are officially agree with HTC that you are voiding your warranty. The kernel has to be flashed via fastboot or in other words you need a PC each time you want to flash a new ROM. Going this way also means that you cannot change your radio and bootloader to another version (not that there is a reason to do so...).
Option 2 will give you a completely unlocked device with the ability to flash anything you want on it, but to get it you have to downgrade your system to a supported by Revolutionary exploit. And the need to flash the kernel separately is not present here (IMO it is the main advantage)
I hope the above is clear enough and after making the decision of which will be your method the detailed steps can be found in the guides I have mentioned in the beginning.
Good luck
amidabuddha said:
There is a nice thread for beginners and others in the general section. Also there is an INDEX thread in the Development section. All the info you need is there. Only some info that you may not find explained in this guides:
currently there are 2 ways to achieve what you need:
1) unlock with htcdev.com (but stays S-ON)
2) S-OFF with the Revolutionary tool (only older bootloader supported - 0.98.0000 and 0.98.0002)
Option 1 will give you the ability to flash custom recoveries, kernels and ROMs. The cons of this way are as follows: you are officially agree with HTC that you are voiding your warranty. The kernel has to be flashed via fastboot or in other words you need a PC each time you want to flash a new ROM. Going this way also means that you cannot change your radio and bootloader to another version (not that there is a reason to do so...).
Option 2 will give you a completely unlocked device with the ability to flash anything you want on it, but to get it you have to downgrade your system to a supported by Revolutionary exploit. And the need to flash the kernel separately is not present here (IMO it is the main advantage)
I hope the above is clear enough and after making the decision of which will be your method the detailed steps can be found in the guides I have mentioned in the beginning.
Good luck
Click to expand...
Click to collapse
My main problem now is that I can't get ADB/HTC Drivers to work on this computer. I keep getting device not found.
So I can't perform the required steps in the guides for HBOOT downgrades :/
Have you installed the HTC sync product as that usually installs the required HTC driver
Sywepd form my DsereiS
Is abd debugging on?
Sent from my HTC Desire S using xda premium (nah I dun earn enuf to buy premium)
rain987 said:
Is abd debugging on?
Click to expand...
Click to collapse
USB debugging option must be on
You'll find this in
GB
Settings applications development (from memory)
ICS
From settings development
Sywepd form my DsereiS
Debugging is on and I have installed HTC Sync several times (with AV and UAC off for good measure) plus used the stand alone installed from unrevoked and it still will not find the device.
G8D said:
Debugging is on and I have installed HTC Sync several times (with AV and UAC off for good measure) plus used the stand alone installed from unrevoked and it still will not find the device.
Click to expand...
Click to collapse
Please post a screenshot of your cmd after typing "adb devices"
Sent from my HTC Desire S
adb root is needed ?
Sent from my Desire S
No most probably he has some permission issues
Sent from my Desire S
I've installed Wubi and am now trying, poorly, to install ADK/JDK for it. I'm hoping this will allow me to see the device.
I have a screenshot of what windows says, I'll upload it when off Ubuntu.
Most of the guides are for Windows, you can still do everything under Linux, but you have to search more. There is a link for Ubuntu adb setup in the guide in my signature, check it
Sent from my HTC Desire S
I've got it set up now on Ubuntu. The issue now is that the phone won't go into USB debugging mode. It just doesn't. I need it to do so to give permissions to ADB and to use ADB commands in general.
It's set to go into that mode in settings but just won't, any ideas?
For reference: ./adb devices see my phone when connect (ZTE Blade), albeit without permissions.
EDIT: also, probably unrelated, the HTC GPS goes haywire all the time. Opening itself without prompt and interrupting everything. It does it every time USB is plugged in too.
EDIT 2: also maybe unrelated but the phone cannot turn off.. holding the power button simply turns the screen off.
Edits may not be relevant but you can see why I'm so desperate to root this phone.
EDIT3: I managed to get the 8 digitis required for the device thanks to going into Fastboot via the bootloader but ADB still won't find it.
I am following this guide http://forum.xda-developers.com/showthread.php?t=921169
The main issue does seem to be the phone refusing USB debugging mode :/
This sounds like a real mess. I would suggest another approach. Since fastboot is working you can check your main version and use a RUU. And your phone will be like new again
Sent from my HTC Desire S
Had unlocked bootloader through htc dev, but i still have to manually flash roms, i am looking for easy method to get S-off on 2.00.002.
zenilshroff said:
Had unlocked bootloader through htc dev, but i still have to manually flash roms, i am looking for easy method to get S-off on 2.00.002.
Click to expand...
Click to collapse
There are exactly 3 downgrade tutorials in the index thread about that
Sent from my HTC Desire S
For rooting my device i found this step. I have read a lot and have adjusted this steps to my needs... Maybe you or someone else can make profit off it.
1. to not avoid warrancy ( Dont use htcdev unlock!)
2. download adb tools http://forum.xda-developers.com/showthread.php?t=1272595
3. install htc sync for drivers then disable/uninstall htc sync. (windows)
4. check your phone software and hboot version on boot menu (GUIDE LINK)
http://forum.xda-developers.com/showthread.php?t=1186401
5. downgrade to oldest RUU with hboot 0.90.xxx something if don’t want use htcdev unlock
1.28.401.1 RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release_177977_signed.exe
above ruu is only fore unbranded europe phones... YOU may need a different one!!!!!!!!!!!
6. to do this it depends on software on phone.
if its new like 2.11.xx-> use tacoroot guide.
http://forum.xda-developers.com/showthread.php?t=1443636
if its older like 2.10.xx use the zergrush guide.
http://forum.xda-developers.com/showthread.php?t=1399331&highlight=zergrush (deze heb ik moeten gebruiken)
7. use revolutionary guide to S-Off And root ( this is possible only in oldest version of original RUU).
http://forum.xda-developers.com/showthread.php?t=1186401
http://revolutionary.io/
8Update hboot naar eng hboot:
http://forum.xda-developers.com/showthread.php?t=1679338
9. install 4ext recovery touch. do your backups.
We're going to install EXT4 recovery. But first download ''4EXT_Recovery_v2.2.7_RC5.zip'' and extract the recovery.img file to the folder where you installed fastboot and adb. If you followed the tutorial in step 1 the folder will be ''C:\android-tools''
Now make sure Fast Boot is turned off on your phone. Go to ''Settings > Power > Fast Boot'' to turn it off. Unplug your phone from your computer, it's time to turn of your phone and boot into your bootloader.
Press Volume Down Button and Power Button at the same time to boot into recovery. Now connect your phone to your computer and select fastboot.
(Power button to select, Volume Down/Up to navigate)
Go to start->run-> type cmd and press enter. A command prompt will now appear.
Type:
cd c:\android-tools [press enter]
fastboot flash recovery recovery.img [press enter]
EXT4 recovery is now installed on your phone. Turn off your phone in bootloader menu.
EXT 4 later updaten naar: http://forum.xda-developers.com/showthread.php?t=1377745
10. download preferrable custom rom. Copy it to SDCARD root.
11. Flash custom rom. ( GUIDE LINK )
How To: Flash Custom ROMs using Recovery (Method 1)
(You can use your default recovery from Revolutionary tool but I recommend using 4EXTRecovery)
1. Copy your custom ROM "zip" file to your SD card (Root directory).
2. Turn off your phone.
3. Turn on your phone by holding the power button and the volume down button together.
4. Once you see the white screen, choose "Recovery"
5. Make a full wipe/format and clear all cache.
6. Choose "install from sdcard/zip file" and then choose your Custom ROM zip file from your SD card to flash your Custom ROM.
Optional: If you want to use 4EXTRecovery, just flash it like you are flashing your custom ROM(Step 6). Just do it before you flash your new ROM.
.
12. Enjoy and have a beer!
-when using Win7 you can start CMD in specific folder (avoid 5-10 cd's or long/path/to/folder) by holding shift+right click/open command window here)
amidabuddha said:
This sounds like a real mess. I would suggest another approach. Since fastboot is working you can check your main version and use a RUU. And your phone will be like new again
Sent from my HTC Desire S
Click to expand...
Click to collapse
How would I do this? Would this revert the HBOOT also?
Build number is 2.10.401.8 CL1536318. Phone seems unbranded. No bloatware or branded boot screen anyway.
G8D said:
How would I do this? Would this revert the HBOOT also?
Build number is 2.10.401.8 CL1536318. Phone seems unbranded. No bloatware or branded boot screen anyway.
Click to expand...
Click to collapse
It will be like you just bought it (and the hboot version will be the same as now). It will erase your data and apps so better make a Google sync and some backups.
Then reboot the phone to bootloader: power it off completely, then hold Volume down and press power. Still holding the Volume Down button release the Power button after several seconds.
When in the bootloader connect it to PC and make sure that you see FASTBOOT USB written on the phone screen.
Then open command prompt (you said that fastboot is working so I assume you know hot to use it) and type:
Code:
[B]fastboot devices[/B] - [I]your serial number should appear[/I]
[B]fastboot getvar version-main[/B] - [I]the output [B]should [/B]be 2.10.401.8[/I]
[B]fastboot getvar cidnum[/B] - [I]the output [B]must [/B]be one of these: HTC__001, HTC__E11, HTC__032, HTC__203, HTC__Y13, HTC__102, HTC__405, HTC__N34, HTC__304, HTC__A07, HTC__016[/I]
IF the you have the right output download RUU_Saga_S_HTC_Europe_2.10.401.8_Radio_20.4801.30.0822U_3822.10.08.04_M_release_225161_signed.exe
Run it in Windows while your phone is connected in FASTBOOT USB mode as described above.
After RUU finishes your phone should be completely stock and if your problems are software based they should be gone.
IMPORTANT: the above is valid if you did not attempted to unlock the phone via htcdev.com or flash any RUU or other stuff. If you did then some additional steps may be required
Good luck
The problems persisted through the reflash :/
It did go into debug mode ONCE earlier today before I flashed it but it was short lived (and the laptop overheated and shutdown so the connection was lost :/