Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,725 Members 37,978 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to Debrand, Rebrand & Flash Stock ROMs to your Sensation

Tip us?
 
alexp999
Old
(Last edited by alexp999; 21st August 2011 at 12:12 PM.)
#1  
alexp999's Avatar
Senior Member - OP
Thanks Meter 311
Posts: 251
Join Date: May 2011
Location: Dorset, UK

 
DONATE TO ME
Default [GUIDE] How to Debrand, Rebrand & Flash Stock ROMs to your Sensation

After searching with no success for a clear way to debrand your sensation, I finally found a way reading lots of snippets, so thought I'd write it into one guide, to help others. This guide was written assuming you're running Windows, but other OS users should be able to follow most parts, except extracting rom.zip from the RUU.

This method can also be use to rebrand/reflash back to stock.

NB
If you follow this guide, you do so at your own risk, I cannot be held responsible if something goes wrong.
This process will wipe ALL data, including any recovery partitions or boot loaders you have installed.
S-OFF WILL BE RETAINED. (If you want restore S-ON, see last section)



CONTENTS

S-OFF
DEBRANDING
- METHOD 1
- METHOD 2
S-ON


S-OFF

First your Sensation needs to be S-OFF, if its not, follow the guide below (thanks to ikhzter's thread).
(99.9% of devices are shipped S-ON)

Quote:
Originally Posted by ikhzter View Post
Step 1. To S-OFF your Sensation
Visit http://revolutionary.io/
download the application for your operating System.

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* <pyramid-1.17.**** <This is your hboot version "1.17.****"

2. OR Take out your battery and put it back in. Keep hold of the volume down button and switch your phone on.
3. OR 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.
4. Keep hold of the volume down button and switch your phone on.

Once you have completed the above
1. Uninstall HTC Sync and/or Doubletwist if you have them installed
2 WINDOWS USERS- You must Install these HTC drivers DOWNLOAD HERE. Linux Users can skip this
3. Confirm that USB Debugging is on (Settings -> Applications -> Development)
4. With phone on (not in HBOOT, just regular home screen), plug in USB cable and set it to HTC sync mode (IGNORE 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
6. You're DONE S-OFF is complete...if it hangs on method 3. Try These Drivers HERE: or Factory Reset and then start again
7. Your Device is now S-OFF


Special Thanks to AlphaRev, unrEVOked Team, Bin4ry & to everyone else that made this happen
DEBRANDING

METHOD 1 - CID CHANGE

Thanks to ikhzter, ironeagle, broncogr and sowen222 for their posts to help create these instructions. You should try this method first, and use Method 2 as a fall back.

NB
Whenever you see: Enter the command "bla bla bla", you should type the text without quotes and follow with a carriage return (ENTER).


Before you can change the CID you need to decide what you want to change it to, a couple of examples:

SuperCID (flash any ROM) = 11111111
Stock Unbranded (UK/EU at least) = HTC__001
Vodafone UK (may cover other countries) = VODAP001


I am getting people to post their CIDs in this thread here:
http://forum.xda-developers.com/show....php?t=1195475

Otherwise this thread contains a number of different CID codes, although originally written for the DHD, HTC has kept most if not all codes the same.
http://forum.xda-developers.com/show...&postcount=206


1. Uninstall HTC Sync and/or Doubletwist if you have them installed

2. WINDOWS USERS- You must Install these HTC drivers DOWNLOAD HERE. Linux Users can skip this

3. Confirm that USB Debugging is on (Settings -> Applications -> Development)

4. Download and the Android SDK (or if you know where to find it, just the adb and fastboot tools, then skip straight to part 10)
You can get it from here: http://developer.android.com/sdk/index.html Choose the zip file.

5. Extract the contents of the zip file, and run the SDK manager

6. Accept and Install the Android SDK Platform Tools, you can reject all others as they are not needed.

7. When the download and install is finished, close the SDK manager.

8. Now copy the newly created "platform-tools" folder found in the SDK folder you extracted to an easy location, e.g. "C:\platform-tools".

9. You also need to copy "fastboot.exe" from the "tools" folder of the SDK folder you extracted, to your newly created "C:\platform-tools".

10. Open Command Prompt, either Run "cmd" or go to Start, Accesories, Command Prompt

11. Enter the command: "cd C:\platform-tools" (Or whatever location you copied the folder to earlier)

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

13. Enter the command "adb devices". It should come back with list of devices attached and then your serial number.

14. Enter the command "adb reboot bootloader". (You device will restart and boot into fastboot USB)

15. Enter the command "fastboot oem writecid [CID number]"
(use the CID number chosen above, do not include square brackets) e.g. "fastboot oem writecid HTC__001"

16. Enter the command "fastboot reboot-bootloader"

17. Enter the command "fastboot getvar cid". If cid is what you entered you have succeeded

18. Enter the command "fastboot reboot"

19. You now need to pick the RUU you wish to flash, a good source is this thread:
http://forum.xda-developers.com/show....php?t=1074559

To debrand my Vodafone Sensation, I chose "RUU_Pyramid_HTC_Europe_1.35.401.1_Radio_10.43a.90 0 7.00U_10.51.9007.27_M3_release_198179_signed"

20. Once you have downloaded the RUU you would like to flash, run it (it can take a while to load), follow the instructions and your done!

21. Your phone should now reboot to first time setup, with your newly flashed ROM!


METHOD 2 - ENG HBOOT

Now the method I found to debrand (rather than messing about with CIDs), is using an ENG HBOOT, this is only temporary as the ROM we flash later on overwrites it.

Grab the file below (thanks to Bin4ry), and put it in the root of your SD Card. (i.e. if your on Windows, X:/ [where X is the letter of your Sensation's SD Card])

Quote:
Originally Posted by Bin4ry View Post
ENG Hboot:
[thanks Rahan95 for dumping ]
http://81.89.105.12/~bin4ry/hboot/PG58IMG.zip

Flash ENG HBOOT
1. EITHER:
1a. Shut down your phone, then take out your battery and put it back in.
OR:
1b. 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.)
2. Keep hold of the volume down button and switch your phone on.

3. When it asks "Do you want to start the update", press Volume Up to accept

5. Press Power Off to reboot back to normal homescreen

6. Remove PG58IMG.zip from your memory card


Download an RUU
1. You now need to pick the RUU you wish to flash, a good source is this thread:
http://forum.xda-developers.com/show....php?t=1074559

To debrand my Vodafone Sensation, I chose "RUU_Pyramid_HTC_Europe_1.35.401.1_Radio_10.43a.90 0 7.00U_10.51.9007.27_M3_release_198179_signed"

2. Once you have downloaded the RUU you would like to flash, run it (it can take a while to load), and stop when you get the welcome screen, which has a picture of a Sensation on the left and a red caution notice on the right.

3. Move this window out of the way (it forces itself into foreground), then open up windows explorer and go to:
C:\Users\[username]\AppData\Local\Temp

4. Then sort by Date Modified. Find the newest folder with a long random sequence of numbers as its name, go in here and you should see, three files and a folder: corecomp, dotnetinstaller, IBSEW64. (the files may be different on 32-bit OS), now go into the folder which has another long random name.

In there amongst a lot of files (use search if you need to), you will find rom.zip. This is the rom we want to flash!

5. Copy the rom.zip file to the root of your SD Card
(i.e. if your on Windows, X:/ [where X is the letter of your Sensation's SD Card])

6. Rename the rom.zip you just put on your SD Card, to PG58IMG.zip (ensure you do not rename it to PG58IMG.zip.zip or it wont work!)

7. Find the "HTC Android ROM Update Utility" Window, and hit Cancel.


THIS IS YOUR LAST OPPORTUNITY TO BACKUP DATA, ALL EXISTING DATA, CONTACTS, MESSAGES SETTINGS, APPS, ETC, WILL BE DELETED AFTER THE NEXT STEP.

MAKE SURE THE BATTERY INDICATOR IN THE NOTIFICATION AREA SHOWS GREEN, NOT ORANGE OR RED, BEFORE CONTINUING.


Flash RUU (rom.zip)
1. EITHER:
1a. Shut down your phone, then take out your battery and put it back in.
OR:
1b. 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.)
2. Keep hold of the volume down button and switch your phone on.

3. When it asks "Do you want to start the update", press Volume Up to accept (this can take a while and its normal for the system part to appear to go in a loop several times)

5. Press Power Off to reboot to first time setup.

6. Your phone is now debranded!

7. Remove PG58IMG.zip from your memory card


S-ON

You may want to put your phone back to S-ON after following the rest of this guide, for example if you have reflashed your original rom and want to return it for warranty repair. Thanks to ikhzter thread, we have a way to do this!

1. Open Command Prompt, either Run "cmd" or go to Start, Accesories, Command Prompt

2. Enter the command: "cd C:\platform-tools" (Or whatever location you copied the folder to earlier)

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

4. Enter the command "adb devices". It should come back with list of devices attached and then your serial number.

5. Enter the command "adb reboot bootloader". (You device will restart and boot into fastboot USB)

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 you downloaded earlier) and then reboot. It should work now


Enjoy!
The Following 69 Users Say Thank You to alexp999 For This Useful Post: [ Click to Expand ]
 
xl VipeR lx
Old
(Last edited by xl VipeR lx; 30th July 2011 at 02:29 PM.)
#2  
xl VipeR lx's Avatar
Senior Member
Thanks Meter 2,386
Posts: 1,735
Join Date: Sep 2007
Location: UK

 
DONATE TO ME
Thanks for this, its very useful and handy. I have included you in post 1 of my Sticky, It could help a lot of users.

how about in the temporary folder people search for rom.zip using the search tool. that could work too.
|HTC One Silver ||ROM: Stock ||KERNEL: Stock

|Previous Devices: HTC Touch HD, HD2, Xperia X10, Desire HD, Sensation, Samsung Galaxy S2, HTC ONE X, Xperia Z|


|CLICK HERE FOR MY XPERIA Z [NOOBS GUIDE] Create your own stock firmware FTF & Flashtool flashing guide[+ pics]|
|CLICK HERE FOR MY HTC SENSATION GUIDE TO S-OFF,(noobproof)|
|If you feel like buying me a Drink CLICK HERE
The Following User Says Thank You to xl VipeR lx For This Useful Post: [ Click to Expand ]
 
mauriceheath
Old
#3  
Junior Member
Thanks Meter 3
Posts: 17
Join Date: May 2009
Location: Bangor
Thanks man, brilliant guide. Goodbye Orange crapware!!!
The Following User Says Thank You to mauriceheath For This Useful Post: [ Click to Expand ]
 
charmz2k2
Old
#4  
Senior Member
Thanks Meter 12
Posts: 186
Join Date: Jul 2006
Location: Cambridge
Legend!
I'll be doing this later!

Sent from my HTC Sensation Z710e using XDA App
 
happyendin21
Old
#5  
Member
Thanks Meter 10
Posts: 96
Join Date: Feb 2010
Default warranty

can this be used to flash back to stock to submit my sensation for sporadic unresponsive screen problems?? Or will they still be able to tell that it was
s-off. Thanks in advance for any input
 
xl VipeR lx
Old
#6  
xl VipeR lx's Avatar
Senior Member
Thanks Meter 2,386
Posts: 1,735
Join Date: Sep 2007
Location: UK

 
DONATE TO ME
Quote:
Originally Posted by happyendin21 View Post
can this be used to flash back to stock to submit my sensation for sporadic unresponsive screen problems?? Or will they still be able to tell that it was
s-off. Thanks in advance for any input
Yes, Cant see why not
|HTC One Silver ||ROM: Stock ||KERNEL: Stock

|Previous Devices: HTC Touch HD, HD2, Xperia X10, Desire HD, Sensation, Samsung Galaxy S2, HTC ONE X, Xperia Z|


|CLICK HERE FOR MY XPERIA Z [NOOBS GUIDE] Create your own stock firmware FTF & Flashtool flashing guide[+ pics]|
|CLICK HERE FOR MY HTC SENSATION GUIDE TO S-OFF,(noobproof)|
|If you feel like buying me a Drink CLICK HERE
The Following User Says Thank You to xl VipeR lx For This Useful Post: [ Click to Expand ]
 
PG101
Old
#7  
PG101's Avatar
RC-RT Liaison - Devil's Advocate
Thanks Meter 9,803
Posts: 11,366
Join Date: Aug 2008
Just wondering.. is S OFF enough to flash roms and radios? or should we flash the ENG HBOOT as well? Confused!! Cant remember from the DHD days..

BTW thanks to both of you for awesum tutorials.. it will be a Sunday well spent LOL
HTC One M8 & Nokia 8800 Arte (Carbon Black)
Retired: Motorola V3i, Nokia N91, Nokia 8800 Sirocco, Nokia N95, HTC Diamond, Sony Xperia X1, HTC HD, HTC HD2, iPhone 4, HTC Desire HD, HTC Sensation, HTC One X, HTC Butterfly, HTC One, SG Note 3!
Follow Me


| New? Here is a good starting point!! | Something needs a moderator's attention? |
Want a thread actioned? Don't forget to include the thread link in the PM you're about to send me!!

And remember - You are the result of 3.8 billion years of Evolutionary Success - ACT LIKE IT!!
 
sowen222
Old
#8  
sowen222's Avatar
Senior Member
Thanks Meter 135
Posts: 439
Join Date: Oct 2010
Location: Amsterdam

 
DONATE TO ME
Well documented, easy to follow - I now am the proud owner of an unbranded Sensation. Thank you VERY much for this!
 
xl VipeR lx
Old
#9  
xl VipeR lx's Avatar
Senior Member
Thanks Meter 2,386
Posts: 1,735
Join Date: Sep 2007
Location: UK

 
DONATE TO ME
Congratulations

Sent from my HTC Sensation Z710e using XDA App
|HTC One Silver ||ROM: Stock ||KERNEL: Stock

|Previous Devices: HTC Touch HD, HD2, Xperia X10, Desire HD, Sensation, Samsung Galaxy S2, HTC ONE X, Xperia Z|


|CLICK HERE FOR MY XPERIA Z [NOOBS GUIDE] Create your own stock firmware FTF & Flashtool flashing guide[+ pics]|
|CLICK HERE FOR MY HTC SENSATION GUIDE TO S-OFF,(noobproof)|
|If you feel like buying me a Drink CLICK HERE
 
stanny2k
Old
#10  
Senior Member
Thanks Meter 32
Posts: 568
Join Date: Jun 2011
Location: Cardiff
I'm with Three UK, will this remove the Three splash screen I see everytime I boot up and shut down my phone?

Sent from my HTC Sensation Z710e using XDA Premium App
Phone: HTC One [HTCDev Unlocked]
ROM: Android Revolution HD™ 6.0 (Google Play Edition)
Kernel: Stock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes