[GUIDE] Flashing roms with S-ON and 1.27+ HBOOT - HTC Sensation

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.

Related

[Q] home to root

please dont shout, just take pitty on me.
I have been getting into the world of rooting and have used the HTC Bootloader unlock, and have installed clockwork. i then had a few issues but managed to get some roms working but Im still not fully understanding exactly what im doing.
but i can flash by:
1. Power on'ing and vol down,
2. fastboot - bootloader - loading PG58IMG
3. recovery -wipe data/factory reset - yes
4. install zip from sdcard - chose zip from sdcard - Sensation_3.32.401.5_deodexed - Yes
5. wait for: install from sdcard complete
7. go back - rebootsystem now
Ive tried a few roms, 2 didnt work but this is the 3rd (Sensation_3.32.401.5_deodexed) that has loaded up.
My issue is I dont get how to get my wireless to work. If someone could give simple instructions Id be more than helpfl as all guides i read are too full of jargon. . . . .im not afraid to hit your thanks buttons . . .
Thanks
Tim
PS
my cid is VADAP001
my MID is PG5813000
taffytim said:
please dont shout, just take pitty on me.
I have been getting intot he world of routing and have used the HTC Bootloader unlock, and have installed clockwork. i then had a few issues but managed to get some roms working but Im still not flly understanding exactly what im doing.
but i can flashing by
1. Power on'ing and vol down,
2. fastboot - bootloader - loading PG58IMG
3. recovery -wipe data/factory reset - yes
4. install zip from sdcard - chose zip from sdcard - Sensation_3.32.401.5_deodexed - Yes
5. wait for: install from sdcard complete
7. go back - rebootsystem now
Ive tried a few roms, 2 didnt work but this is the 3rd (Sensation_3.32.401.5_deodexed) that has loaded up.
My issue is I dont get how to get my wireless to work. If someone could give simple instructions Id be more than helpfl as all guides i read are too full of jargon. . . . .im not afraid to hit your thanks buttons . . .
Thanks
Tim
Click to expand...
Click to collapse
Hi,
Are you talking about wifi?
Have you got a router?
When you use HTC Dev to unlocj your bootloader it does unlock the Recovery, System, and Boot partitions to allow your device to write to those partitions and not just read rose partitions. But Terri 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 dot 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 te New ROM.
Now let me explain the boot.img a little so you know why it is so important. The boot.img does just watt te 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 eat is called a Lenox kernel. This means that your bootloader boots the Lenox kernel and the hardware of the device. The Lenox kernel then boots the Android OS. The kernel is also te connection between the hardware and the Android OS. So you see if the kernel is not compatible with the system that is on te 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 te ROM are you will more than likely have troubles.
Malybru, i do have a router but my wifi wont turn on so i cant connect to it.
T-Macgnolia said:
When you use HTC Dev to unlocj your bootloader it does unlock the Recovery, System, and Boot partitions to allow your device to write to those partitions and not just read rose partitions. But Terri 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 dot 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 te New ROM.
Now let me explain the boot.img a little so you know why it is so important. The boot.img does just watt te 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 eat is called a Lenox kernel. This means that your bootloader boots the Lenox kernel and the hardware of the device. The Lenox kernel then boots the Android OS. The kernel is also te connection between the hardware and the Android OS. So you see if the kernel is not compatible with the system that is on te 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 te ROM are you will more than likely have troubles.
Click to expand...
Click to collapse
That is very informative thanks T-Macgnolia. I understand the theorybut i cant work out the process?
How do i get to flash the boot image?
If i go into my rom folder on my pc then try to open the boot file i just get a Windows Disc Image Burner message box asking me to burn to disc.
I used to burn images using virtal drives when making dvds. Will i need to do the same again here with a virtual drive?
Can you break the process down for me?
taffytim said:
That is very informative thanks T-Macgnolia. I understand the theorybut i cant work out the process?
How do i get to flash the boot image?
If i go into my rom folder on my pc then try to open the boot file i just get a Windows Disc Image Burner message box asking me to burn to disc.
I used to burn images using virtal drives when making dvds. Will i need to do the same again here with a virtual drive?
Can you break the process down for me?
Click to expand...
Click to collapse
First you have to download and install the Android SDK. Here is a video by Elite Recognized Developer Adam Outler that shows you how to install the Android SDK. After you have the SDK installed and all the packages are downloaded and installed. Take the boot.img and copy it to the same folder in ADB that has fastboot in it. Now while you are in the folder with fastboot in it hold down the shift key and right click anywhere on the screen and select "open command promt here". This will open a command promt with you already on the right directory. Now boot your Sensation into Hboot by holding the volume down button down while booting your Sensation. when in Hboot select fastboot and connect your Sensation to your computer with your USB cable. Now type the following into the command promt.
Code:
fastboot flash boot boot.img
That is all it is to it. Also the boot.img is a iso file that is why you get that message when you try to open it. You have to use a Android kitchen or another program that can decompile the file if you want to open it and look around.
T-Macgnolia said:
First you have to download and install the Android SDK. Here is a video by Elite Recognized Developer Adam Outler that shows you how to install the Android SDK. After you have the SDK installed and all the packages are downloaded and installed. Take the boot.img and copy it to the same folder in ADB that has fastboot in it. Now while you are in the folder with fastboot in it hold down the shift key and right click anywhere on the screen and select "open command promt here". This will open a command promt with you already on the right directory. Now boot your Sensation into Hboot by holding the volume down button down while booting your Sensation. when in Hboot select fastboot and connect your Sensation to your computer with your USB cable. Now type the following into the command promt.
Code:
fastboot flash boot boot.img
That is all it is to it. Also the boot.img is a iso file that is why you get that message when you try to open it. You have to use a Android kitchen or another program that can decompile the file if you want to open it and look around.
Click to expand...
Click to collapse
You sir deserve a big pint of something great. Point by point I:
1. I already had sdk installed so didnt need to install this.
2. I cleared the phone back to factory with Recovery (Power on with holding -Vol, RECOVERY, Wipe data/Factory Reset, Power Off)
3. I went into HBOOT (by powering on holding down -vol)
4. Opened FASTBOOT and connected phone to computer via USB
5. Opened up command prompt on PC (start menu, typed cmd in the search box)
6. I then Typed the following:
7. "cd c:\Android" (to get me into the folder where my files are)
8. "fastboot flash boot boot.img"
9. this then loaded my boot file and bosh, Im done.
I then restarted the phone and bobs your mothers brother Im using wiresless again. Its such an easy process but on the first go it seems like rocket science.
You cant appreciate how greatful i am for your help. Thank you more than a lot.
If i chose a different ROM at what point is it best to do this stage? Are you able to do this to the boot image before you use recovery to 'insatll zip from sd card'? Or do you have to install then come back to it like i did?
For every custom rom you install you need to follow the same procedure.
1. First flash/install the rom via recovery
2. Get the boot.img and flash it via fastboot (some rom's have more than one kernel then choose the best you want)
As long as you stay in HTC unlocked bootloader the above steps are necessary to flash the rom completely to prevent bootloops and wifi errors
sent from my blazing fast pyramid through sonic waves
ta gane shp, this is a good place with good people
Thanks this post helped me a lot!
I got Android Revolution fully working, but I'm trying to flash the newest OC Kernel of SebastianFM over it. But his zip doesn't have a "boot.img", it does however contain the following: mkbootimg, mkbootimg.sh and unpackbootimg. Is it any of those I need to flash, if not, which "boot.img" do I flash then?
Asskicker2 said:
Thanks this post helped me a lot!
I got Android Revolution fully working, but I'm trying to flash the newest OC Kernel of SebastianFM over it. But his zip doesn't have a "boot.img", it does however contain the following: mkbootimg, mkbootimg.sh and unpackbootimg. Is it any of those I need to flash, if not, which "boot.img" do I flash then?
Click to expand...
Click to collapse
Hi,
I believe the boot.img refers to the ROM you are flashing.
This is a kernel.
So,make a nandroid backup,
wipe cache and dalvik,
and flash the kernel from the root of the sd card,choosing install zip from sd card in recovery.
malybru said:
Hi,
I believe the boot.img refers to the ROM you are flashing.
This is a kernel.
So,make a nandroid backup,
wipe cache and dalvik,
and flash the kernel from the root of the sd card,choosing install zip from sd card in recovery.
Click to expand...
Click to collapse
Yeah, that isn't working.
Wifi ain't working now.
Asskicker2 said:
Yeah, that isn't working.
Wifi ain't working now.
Click to expand...
Click to collapse
Hi,
Just restore the nandroid backup you made.
malybru said:
Hi,
Just restore the nandroid backup you made.
Click to expand...
Click to collapse
Yeah, but I wanted to update to newest kernel. Thanks though
Doesn't work with me.
taffytim said:
You sir deserve a big pint of something great. Point by point I:
1. I already had sdk installed so didnt need to install this.
2. I cleared the phone back to factory with Recovery (Power on with holding -Vol, RECOVERY, Wipe data/Factory Reset, Power Off)
3. I went into HBOOT (by powering on holding down -vol)
4. Opened FASTBOOT and connected phone to computer via USB
5. Opened up command prompt on PC (start menu, typed cmd in the search box)
6. I then Typed the following:
7. "cd c:\Android" (to get me into the folder where my files are)
8. "fastboot flash boot boot.img"
9. this then loaded my boot file and bosh, Im done.
I then restarted the phone and bobs your mothers brother Im using wiresless again. Its such an easy process but on the first go it seems like rocket science.
You cant appreciate how greatful i am for your help. Thank you more than a lot.
If i chose a different ROM at what point is it best to do this stage? Are you able to do this to the boot image before you use recovery to 'insatll zip from sd card'? Or do you have to install then come back to it like i did?
Click to expand...
Click to collapse
I tried this with OrDroid and ViperS laterst versions and the wifi still doesnot work with my device.
It does nor even turn on from the settings, someone please help!
Wi-Fi Issues
theumairahmad said:
I tried this with OrDroid and ViperS laterst versions and the wifi still doesnot work with my device.
It does nor even turn on from the settings, someone please help!
Click to expand...
Click to collapse
Post 3 in this thread explains exactly where the problem is. But ........you will never unlock that boot partition if ur phone is S-ON. The trick with the wire works...it took me couple of times to do it but it worked. Then.....the lates ViperS version does it for you. You do not have to use ADB or whatever that program was to flash the boot.img It is all in the ROM. I even flashed the newest bricked 1.4 kernel on top.....but that 3rd comment is the key to all problems with Wi-Fi and other kernel issues:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:

[Q] ok i need help pls

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.

Can someone walk me through what's needed to root/recovery/custom ROM with 2.00.0002?

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 :/

nood guide for rooting?

sorry for this noob question ) i've been searching threads here regarding on rooting, but i dont have any idea how to start with all those terms that is new to me xD
so do you guys have like a noob guide for rooting? i have HTC Desire S, Android 2.3.5, Sense 3.0.
Lookin' forward for some answers, I would be grateful~ Thanks!
Maybe
[GUIDE] Rooting the official Desire S 2.3.5 ROM
bisakor said:
sorry for this noob question ) i've been searching threads here regarding on rooting, but i dont have any idea how to start with all those terms that is new to me xD
so do you guys have like a noob guide for rooting? i have HTC Desire S, Android 2.3.5, Sense 3.0.
Lookin' forward for some answers, I would be grateful~ Thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/sho...omplete Tutorial for the Beginners and Others
http://forum.xda-developers.com/sho.../RECOVERY/ROOT/GUIDES/HBOOT/RADIOS/TWEAKS etc
http://forum.xda-developers.com/sho...T4 recovery and custom ROM on HBOOT 2.00.0002
I found a list and changed it to my needs. It give you a way to do it... But remember, this was my way... You may need to do things different... So Read, Read, and again READ!!!!!
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
YOU MAY NEED A DIFFERENT RUU!!!!!
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 UPDATE : 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)
A bit different approach from all the posters above:
If you really read the threads, and the guides you saw aren't understandable to you - then the best guide for rooting is: stay away from rooting.
Jack_R1 said:
A bit different approach from all the posters above:
If you really read the threads, and the guides you saw aren't understandable to you - then the best guide for rooting is: stay away from rooting.
Click to expand...
Click to collapse
Can't argue with that statement, saying that most of what I read made sense as I did it

