[Q] Cannot flash RUU to sensation for warranty return - HTC Sensation

So ive got a rooted sensation that im swapping out for a new one, tmobile wants their phone back soon...ive had it over a week haha.
i dont have my original back up and all of the RUU's available for TMOUS dont work, ive tried them all. I get an unknown error and have also been told the update doesnt match the phone
my question therefore is:
1 why would it tell me the RUU's were no good?
2 how do I restore the phone to default so i can return it?
3 can i use the stock unrooted sensation to help me in some way with the rooted one?
what other information can i give you to help me out?

So i ended up extracting the rom file from the latest RUU and flashing it successfully
How-to extract rom.zip from RUU (On Windows XP).
1. First download the RUU.exe appropriate for your phone.
2. Run the RUU.exe, do not connect the phone, it isn't necessary.
3. Tick the box "I understand ..." and click Next
4. Tick the box "I have completed ..." and click Next
5. It runs ... expanding the files in a behind-the-scenes process
6. Error [170]: Ignore it, it's not important. Do NOT click Exit !
7. Now, do NOT close the RUU application, just move it to one side so you can see the desktop.
8. Double click on My computer and continue to C:\Documents and Settings\(User name)\Local Settings\Temp
9. Note the latest created folder with random letters and numbers, open it
10. Inside you will find a similar folder with random letters and numbers, open it
11. Inside you will find the rom.zip file, move it out of the folder onto the desktop.
12. When rom.zip is on the desktop right click on it and check its properties.
13. It should be a large file.
14. Now you can exit the RUU application
15. Rename the rom.zip -> PG58IMG.zip
The rom.zip is now recognized in hboot and thus a flashable file.
You can use this instead of running a RUU from Windows with your phone connected.
Place the PG58IMG.zip on the root of your sdcard and reboot into hboot.
Make sure your battery is fully charged or connect it to a power outlet.
Reboot into hboot by turning your phone completely off.
Remove/insert battery, then press and hold Volume down and Power button untill hboot appears.
hboot will search and find the PG58IMG.zip automagically, accept the update when it asks to.
Do NOT touch the phone, it will reboot a couple of times before it finishes..

Related

[GUIDE] Rooting and flashing your patched Hero. (Windows) [Updated: 12/19]

