[GUIDE] Complete Flashing Guide | Rooting | Going Back To Stock | 05.05.2013 - One (M7) Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello User! Before you start reading, I must warn you. First of all, flashing your first custom ROM might end up having ORD. What is ORD you can read here.
Secondly, keep in mind whatever you do, you do it at your own risk. Probability that you will brick your device is very, very small, and if you will follow proper guides, read carefully first post of the thread you are going to use ROM/kernel/recovery/other from, it is almost impossible to brick the device. No, my intention is not to encourage you. Don't even enter bootloader mode on your device if you can't/not going to read what others (probably more experienced) users got to say. Unlocking/flashing process is a very easy and short process, but it requires your attention, reading, thinking and understanding ability.
The best place to start is this thread and this video - click here​
I think you are ready now. So where should you start? You probably don't know yet. So let me briefly tell you what options you have:
You might want to root your device and keep 100% stock ROM
You might want to flash custom recovery to be able to create nandroid backups
You might want to flash custom kernel
You might want to flash custom ROM
You might want to have a custom ROM with ability to make you a coffee <--- forget about that one!
You might want to use some UI modifications like % battery
...
Whatever your option is, you need to start from unlocking your bootloader. Unlocking bootloader doesn't mean disabling all security. Your device will remain S-ON, however instead of "LOCKED" from now on it will be "UNLOCKED" or "RELOCKED" (if you decide to lock it back later). What does it mean? Basically you will be able to change content of system, recovery and boot partitions on your device. So let's unlock your device first.
Unlocking bootloader
What you need to know before unlocking the bootloader:
This operation will wipe entire content of your data partition. Read more about negative effects of unlocked bootloader - Negative effects of unlocked bootloader
This operation will not void your warranty, however opinions in this subject are divided. Read more about flashing custom ROMs and warranty - Unlocking bootloader or flashing custom ROM doesn't void your warranty!
If you are not sure if your device has virtual SD card or hardware SD card, read more here - Virtual SD card on Android
HTC One Developer Editions comes with already unlocked bootloader, so you can skip this step if you own HTC One DE.
Download this mini-sdk package and extract it to c:\mini-sdk
Visit htcdev.com site and create your account
Log in into newly created account and on the main site click "Unlock Bootloader" image <click here to see the image>
Click on "Get started" button <click here to see the image>
Expand the list of supported devieces and search for your device model name <click here to see the image>
If you can not find your device on the list, select "All Other Supported Models" <click here to see the image>
Click on "Begin Unlock Bootloader" button
On the "Are you sure you want to continue?" screen click on "Yes" button <click here to see the image>
Tick both boxes and click on "Procced to Unlock Instructions" <click here to see the image>
Follow carefully first 4 steps and click on "Proceed To Step 5" button. Ignore "Required Resources" section on the right side of the screen
Skip Step 5, 6, 7 and click on "Proceed To Step 8" button.
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
Follow very carefully steps 8 and 9. At the end click on "Submit" button.
You will receive an e-mail from HTCDev with Unlock_code.bin file attached and a link to the second part of the instructions.
Download Unlock_code.bin file from the e-mail you received and save it to c:\mini-sdk location.
In the Command Prompt type following command: fastboot flash unlocktoken Unlock_code.bin
On your device screen you will be now asked if you are sure that you want to unlock your bootloader. With volume keys navigate to proper answer and press power button to confirm. Keep in mind this procedure will wipe content of your data partition, including virtual SD card.
After it's done, your bootloader should have "UNLOCKED" text at the top.
Your bootloader is now unlocked. Whatever you want to do next, you need custom recovery for it. Every Android device has recovery partition, but with stock Android recovery you can't do much. Custom recoveries allows you to perform nandroid backup (backup content of your system, userdata and boot partitions) flash .zip packages (custom ROMs, mods, themes etc.) wipe content of your device and more. So let's flash custom recovery first. There are plenty of recoveries, including 4EXT, CWM, TWRP and more. Find the one you believe is best for you (make sure it's compiled for your device model!) and
Flashing custom recovery
What you need to know before flashing custom recovery:
After flashing custom recovery you can always revert to your stock recovery. This procedure will be described later.
Your bootloader needs to be "UNLOCKED". "LOCKED" or "RELOCKED" bootloaders can't flash custom recovery.
This operation will cause your bootloader to show "TAMPERED" text below "UNLOCKED".
For safety reasons, first what you should do is nandroid backup inside recovery. You might need it during "going back to stock" procedure.
Download custom recovery of your choice and rename it to recovery.img
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot boot recovery.img (this command might not with newer hboots)
Command above will not permantently flash custom recovery, but it will just boot it. Why? Because that way we can backup your original, stock recovery image before we replace it with custom one.
Perform a nandroid backup.
After nandroid backup is done, reboot the device in fastboot mode again.
In the Command Prompt type following command: fastboot flash recovery recovery.img
Now that your bootloader is unlocked and you have custom recovery flashed, you should decide what you want to do next. Let's assume you want to flash a custom ROM.
Flashing custom ROM
What you need to know before flashing custom ROM:
There are many custom ROMs out there. Some of them are more or less modified versions of HTC stock ROMs with HTC Sense. You might also find some AOSP, AOKP or CM ROMs based on pure Android UI without any HTC software on it. Choice is yours. Personally, I recommend you optimized ROMs with HTC Sense on board.
After flashing custom ROM you can always revert to your stock ROM. This procedure will be described later.
Download custom ROM of your choice and copy it to the internal memory of your device (virtual SD card or other)
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of custom ROM (zip) package and confirm flashing procedure.
Follow the steps on the screen. Every developer use slightly different options in his ROM installer, so just make sure you read it carefully.
If you can't flash custom ROM due to AROMA freezes, there is nothing to be worried about. Just ask for help the developer of your custom ROM.
After flashing process is complete, reboot the device.
However, you might not want to use any of the custom ROMs available, but just be able to have root access on your device. This also can be easily done!
Rooting stock ROM
What you need to know before rooting stock ROM:
You can "un-root" it easily.
As long as you won't change any files on system partition, you still will be able to download and install official OTA updates.
Download Rooting Tools
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of Rooting Tools (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device. Your device has now SuperUser.apk, su binary and busybox installed.
If you are not happy with being rooted, or you can't find any custom ROM for your needs, or you need to sell/return your device and you want it to have stock software on board, it's very easy operation.
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
"TAMPERED" text in bootloader will disappear only after proceeding method 2.
There are 3 main methods. All three will be described below.
Method 1 - only for users with .401 devices (for more info click here - RUU variants)
Visit this thread - [ROM] HTC One *STOCK* ROM
Download stock odexed version of most recent firmware and recovery.img
Move recovery.img to c:\mini-sdk location
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of stock ROM (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device in bootloader mode.
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Method 2 - flashing RUU (ROM Update Utility)
Visit this or this thread.
Find proper RUU for your device
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot oem lock
Flash RUU and follow on screen instructions.
You have now completely stock software on your device.
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Here are some videos you might find helpful:
1) by Flow-Wolf
How to Unlock the bootloader
How to Flash the recovery
How to root the HTC One
2) by udimars30
How to Unbrick/Unroot/Flash stock Rom Back on HTC ONE

General FAQ
General FAQ
1. The zip installation just freezes in AROMA, what should I do?
This is a well known issue involving the AROMA installer, and this will occur with any ROM zip in any recovery. If it freezes, hold Power and Vol-Down until your phone reboots (If this fails, plug your phone into your PC and in CMD type 'adb reboot') Now go back into recovery and start the installation again. It is reported by many users that the installation works better if you don't use the touchscreen for navigation through AROMA - instead, use Vol-Up/Down to navigate and the Power button to select
UPDATE: Please make sure you have the latest recovery version. It is reported that CWM 6.0.3.2 fixes the freezes!​
2. When I try to enter recovery it just blinks for a second and the phone reboots. How do I get into recovery?
Use Vol-Down + Power to enter fastboot mode. Now connect the phone to the PC and use 'fastboot erase cache'. After that it should be able to boot recovery correctly.​
3. The phone rebooted itself while installing a ROM, now it just bootloops. How should I recover my phone?
Reboot into recovery and flash again. If recovery won't load, check FAQ 2.​
4. Do I need to wipe my data everytime I flash a new version of a ROM?
No, a data wipe is only needed when you come from stock or another custom ROM. It is also recommended but not manadtory to wipe when there is a base update. For a more specific answer, please check the Thread of the ROM you are using. The developers will tell you, when a wipe is mandatory.​
5. Do I need to flash boot.img seperately?
The majority of ROM installers will flash the boot.img for you. Yes, even when you are S-ON. This is possible on the One. Make sure to read the instructions for your ROM.​
6. Do I need to update my radio to flash a ROM?
It is not needed. You can do it if you want to. Newer radios can improve signal, bluetooth, WiFi... Refer to the following thread for more information: Link And also check this thread for a method to update radio in recovery: Link​
7. My device is not recognized by adb and fastboot. What should I do?
Make sure you have the latest HTC Drivers (Thread) running and your SDK is up-to-date. Try another USB Port and make sure your cable is working.​
8. What is S-OFF and do I need it to flash a ROM/Kernel/Recovery/Radio?
S-OFF means that your bootloader is fully unlocked and allows you to write to more partition than you usually can. You would also be able to flash unsigned firmware. You don't need S-OFF for ROMs, kernels, recoveries and also not for radios (Check FAQ 6)​
9. What is the best ROM/Kernel/Recovery?
I really can't answer that question. It greatly depends on what you like. As mentioned in the first post there are Sense, AOKP, AOSP, CM... ROMs. Also there are several kernels, some focusing on performance, some focusing on battery life. Go on and try a few to see what fits you best. You should always make a nandroid backup, so you can go back to another ROM later.​
10. I forgot to put a ROM on my sdcard before wiping/flashing kernel and my phone won't boot now. How do I get a ROM on there?
If you have a nandroid backup on the phone, resore it. If you don't have a backup, copy the ROM you wanted to install to the phone via 'adb push rom-name.zip /data/media/rom-name.zip' Then flash as described above.​
11. Will unlocking or relocking wipe my device?
Unlocking will wipe your device. So please backup your data! Relocking will NOT wipe it, just when you unlock again.​
12. My issue is not mentioned here and/or my phone is still not working after trying to recover. What should I do?
You are always free to post in this thread or the ROM/Kernel/Recovery/Radio thread. You will find helpful members who will support you in solving your problem.​
Note: The FAQ are always under construction. New QAs will be added when the get F(requent) (You can also contact me if you find a Q that is not covered here)

There was no complete guide, so I decided to write one myself I hope users will enjoy it!
That was a lot of text for me to write, so if I made mistake somewhere, please feel free to correct me! This thread is generally still under construction and I will improve first post in time

Reserved.

Great work
Hey Mate
Great work... very well done!
Now everything should be clear...
CHeers
K.

Fantastic guide, is tampered a new thing for the HTC One? I don't remember the One X having the issue?

Thanks so much for this

ste1164 said:
Fantastic guide, is tampered a new thing for the HTC One? I don't remember the One X having the issue?
Click to expand...
Click to collapse
Yes, it's sort of new sign for HTC that user did something more then just unlocking.

mike1986. said:
Yes, it's sort of new sign for HTC that user did something more then just unlocking.
Click to expand...
Click to collapse
Ah right okay still thinking about rooting mine

sorry for asking but what is mini-sdk? unlocked the bootloader with all-in-one tool. is it something in the android sdk? where to get it? thanks

ggp759 said:
sorry for asking but what is mini-sdk? unlocked the bootloader with all-in-one tool. is it something in the android sdk? where to get it? thanks
Click to expand...
Click to collapse
It's the package of needed files I created. You can download it by clicking on the link.

mike1986. said:
It's the package of needed files I created. You can download it by clicking on the link.
Click to expand...
Click to collapse
Thanks did not see that. link does not work though.

ggp759 said:
Thanks did not see that. link does not work though.
Click to expand...
Click to collapse
Fixed now

can you explain me something ?
if I click negative effects of unlocked bootloader, it says I can't receive OTA updates.
but in your Rooting stock rom section, you said we can still receive OTA updates.
is there something I'm missing or didnt read correctly ?
also, is the procedure the same for all HTC One, no matter which carrier I bought it from ?

grat_master said:
can you explain me something ?
if I click negative effects of unlocked bootloader, it says I can't receive OTA updates.
but in your Rooting stock rom section, you said we can still receive OTA updates.
is there something I'm missing or didnt read correctly ?
also, is the procedure the same for all HTC One, no matter which carrier I bought it from ?
Click to expand...
Click to collapse
1. Well, I decided not to mention some things to avoid confusion. At the moment unlocking bootloader removes content of /data/preload partition, so indeed, installing OTA will fail. But I truly hope that HTC will fix it at some point and unlocking bootloader won't cause some stock apps to be missing.
2. Which procedure?

by procedures, I meant unlocking bootloader / root / flash custom kernels and/or roms, etc
basically, everything in your guide in 1st post. I live in Canada, I will be buying HTC One from Rogers, so I wonder if all your guides works on every HTC One coming from all carriers/stores/countries.
I'm used to root and flash on Xperia Arc, but never owned an HTC cell phone.
Thanks for quick reply, I really appreciate your work !

grat_master said:
by procedures, I meant unlocking bootloader / root / flash custom kernels and/or roms, etc
basically, everything in your guide in 1st post. I live in Canada, I will be buying HTC One from Rogers, so I wonder if all your guides works on every HTC One coming from all carriers/stores/parts of the world.
I'm used to root and flash on Xperia Arc, but never owned an HTC cell phone.
Thanks for quick reply, I reaaly appreciate all your work !
Click to expand...
Click to collapse
Yes, I think it applies to all HTC One variants.

Great tutorial and FAQs, thanks for sharing!
It's been a while since my last HTC Android device and this will be handy as soon as I get my M7!

OMG! This must have been a lot of work to make this tutorial! Thank you so much for this, i think many people will be using this thread!
Sent from my HTC One using xda app-developers app

Keupie said:
OMG! This must have been a lot of work to make this tutorial! Thank you so much for this, i think many people will be using this thread!
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
I did my very best!

Related

Returning To Stock Nexus One

FIRST AND FOREMOST: DISCLAIMER,
I am not responsible for any steps your take in modifying or following the steps described below. This is simply a guide to assist you with restoring your phone. If your break, drop, ruin, brick, wipe, slap, chop, honk, ding, open, slave or unock your phone and it does not respond how you expected sorry your phone, your responsibility.
What is described below worked for me.
Ok, after searching for hours or nearly days for a way to unroot and get back tot he stock rom that allows for Over the Air Updates (OTA's) I finally figured it out after piecing together tons of threads on related subjects.
Anyway here it is...
On my nexus one I was using a CyanogenMod Rom and wanted to revert back to stock because of a few glitches I didn't like. I was presented with tons of problems when trying to do so. This is what I did.
For dummies version:
GET THE NECESSARIES
(1) Downloaded the stock ROM FRG83 from Modaco HERE
(2) Unzipped this to a folder I created on my PC (I named it Platform-Tools)
(3) Downloaded and Installed the Android SDK. This comes with ADB and driver for your phone which is a must need. HERE
(4) Copied all files from the android/android-sdk/platform-tools folder to the folder I created earlier in step 2.
(5) Downloaded fastboot command (Available in attachment below)
(6) Downloaded flash_image.zip (Available in attachment below) (Optional - flash_image.zip only needed if using ADB method and is not described below or recommended)
UNLOCK BOOT LOADER
(1) Unlock Boot Loader (Yeah you have to do it). If not done you will get an error saying unable to verify signature when trying to load the img files.
-Boot in to boot loader by Powering on your phone while holding down the trackball
-Connect phone to your pc using a usb data cable
-on the boot screen it should say something like "fastboot usb" after doing so
-Type fastboot oem unlock
-Read the warning and accept it
(2) Boot in to boot loader by Powering on your phone while holding down the trackball
(3) Should say unlocked at the top
PHONE UNLOCKED AND READY TO FLASH YOUR PHONE TO STOCK
(1) If not done already Boot in to boot loader by Powering on your phone while holding down the trackball
(2) Connect phone to your PC with a USB Data Cable
(3) From your PC command prompt change directory to where you save your img files and the fastboot command stuff
(4) Type The Following In Sequence from your PC Command prompt:
fastboot flash boot (YOUR DIRECTORY)\boot.img
fastboot flash recovery (YOUR DIRECTORY)\recovery.img
(5) Boot in to recovery
-Select bootloader from the menu
-Select recovery from the next menu
(Wait, a triange with an exclamation mark appears)
-Press the power button along with the up volume button
(Boots to the android recovery menu)
-Wipe everything
(6) Reboot in to the boot loader and Type The Following from your PC command prompt In Sequence
fastboot flash radio (YOUR DIRECTORY)\radio.img
fastboot flash system (YOUR DIRECTORY)\system.img
When done reboot and enjoy your fully restored un-rooted back to stock nexus one and enjoy all your OTA Updates as they are released.
If there is something I missed or needs correction let me know and I will make necessary revisions.
pardon my ignorance but i was under the understanding that the Nexus One already ran Stock android
ThunderStick said:
FIRST AND FOREMOST:
Anyway here it is...
On my nexus one I was using a CyanogenMod Rom and wanted to revert back to stock because of a few glitches I didn't like. I was presented with tons of problems when trying to do so. This is what I did.
johnston9234 said:
pardon my ignorance but i was under the understanding that the Nexus One already ran Stock android
Click to expand...
Click to collapse
At the start he mentioned he was running cyanogenmod (quoted)...it's also mentioned in his signature.
Click to expand...
Click to collapse
Anybody that needs to download and flash an Original ROM obviously didn't follow the first rule of flashing. NANDROID BACKUP YOUR STOCK ROM FIRST!!!
To return to stock for OTA updates all you need to do is restore your Nandroid backup and reboot once. That's all.

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

Being a newcomer to the Sensation myself it took me some time to figure out how to get everything how I wanted it.
I can now flash custom roms without trouble thanks to all the amazing people of this community.
This guide will be a "noob to noob" guide, I will guide you through the steps require to be able to flash custom roms.
This guide works for hboot 1.27 and 1.29.
Also firmware 3.32 and 3.33.
And any combination of the above.
Click to expand...
Click to collapse
For who is this guide?
This guide is for people who are completely new to unlocking, rooting, flashing...
People who have experience in the field won't find this any useful.
Why not S-OFF?
Some people find it difficult / unnecessary to S-OFF. Specifically people with HBOOT 1.27, whom only have the Juopunutbear method which isn't as easy to do as the Revolutionary method for previous HBOOT's.
That being said, you can still S-OFF after (or before, you can skip STEP 1 then) we have completed this guide, nothing is stopping you from doing that.
HBOOT 1.27 S-OFF: http://forum.xda-developers.com/showthread.php?t=1614617, http://forum.xda-developers.com/showthread.php?t=1661631
Previous HBOOT: http://forum.xda-developers.com/showthread.php?t=1192300
Requirements:
Your phone
USB Connector
Backup of your phone's conent
A brain
1. Unlock your phone
Unlocking your phone is really easy, all you have to do is go to the HTC Dev website, select your device and follow the steps. (If your version of the HTC Sensation is not in the list you can select "All other Supported devices)
HTC has done a great job putting together guides for every device.
WARNING: This will factory reset your phone, so you will loose your applications, sms's...
After doing this you should have a folder on your C:\ drive called Android containing the following: adb.exe, AdbWinApi.dll, fastboot.exe, Unlock_code.bin
If you have this folder you can move to step 2. If however you do NOT have this folder; follow the guide in this thread.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Flashing a recovery
We will be using 4EXT recovery for reasons I will later explain. To do the following steps you have to have your phone plugged in and have USB Debugging enabled. (Settings - Develop Option - USB debugging)
Download 4EXT recovery (1.0.0.5!): https://www.dropbox.com/s/6ybcxyrpzv88uik/recovery.img
Put the file (recovery.img) in C:\Android (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here"
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
Type in: fastboot flash recovery recovery.img
Wait until the flashing is finished
Type in: fastboot reboot
You have now flashed the 4EXT recovery, through which you later will be flashing custom Rom's.
The newest version (1.0.0.5 and up) of 4EXT has the ability to flash the "boot.img" for you, so you don't have to do it yourself after every new kernel and rom flash!
You do have to enable it thought, which I will explain in the next step.
3. Enable 4EXT smartflash
This step is extremely important, because we are not s-off and there is a problem with creating the "boot.img". T-Macgnolia explained it nicely:
When you use HTC Dev to unlock your bootloader it does unlock the Recovery, System, and Boot partitions to allow your device to write to those partitions and not just read those partitions. But there is a catch, if you want to flash a custom recovery you have to use ABD fastoot commands to flash it. When you flash as ROM in a .zip file via Recovery, it only flashes the System partition. You then have to open the .zip file and extract the boot.img and then use ADB fastboot commands to flash the boot.img to your boot partition. If you do not you will still have the boot.img of the ROM you was using before you flashed the New ROM.
Now let me explain the boot.img a little so you know why it is so important. The boot.img does just what thee name implies, it is what boots the Android ROM on your device. Now let me explain this a little further, the Android OS runs on top of something called a Linux kernel. This means that your bootloader boots the Linux kernel and the hardware of the device. The Linux kernel then boots the Android OS. The kernel is also the connection between the hardware and the Android OS. So you see if the kernel is not compatible with the system that is on the system partition you will have troubles like Wifi not working or other I hardware reliant functions. So when you flash a new ROM and you are HTC Dev unlocked you will have to flash the boot.img for the ROM or you will more than likely have troubles.
Click to expand...
Click to collapse
There are 2 ways to enable smartflash, one is a temporary way inside the 4EXT recovery itself (only for first time!) and the second way is permanent, through the 4EXT application.
The permanent way can only be enabled if your phone has ROOT! It's impossible to do it when you are going to flash a ROM for the first time.
Once you have flashed your ROM you have to install the 4EXT application and enable smartflash through it, which is explained in Step 5.
3A. Enable 4EXT Temporary smartflash
Enabling this is as simple is getting into the recovery and enabling it as an option.
NOTE: You only need to do this right before flashing your first ROM, so you should skip this step and come back here when the guide tells you to.
Disable "Fast Boot" on your phone.
Settings
Power
Untick "Fast boot"
Turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says: "Fasboot".
Navigate to "RECOVERY" and select it, you should now boot into the 4EXT recovery
Select "Tools"
Scroll Down and select "Enable 4EXT SmartFlash"
Again, you only need to do this ONCE, once you have flashed your first custom ROM and enabled permanent smartflash, you don't need to this any more!
4. Rooting or Flashing a Custom Rom
Now you have a choice, you can either;
Flash Root on your phone so you can follow auggie2k amazing guide to S-OFF on HBOOT 1.27
or have a rooted stock rom on which you can now use certain applications you couldn't use without stock Root. If you wish to do this please follow step 4A.
Flash a custom Rom on your phone. If you wish to do this please follow step 4B.
4A. Flashing Root
Flashing root is easy now you have 4EXT installed, I will explain in a few simple steps how to do it.
Download the following zip: https://www.dropbox.com/s/enocgwvohd7abt7/Android_Revolution_HD_Root_and_BusyBox.zip
Put the zip on the root of your SD Card
Reboot your phone into recovery (like we did in step 3)
Turn off fastboot and turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says "FASTBOOT"
Navigate to RECOVERY and select it
Select "Install from sdcard"
Select "choose zip from sdcard"
Navigate to where you previously but the zips and select the root one (Android_Revolution_HD_Root_and_BusyBox)
Let it install
Reboot
Your phone should now be rooted. You can now continue using your phone or follow auggie2k his amazing guide to S-OFF your device. (You can start at Step 4).
4B. Flashing A Custom Rom
Congrats, you made it. This is a step you will never forget, because you have to do this every time you flash a new ROM (which I assure you, you will do multiple times ).
First of all you need to choose your Custom ROM. Seeing as we are S-ON we only flash rom's with the same firmware as ours.
You can get to know your firmware version by going to: Settings --> About Phone --> Software Information
Generally speaking if you have HBOOT 1.27 you have firmware 3.32 - 3.34.
If you need to know exactly which Firmware (in case you are stuck in a bootloop or something alike) you follow Extra 2. (at the bottom of the page)
For this demonstration I will be using Android Revolution HD, simply because it's the most popular option. This guide also works with nearly every other ROM out there.
For Android Revolution (and every ICS based ROM) you need the 3.32 (or 3.33) firmware, which you should have if you are on Stock ICS with HBOOT 1.27.
This means that you cannot flash GB Rom's, same goes for people who are on stock GB, they cannot flash ICS roms.
Most ROMS have a nice guide on how to flash their ROMS, but for this guide I'll be detailing on how to flash Android Revolution step by step.
Download the latest version of Android Revolution HD XE (Audio Beats) from the Downloads section of t he Android Revolution HD thread.
(Yes, you can flash the XE version on a normal sensation because they are the same phone but with a different case and different battery)
Put the zip on your SD Card (anywhere, as long as you remember where you put it)
Reboot your phone into recovery (like you can see in Step 3A)
Turn off fastboot and turn off your phone
Hold the Power AND Volume Down button until you see a white screen which says "FASTBOOT"
Navigate to RECOVERY and select it
Enable Smart Flash like in Step 3A
Select "Tools"
Scroll Down and select "Enable 4EXT SmartFlash"
Wipe your phone
Go to "wipe | format"
Select "wipe data/factory reset"
Select "format all partitions (except sdcard)"
Select "Install from sdcard"
Select "choose zip from sdcard"
Navigate to where you previously but the zips and select the Superwipe one (Android_Revolution_HD_Super_Wipe_Sensation.zip)
Let it do it's thing, you can see what it's doing
Once again select "choose zip from sdcard" and browse to the location of the zips and select the Rom this time (Android_Revolution_HD-Sensation_6.6.3_XE.zip)
Follow through the steps and when it asks you to install a custom kernel it would be preferable to select YES, when Installing stock Kernel it is possible you will have Wifi problems. (see Step 3)
Reboot!
Hooray! You have now flashed your very first Custom Rom, please take in mind that a first boot can take quite a while, just be patient.
If during boot you are stuck on the white HTC screen, perform step Extra 1 and your problem should be resolved.
5. Enabling permanent smartflash
Like I explained in Step 3 when you want to flash roms with S-ON you need to have smartflash enabled, and now we have a rooted phone you can enable permanent smartflash! Here's how.
Installing the 4EXT Recovery Updater
Go to the 4EXT website and download the free 4EXT Recovery Updater.
You can also use the 4EXT Recovery Control application, which is available in the play store and has more features. (But isn't free)
Put the .APK file on your SD card like we did before with the ROM zip
Open your File Management application of choice (IO File Manager for example)
Search for the .APK file you previously put on your SD card and click "Install"
Open the 4EXT Recovery application
Press "Online install | upgrade"
The application should ask you to connect to 4EXT.Net servers to synchronise, press yes
If you don't have the newest version of the 4EXT Recovery application the application will ask you to update, if not just continue
If you updated the application it will close, so re-open it
Now you have installed and updated the 4EXT Recovery Updater, next we'll be enabling permanent smartflash in the application.
There are 2 ways to do this;
The first way is to upgrade your recovery (which is highly recommended), go to Step 5A.
The second way is through the settings menu, which will just enable smartflash, go to Step 5B.
5A. Enabling smartflash through updating recovery
Open the 4EXT Recovery application
Press "Online install | upgrade"
The application should tell you your phone model (HTC Sensation /XE), if this is the case press "Yes" otherwise press "No"
Now you will see a list of 4EXT recovery versions, simply press the top (should be in red) and press "Install"
At the end of the installation the application should ask you: "Is your device S-ON? Answer yes if unsure.", press "Yes"
5B. Enabling smartflash through the settings menu
Open the 4EXT Recovery application
Press "Settings"
Choose the tab "Recovery"
Scroll down until you see; "S-ON: 4EXT SmartFlash, and tick the box next to it
You should now have permanent Smartflash, you no longer have to enable smartflash inside the recovery itself when you flash a new rom.
Help and Thanks!
If you have ANY problems at all, please feel free to leave a message in this topic. But please remember that I am also still a noob and I will probably not be able to answer all of your questions.
You can also ask for help in this Help Thread by Tinky1 or join this IRC channel.
There are a bunch of people in there (including me ) who are very eager to help you.
Also if you have any suggestions for my thread, if you read any mistakes I have made (be it logic or spelling) feel free to correct me.
We are all here to learn.
And last but not least, a big THANK YOU! to all the lovely people from the #helpmenow irc channel and specifically: tinky1, ganeshp, dexter93, Kohr-ah, zylith...
I couldn't have done this without you!
Extra 1: Flashing "boot.img"
This is for people who are having problems with their Wifi after flashing a new Rom. (This might get fixed in later updates of 4EXT but currently it's not working.)
To fix your Wifi problems we have to find the "boot.img" fitting with the your kernel choice and have your phone connected to your pc with usb-debugging enabled.
Usually the fitting boot.img can be found inside the .zip of your desired Rom.
Finding your "boot.img"
Open your rom's zip file
Open the "kernels" folder
Open the folder of the kernel you chose during install of your rom (if there are any choices)
Extract the "boot.img" to C:\Android (or wherever your adb and fastboot are located)
Example location:
If you can not find the "boot.img" you can try the following links, but there is no guarantee in it working.
Stock ICS (3.32): https://www.dropbox.com/s/joe6fqa75teagnq/boot.img (Backup: http://d-h.st/pLG)
Stock GB: https://www.dropbox.com/s/gamaxd2eijnz3nw/GBSTOCKboot.zip (Backup: http://d-h.st/OSC)
Flashing the "boot.img"
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here"
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
In the command windows on your pc, type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
Once your phone is rebooted your problem should be fixed.
IF the problem isn't fixed, just re-flash your ROM again (without wiping!)
Extra 2: Checking your exact firmware version
This can be useful if your phone is stuck in a bootloop, people who will try to help you will need this formation. You can find out your exact firmware version by doing the following;
If you can boot into your phone, do the following
Type in: adb
Type in: adb devices (This will give you a list of devices attached to your computer, so if your phone is correctly attached it should show up.)
Type in: adb reboot-bootloader
If you cannot boot your phone, do the following
Disconnect your phone from your pc
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
Connect your phone to your pc again
Your phone will (re)boot, wait until you see a white screen which says "FASTBOOT USB"
Type in the command window: fastboot getvar all
From the list "version-main" represents your current firmware version
Extra 3: Putting your phone back to stock
This can be useful if you need to send your phone to HTC to fix something or you just want go back completely to stock.
WARNING: This does not guarantee that you have warranty, but like I said before, the unlock method doesn't necessary void your warranty.
This also wipes your phone, so have a backup!
First of all you need to download to the correct RUU for your phone, which you can know by the firmware version, firmware radio and CID. You can get to know those by doing step EXTRA 2.
Once you know which firmware you have you can go ahead and download it from the following list: http://www.filefactory.com/f/c87a2330449af512/
Before that you can the RUU you first need to lock your phone again, this can be done very simply:
Plug in your phone and make sure USB-debugging is enabled
Go to C:\Android or wherever your adb and fastboot are located
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in the command window: fastboot oem lock
Wait until it's done and reboot.
Once your phone is rebooted make sure that you still have your usb cable plugged in and run the .exe file you downloaded before.
Just follow the steps in that and you should be back to your stock phone in no time!
Extra 4: Manually going into fastboot
If you are stuck in a bootloop or it another sticky situation, this can be quite helpful to get you out of it.
Power off your phone
Remove the battery
Insert the battery back in
Turn on your phone while holding BOTH the POWER ON and VOLUME DOWN button
You should now be in fastboot!
Changelog:
08/09/2013: Added information that the guide works with both HBOOT 1.27 and 1.29 and as well with firmware 3.32 and 3.33.
29/01/2013: Added link to ganeshp's thread for easy S-OFF, indicated that you can still follow the rest of the guide to flash roms
14/10/2012: Removed superwipe instructions and changed it to wiping through 4EXT (Because superwipe doesn't work with non-sense roms)
03/10/2012: Provide better information for people who can't boot their phone
30/07/2012: Added information to perform step Extra 1 when stuck on boot after flashing rom.
great guide...glad you did it perfectly well
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
malybru said:
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
Click to expand...
Click to collapse
No malybru. Newer one is needed. 2.08 is still GB, right?
I stand corrected, for GB one, yes, that should do it
Mate, thanks a lot for this noob to noob guide.
Poelier/ bertuz
Sent from my HTC Sensation Z710e using XDA
Excellent guide
Great guide! i'll link it in my thread [GUIDE][MAY.01.12] How to flash ICS 3.32 firmware | flash/update ARHD 6.6.x ICS ROM.
Well done!
Great noob to noob guide, and thanks for the quote. Sorry about all the typos in it though. I think I posted that very quickly while on my lunch break, lol. I am always making typos when typing on my phone. Please feel free to correct them if you want to.
ganeshp said:
great guide...glad you did it perfectly well
Click to expand...
Click to collapse
You thanks for all the help!
malybru said:
Hi,
Great post.
I've taken the boot.img from THIS ROM
Any good?
Click to expand...
Click to collapse
Thanks, I'll add it to the guide!
poelier said:
Mate, thanks a lot for this noob to noob guide.
Poelier/ bertuz
Sent from my HTC Sensation Z710e using XDA
Click to expand...
Click to collapse
No problem!
joaquinf said:
Great guide! i'll link it in my thread [GUIDE][MAY.01.12] How to flash ICS 3.32 firmware | flash/update ARHD 6.6.x ICS ROM.
Well done!
Click to expand...
Click to collapse
Thanks a lot, Let's hope more people find their way with the Sensation.
T-Macgnolia said:
Great noob to noob guide, and thanks for the quote. Sorry about all the typos in it though. I think I posted that very quickly while on my lunch break, lol. I am always making typos when typing on my phone. Please feel free to correct them if you want to.
Click to expand...
Click to collapse
No need to apologise for typo's, I'm sure I made some too. I didn't correct them because it might seem rude. I'll correct em today.
Great guide, was really needed for newbs that updated to ICS OTA.
Followed it easily and flashed ARHD successfully, so many thanks Asskicker2.
The only issue I encounter so far is the Wi-fi. It won't turn on and is in "error" state when I look at it through Settings.
I think that that's some kind of a common problem, but I really followed the guide by the line, and had exactly the same prerequisites. Obviously something wasn't exactly the same.
So any ideas? Help would be greatly appreciated. I have CID HTC_044, was imported from Asia.
mage3 said:
Great guide, was really needed for newbs that updated to ICS OTA.
Followed it easily and flashed ARHD successfully, so many thanks Asskicker2.
The only issue I encounter so far is the Wi-fi. It won't turn on and is in "error" state when I look at it through Settings.
I think that that's some kind of a common problem, but I really followed the guide by the line, and had exactly the same prerequisites. Obviously something wasn't exactly the same.
So any ideas? Help would be greatly appreciated. I have CID HTC_044, was imported from Asia.
Click to expand...
Click to collapse
ohh for wifi problem...
repeat the "extra 1" step present in the guide
but get the boot.img from the ARHD rom zip file you've downloaded and do the steps from "extra 1"
to get the boot.img
1.open the rom zip file...and open the kernels folder..
2.extract the boot.img present in kernel folder
(if it has more than one boot.img...get the boot.img of your preferred kernel)
3.keep the boot.img in your adb folder
4.follow the steps in "extra 1" but use the boot.img you got
this should and will solve your wifi problem
Amy ROM recommandation for non sense?
Sent from my HTC Sensation Z710e using XDA
ganeship, thank you soo much!
Wi-fi sure is working now! Great!
mage3 said:
ganeship, thank you soo much!
Wi-fi sure is working now! Great!
Click to expand...
Click to collapse
I'm glad you got it working, I updated my guide because it seems having SmartFlash on doesn't work for everyone.
I'm just wondering, are you sure you enabled SmartFlash?
poelier said:
Amy ROM recommandation for non sense?
Sent from my HTC Sensation Z710e using XDA
Click to expand...
Click to collapse
Virtuous Inquisition looks like a great ICS AOSP rom, I haven't tried it though.
Asskicker2 said:
I'm glad you got it working, I updated my guide because it seems having SmartFlash on doesn't fit it for everyone.
I'm just wondering, are you sure you enabled SmartFlash?
Click to expand...
Click to collapse
Yes, I went in Recovery, then Tools end enabled SmartFlash. I remember this pretty clearly.
Anyhow, thanks again for the great guide, been searching for this since before you posted it. Was so happy this morning when I saw it!
mage3 said:
Yes, I went in Recovery, then Tools end enabled SmartFlash. I remember this pretty clearly.
Anyhow, thanks again for the great guide, been searching for this since before you posted it. Was so happy this morning when I saw it!
Click to expand...
Click to collapse
Ok, Thanks! I'll have to see if other people have the same problem.
If you have some free time this evening do you mind hopping on the #helpmenow irc channel? I'd like to test something just to be sure.
Added an Extra 3, which tells you how to put your phone back to Stock and locked. This can be helpful if you want to send your phone back to HTC for repairs or something alike.
Hi when i flash the Unlock_token.bin i get the error massage:
"writing 'unlocktoken'... FAILED (remote: unlock token check failed)"
At Asskicker2, your guide is great my friend. But I thought I might mention this, instead of telling people to remove the battery to boot into Hboot. Just tell them to go to Settings/Power and uncheck Fastboot. This will allow the device to shut all the way down wich is what pulling the battery does is completely shut down the device. The Fastboot option is a option that lets your device go into a sort of hibernation mood so it does not take so long to turn the device back on. This option is checked by default on most HTC Android devices.
My phone is untouched.I updated OTA to ICS 4.0.3 couple of weeks ago.
My firmare is 3.32.901.113
I was about to follow this guide and do it, and after that, install ARHD.
But after a close look on the ARHD 6.6.3 thread, I've noticed it says : " 3.32.401.x firmware is required! "
I think I have HBOOT 1.28, if I remember well, when I tried to use the Revolutionary tool and it didn't worked since my HBOOT wasn't supported.Or I am remembering wrong and the latest HBOOT is 1.27.

[Q] ok i need help pls

hi all
im living in lebanon and i have htc sensation middle east version
android 2.3.4 with sense 3
software number 1.50.415.1
is that the latest update for my phone ? coz i saw alot ppl got update and when im checking for update i get no update available
so my Quetion is that normal or something goes wrong ?
(someone told me to change CID to 15) if thats true how to do so?.
10x in advance
speechless said:
hi all
im living in lebanon and i have htc sensation middle east version
android 2.3.4 with sense 3
software number 1.50.415.1
is that the latest update for my phone ? coz i saw alot ppl got update and when im checking for update i get no update available
so my Quetion is that normal or something goes wrong ?
(someone told me to change CID to 15) if thats true how to do so?.
10x in advance
Click to expand...
Click to collapse
I guess your latest update (assuming you have an unbranded phone) should be Android v2.3.5 & Sense v3.5/3.6 unless ICS update has released already.
If your phone is branded, you will need to contact your operator to know about the software updates for your phone.
Anyway, to check for the latest update, go to Settings>About Phone>Software Updates>Check now.
If you really can't wait for an update, you can S-Off your phone, flash recovery of your choice, flash appropriate firmware & then apply a stock/custom ROM. Here is a guide for the same.
so what can i do in this case if my phone unbranded?
speechless said:
so what can i do in this case if my phone unbranded?
Click to expand...
Click to collapse
As I said check for the update from settings. If it says no updates found, try switching off and rebooting your phone & then checking again.
If it again says no updates found & if you really want new software, then you can follow the last suggestion in my previous post. Note that the last option can (and in some cases, will) void your warranty, especially if not done properly.
kgs1992 said:
As I said check for the update from settings. If it says no updates found, try switching off and rebooting your phone & then checking again.
If it again says no updates found & if you really want new software, then you can follow the last suggestion in my previous post. Note that the last option can (and in some cases, will) void your warranty, especially if not done properly.
Click to expand...
Click to collapse
ok i did as u said i got msg ( your phone is up to date there are no updates available for your phone) whats the best rom for sensation ? and 10x for your help appreciated
speechless said:
ok i did as u said i got msg ( your phone is up to date there are no updates available for your phone) whats the best rom for sensation ? and 10x for your help appreciated
Click to expand...
Click to collapse
ROMs are all about experience mate. If you like something, it's not necessary that I might like it too. Also true the other way round.
What version of android and sense are you looking for?
Also what features are most important to you?
kgs1992 said:
ROMs are all about experience mate. If you like something, it's not necessary that I might like it too. Also true the other way round.
What version of android and sense are you looking for?
Also what features are most important to you?
Click to expand...
Click to collapse
im looking for ics with good preference and stable doesnt metter what version of android or sense
speechless said:
im looking for ics with good preference and stable doesnt metter what version of android or sense
Click to expand...
Click to collapse
Well, ARHD 6.6.4 is stable & pretty smooth and has almost no bugs at all.
Ordroid 7.1.0 has a bug or two, but is stable & fast. I personally feel it also gives better battery performance, although, I can't say it for sure since it's been here just a day now.
You could also try an Insert Coin ROM, which I haven't been able to do myself, and hence cannot tell you anything about it.
Don't go for senseless ROMs yet, since I'm not really sure how stable they are and I wouldn't want to recommend something to you unless I've atleast heard about it.
All ROMs can be found in the Android Development section.
kgs1992 said:
Well, ARHD 6.6.4 is stable & pretty smooth and has almost no bugs at all.
Ordroid 7.1.0 has a bug or two, but is stable & fast. I personally feel it also gives better battery performance, although, I can't say it for sure since it's been here just a day now.
You could also try an Insert Coin ROM, which I haven't been able to do myself, and hence cannot tell you anything about it.
Don't go for senseless ROMs yet, since I'm not really sure how stable they are and I wouldn't want to recommend something to you unless I've atleast heard about it.
All ROMs can be found in the Android Development section.
Click to expand...
Click to collapse
im really appreciated but i have problem in ur guide cant read all things well there is a pic on front that hides half words tried on ff chrome IE pic attached
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xl VipeR lx said:
If you would like to S-OFF, Install ClockWork Recovery, permanently Root & obtain SuperCID. Follow Steps 1 to 4!
To Debrand or flash an official stock ROM only: follow Steps 1 & 4 only (you may skip step 3 & 4 is you do not need them)
To Root: follow steps 1-3
To install a custom ROM for the first time: Steps 1 & 2 then follow the guide below on how to install a custom Rom (step 3 isn't needed as customs roms are already rooted)
CLICK HERE FOR [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof) Steps 1-3 Needed! or Steps 1 & 2 plus custom ROM
UPDATE: NEW Recovery 5.0.0.8 - Follow Step 2 below to download and install. you do not need to follow the rest of the steps if you are just updating CWM
For Warranty Purposes/Returns:Follow Step 4 below for removing Clockwork and Root
FOLLOW STEP 5 TO CHANGE BACK TO S-ON - CONFIRMED TO BE WORKING- USE WITH CAUTION
Whether your a noob or not, it nice to see a step by step guide as S-off is developer preview only and doesn't come with much instructions. I have simply Collaborated what is out there into one easy thread. Nothing complex.
here is my very small simple detailed guide. I have put a lot of Time and effort to make sure everyone can benefit so Just push Thanks if it helped
Click here for TROUBLESHOOTING OR FAQ
Step 1. To S-OFF your Sensation - (You do not need to do this if you have S-off already or done this before) - WORKING NOW for TMOUS users
Visit http://revolutionary.io/
download the application for your operating System. AND EXTRACT IT TO A FOLDER
YOU MAY NEED TO DISABLE YOUR ANTIVIRUS PROGRAM- Norton is flagging up Revolutionary as a Virus when it isn't
IMPORTANT
Fill out the form under the download links with your OS, Device, Hboot Version and Serial number. This will give your beta key to enable you to S - OFF. Make a note of this.
How To get your Hboot Version - 3 methods below
1. Run the revolutionary Utility you just downloaded from http://revolutionary.io/ and if it has found your device it should read
"Found your Device: HTC Sensation Z710* Applications -> Development)
4. With the phone switched on (not in HBOOT, just the regular home screen), plug in your USB cable and select HTC sync mode.(IGNORE any warning messages on your phone telling you it cannot find HTC Sync )
5. Launch revolutionary.exe. It should detect the phone and ask for your beta key. Type it (BE CAREFUL, as its case sensitive) or copy and paste it in.
If Revolutionary fails to find your phone verify you have all the drivers installed, try disk drive mode or charging mode (Linux users can use disk drive mode. Confirmed to be working by others)
6. Once you have entered your beta key correctly, follow any on screen prompts or actions from revolutionary and wait for it to S-Off,
7. You're done. Your Device will Successfully have S-OFF....if it hangs on method 3 and doesn't S-Off. See post 2 below for solutions.
IF REVOLUTIONARY SAYS FAILED YOUR PHONE IS NOT SUPPORTED. Go back and check hboot using the methods above. some users are told its failed and they still have S off now. If you have S-off your hboot will now be 1.17.1011 and revolutionary will tell you now your device is not supported
8. Revolutionary will now ask you to Install clockwork recovery mod after S OFF. Type N and install it manually below (the recovery provided is v4.0.1.4 doesn't charge when device is switched off, the one below v5.0.0.1 does charge)
9. Your Device now is S-off.
To install clockwork recovery for the sensation. Follow step 2!
STEP 2. To INSTALL Recovery - v5.0.0.8
1. Download recovery v5.0.0.8 for the Sensation [URL="http://forum.xda-developers.com/showthread.php?t=1277975"]HERE:[/URL] or Multiupload
2. Copy the PG58IMG file into the Root folder of your SD card (The main Folder of your Memory Card)
3. Turn off your phone FUlly and reboot into the Bootloader/HBOOT screen (see post above on how to get to hboot screen)
4. Press Volume up to Accept when it asks" Do you want to start the update"
5. Press Power Off to Reboot back to android after installation is successful (normal screen with homescreen)
6. Delete PG58IMG from your memory card and you can now root using step 3 below or install a custom ROM using CWM (Customs Roms are already rooted)
7. OPTIONAL: Boot into recovery or Completely switch off (Fastboot disabled or remove and reinsert battery)
Follow STEP 4 SUPER CID sub steps 1-6 to get adb running
8. Enter the command "adb shell cat /sys/devices/platform/htc_battery/power_supply/battery/status" Phone will confirm it is "CHARGING"
Charging issues fixed with new clockwork recovery. writing is now BLUE not purple or orange
Step 3. To permanently root your Sensation - (This means you will NOT LOSE ROOT on rebooting)
1. Download the file su-2.3.6.3-ef-signed.zip from here: DOWNLOAD
2. Copy su-2.3.6.3-ef-signed.zip to your SD card root folder (main folder of your memory card)
3. Start clockworkmod recovery (instructions below. See To Start Clockwork recovery)
4. BACKUP YOUR ROM USING CWM BEFORE ATTEMPTING ROOT!
5. Navigate to "Backup & Restore" using the Volume Down button and press select (power button to select) then select "Backup"
6. Select "install zip from sdcard" after backing up
7. Then select "Choose zip from sdcard"
8. Then select "su-2.3.6.3-efgh-signed.zip"
9. Then select "Yes - install su-2.3.6.3-efgh-signed.zip" to confirm
10. Then go back
11. Then reboot.
12. You're rooted!
If you are getting error messages regarding S-OFF, Rooting or installation - Troubleshoot below in post 2
See POST 2(HERE):
STEP 4. WRITE SUPER CID [YOU ONLY NEED TO DO THIS ONCE]- (continue from step 11 below if you have already done this)
(allows you to flash ANY ROM to the device regardless of the carrier. Just click RUU.EXE)
1. Download adb tools here: download for WINDOWS or download for LINUX or from the attachments below
2. On your pc click on your local disk C: Drive (or D: drive for some) (WINDOWS users: Start > My computer > Local Disk (C)
3. Create a new folder called "adb" and extract the files from adb.zip into it. Make sure it doesn't create another folder in the adb folder when extracting
4. open command prompt (or terminal for linux) and type "cd" "followed by the path to your adb folder" (windows users can type "cd C:\adb")
5. Ensure your phone is switched on (regular home screen) and connect it by USB in charging mode (Ensure usb debugging is on settings)
6. enter the command "adb devices". This is to confirm your phone is connected. (It should come back with list of devices attached and your serial number)
7. enter the command "adb reboot-bootloader". (nothing further required device WILL reboot in bootloader)
IF it doesn't you can Manually put the phone in the bootloader/hboot mode
Navigate to fastboot by pressing volume down and pressing power button to select (power off > vol down + power on)
It will take you to the fastboot bootloader screen on your phone
Connect your phone via USB
Your Screen should now read fastboot USB
8. enter the command "fastboot oem writecid 11111111"
9. enter the command "fastboot reboot-bootloader (Wait for it to reboot the bootloader)
10. enter the command "fastboot getvar cid" [it should confirm your CID is 11111111]
11. enter the command "fastboot reboot"
12. You can now flash any ROM you like.
To reinstall any stock ROM after this or De-brand or reinstall a different type of Rom (European, Asian, US).
Just click here to download an Official Rom,
Connect to your phone in charging mode. click the "RUU_pyramid_*****.exe" file you downloaded and follow on screen instructions.
I can confirm SuperCID is successful as i just flashed a Tmous Rom (1.25.***) to my EU unbranded device to check. (added t-mobile tv and other carrier stuff to my apps list)
TO DE-BRAND OR REINSTALL STOCK ROM (Changes to Stock S-off, Removes Root and clockwork)
Reinstall your original stock ROM you had (e.g Vodafone, Tmous, Asian, European unbranded etc. if you are changing back to S-ON)
1. Backup all User Data and Apps (Titanium backup Recommended) SKIP THIS STEP IF YOU WANT TO WIPE EVERYTHING
2. Use the SUPERCID method above. (Confirmed to work)
3. If you cannot get superCID to work. Follow this by Alexp999. HERE: any problems PM ME and i will help
Your phone bootloader will read "PYRAMID PVT SHIP S-OFF RL" after this, Root and clockwork will have been removed now
STEP 5 - CHANGING BACK TO S-ON - PROCEED WITH CAUTION. ONLY DO THIS IF YOU ABSOLUTELY HAVE TO. BEWARE THERE IS A RISK OF BRICKING READ BEFORE GOING TO STEP 1.
YOU MUST Follow this correctly otherwise you could semi-brick your device (Semi bricks recovery by re-flashing RUU). If you follow it correctly YOU WILL GET S-ON SUCCESSFULLY -confirmed by other users
I cannot be held responsible if anything goes wrong but i will help in every situation. 2 unrecoverable bricks so far. 1 due to not flashing RUU
First time i did this with a custom ROM installed - semi-bricked my device (couldn't boot due to security warning as S-on doesn't work with custom roms), restored it using RUU.exe
Second time after S-off i took the following steps and successfully went back to S-ON without any problems and booted up into stock rom.
Confirmed to work by several others as well as myself
1. Follow Step 4 above to get SuperCID - Skip if you already have it
2. Restore your official stock Rom: Just click here to download an Official Rom RESTORE STOCK EVEN IF YOU JUST RESTORED IT RECENTLY OR ARE ALREADY ON STOCK ROM. This is to ensure nothing gets changed in stock for S-on to be successful
So if you are already on a stock ROM or you just went back to stock ROM, i don't care, restore the stock ROM again using the RUU.exe if you don't want to be bricked!
Connect to your phone in charging mode. click the "RUU_pyramid_*****.exe" file you downloaded and follow on screen instructions.
3. Make sure when you download the RUU. download the same or similiar RUU version as your phone came with (e.g. Tmous or EU or Asian etc). As long as you install a stock rom similiar to what you had you should be ok. FAILURE TO DO THIS MAY BRICK YOUR PHONE.
4. Switch your phone on now and let it boot for the first time and just skip through the welcome screen.
5. Go back to Step 4 - SUPERCID and go through 1 to 7 to get to the fastboot bootloader. (so just do what you did before, put adb files in local disk, adb reboot bootloader etc)
6. enter the command "fastboot oem writesecureflag 3" (Thanks Dazweeja)
7. Reboot into bootloader using "fastboot reboot-bootloader" or remove & reinsert the battery and press power on while keeping hold of volume down.
8. Bootloader should now read Pyramid PVT Ship S-ON RL.
9. Remove and reinsert the battery. Press power on as normal
You should now have S-on back and you can return your device or do whatever it is covered again under warranty.
10. IF IT DOESN'T REBOOT and bootloader says ***Security Warning**
Remove and re-insert the battery and go back into bootloader and holding Volume Down +power button select fastboot
11. Run RUU_Pyramid_***.exe to reflash stock rom. (the one u just downloaded in step 1) and then reboot. It should work now
The above method works successfully. So do not under any circumstances try this without going back to stock first using Ruu.exe. and Follow the instructions correctly if you want S-on WITHOUT problems Any doubts or questions PM me and i will get back to you and help you.
Donations welcome as i had a very shaky night experimenting and bricking my device (and having a panic attack over it) to find a safe method for successfully getting S-on back for all you out there complaining about warranty.
To Start Clockwork recovery
1. EITHER make sure fastboot is disabled in settings and shut down your phone
This can be done via Settings > Power> Untick "FAST BOOT" at the bottom.
OR take out your battery and put it back in. (this is easier)
2. Keep hold of the volume down button and switch your phone on.
3. Hboot will start. Navigate to recovery with the vol down button. Press power button to select and enter recovery.
To install a Custom ROM - you will not lose data or apps with this method!
1. Download your chosen ROM by other developers in the development threads and copy the ZIP file to your SD Card ROOT directory
2. Start clockworkmod recovery (instructions above)
3. BACKUP YOUR ROM USING CWM BEFORE ATTEMPTING ROOT! (skip this step if you have already made a backup previously)
4. Navigate to "install zip from sdcard" using the Volume Down button and press select (power button to select)
5. Then select "Choose zip from sdcard"
6. Then select "your_chosen_rom.zip"
7. Then select "Yes - install your_chosen_rom.zip" to confirm
8. Then go back
9. Then reboot.
10. First boot will take quite some time -This is normal, i know you want touch your nice shiny phone but BE PATIENT - ENJOY!
Special Thanks to AlphaRev, unrEVOked Team, Bin4ry & to everyone else that helped with this GUIDE and with S-off and Dazweeja with S-on
Click to expand...
Click to collapse
Attachments:
su-2.3.6.3-efgh-signed.zip
ADB-Windows.zip
ADB-Linux.zip
PG58IMG.zip
Click to expand...
Click to collapse
Quoted from here.

[GUIDE] Unlock/Root/Flash for HTC One XL

[SIZE=+3]Heisenberg's How-To Guide For Beginners[/SIZE]
[SIZE=+2]HTC One XL, AT&T, Rogers HTC One X, Telstra One XL[/SIZE]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[SIZE=+1]Intro[/SIZE]
This thread will serve as a location for basic how-to guides for the HTC One XL (Evita). I'm going to start off with a couple of the more obvious ones and go from there. If anyone has any suggestions for additions please feel free to let me know.
Please note: you'll need a working adb/fastboot environment on your PC to get through some of these guides. There are many guides on how to install adb/fastboot available on XDA.
This is not a q&a/help thread, if you have questions regarding the processes mentioned here please ask in the appropriate place
By attempting any of the processes listed this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches on fire, or turns into a hipster and claims to have been modified before it was cool. Make sure you read a section and fully understand it before attempting it.
[SIZE=+1]Index[/SIZE]
How To Unlock The Bootloader On An AT&T Phone With 3.18 Software
How To Unlock The Bootloader On An AT&T Phone With 5.18 Software
How To Install A Custom Recovery On Your Device
How To Make A Nandroid Backup With TWRP Recovery
How To Install A ROM with TWRP Recovery
How To Flash A Boot.img With Fastboot
How To Install A Custom Kernel With TWRP Recovery
How To Make Sure You Can Pretty Much Always Recover From An Accidentally Wiped System
How To Flash The 2.15 Firmware
[SIZE=+1]1. How To Unlock The Bootloader On An AT&T Phone With 3.18 Software[/SIZE]
All AT&T phones are blocked from having their bootloader unlocked at htcdev, they achieve this by checking the CID of the device. Any device with the at&t CID (CWS__001) will not be able to do it, so you need to get temp root which allows you to get SuperCID (11111111). There is a dev thread dedicated to this exploit but it doesn't contain the most user-friendly directions so here's a quick guide.
Download the xpwn.tar.gz file from here.
Extract it into your fastboot folder.
Make sure you're booted into Android with usb debugging enabled. Connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here).
Test the connection by entering this command:
Code:
adb devices
It should return your device serial number, once you've verified a connection you can start the process.
Command #1
Code:
adb push oneXchopper /data/local/tmp/xpwn
Command #2
Code:
adb push busybox /data/local/tmp/busybox
Command #3
Code:
adb push ownage /data/local/tmp/phase1.sh
Command #4
Code:
adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox
Command #5
Code:
adb shell ln -s /data/local/tmp/busybox /data/local/tmp/sed
Command #6
Code:
adb shell "/data/local/tmp/xpwn"
Command #7
Code:
adb reboot bootloader
Now test if it worked by entering this command:
Code:
fastboot oem readcid
Hopefully you'll see 11111111, then you can go to htcdev and unlock your bootloader.
[SIZE=+1]2. How To Unlock The Bootloader On An AT&T Phone With 5.18 Software[/SIZE]
All AT&T phones are blocked from having their bootloader unlocked at htcdev, they achieve this by checking the CID of the device. Any device with the at&t CID (CWS__001) will not be able to do it, so you need to use an exploit which allows you to get SuperCID (11111111). There is no actual single exploit to do this on the 5.18 firmware, you need to use a couple of separate methods in conjunction to get it done.
Go to the Weaksauce thread and get temporary root using that tool.
Once you have temp-root you need to go to the Rumrunner S-off site and use that tool to get s-off. Make sure you read the instructions carefully. The device will have to reboot during the s-off process, which means that the Weaksauce app may or may not automatically root again after boot, you need to keep an eye on this because if it doesn't you'll need to do it manually when the device boots up otherwise the rumrunner method won't work. This can be frustrating, this is a finicky process, this isn't exactly the easiest method in the world but it does indeed work.
Checking your bootloader to ensure that you have s-off.
Boot into the bootloader, make sure your phone is connected to your PC via usb, and issue this command:
Code:
fastboot oem writecid 11111111
Confirm that you now have SuperCID with this command:
Code:
fastboot oem readcid
That's it, once you have SuperCID you can go to htcdev and unlock your bootloader.
[SIZE=+1]3. How To Install A Custom Recovery On Your Device[/SIZE]
Prerequisites: unlocked bootloader.
Download the recovery of your choice.
Check the md5 to verify its integrity (where possible).
Place the file in your fastboot folder (this is where fastboot.exe is located on your PC).
Put the phone in fastboot mode and connect it to your PC via usb cable.
Open a command prompt from within your fastboot folder (shift + right click, select open command prompt here), and enter the following commands:
Code:
fastboot flash recovery openrecovery-twrp-2.8.7.0-evita.img
(The recovery filename in the command will change depending on which recovery you're flashing)
Code:
fastboot erase cache
Code:
fastboot reboot
Select the recovery option from your bootloader screen to enter your custom recovery.
[SIZE=+1]4. How To Make A Nandroid Backup With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
A nandroid backup is a very important thing to have before installing any custom software on your device. It's basically a backup of your stock system that you can fall back on if anything goes wrong or if you just want your stock ROM back. You can also use the backup tool to create a backup of your favourite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.
All you need to do is enter TWRP recovery, select the backup option from the TWRP home screen, check the system/data/boot boxes, and swipe to backup. The process will take a few minutes.
Please note: Backups can easily take up over 1gb of space in your internal storage. Moving them to a PC or external drive is a great idea to save space on your phone.
[SIZE=+1]5. How To Install A ROM with TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
Installing a ROM is a pretty straight forward and easy process. Before you install anything you should make a nandroid backup (instructions above).
Download a ROM and appropriate Gapps package (if required) and place on your device.
Boot into your custom recovery.
Perform a full wipe.
Select the wipe option from the TWRP home screen.
Select advanced wipe.
Check the system, data, cache, and dalvik cache options.
Swipe to wipe.
Install the ROM.
Select the install option from the TWRP home screen.
Navigate to where you have the ROM zip stored on your sd card and select it.
Swipe to install.
Most ROMs will run an installer script at this point but some ROMs have what is called an Aroma Installer which allow you to choose some install options before the script runs.​
If you're flashing an aosp (not Sense based) ROM you will also need to install the appropriate gapps package directly after installing the ROM.
Once you've installed all necessary zips you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
Please note: if your phone has a hboot of 1.14 or higher and is s-on you'll also need to flash the boot.img with fastboot. Do not hit the reboot system button at the end of this process. Hit the home button, select the reboot option from the TWRP home screen, then hit the reboot bootloader button. Instructions to flash the boot.img are below.
[SIZE=+1]6. How To Flash A Boot.img With Fastboot[/SIZE]
Prerequisites: unlocked bootloader.
If your phone has a hboot of 1.14 or higher and is s-on, flashing a ROM or kernel through your recovery of choice won't be enough to boot the phone. The boot.img included in the ROM zip is unable to be installed by the recovery due to a security restriction that was introduced in the 1.14 hboot. Every time you want to flash a ROM you also need to flash the boot.img manually via fastboot.
Open/extract/view the ROM zip and in the root directory you'll see a file called "boot.img", copy this file and put it in your fastboot folder on your PC.
After you've flashed the ROM in recovery, instead of selecting a normal reboot select to reboot to the bootloader.
Once your phone has booted into the bootloader you can connect it to your PC, it should now say "fastboot usb" on the screen.
Open a command prompt from within your fastboot folder (shift + right click, select open command prompt here) and issue this fastboot command:
Code:
fastboot flash boot boot.img
It'll take a few seconds to flash the boot.img.
Once it's finished you can use the following command to reboot:
Code:
fastboot reboot
Now your phone should successfully boot up into your brand new ROM. Remember, each time you want to flash a new ROM you need to flash the boot.img as well. If you decide to get s-off on your device you will no longer need to go through this process.
[SIZE=+1]7. How To Install A Custom Kernel With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
A custom kernel can open up a new level of control over your device, such as overclocking/underclocking, undervolting, changing governors, changing I/O schedulers, adjusting colour calibrations, adjusting sound calibrations, and many other options.
Download a kernel that is compatible with your current ROM.
Check the md5 to verify its integrity.
Enter TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to the kernel and select it.
Swipe to install.
You'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
Once your phone has booted up you can use a kernel tuning app to change governors, I/O scheduler, clock speed, and other options. Some of the popular kernel apps are Trickster Mod, No Frills, Kernel Tuner, and many more.
[SIZE=+1]8. How To Make Sure You Can Pretty Much Always Recover From An Accidentally Wiped System[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
There may come a time when you accidentally wipe your OS while trying to perform a basic cache wipe in recovery. Don't laugh, it can happen to the best of us. The best way to insure yourself against being stuck in recovery is to keep a ROM zip or a TWRP/CWM backup (a nandroid backup) on your sd card at all times.
This solution seems like common sense but apparently there are quite a few people out there who don't store a ROM or backup on their phone. You might think it's easy to just mount the sd card and copy a ROM across to your phone from your PC (which is definitely an option), but there's always a chance that you won't be near your PC at the time, or it won't recognise your phone properly. Basically you need to insure yourself against Murphy's law.
[SIZE=+1]9. How To Flash The 2.15 Firmware[/SIZE]
Prerequisites: unlocked bootloader, s-off, SuperCID.
Warning! If you have the middle eastern variant (Evita_utl) do not flash this firmware, it is not compatible with your device and will cause irreparable damage.
Download the firmware from here.
Place it in your fastboot folder and rename it to "215firmware.zip" to make things easier later on.
Reboot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (shift + right click, select open command prompt here) and issue this fastboot command to check your fastboot connection:
Code:
fastboot devices
Once you've established a working connection (it'll show your serial number) you can start the process with this command:
Code:
fastboot oem rebootRUU
The phone will now boot into rebootRUU mode which is a black screen with the HTC logo.
Issue this command:
Code:
fastboot flash zip 215firmware.zip
If the output ends with "FAILED (remote: 90 hboot pre-update! please flush image again immediately)", run the previous command again. If it ends with "INFO..... OK", just reboot to the bootloader with this command:
Code:
fastboot reboot-bootloader
Verify the flash was successful by checking the hboot version and radio version in the bootloader screen. They should be as follows:
Hboot: 2.15
Radio: 1.31a.32.45.16_2
Reboot your phone by issuing this command:
Code:
fastboot reboot
Please note that the progress bar on the screen of your phone won't ever reach 100% even after the process is finished. As long as the process says it's finished in the command prompt it's safe to reboot.
Donate To Me
Sent from my Evita
For further information
The download link for the 2.18 firmware doesn't appear to be working.
hdk703 said:
The download link for the 2.18 firmware doesn't appear to be working.
Click to expand...
Click to collapse
Thanks for the heads up, I'll try to track it down and upload it again.
Transmitted via Bacon
hdk703 said:
The download link for the 2.18 firmware doesn't appear to be working.
Click to expand...
Click to collapse
Fixed.
Transmitted via Bacon
unable to transfer on HTC onex AT&T
C:\adb>adb devices
List of devices attached
HT282W306697 device
C:\adb>adb push oneXchopper /data/local/tmp/xpwn
cannot stat 'oneXchopper': No such file or directory
C:\adb>cd xpwn
C:\adb\xpwn>adb push oneXchopper /data/local/tmp/xpwn
4177 KB/s (1283460 bytes in 0.300s)
C:\adb\xpwn>adb push busybox /data/local/tmp/busybox
2809 KB/s (811432 bytes in 0.282s)
C:\adb\xpwn>adb push ownage /data/local/tmp/phase1.sh
24 KB/s (296 bytes in 0.012s)
C:\adb\xpwn>adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox
C:\adb\xpwn>adb shell ln -s /data/local/tmp/busybox /data/local/tmp/sed
C:\adb\xpwn>adb reboot bootloader
C:\adb\xpwn>fastboot oem readcid
...
(bootloader) cid: CWS__001
OKAY [ 0.011s]
finished. total time: 0.012s
C:\adb\xpwn>
Ive soft bricked my htc one x AT&T and my computer does not recognize my device
@timma U need to help me man !!!! Ive soft bricked my htc one x at&t(Deleted my ROM) . When i start my phone with normal Power on i just GET the white HTC screen . I am able to reach to the TWRP screen its got the following details :
S-ON RL
HBOOT-1.14.002
RADIO-0.19as.32.09.11_2
I tried fastboot and recovery mode and when i try and restart it it tells me no os installed.
I use Ubuntu 14.04 installed the android SDK with eclipse and tried the adb sideload with a custom rom but it does not find my device
though when its switched off and usb attached to my computer it charges.
WHAT TO DO ? PLZ HELP ME :crying:!!!!!!!!!!
solodancer said:
@timma U need to help me man !!!! Ive soft bricked my htc one x at&t(Deleted my ROM) . When i start my phone with normal Power on i just GET the white HTC screen . I am able to reach to the TWRP screen its got the following details :
S-ON RL
HBOOT-1.14.002
RADIO-0.19as.32.09.11_2
I tried fastboot and recovery mode and when i try and restart it it tells me no os installed.
I use Ubuntu 14.04 installed the android SDK with eclipse and tried the adb sideload with a custom rom but it does not find my device
though when its switched off and usb attached to my computer it charges.
WHAT TO DO ? PLZ HELP ME :crying:!!!!!!!!!!
Click to expand...
Click to collapse
Ok, first, the screen with the s-on, hboot, radio details isn't your TWRP screen, that's your bootloader. What recovery do you have installed?
Transmitted via Bacon
timmaaa said:
Ok, first, the screen with the s-on, hboot, radio details isn't your TWRP screen, that's your bootloader. What recovery do you have installed?
Transmitted via Bacon
Click to expand...
Click to collapse
From the Bootloader screen when i click on recovery option it takes me to the TWRP v2.6.3.0 screen.
solodancer said:
From the Bootloader screen when i click on recovery option it takes me to the TWRP v2.6.3.0 screen.
Click to expand...
Click to collapse
Ok. You're gonna need to flash a ROM, but first you're gonna need to copy one from your PC to your phone. In order to do that you're gonna need to temporarily install TWRP 2.6, it's the last version that actually allows to your mount your internal storage to a PC. Download it from here
https://goo.im/devs/OpenRecovery/evita/openrecovery-twrp-2.6.0.0-evita.img/
Flash it with fastboot:
Code:
fastboot flash recovery openrecovery-twrp-2.6.0.0-evita.img
Once that's done, boot into TWRP and select the mount option from the main menu, connect your phone to your PC, and then hit the mount usb storage option. Your phone should now mount to your PC as a removable drive which will allow you to transfer a ROM zip across.
Now to the next part. You need to get s-off, because you need to update your firmware in order to run any recent ROM. The best way to get s-off is to flash the Kickdroid 5.0 ROM, and then use Rumrunner to get s-off. Once you have s-off you can update your firmware (instructions at beginning of this thread). Once you've done that you can flash whatever ROM you like (for aosp ROMs you'll need to put TWRP 2.6.3.0 or above back on your phone).
Kickdroid
Rumrunner
timmaaa said:
Ok. You're gonna need to flash a ROM, but first you're gonna need to copy one from your PC to your phone. In order to do that you're gonna need to temporarily install TWRP 2.6, it's the last version that actually allows to your mount your internal storage to a PC. Download it from here
https://goo.im/devs/OpenRecovery/evita/openrecovery-twrp-2.6.0.0-evita.img/
Flash it with fastboot:
Code:
fastboot flash recovery openrecovery-twrp-2.6.0.0-evita.img
Once that's done, boot into TWRP and select the mount option from the main menu, connect your phone to your PC, and then hit the mount usb storage option. Your phone should now mount to your PC as a removable drive which will allow you to transfer a ROM zip across.
Now to the next part. You need to get s-off, because you need to update your firmware in order to run any recent ROM. The best way to get s-off is to flash the Kickdroid 5.0 ROM, and then use Rumrunner to get s-off. Once you have s-off you can update your firmware (instructions at beginning of this thread). Once you've done that you can flash whatever ROM you like (for aosp ROMs you'll need to put TWRP 2.6.3.0 or above back on your phone).
Kickdroid
Rumrunner
Click to expand...
Click to collapse
Thanks a lot for the help but could you please explain to me the 1. step in a bit detail how do i go about installing twrp-2.6.0.0 image ? what steps do i need to follow on my phone ?
1. I connected my phone to the pc i see the charging light flashing
2. went to the bootloader screen and selected the fastboot mode.
3. ran the fastboot command on pc
4.In the bootloader screen selected reboot bootloader
but now on reboot in fastboot mode i dont see a fastboot usb mode and the command it keeps on waiting for the device nothing happens after that .
Am i doing something wrong?
solodancer said:
Thanks a lot for the help but could you please explain to me the 1. step in a bit detail how do i go about installing twrp-2.6.0.0 image ? what steps do i need to follow on my phone ?
1. I connected my phone to the pc i see the charging light flashing
2. went to the bootloader screen and selected the fastboot mode.
3. ran the fastboot command on pc
4.In the bootloader screen selected reboot bootloader
but now on reboot in fastboot mode i dont see a fastboot usb mode and the command it keeps on waiting for the device nothing happens after that .
Am i doing something wrong?
Click to expand...
Click to collapse
Have you selected recovery from the bootloader menu to confirm that the recovery image flashed?
Transmitted via Bacon
timmaaa said:
Have you selected recovery from the bootloader menu to confirm that the recovery image flashed?
Transmitted via Bacon
Click to expand...
Click to collapse
selected the recovery from the bootloader it opens up the old TWRP v2.6.3.0 screen
solodancer said:
selected the recovery from the bootloader it opens up the old TWRP v2.6.3.0 screen
Click to expand...
Click to collapse
Please try flashing the recovery again and copy/paste all of the text from the command prompt here so I can have a look.
Transmitted via Bacon
timmaaa said:
Please try flashing the recovery again and copy/paste all of the text from the command prompt here so I can have a look.
Transmitted via Bacon
Click to expand...
Click to collapse
hey this is what i see
Code:
[email protected]:/home/solo/Downloads# fastboot flash recovery openrecovery-twrp-2.6.0.0-evita.img
< waiting for device >
solodancer said:
hey this is what i see
Code:
[email protected]:/home/solo/Downloads# fastboot flash recovery openrecovery-twrp-2.6.0.0-evita.img
< waiting for device >
Click to expand...
Click to collapse
What mode is your phone in?
Transmitted via Bacon
timmaaa said:
What mode is your phone in?
Transmitted via Bacon
Click to expand...
Click to collapse
from the bootloader menu i selected fastboot and then reboot bootloader
solodancer said:
from the bootloader menu i selected fastboot and then reboot bootloader
Click to expand...
Click to collapse
Why are you selecting reboot bootloader? Just get into fastboot mode and then flash the recovery.
Transmitted via Bacon
solodancer said:
from the bootloader menu i selected fastboot and then reboot bootloader
Click to expand...
Click to collapse
in the fastboot mode i see 4 options bootloader, reboot, reboot bootloader and power down . what should i do next?
solodancer said:
in the fastboot mode i see 4 options bootloader, reboot, reboot bootloader and power down . what should i do next?
Click to expand...
Click to collapse
What do you mean? While in fastboot mode you flash the recovery.
Transmitted via Bacon

Can't Update to 11.0-XNPH38r Incremental (Chinese OPO)

So I bought a Chinese OnePlus One, and it came pre-installed with CM 11 version 11.0-XNPH33r.
Connected to wifi, and got the system update for 11.0-XNPH38r Incremental, so I click download and install.
It reboots phone, then it loads ColorOS recovery looking screen with Chinese written on it and a green loading bar, then The CM splash icons comes back and loads. (alien looking guy with an arrow circling around his head)
After all that, I go to check the version and I'm still stuck at 11.0-XNPH33r!
I tried manually doing it from ColorOS recovery with 11.0-XNPH38r Incremental zip file, it installs about 3/4 of the way and then fails.
My Kernel Version is : 3.4.0-cyanogenmod-g0ad30e5
My ColorOS Recovery Version is : 1.2 (Rooted)
I've been looking around the forums, and I see people manually updating using TWRP which I don't have.
Can someone please help me, and if you have a solution can you please give me a step by step direction since I'm new to flashing/rooting and this phone.
I have a guide thread here:
http://forum.xda-developers.com/showthread.php?t=2839471
It contains instructions on how to unlock your bootloader and install TWRP recovery (sections 1 and 2). Before doing anything though you should check the status of your bootloader because it might already be unlocked. You'll need to follow the instructions at the top of the guide to install your phone drivers and also adb/fastboot via the Android SDK. Once you have done that you can boot your phone into fastboot mode (hold power + volume up), connect your phone to your PC via usb cable, open a command prompt from your fastboot folder (shift + right click anywhere within the foler, then select open command prompt here), and issue this command:
Code:
fastboot oem device-info
Please post the results here.
Thanks man, I'll try that out.
timmaaa said:
I have a guide thread here:
http://forum.xda-developers.com/showthread.php?t=2839471
It contains instructions on how to unlock your bootloader and install TWRP recovery (sections 1 and 2). Before doing anything though you should check the status of your bootloader because it might already be unlocked. You'll need to follow the instructions at the top of the guide to install your phone drivers and also adb/fastboot via the Android SDK. Once you have done that you can boot your phone into fastboot mode (hold power + volume up), connect your phone to your PC via usb cable, open a command prompt from your fastboot folder (shift + right click anywhere within the foler, then select open command prompt here), and issue this command:
Code:
fastboot oem device-info
Please post the results here.
Click to expand...
Click to collapse
TY for you help. I manage to get a custom recovery (TWRP), but I still can't update past 33R, when I update I get "E:Error executing updater binary in zip '/cache/cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
I also have this phone SuperSU fully rooted I think
TheOneinNeed said:
TY for you help. I manage to get a custom recovery (TWRP), but I still can't update past 33R, when I update I get "E:Error executing updater binary in zip '/cache/cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
I also have this phone SuperSU fully rooted I think
Click to expand...
Click to collapse
Go to section 8 of my guide and flash the stock images. Make sure you remove the -w of the last command though or it'll wipe all your user data.
Transmitted via Bacon
timmaaa said:
Go to section 8 of my guide and flash the stock images. Make sure you remove the -w of the last command though or it'll wipe all your user data.
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks man. I actually tried the flashing of 44s on the guide you sent me and it worked. Sorry for my last reply. You've been a great help and my phone is up to date.
Two last question if you don't mind. When the new update comes, can I install through Settings> About Phones> System Updates
or do I have to do something similar to the flashing I just did
after flashing my custom recovery is gone (TWRP) and the Cyanogen Mod Recovery took its place. Should I leave it like that or get TWRP and if TWRP is the answer, do I use the same method I did installing the custom recovery?
You should now have no problems receiving automatic updates through the settings menu. You can leave the stock recovery if you want to, or you can flash TWRP again. If you don't intend on flashing any custom ROMs or mods then the stock recovery should suit you just fine. Flashing a recovery is done via fastboot.
Code:
fastboot flash recovery twrp-2.8.4.1.img
(where the recovery filename is twrp-2.8.4.1.img)
timmaaa said:
You should now have no problems receiving automatic updates through the settings menu. You can leave the stock recovery if you want to, or you can flash TWRP again. If you don't intend on flashing any custom ROMs or mods then the stock recovery should suit you just fine. Flashing a recovery is done via fastboot.
Code:
fastboot flash recovery twrp-2.8.4.1.img
(where the recovery filename is twrp-2.8.4.1.img)
Click to expand...
Click to collapse
Thank you for your time and effort to help.
I appreciate it a lot. Thanks again!

Categories

Resources