[GUIDE] Complete Flashing Guide | Rooting | Going Back To Stock | 05.05.2013

{
"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"
}
Hello User! Before you start reading, I must warn you. First of all, flashing your first custom ROM might end up having ORD. What is ORD you can read here.
Secondly, keep in mind whatever you do, you do it at your own risk. Probability that you will brick your device is very, very small, and if you will follow proper guides, read carefully first post of the thread you are going to use ROM/kernel/recovery/other from, it is almost impossible to brick the device. No, my intention is not to encourage you. Don't even enter bootloader mode on your device if you can't/not going to read what others (probably more experienced) users got to say. Unlocking/flashing process is a very easy and short process, but it requires your attention, reading, thinking and understanding ability.
The best place to start is this thread and this video - click here​
I think you are ready now. So where should you start? You probably don't know yet. So let me briefly tell you what options you have:
You might want to root your device and keep 100% stock ROM
You might want to flash custom recovery to be able to create nandroid backups
You might want to flash custom kernel
You might want to flash custom ROM
You might want to have a custom ROM with ability to make you a coffee <--- forget about that one!
You might want to use some UI modifications like % battery
...
Whatever your option is, you need to start from unlocking your bootloader. Unlocking bootloader doesn't mean disabling all security. Your device will remain S-ON, however instead of "LOCKED" from now on it will be "UNLOCKED" or "RELOCKED" (if you decide to lock it back later). What does it mean? Basically you will be able to change content of system, recovery and boot partitions on your device. So let's unlock your device first.
Unlocking bootloader
What you need to know before unlocking the bootloader:
This operation will wipe entire content of your data partition. Read more about negative effects of unlocked bootloader - Negative effects of unlocked bootloader
This operation will not void your warranty, however opinions in this subject are divided. Read more about flashing custom ROMs and warranty - Unlocking bootloader or flashing custom ROM doesn't void your warranty!
If you are not sure if your device has virtual SD card or hardware SD card, read more here - Virtual SD card on Android
HTC One Developer Editions comes with already unlocked bootloader, so you can skip this step if you own HTC One DE.
Download this mini-sdk package and extract it to c:\mini-sdk
Visit htcdev.com site and create your account
Log in into newly created account and on the main site click "Unlock Bootloader" image <click here to see the image>
Click on "Get started" button <click here to see the image>
Expand the list of supported devieces and search for your device model name <click here to see the image>
If you can not find your device on the list, select "All Other Supported Models" <click here to see the image>
Click on "Begin Unlock Bootloader" button
On the "Are you sure you want to continue?" screen click on "Yes" button <click here to see the image>
Tick both boxes and click on "Procced to Unlock Instructions" <click here to see the image>
Follow carefully first 4 steps and click on "Proceed To Step 5" button. Ignore "Required Resources" section on the right side of the screen
Skip Step 5, 6, 7 and click on "Proceed To Step 8" button.
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
Follow very carefully steps 8 and 9. At the end click on "Submit" button.
You will receive an e-mail from HTCDev with Unlock_code.bin file attached and a link to the second part of the instructions.
Download Unlock_code.bin file from the e-mail you received and save it to c:\mini-sdk location.
In the Command Prompt type following command: fastboot flash unlocktoken Unlock_code.bin
On your device screen you will be now asked if you are sure that you want to unlock your bootloader. With volume keys navigate to proper answer and press power button to confirm. Keep in mind this procedure will wipe content of your data partition, including virtual SD card.
After it's done, your bootloader should have "UNLOCKED" text at the top.
Your bootloader is now unlocked. Whatever you want to do next, you need custom recovery for it. Every Android device has recovery partition, but with stock Android recovery you can't do much. Custom recoveries allows you to perform nandroid backup (backup content of your system, userdata and boot partitions) flash .zip packages (custom ROMs, mods, themes etc.) wipe content of your device and more. So let's flash custom recovery first. There are plenty of recoveries, including 4EXT, CWM, TWRP and more. Find the one you believe is best for you (make sure it's compiled for your device model!) and
Flashing custom recovery
What you need to know before flashing custom recovery:
After flashing custom recovery you can always revert to your stock recovery. This procedure will be described later.
Your bootloader needs to be "UNLOCKED". "LOCKED" or "RELOCKED" bootloaders can't flash custom recovery.
This operation will cause your bootloader to show "TAMPERED" text below "UNLOCKED".
For safety reasons, first what you should do is nandroid backup inside recovery. You might need it during "going back to stock" procedure.
Download custom recovery of your choice and rename it to recovery.img
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot boot recovery.img (this command might not with newer hboots)
Command above will not permantently flash custom recovery, but it will just boot it. Why? Because that way we can backup your original, stock recovery image before we replace it with custom one.
Perform a nandroid backup.
After nandroid backup is done, reboot the device in fastboot mode again.
In the Command Prompt type following command: fastboot flash recovery recovery.img
Now that your bootloader is unlocked and you have custom recovery flashed, you should decide what you want to do next. Let's assume you want to flash a custom ROM.
Flashing custom ROM
What you need to know before flashing custom ROM:
There are many custom ROMs out there. Some of them are more or less modified versions of HTC stock ROMs with HTC Sense. You might also find some AOSP, AOKP or CM ROMs based on pure Android UI without any HTC software on it. Choice is yours. Personally, I recommend you optimized ROMs with HTC Sense on board.
After flashing custom ROM you can always revert to your stock ROM. This procedure will be described later.
Download custom ROM of your choice and copy it to the internal memory of your device (virtual SD card or other)
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of custom ROM (zip) package and confirm flashing procedure.
Follow the steps on the screen. Every developer use slightly different options in his ROM installer, so just make sure you read it carefully.
If you can't flash custom ROM due to AROMA freezes, there is nothing to be worried about. Just ask for help the developer of your custom ROM.
After flashing process is complete, reboot the device.
However, you might not want to use any of the custom ROMs available, but just be able to have root access on your device. This also can be easily done!
Rooting stock ROM
What you need to know before rooting stock ROM:
You can "un-root" it easily.
As long as you won't change any files on system partition, you still will be able to download and install official OTA updates.
Download Rooting Tools
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of Rooting Tools (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device. Your device has now SuperUser.apk, su binary and busybox installed.
If you are not happy with being rooted, or you can't find any custom ROM for your needs, or you need to sell/return your device and you want it to have stock software on board, it's very easy operation.
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
"TAMPERED" text in bootloader will disappear only after proceeding method 2.
There are 3 main methods. All three will be described below.
Method 1 - only for users with .401 devices (for more info click here - RUU variants)
Visit this thread - [ROM] HTC One *STOCK* ROM
Download stock odexed version of most recent firmware and recovery.img
Move recovery.img to c:\mini-sdk location
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of stock ROM (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device in bootloader mode.
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Method 2 - flashing RUU (ROM Update Utility)
Visit this or this thread.
Find proper RUU for your device
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot oem lock
Flash RUU and follow on screen instructions.
You have now completely stock software on your device.
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Here are some videos you might find helpful:
1) by Flow-Wolf
How to Unlock the bootloader
How to Flash the recovery
How to root the HTC One
2) by udimars30
How to Unbrick/Unroot/Flash stock Rom Back on HTC ONE
General FAQ
General FAQ
1. The zip installation just freezes in AROMA, what should I do?
This is a well known issue involving the AROMA installer, and this will occur with any ROM zip in any recovery. If it freezes, hold Power and Vol-Down until your phone reboots (If this fails, plug your phone into your PC and in CMD type 'adb reboot') Now go back into recovery and start the installation again. It is reported by many users that the installation works better if you don't use the touchscreen for navigation through AROMA - instead, use Vol-Up/Down to navigate and the Power button to select
UPDATE: Please make sure you have the latest recovery version. It is reported that CWM 6.0.3.2 fixes the freezes!​
2. When I try to enter recovery it just blinks for a second and the phone reboots. How do I get into recovery?
Use Vol-Down + Power to enter fastboot mode. Now connect the phone to the PC and use 'fastboot erase cache'. After that it should be able to boot recovery correctly.​
3. The phone rebooted itself while installing a ROM, now it just bootloops. How should I recover my phone?
Reboot into recovery and flash again. If recovery won't load, check FAQ 2.​
4. Do I need to wipe my data everytime I flash a new version of a ROM?
No, a data wipe is only needed when you come from stock or another custom ROM. It is also recommended but not manadtory to wipe when there is a base update. For a more specific answer, please check the Thread of the ROM you are using. The developers will tell you, when a wipe is mandatory.​
5. Do I need to flash boot.img seperately?
The majority of ROM installers will flash the boot.img for you. Yes, even when you are S-ON. This is possible on the One. Make sure to read the instructions for your ROM.​
6. Do I need to update my radio to flash a ROM?
It is not needed. You can do it if you want to. Newer radios can improve signal, bluetooth, WiFi... Refer to the following thread for more information: Link And also check this thread for a method to update radio in recovery: Link​
7. My device is not recognized by adb and fastboot. What should I do?
Make sure you have the latest HTC Drivers (Thread) running and your SDK is up-to-date. Try another USB Port and make sure your cable is working.​
8. What is S-OFF and do I need it to flash a ROM/Kernel/Recovery/Radio?
S-OFF means that your bootloader is fully unlocked and allows you to write to more partition than you usually can. You would also be able to flash unsigned firmware. You don't need S-OFF for ROMs, kernels, recoveries and also not for radios (Check FAQ 6)​
9. What is the best ROM/Kernel/Recovery?
I really can't answer that question. It greatly depends on what you like. As mentioned in the first post there are Sense, AOKP, AOSP, CM... ROMs. Also there are several kernels, some focusing on performance, some focusing on battery life. Go on and try a few to see what fits you best. You should always make a nandroid backup, so you can go back to another ROM later.​
10. I forgot to put a ROM on my sdcard before wiping/flashing kernel and my phone won't boot now. How do I get a ROM on there?
If you have a nandroid backup on the phone, resore it. If you don't have a backup, copy the ROM you wanted to install to the phone via 'adb push rom-name.zip /data/media/rom-name.zip' Then flash as described above.​
11. Will unlocking or relocking wipe my device?
Unlocking will wipe your device. So please backup your data! Relocking will NOT wipe it, just when you unlock again.​
12. My issue is not mentioned here and/or my phone is still not working after trying to recover. What should I do?
You are always free to post in this thread or the ROM/Kernel/Recovery/Radio thread. You will find helpful members who will support you in solving your problem.​
Note: The FAQ are always under construction. New QAs will be added when the get F(requent) (You can also contact me if you find a Q that is not covered here)
There was no complete guide, so I decided to write one myself I hope users will enjoy it!
That was a lot of text for me to write, so if I made mistake somewhere, please feel free to correct me! This thread is generally still under construction and I will improve first post in time
Reserved.
Great work
Hey Mate
Great work... very well done!
Now everything should be clear...
CHeers
K.
Fantastic guide, is tampered a new thing for the HTC One? I don't remember the One X having the issue?
Thanks so much for this
ste1164 said:
Fantastic guide, is tampered a new thing for the HTC One? I don't remember the One X having the issue?
Click to expand...
Click to collapse
Yes, it's sort of new sign for HTC that user did something more then just unlocking.
mike1986. said:
Yes, it's sort of new sign for HTC that user did something more then just unlocking.
Click to expand...
Click to collapse
Ah right okay still thinking about rooting mine
sorry for asking but what is mini-sdk? unlocked the bootloader with all-in-one tool. is it something in the android sdk? where to get it? thanks
ggp759 said:
sorry for asking but what is mini-sdk? unlocked the bootloader with all-in-one tool. is it something in the android sdk? where to get it? thanks
Click to expand...
Click to collapse
It's the package of needed files I created. You can download it by clicking on the link.
mike1986. said:
It's the package of needed files I created. You can download it by clicking on the link.
Click to expand...
Click to collapse
Thanks did not see that. link does not work though.
ggp759 said:
Thanks did not see that. link does not work though.
Click to expand...
Click to collapse
Fixed now
can you explain me something ?
if I click negative effects of unlocked bootloader, it says I can't receive OTA updates.
but in your Rooting stock rom section, you said we can still receive OTA updates.
is there something I'm missing or didnt read correctly ?
also, is the procedure the same for all HTC One, no matter which carrier I bought it from ?
grat_master said:
can you explain me something ?
if I click negative effects of unlocked bootloader, it says I can't receive OTA updates.
but in your Rooting stock rom section, you said we can still receive OTA updates.
is there something I'm missing or didnt read correctly ?
also, is the procedure the same for all HTC One, no matter which carrier I bought it from ?
Click to expand...
Click to collapse
1. Well, I decided not to mention some things to avoid confusion. At the moment unlocking bootloader removes content of /data/preload partition, so indeed, installing OTA will fail. But I truly hope that HTC will fix it at some point and unlocking bootloader won't cause some stock apps to be missing.
2. Which procedure?
by procedures, I meant unlocking bootloader / root / flash custom kernels and/or roms, etc
basically, everything in your guide in 1st post. I live in Canada, I will be buying HTC One from Rogers, so I wonder if all your guides works on every HTC One coming from all carriers/stores/countries.
I'm used to root and flash on Xperia Arc, but never owned an HTC cell phone.
Thanks for quick reply, I really appreciate your work !
grat_master said:
by procedures, I meant unlocking bootloader / root / flash custom kernels and/or roms, etc
basically, everything in your guide in 1st post. I live in Canada, I will be buying HTC One from Rogers, so I wonder if all your guides works on every HTC One coming from all carriers/stores/parts of the world.
I'm used to root and flash on Xperia Arc, but never owned an HTC cell phone.
Thanks for quick reply, I reaaly appreciate all your work !
Click to expand...
Click to collapse
Yes, I think it applies to all HTC One variants.
Great tutorial and FAQs, thanks for sharing!
It's been a while since my last HTC Android device and this will be handy as soon as I get my M7!
OMG! This must have been a lot of work to make this tutorial! Thank you so much for this, i think many people will be using this thread!
Sent from my HTC One using xda app-developers app
Keupie said:
OMG! This must have been a lot of work to make this tutorial! Thank you so much for this, i think many people will be using this thread!
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
I did my very best!

Categories

Resources