Constructive criticism is welcome.
This is my first guide and it's quite late here so I'm going to go through this lightly first, and more in detail later.
Note: I am NOT responsible for any damage your phone may or may not receive. It is your fault for following this guide, not my fault for writing it. Just for the sake of saving you from a headache, I would recommend backing up your contacts before starting this guide.
Phase 1: Prepping your CDMA Hero for rooting/flashing.
1. Ensure that USB debugging and installing apps from unknown sources is enabled. You can do this by going into Settings> Applications Check unknown sources. From there go into Development and ensure that "Enable USB debugging" is checked.
2. Mount your SD card on your computer by plugging in the USB cable, and dragging down the notification area. BACKUP YOUR DATA! ALWAYS!
3. After your data is backed up, Safely remove hardware (I find it annoying to get the "this disk may contains errors" every time i plug it in) your Hero. Using your notification area, unmount your SD card.
4. On your hero, navigate to Settings> SD card and phone storage> unmount SD card. Then format your card. It should Auto re-mount after this.
5. Download FlashRec (great tool!) and Amon-RA's recovery image. Place them onto the root of your SD card (not in any folders, just drag and drop them.) Unmount your SDcard.
6. I used Linda File manager (from the market), but you can use one of your choice. Navigate to the root of your SDcard (you'll probably start there, if you dont just click sdcard.) Open flashrec with the installer, and wait until it's finished.
7. Open FlashRec, and attempt to make a backup (i simply named mine "/sdcard/backup"). If it success proceed to the next step. if not, refer to post 2.
8. In FlashRec, type "/sdcard/recovery-RA-heroc-v1.5.2.img" without the quotes. Linux is Case-sensitive, so the capital letters have to be included. tap "download recovery image". Wait for it to finish, when it does reboot into recovery mode by powering off your phone. After it's off, hold HOME and the power button. You should see some green text on a black background.
9. First things first, Make a nandroid backup. It can, and will save your ass at some point in time. Before you flash ANYTHING to your phone, ALWAYS do a nandroid backup. Congratulations, you can now flash a custom ROM!
Phase 2:Flashing your custom ROM
Since I love Flipz and his work so much I'll be using his ROM in my guide (let me know if you have a problem with it Flipz).
0. Do a nandroid backup before you even think about downloading a ROM
1. Download Fresh 1.0.
2. Do not unzip it, leave it as it is and copy it to the root of your SD card. You can do this either from recovery mode (by enabling usb mode) or through the notification bar. Proceed to recovery mode by holding HOME+END CALL (or just disable USB mode) and select "flash update from .zip" Select the Fresh ROM and wait. It should automatically reboot after it finishes installing.
3. Be patient while it's booting, it took me about 5 minutes for the first boot, after that it gets much faster. Once it loads, everything should be all fine and dandy. If it's not, well aren't you glad you made your backup? Just proceed back into recovery and do a nandroid restore.
4. You can now delete all those .apks and .zips and whatnot. Mount your SD card on the computer, and move your backed up files back onto your card.
5: Enjoy! If you don't like the clear lock, Flipz has a patch on his website (geekfor.me) to replace it with a clear screen. This should keep all of your contacts and settings in place, but I make no promises.
Sources:
The Unlockr
How to unpatch your Sprint CDMA Hero.
Phase 1: Installing the SDK/Drivers
1. Download the SDK from Google. Create a folder at the root of your C:\ drive called android (it doesn't have to be your C:\, you can put it anywhere, but this guide will use "C:\android" as it's path.)
2. If using Windows Vista or earlier, proceed to the next step.
3. Download the driver for your system.
Windows 7 32Bit
Windows 7 64bit
To find out which drivers are right for your system, go into your control panel, and change the view type to small icons. Click on system, and check and see if it says 64-bit Operating System or 32-bit Operating System. Extract the contents into:
C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Vista_x64 (for the Windows 7 64-bit)
or
C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Vista_x86 (for the Windows 7 32-bit)
4. If you have not plugged your Hero into the computer yet, it's as simple as navigating to where you extracted the contents of the archive, and right clicking androidusb.INF (should be the second from the top) and clicking install.
5. Ensure that USB debugging is enabled by navigating to Settings>Applications>Devolopment. If it does not have a check next to it, tap it. Plug your phone in and wait for the drivers to install.
6. In Windows, navigate to the command prompt.
XP: Start>run type "cmd" and press enter.
Vista or later: Start/"orb" in the search box right above it, type "cmd" and press enter.
if you see a window pop up with "C:\Windows\system32\cmd.exe" if you have done this correctly.
7. type "cd \android\tools" and press enter. now type "adb devices". It should start a daemon, and show you a series of numbers. If it does, then congratulations! your drivers are installed properly! I'll come back and add later how to reinstall the drivers if they do not install correctly.
Phase 2: Unpatching your Hero
Ensure that you have an adaptor to plug your SDcard into your computer. I didn't use an adaptor when i did this, but I highly recomend it just to make things easier. If your phone or SDcard or computer or toaster blows up, catches fire, shoots lazer beams and burns your curtains, or causes any damage to your or anything else I take no responsibility.
1. Backup all of the data from your memory card onto your computer. Navigate to Settings> SD and phone storage. Unmount your SD card and format it.
2. Go to Settings> Applications> Devolopment and ensure USB debugging is enabled.
3. Open command prompt, as you did in Phase 1, and navigate to "C:\android\tools". Type "adb shell" and press enter. Now you're in your phones console. Type "cat /sys/class/mmc_host/mmc1/mmc1:*/cid"
4. Copy down the code you get EXACTLY. Double, triple, and qraduple check. If the code is wrong, you may destroy your SD card.
5. Reverse the code.
Example:
123456789
Would become
987654321
6. replace the first two numbers/letters with zero zero. (007654321). Now on your PC, navigate to Here. Copy the number (with the zeros in place!) to the box that says CID. Click continue and wait for the email with your goldcard key. Save it to your computer.
7. Download this hex editor and install it. run it (requires administrative priveledges), and put your SDcard into your computer, or mount your SDcard.
8. In the hex editor, click on the extra tab, and open both your SDcard and the Goldcard you downloaded earlier. Ensure that "Open as read only" is unchecked when you open your SDcard. Sector size should be at "512 (Hard Disks/Floppy Disks)".
9. Go to the Goldcard tab, and press Ctrl+A to highlight all of it, then press Ctrl+C to copy it. Go to your SDcard tab, and select from 00000000 to 00000170. Now click on the edit>paste write.
10. click File>save. Remove and replace your SDcard, or unmount and remount your phone. If you can navigate into the drive, congratulations you have a Goldcard.
Phase 3: Downgrading your Hero.
1. Download the1.29 RUU. Plug your phone into the USB port with your goldcard inserted. Have your phone powered on when you do this, and ensure that it is not locked.
2. Ensure that you have HTC Sync installed, and that it connects to your phone.
3. Run the RUU and wait for it to finish. After it is finished, proceed to post 1.
If we simply want to upgrade to a different ROM or the new 1.5.2 recovery.img then can we simply pick up on your instructions from that point??
Thanks for your post. The only thing I think you are missing (for a totally new user doing this) is explaining how to boot into recovery mode when you are ready to flash the new ROM.
There is one other thing that I think would be great to have added to a post like this and that is an explanation of how to restore your programs after flashing a new ROM. Do you just reinstall them or is there a way to restore files and be able to keep your screen looking mostly the same?
Whats up with the Moto Droid? When are ROMS going to be pushed? and are you going to wright and Guide for Droid like this one?
saintirish said:
If we simply want to upgrade to a different ROM or the new 1.5.2 recovery.img then can we simply pick up on your instructions from that point??
Thanks for your post. The only thing I think you are missing (for a totally new user doing this) is explaining how to boot into recovery mode when you are ready to flash the new ROM.
There is one other thing that I think would be great to have added to a post like this and that is an explanation of how to restore your programs after flashing a new ROM. Do you just reinstall them or is there a way to restore files and be able to keep your screen looking mostly the same?
Click to expand...
Click to collapse
As far as I know, you just have to reinstall your programs. This guide will also work for loading ROMs other then Freshhh, but some ROMs require you to do a wipe before you install them. Check to see if that specific ROM requires a wipe before doing an install. Yes, I have used this method to upgrade from RA's 1.2.3 to 1.5.2 with no problems.
@_Chris_Kirkland said:
Whats up with the Moto Droid? When are ROMS going to be pushed? and are you going to wright and Guide for Droid like this one?
Click to expand...
Click to collapse
I have no idea about Droid modding, as I don't have a Droid. I'm not to fond of the idea of writing a guide for a phone I don't have because I wouldn't be able to verify that it works with minimal problems.
Alright, I've completed the basics of how to do this. I'll add a problems and solutions section once people start having problems.
great job, this should help folks out a good deal.
That's my intention. Just trying to make things easier for those who aren't so good with the console. I think I'm gonna go ahead and do the Win7 driver workaround now.
In step 8 of the guide I can follow along up to step 8 but when I type in the text I don't see the download option.
jfoster38122 said:
In step 8 of the guide I can follow along up to step 8 but when I type in the text I don't see the download option.
Click to expand...
Click to collapse
You're talking about the FlashRec step right?
Could you tell me exactly what you can see?
So this is probably an obvious question, but I apparently not to me, but is the guide to perform a downgrade for people who have not rooted and flashed their phone? Because I was able to downgrade to 1.29 ruu after having flashed my phone with Fresh 1.0, is it because I flashed a custom rom that I could downgrade to 1.29 or is there something different now?
mark920 said:
So this is probably an obvious question, but I apparently not to me, but is the guide to perform a downgrade for people who have not rooted and flashed their phone? Because I was able to downgrade to 1.29 ruu after having flashed my phone with Fresh 1.0, is it because I flashed a customer rom that I could downgrade to 1.29 or is there something different now?
Click to expand...
Click to collapse
This is a guide to try and simplify patching, but it also covers a section on how to downgrade a phone that Sprint/HTC patched so that the 1.29 RUU method wouldn't work.
How does someone get a phone that was patched by sprint/htc to not allow the 1.29ruu to work on the phone?
mark920 said:
How does someone get a phone that was patched by sprint/htc to not allow the 1.29ruu to work on the phone?
Click to expand...
Click to collapse
Ether get a newer Hero, or run the software update in the phone. I ran the software update >_>
abcdfv said:
You're talking about the FlashRec step right?
Could you tell me exactly what you can see?
Click to expand...
Click to collapse
Once I enter the recovery image in, the 2 options are "Flash Recovery Image" and "Restore Backup Image"
There's no download recovery image option.
- JustPyro
It may have been updated since I used it... I'll look into it
EDIT: Click on FlashRecovery image.
Excellent work! I just want to let you know that the link for the RUU 1.29 does not work (at least for me). Great guide though.
Link updated.

New clarified method for rooting the HTC Aria (for those who are having trouble)

Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Note: If you're in Linux, you only need to do Step 4, Step 6, and Step 7.
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe".
If you aren't greeted with a failed to fetch URL error, proceed to Step 3. If you did receive this error, go to Settings in the "Choose Packages to Install" window and check "Force https;//... sources to be fetched using http://..."
Close and re-open "SDK Setup.exe".
Step 3.
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 4.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 5.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 6.
This step is optional, but it may prevent an error later on in the process. If you've never formatted your SD card from a computer, remove it from the phone and format it in Windows or OSX with an external card reader. Then place the formatted card back in your phone, but leave the phone off.
Step 7.
Download the updated Root.zip from eugene373's guide: Root the Slide & Other HTC Devices*6/15/2010* How-To Updated 6/29/2010
Now let's get started...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in Linux) (refer to ice3186's post for Mac instructions)
Note: The loop does nothing but show you the connection status of your phone. It's not technically required, but we'll use it in this guide.
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug the USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please)
Step 10.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
Step 11.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
gtg465x said:
Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe"
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 3.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 4.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 5.
Download Root.zip from eugene373's guide: http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
Now let's get into it...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding down the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds, until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in a *nix like) ( ./ Is used For OSX )
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug your USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold down the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please.)
Step 11.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
step 12.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 13.
If successful, you should see Clockwork Recovery and you now have Su & Superuser.apk installed! You can now reboot your phone into the OS to verify.
If unsuccessful, repeat steps 11 & 12.
Click to expand...
Click to collapse
This isn't complete - this just gets you to clockwork and you haven't installed anything yet. You need to add steps to add root acces or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Yes! The secret was formatting the sd card outside of the phone. I am now rooted and liberated! Thanks for plugging along with all the advice guys!
modest_mandroid said:
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
Click to expand...
Click to collapse
Really good tips. I hope you don't mind - I am going to link to this to my original thread.
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
attn1 said:
This isn't complete - this just gets you to clockwork and you having installed anything yet. You need to add steps to root or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Click to expand...
Click to collapse
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
modest_mandroid said:
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Click to expand...
Click to collapse
Excellent troubleshooting tips. I added a note about formatting your SD card to the prerequisites.
ice3186 said:
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
Click to expand...
Click to collapse
Thanks. Added a reference to your post.
attn1 said:
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
Click to expand...
Click to collapse
Noted in the original post.
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
Thanks. Added the workaround.
attn1 said:
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
Click to expand...
Click to collapse
Thanks. Added a note to the top of the prerequisites.
gtg465x said:
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
Click to expand...
Click to collapse
In no way, shape or form are you done after set 12.
You need to do more than just get into Clockwork. That alone doesn't root the phone.
gtg465x said:
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
Click to expand...
Click to collapse
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
steezee said:
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
Click to expand...
Click to collapse
Dunno if you can reflash the stock recovery again if you replaced it with clockwork, but you can definitely flash the stock ATT rom again. You can download it from HTC's site: http://member.america.htc.com/download/Web_materials/Manual/HTC_Aria_ATT/HTCAriaOriginalShipROM.exe
Banging my head on the wall. Got it to detect device once on loop. Never again after that. Phone shows up in device manager. Formatted 8gb and 2 gb cards several times.
urge growing. ... want to . . break.. . . .. . .random objects. . .
attn1 said:
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
Click to expand...
Click to collapse
Sorry, I should have mentioned that he updated his update.zip.
You guys are right , there are missing step in the tutorial to fully root Aria.
after i get in to the clockwork from the step above. i have to install the custom rom that can be found in the forum.
when i try to install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . the process goes throught but the recovery is still the same HTC blue color recovery screen.
so before you insert your sd card into the phone after you format the sd card. remember to copy the rooted rom into the sd card so when you successfully get into the clockwork. you want to install the rom then your aria is rooted with superuser icon on the application.
after then you do the "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) step .
There are no steps missing from the first post. I rooted my Aria using that method. Just make sure you have the latest Root.zip from eugene's thread. He updated it the other day and if you try to use the older version of Root.zip with this method it will not work.
What you are doing is installing a custom rom, which is fine, but it's not required to root the Aria.
i was trying to get the clockwork to install and it only work after i load the liberated_aria_b003_signed.zip
before i load liberated_aria_b003_signed.zip , it still give me the default HTC recovery screen.
after i load liberated_aria_b003_signed.zip and install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . i get the clockwork screen as the recovery screen .
i still can't get the side loading to show after i follow the step from here
•COMMON:
•Enable USB debugging (settings > applications > development > USB Debugging)
•adb remount
•adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Linux/OS X:
•echo "update secure set value = 1 where name = 'install_non_market_apps';"|sqlite3 settings.db
WINDOWS:
•echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
COMMON:
•adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
•Reboot phone and sideloading works. (thanks to fluffyarmada)
.

Guide on how to use Alpharevx for Newbies

This is a guide for all those who want to have S-off for their HTC Desire S !!!
I will try to elaborate as much possible so that you understand this easily !
Need :
1. HTC desire S with S-ON
2. Hboot : 0.98.0000 (this the only 1 supported for now. Please check the Hboot version before you proceed else it might brick your phone)
3. No need for any drivers or anything nor HTC sync
Linux system :
I used Ubuntu 11.04. But this manual would work for all Linux Systems.
1. Go to http://alpharev.nl/x/beta/
2. Click on Download for Linux
3. Now download the package
4. Now go to the location where this package you have downloaded and extract it to find Alpharevx file.
5. Next take your HTC Desire S. Goto Menu>Settings>Applications>development and turn USB debugging mode on.
6. Now connect your phone to the computer and select Charge only mode.
7. Now open terminal and go to location where you have Alpharevx and type sudo ./alpharevx in the terminal.
8. It would detect your phone, show you you serial number and ask for Beta key.
9. Now on the http://alpharev.nl/x/beta/ enter this serial along with selecting your model and Hboot version.
10. Press generate to get the beta key.
11. Now copy this key as it is and paste in the terminal and press enter.
12. Within 5 min your phone should be unlocked. You can see your phone restart couple of times during this period and then see that its S Off.
13. You will get a message Complete and option if you want to download Clockworkmod recovery.In case cell hangs or any issues. Start again from step 1.
14. I would suggest you say yes to it. It downloads and installs it.
15.Once you get the message that its complete. You can Unplug your phone and enjoy the Power of Android now.
Screenshot :
http://forum.xda-developers.com/atta...1&d=1310301451 (Credits : Nodeffect)
Windows : (credits : chockyT)
Note : You will need to install drivers for your phone but PC Sync should be not installed or uninstalled if installed already.
In case you have PC Sync installed...
Uninstall HTC Sync
Download the windows HTC drivers from Alpharevx's website and install
1. Go to http://alpharev.nl/x/beta/
2. Click on Download for Windows
3. Now download the exe
4. Now go to the location where this alpharevx.exe.
5. Next take your HTC Desire S. Goto Menu>Settings>Applications>development and turn USB debugging mode on.
6. Now connect your phone to the computer and select Charge only mode.
7. Now run this alpharevx.exe. (In case of Windows Vista and 7. Right click and run as administrator)
8. It would detect your phone, show you you serial number and ask for Beta key.
9. Now on the http://alpharev.nl/x/beta/ enter this serial along with selecting your model and Hboot version.
10. Press generate to get the beta key.
11. Now copy this key as it is and paste in the alpharevx.exe box and press enter.
12. Within 5 min your phone should be unlocked. You can see your phone restart couple of times during this period and then see that its S Off.
13. You will get a message Complete and option if you want to download Clockworkmod recovery.In case cell hangs or any issues. Start again from step 1.
14. I would suggest you say yes to it. It downloads and installs it.
15. Once you get the message that its complete. You can Unplug your phone and enjoy the Power of Android now.
Guys I have tried my best to keep this explanation as simple as possible. If you have still any problems or face issues feel free to ask.
Btw finally if any1 of you wants me to create another thread for steps for flashing custom roms after S-Offing your phone which I think we already have lots at XDA. But still if you want would post a simple 1 only if people want.
Hope this thread helped
S-off your phone and enjoy !!!
vampire36 said:
7. Now open terminal and go to location where you have Alpharevx and type ./alpharevx in the terminal.
!
Click to expand...
Click to collapse
ASAIK: you have to use
sudo ./alpharevx
this tool needs admin rights. When you start it without your phone will not be found. It happened to me too. Afterwards i tried sudo and it worked perfect.
I think this manual will be helpful for others
I was able to s-off my device but during the installation of clockwork mod, nothing happens. do i need to start again to step 1? thanks
I used XTC Clip so i have no idea what this is, but it seems like a very detailed and helpful guide. Will be pretty useful for newbies.
Does it work straight off the bat without having to download things such as android SDK? Thinking of getting an ubuntu live cd and using that.
Sent from my GT-I9000 using Tapatalk
tanivula said:
Does it work straight off the bat without having to download things such as android SDK? Thinking of getting an ubuntu live cd and using that.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
YES!
Great guide!
Thanks for the great guide. It's actually almost the same as this one if you guys prefer this one better (just to share).
http://forum.xda-developers.com/showpost.php?p=15486696&postcount=138
Rooting with AlphaRevX using Ubuntu:
For those who want to use Ubuntu (it's not that difficult once you get used to it):
1. Download Ubuntu from the Ubuntu site.
2. Burn image onto CD/DVD (follow instructions provided at the site. If you have Windows 7, you can simply use the Windows Disk Image Burner program).
3. Reboot computer. Allow Bootup popup menu (usually F8?).
4. Select DVD/CD-drive.
5. Wait a bit for things to load. Choose "Try" aka Live CD Mode, no need to install, unless you want Ubuntu.
6. Connect phone, making sure that Debugging Mode is enabled. Download AlphaRevx for Linux (Firefox included with Ubuntu). Keep that browser window open.
7. Extract the downloaded file and make sure it's at the root directory (in Ubuntu, that's Ubuntu/Ubuntu, if I recall correctly).
8. Search for the Terminal (Windows key pops up the search, I think; otherwise, it's the icon on the top left corner of your screen), run Terminal.
9. Type in "sudo ./alpharevx".
10. It'll provide a key. Go back to the browser window where you downloaded Alpharevx - there's a form to fill out. Type in the key. It'll generate a second key. Type that key into the Terminal.
11. Make sure it says that everything is successful. It'll ask if you want to flash Clockwork. Type in "Y".
12. Once it shows success, reboot.
Never had any permissions problems, but sudo su between step 8 and 9 if you do.
- Hope you could make a guide on how to flash custom ROMS. Thanks.
guys, having problem, stuck at downloading recovery for your phone.... how long does it takes usually? how can I end it?
Thanks for the guides. Used Ubuntu's wubi installer to get Ubuntu onto my second hard drive then just deleted it from the hard drive after I was done.
Flashing a rom is very easy. You need to make sure you have Clockwork Recovery installed which the AlphaRev X tool actually does for you.
You'll need to install titanium backup from the market to backup any apps if you want to, as all your apps will be removed when you do this.
1) Download the rom you want to install; it should be a .zip file; and put it onto the root of your sd card (this means copy it straight over into the sd card and not into any folders within it)
2) Remove the battery from your Desire S and replace it, this makes sure your phone is not fast booting when you turn it off and on.
3) Turn your phone on while holding down both the Power button and the Volume down button. This will boot you into Clockwork Recovery.
4) Using volume up and volume down to move up and down the selections, and power button to select, go to wipe data/factory reset. THIS WILL WIPE ALL YOUR DATA BUT NOT ERASE YOUR SD CARD. Follow it through.
5) Now select 'install zip from sdcard'.
6) Locate the zip file and select it using the power button. Select the option to install it.
7) Wait until its finished, then reboot the phone, you can do this by removing the battery and putting it back or selecting the reboot option.
DONE!
Hope this helped!
nodeffect said:
guys, having problem, stuck at downloading recovery for your phone.... how long does it takes usually? how can I end it?
Click to expand...
Click to collapse
Definitely shouldnt take more than a few minutes, the recovery file is quite small and with your internet speed it should download in a few seconds.
You can always install recovery manually by downloading ROM manager from the market.
I made a screenshot for those who are new to Ubuntu/Linux. Hope this helps.
http://forum.xda-developers.com/attachment.php?attachmentid=650642&stc=1&d=1310301451
kadettilac89 said:
ASAIK: you have to use
sudo ./alpharevx
this tool needs admin rights. When you start it without your phone will not be found. It happened to me too. Afterwards i tried sudo and it worked perfect.
I think this manual will be helpful for others
Click to expand...
Click to collapse
Yup...
My mistake...
Corrected...
Thanx
ghuk said:
I was able to s-off my device but during the installation of clockwork mod, nothing happens. do i need to start again to step 1? thanks
Click to expand...
Click to collapse
I mean after sometime depending on your net speed don't you get a message that Clockworkmod installed...
No you don't have to repeat all steps just check if your phone is S-off...
If so you can install Clockworkmod manually...just search in the forum for latest 1...
Hi,
I used windows version on win7 pro x64,
it worked for my DS though after 3d try.
For windows version you will NEED install Drivers for your phone but PC Synch should be not installed or uninstalled if installed already.
In my case it went 2 times not good,but 3d time - ok, but after installing of CWM shell just disareared, however after reboot I could check that CWM was successfully installed.
PS you should run alpharevx.exe with admin privileges. (rigch click on alpharevx.exe -> run as Administrator)
PPS be patient!!! I aborted the 2d try because I thoght i'ts hanging, but next time it took about 20 min till shell disapeared...
S-off with Alpharev, Root with Gingerbreak and Clockworkmod Recovery with ROM Manager, thanks to everyone involved
In case anyone needs it for windows (although it is quite straight forward), sorry if im stepping on anyones toes,
vampire36 said:
Need :
1. HTC desire S with S-ON
2. Hboot : 0.98.0000 (this the only 1 supported for now. Please check the Hboot version before you proceed else it might brick your phone)
3. No need for any drivers or anything nor HTC sync
Click to expand...
Click to collapse
1, I personally did a factory reset but apparently this is not necessarily needed
2, Uninstall HTC Sync if its installed on your PC/laptop
3, download the windows HTC drivers from Alpharevx's website and install
4, download the windows version of alpharevx from the same website ensuring you fill in the necessary details and take note of the serial
5, on your phone ensure you have USB debugging ticked (Menu>settings>applications>development)
6, connect phone to computer using USB cable and select 'charge only'
7, Extract the files from the downloaded alpharevx zip package and right click the exe file and 'run as administrator'
8, Give it a few minutes and it should be S-OFFed, your phone should restart a few times and youll eventually see the S-ON will have changed to S-OFF.
9, a message will come up in alpharevx saying something about downloading clockwork, say Yes (must be connected to the internet), it wont take long at all
10, As in vampires OP if the phone hangs for too long (alpharevx suggests 15+ minutes) then restart your phone and start again, also if it says waiting for device... for ages (like my noobie error did) then see step 5.
11, once its done it will stay on the bootloader screen, just unplug your phone, reboot and jobs a good un.
12, rejoice and thank any and every member of the alpharevx team until you vommit
On that note - Thank you alpharevx team, i absolutely love you!!
FYI: I used windows 7 home premium 64 bit and it has worked, obviously lol.
If anyone wants to rewrite my pathetic guide please do
Si
The webform to have a beta key has disappeared ?
edit : nwm I need to stop drugs
I followed the guide posted by chockyT and got my Desire S S-Off on first tried using Windows 7 64bit. =)
Lyner24 said:
I followed the guide posted by chockyT and got my Desire S S-Off on first tried using Windows 7 64bit. =)
Click to expand...
Click to collapse
Glad it worked I was worried it didnt make sense
Is there a way to go back to S-on after having used alpharevx? I'd like to try some custom roms, but only if then I can restore the phone to factory conditions.
Sent from my HTC Desire S using XDA App

[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)
ikhzter said:
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
Click to expand...
Click to collapse
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/showthread.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/showpost.php?p=10007960&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/showthread.php?t=1074559
To debrand my Vodafone Sensation, I chose "RUU_Pyramid_HTC_Europe_1.35.401.1_Radio_10.43a.900 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])
Bin4ry said:
ENG Hboot:
[thanks Rahan95 for dumping ]
http://81.89.105.12/~bin4ry/hboot/PG58IMG.zip
Click to expand...
Click to collapse
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/showthread.php?t=1074559
To debrand my Vodafone Sensation, I chose "RUU_Pyramid_HTC_Europe_1.35.401.1_Radio_10.43a.900 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!
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.
Thanks man, brilliant guide. Goodbye Orange crapware!!!
Legend!
I'll be doing this later!
Sent from my HTC Sensation Z710e using XDA App
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
happyendin21 said:
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
Click to expand...
Click to collapse
Yes, Cant see why not
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
Well documented, easy to follow - I now am the proud owner of an unbranded Sensation. Thank you VERY much for this!
Congratulations
Sent from my HTC Sensation Z710e using XDA App
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
One question - will flashing the RUU using this method (or by running it normally) revert the device to S-On?
I'm asking this for warranty purposes if in any case I'll have to send in my phone for repair.
stanny2k said:
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
Click to expand...
Click to collapse
DEFINITELY if you install the unbranded 1.35.401.*
Trekest said:
One question - will flashing the RUU using this method (or by running it normally) revert the device to S-On?
I'm asking this for warranty purposes if in any case I'll have to send in my phone for repair.
Click to expand...
Click to collapse
Nope it stays S-OFF
Played with this process... pretty happy with the results on my TMOUS S4G. Haven't tested everything, such as the 4G radio, but I will report back.
Another step I think is worth doing if you're coming from ANY other ROM and would like to totally start clean:
After copying PG58IMG.zip to the SD card, shut your phone off. Pull the SD card out of it. Boot into recovery, and then fastboot over USB.
Issue this: 'fastboot erase system -w'
It will completely clear anything related to your current ROM. Now, shut your phone off again, put the SD card back in, and boot into recovery. The flashing process should begin as described in the OP.
Of course, before you do any of that, make sure you can get into clockwork recovery and do a nandroid backup.
Update: Looking good. No '4G' icon, instead it shows H for HSPA. Don't really care about that... it works as it should. Speed tests showing 6586/1724 HSPA and 21415/4134 cable/wifi.
Trekest said:
One question - will flashing the RUU using this method (or by running it normally) revert the device to S-On?
I'm asking this for warranty purposes if in any case I'll have to send in my phone for repair.
Click to expand...
Click to collapse
No, but it DOES change the hboot back from Revolutionary's hacked 1.17.1011. Redoing rev will put it back the way it was.
lost cwm
After this i lost my cwm recovery
astragreen said:
After this i lost my cwm recovery
Click to expand...
Click to collapse
Yep, you have to put it back. The RUU undoes everything except for S-off essentially.
How put i back it again??? My cwm was from revolutionary...
astragreen said:
How put i back it again???
Click to expand...
Click to collapse
In fastboot:
fastboot flash recovery path_to_cwm_file.img
Edit: You will probably have to re-run revolutionary; I did. I don't know if rev will offer the CWM again... give it a shot.
ok thanks where did i get the cwm img file???

[Q] RUU Ville C2?

hey guys my phone is rooted,bootloader unlocked n a TWRP recovery.. n i need to upgrade my phone to 4.0.4/sense 4.1.. n my phones CID is 044.. so plz tell me whch RUU to us n from where cn i get it. n hw to run it on my phone??
Hmmy 4444 said:
hey guys my phone is rooted,bootloader unlocked n a TWRP recovery.. n i need to upgrade my phone to 4.0.4/sense 4.1.. n my phones CID is 044.. so plz tell me whch RUU to us n from where cn i get it. n hw to run it on my phone??
Click to expand...
Click to collapse
http://www.htcruu.com/?dir=VilleC2 look around there for a ruu. Just relock bootloader, "adb reboot bootloader". and boot into bootloader and follow the instructions.
Qs5 said:
http://www.htcruu.com/?dir=VilleC2 look around there for a ruu. Just relock bootloader, "adb reboot bootloader". and boot into bootloader and follow the instructions.
Click to expand...
Click to collapse
thank.. bt hw iam going to flash it? n does the CID need to match ?
4. Flashing RUU manually
4.1 Getting PG58IMG.zip from RUU
Run the RUU executable as you normally would, but don't proceed to the second step i.e. when a second window appears, do nothing. Do not proceed, just ignore it for now, but don't close the window.
- Right-click the Windows Start button and select "Open Window Explorer" option.
-
- If you use Windows XP
Copy-paste this in the navigation bar:
Code:
C:\Documents and Settings\%USERNAME%\Local Settings\Temp\
- If you use Windows Vista/7
Press & hold Windows key on the keyboard and then press R (Win key + R). Once the box pops up, copy paste this:
Code:
%temp%
- Right click anywhere inside explorer window (not on any folder) and select Sort by then select Date.
- Locate the latest one created (first in the list & it will most likely have random numbers in the name) & open it.
- You will find a second folder with a set of random numbers. Open it, inside you will find a number of files and the rom.zip
- Copy the rom.zip file to another location.
- Now, close the RUU executable folder & rename the rom.zip file as PG58IMG.zip
4.4 How to flash PG58IMG
4.4.1 Without a PC, via bootloader
- Put the PG58IMG.zip onto the root of your SD Card
- Reboot to bootloader by Holding Vol down + Power button
- You will then be asked if you want to install the file, select yes by pressing Vol up.
- Don't touch anything till the install completes
- After the install is complete, when prompted to reboot, open the back casing of the phone and take out the SD Card.
- Then press the power button once to reboot.
- If you experience a boot loop, reboot to bootloader and re-flash the PG58IMG.zip
- If booted into bootloader, select fastboot > reboot.
- If booted into fastboot, select reboot.
- Connect the SD Card to a computer and delete the PG58IMG.zip file
If this method fails, try 4.4.2
4.4.2 With a PC, via fastboot USB
You will need sdk & and drivers, please take a look here. If you already have it, continue.
- Reboot to bootloader by Holding Vol down + Power button
- Connect your phone to the PC while in the bootloader. The phone should say fastboot USB, if not, select fastboot on the phone & check if it says fastboot USB, if not, change the USB port you are using.
- Navigate to the tools folder located inside android-sdk folder
- Copy the PG58IMG.zip file from step 4.1 to this folder
- Hold down shift and right-click anywhere in the empty space inside the window.
- Enter the following command
Code:
fastboot erase cache
- You may not see any output, then enter the command
Code:
fastboot oem rebootRUU
- You phone will now go into the RUU mode.
- Wait for around 30 seconds, then enter the command
Code:
fastboot flash zip PG58IMG.zip
- The installation will begin and you will be able to see the progress at every step.
- Once done, enter the command
Code:
fastboot reboot
- If you experience a boot loop, repeat 4.4.2 again.
You can flash the RUU this way.. It works for me this way
---------- Post added at 04:45 AM ---------- Previous post was at 04:38 AM ----------
joejoe23 said:
4. Flashing RUU manually
4.1 Getting PG58IMG.zip from RUU
Run the RUU executable as you normally would, but don't proceed to the second step i.e. when a second window appears, do nothing. Do not proceed, just ignore it for now, but don't close the window.
- Right-click the Windows Start button and select "Open Window Explorer" option.
-
- If you use Windows XP
Copy-paste this in the navigation bar:
Code:
C:\Documents and Settings\%USERNAME%\Local Settings\Temp\
- If you use Windows Vista/7
Press & hold Windows key on the keyboard and then press R (Win key + R). Once the box pops up, copy paste this:
Code:
%temp%
- Right click anywhere inside explorer window (not on any folder) and select Sort by then select Date.
- Locate the latest one created (first in the list & it will most likely have random numbers in the name) & open it.
- You will find a second folder with a set of random numbers. Open it, inside you will find a number of files and the rom.zip
- Copy the rom.zip file to another location.
- Now, close the RUU executable folder & rename the rom.zip file as PG58IMG.zip
4.4 How to flash PG58IMG
4.4.1 Without a PC, via bootloader
- Put the PG58IMG.zip onto the root of your SD Card
- Reboot to bootloader by Holding Vol down + Power button
- You will then be asked if you want to install the file, select yes by pressing Vol up.
- Don't touch anything till the install completes
- After the install is complete, when prompted to reboot, open the back casing of the phone and take out the SD Card.
- Then press the power button once to reboot.
- If you experience a boot loop, reboot to bootloader and re-flash the PG58IMG.zip
- If booted into bootloader, select fastboot > reboot.
- If booted into fastboot, select reboot.
- Connect the SD Card to a computer and delete the PG58IMG.zip file
If this method fails, try 4.4.2
4.4.2 With a PC, via fastboot USB
You will need sdk & and drivers, please take a look here. If you already have it, continue.
- Reboot to bootloader by Holding Vol down + Power button
- Connect your phone to the PC while in the bootloader. The phone should say fastboot USB, if not, select fastboot on the phone & check if it says fastboot USB, if not, change the USB port you are using.
- Navigate to the tools folder located inside android-sdk folder
- Copy the PG58IMG.zip file from step 4.1 to this folder
- Hold down shift and right-click anywhere in the empty space inside the window.
- Enter the following command
Code:
fastboot erase cache
- You may not see any output, then enter the command
Code:
fastboot oem rebootRUU
- You phone will now go into the RUU mode.
- Wait for around 30 seconds, then enter the command
Code:
fastboot flash zip PG58IMG.zip
- The installation will begin and you will be able to see the progress at every step.
- Once done, enter the command
Code:
fastboot reboot
- If you experience a boot loop, repeat 4.4.2 again.
You can flash the RUU this way.. It works for me this way
Click to expand...
Click to collapse
I flashed it via fastboot
joejoe23 said:
4. Flashing RUU manually
4.1 Getting PG58IMG.zip from RUU
Run the RUU executable as you normally would, but don't proceed to the second step i.e. when a second window appears, do nothing. Do not proceed, just ignore it for now, but don't close the window.
- Right-click the Windows Start button and select "Open Window Explorer" option.
-
- If you use Windows XP
Copy-paste this in the navigation bar:
Code:
C:\Documents and Settings\%USERNAME%\Local Settings\Temp\
- If you use Windows Vista/7
Press & hold Windows key on the keyboard and then press R (Win key + R). Once the box pops up, copy paste this:
Code:
%temp%
- Right click anywhere inside explorer window (not on any folder) and select Sort by then select Date.
- Locate the latest one created (first in the list & it will most likely have random numbers in the name) & open it.
- You will find a second folder with a set of random numbers. Open it, inside you will find a number of files and the rom.zip
- Copy the rom.zip file to another location.
- Now, close the RUU executable folder & rename the rom.zip file as PG58IMG.zip
4.4 How to flash PG58IMG
4.4.1 Without a PC, via bootloader
- Put the PG58IMG.zip onto the root of your SD Card
- Reboot to bootloader by Holding Vol down + Power button
- You will then be asked if you want to install the file, select yes by pressing Vol up.
- Don't touch anything till the install completes
- After the install is complete, when prompted to reboot, open the back casing of the phone and take out the SD Card.
- Then press the power button once to reboot.
- If you experience a boot loop, reboot to bootloader and re-flash the PG58IMG.zip
- If booted into bootloader, select fastboot > reboot.
- If booted into fastboot, select reboot.
- Connect the SD Card to a computer and delete the PG58IMG.zip file
If this method fails, try 4.4.2
4.4.2 With a PC, via fastboot USB
You will need sdk & and drivers, please take a look here. If you already have it, continue.
- Reboot to bootloader by Holding Vol down + Power button
- Connect your phone to the PC while in the bootloader. The phone should say fastboot USB, if not, select fastboot on the phone & check if it says fastboot USB, if not, change the USB port you are using.
- Navigate to the tools folder located inside android-sdk folder
- Copy the PG58IMG.zip file from step 4.1 to this folder
- Hold down shift and right-click anywhere in the empty space inside the window.
- Enter the following command
Code:
fastboot erase cache
- You may not see any output, then enter the command
Code:
fastboot oem rebootRUU
- You phone will now go into the RUU mode.
- Wait for around 30 seconds, then enter the command
Code:
fastboot flash zip PG58IMG.zip
- The installation will begin and you will be able to see the progress at every step.
- Once done, enter the command
Code:
fastboot reboot
- If you experience a boot loop, repeat 4.4.2 again.
You can flash the RUU this way.. It works for me this way
---------- Post added at 04:45 AM ---------- Previous post was at 04:38 AM ----------
I flashed it via fastboot
Click to expand...
Click to collapse
Thank u so much, i hav unrooted the phone, relocked the bootloader n flashed stock recovery... n is there any video to this guide that would be more easy as iam a noob p.s i am still confused which file i should download i knw all abt custom roms bt jst dont get abt these RUU
Qs5 said:
http://www.htcruu.com/?dir=VilleC2 look around there for a ruu. Just relock bootloader, "adb reboot bootloader". and boot into bootloader and follow the instructions.
Click to expand...
Click to collapse
Thank you too
could some one tell me hw to do a OTA update becuz the RUU things is making me confused n iam a lil worried that my phone doesnt brick i tried the trickdroid bt it dent work it was having boot loops.. n my phone is on the android version 4.0.3, hw am i going to get it to 4.0.4
Hmmy 4444 said:
could some one tell me hw to do a OTA update becuz the RUU things is making me confused n iam a lil worried that my phone doesnt brick i tried the trickdroid bt it dent work it was having boot loops.. n my phone is on the android version 4.0.3, hw am i going to get it to 4.0.4
Click to expand...
Click to collapse
When you are on stock look on settings - > Info - > and check for updates.
If there aren't any updates, then your phone hasn't received it yet in your country.
Then you will have to wait for the update...
Sent from my HTC One S running TrickDroid 4.0
Hmmy 4444 said:
hey guys my phone is rooted,bootloader unlocked n a TWRP recovery.. n i need to upgrade my phone to 4.0.4/sense 4.1.. n my phones CID is 044.. so plz tell me whch RUU to us n from where cn i get it. n hw to run it on my phone??
Click to expand...
Click to collapse
this for cid 004
http://forum.xda-developers.com/showthread.php?t=1966043
teerapong.g said:
this for cid 004
http://forum.xda-developers.com/showthread.php?t=1966043
Click to expand...
Click to collapse
bt ,my phones cid is 044

Categories

Resources