[Tutorial][07-17]How to unlock/root/s-off and revert back an Evo 3D(ShooterU) - HTC EVO 3D

Updated
Please read the instructions completely and carefully before you attempt anything.
Disclaimer:
What ever you do with your device is your own responsibility. In no way shall I, any other member of XDA or HTC, be held responsible in case you brick, destroy your device or even cause any bodily injury to you, by following these instructions
Click to expand...
Click to collapse
Before you start meddling with your device, please read, search XDA for related information, use wiki.
Those people who are trying to gain S-off to flash ICS ROMs with sense 4.0... You do not have to flash the new firmware as a compulsion. The older Radio works well with the sense 4 ROMs. It is not an absolute necessity to upgrade the firmware. You can skip that. And you can flash any ROM in 4ext touch recovery even with S-ON. Proceed to S-off only if you accept the risks of bricking your device completely without any possibility of recovering it again. And also keep in mind, you will lose all your personal data on the device by following these instructions.
Resources:
1. Windows running computer(PC).
2. HTC EVO 3D android smartphone.
3. USB cable that came with your Evo 3D.
4. Micro SD card with adequate space in it.(At least 4 GB)
5. Basic computer knowledge of how to open a command prompt and how to run commands in command prompt.
6. 7z / winrar archiver.
Prerequisites for doing anything with your device.
1. Download and install the HTC drivers.
(You can get this from HERE)
2. Unlock your device the htcdev way. Visit http://www.htcdev.com and follow the instructions.
You can take a preview of all the steps in attached zip below.
3. Read this post by flashmaniac, http://forum.xda-developers.com/showpost.php?p=22494488&postcount=1
4. Read this post by happyhallsy8 http://forum.xda-developers.com/showpost.php?p=17233858&postcount=1
5. Uninstall the HTC sync application from your computer.
6. Download the adb and fastboot files attached below in fastboot-cmd.rar and extract this to the root of the C drive on your computer and rename the folder to Android.
You need to understand a few important terminologies before going forward:
1. Root: It is the basic file system of the android operating system on your device. This has all the important files and programs and drivers which make your device run. And to access this you need to have administrator privileges. Which is obtained by flashing a custom rom which gives you administrator privileges by default, or you need to flash superuser from a custom recovery and then install busy box.
2. Custome ROM: It is an installable zip archive which contains all essential programs and files found in the operating system released for your device by the manufacturer with some modifications so as to enhance the functionality according each individuals taste.
3. RUU/shipped ROM: RUU is an executable which re-installs the original manufacturer released version of the ROM onto your device.
4. Bootloader: It is the part of the firmware which resides in your device which runs the most basic function of starting the device and switches the control to the operating system once the bootstrap of the operating system has loaded on.
5. Locked bootloader: The device manufactures lock this firmware so that your device does not fail to boot and bad programs don't ruin the essential files.
6. adb: A program which can control your device when your device is connected to the computer through a USB cable.
7. cid: This is your manufacturer provided general hardware/firmware id.
8. Serial number: Unique identification number of your device.
9. Unlocking: Unlocking your device the HTCDEV way gives you ability to flash custom ROMS which are not authenticated by HTC and it does not enable you to flash custom kernels on to your devices.
10: Kernels: These are the files that determine how your device perfomes, so if you do not intend to meddle with your kernels, all you will ever need is unlocking the HTCDEV way
Click to expand...
Click to collapse
If you just want to flash a new ROM you do not need to s-off your device
S-off is required only to flash custom kernels​
The instructions for each different procedure are posted in a new post.
Continued in the next post.

Getting started... Up to flashing a rooted custom ROM
Now lets get started.
1. Unlock your device HTCDEV way. There are ways in which you can achieve S-OFF without unlocking your device first. Search for them in the forum. Unlocking HTCdev way has been shown to be consistently successful.
By unlocking HTCDEV way, you will loose all your personal data from your device, so please make a nandroid backup before doing this.
Also use any of the apps and contacts backup and restore apps available in the market and restore all your messages, contacts, apps and settings.
2. Download Clockworkmod recovery by clockworkmod. This tool is essential to flash any custom ROM. Copy this file to your adb folder on your cumputer, That is c:\android.
3. Download a fully rooted custom ROM like one from LeeDroid or any other custom ROM which is rooted.
4. Additionally you can download superuser rooting app.
5. Go to settings in your device, and select applications-->development-->check the USB debugging. Connect your device to your computer by USB cable.
6. Click start and run cmd prompt.
7. Enter the following code
Code:
cd\(Hit Enter button)
cd android(Hit Enter Button)
adb reboot bootloader(Hit Enter button)
The result will look like this.
{
"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"
}
8. Your device will boot into bootloader mode and it will show fastboot USB.
9. Now Enter this code
Code:
fastboot flash recovery cwm_4.0.1.4-shooteru.img
Wait for it to finish.
Once done, reboot your device.
Once rebooted, enter the code:
Code:
adb reboot recovery
You will enter the clockworkmod recovery.
10. Select the option mounts and storage.
next select mount USB storage.
Wait for your computer to recognize and install the driver, now copy and paste the superuser.zip which you downloaded earlier into the sdcard.
Also copy and paste the LeeDroid ROM which you downloaded into the root of your sdcard.
Right click your removable disk on the computer and select eject.
11. Select Unmount in the recovery on your phone. and then select go back.
12. Now on your computer, in the command prompt enter the following code
Code:
adb reboot recovery
13. Your device reboots into the recovery again.
14. Now select install zip from sd card.
then select choose zip.
Then choose the superuser zip and press power button to select.
Reboot the device normally and do the following.
Code:
adb shell (Hit enter, and you will see $, as shown below)
$su(hit enter)
#(Now you have to allow the superuser privileges on your device)
#exit(ENTER)
$exit(ENTER)
c:\Android>adb reboot(hit enter)
once the device is booted into android, visit the google play store, and search for busy box, download it and install, you will have root access.
Now your device is fully rooted.
15. Another way of rooting your phone is by flashing a pre-rooted rom. Download any Gingerbread rom which has been pre-rooted, copy that to your SD card, reboot into CWM recovery and select the rom you downloaded and flash it.
16. If the device gets stuck in the HTC white screen, then follow these steps.
a. Enter the following code in the command prompt.
Code:
adb reboot bootloader
Then go to the folder where you had downloaded the LeeDroid zip, you extract one particular file by the name boot (It is a .img type of file)
Now copy this file to the android folder in C:\ drive (C:\android)
Now in command prompt enter this code.
Code:
fastboot flash boot boot.img(Press enter)
fastboot reboot
You are done flashing a fully rooted custom ROM with latest superuser app.
Means you are fully rooted and unlocked and have a custom recovery through which you can flash any other ROM if you want to.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.

Downgrading your Hboot
Now that you have unlocked and got rooted, lets get your device S-off.
As I understand, till date this following way has been successful in getting your device HBoot down and achieve S-OFF, Important thing for that is to change your CID to a universal CID, that is HTC__001.​
I do not know that MY way will work for every device, you are welcome to try my way, for at least the unbranded devices.
There are two ways of changing your device cid.
1. Through fastboot. Open the command prompt, connect your device by USB cable, check USB debugging is enabled. and enter the following code
Code:
adb reboot bootloader
wait till your device enters bootloader and shows fastboot USB, now enter the following code.
a. For unbranded devices.
Code:
fastboot oem writecid HTC__001
fastboot oem lock
fastboot oem reboot bootloader
Please note that in the cid there are 2 underscores before 001.
b. For branded devices such as Vodafone.
Code:
fastboot oem writecid VODAP001
fastboot oem lock
fastboot reboot bootloader
You can even change that CID to HTC__001.
Once you have achieved S-OFF you can change your cid back to original.
2. Manually.
For this you need to download xvi32 hex editor from here
Extract this anywhere, run the xvi32 and open mmcblk0p31.img which you had copied to your device sdcard.
Now change the cid as shown in these pictures.
Initial
Changed
Now save the file.
For branded devices.
Initial,
Changed.
Now save the file and exit.
Now go to adb shell and do as shown:
After this you can check your cid and it will show the changed cid and software build number.
You will get best results if you do this before you flash the custom ROM.
Now you can downgrade the Hboot also in two ways, one is automated as demonstrated by flashmaniac in his thread and the other one is manual.
Downgrading flashmaniac's way does not require you to unlock your device the HTCDEV way.
1. Flashmaniac's way.
Download his tool (Makes sure there are step1.exe, step2.exe and step3.exe in the folder).
Extract the entire folder to root of C drive on your computer.
Run step1.exe
If do not get any errors run step2.exe
Then run the step3.exe
Wait for it to flash the European version of RUU onto your device.
This RUU/Rom.zip in the downloaded folder has the Hboot version 1.49.0007.
2. A little bit cumbersome and manual way of doing it,
Download the tools from Flashmaniac's thread. Extract the zip. Copy the mmcblk0p31.img to your sdcard.
Then run this code in adb. (Your device will be booted normally into android and USB debugging mode should be enabled)
Code:
c:\android>adb shell (Hit enter)
#dd if=/mnt/sdcard/mmcblk0p31.img of=/dev/block/mmcblk0p31 (Hit enter)
You will see copied successfully.
You might face problems here if you are not rooted fully or if your device is still locked.
Then you check the cid and if it shows non workable cid, then write the new cid and relock your device.
Code:
fastboot oem readcid
fastboot getvar cid
Code:
fastboot oem writecid HTC__001 (or)
fastboot oem writecid VODAP001
Code:
fastboot oem lock
Now boot your device into recovery:
Code:
fastboot reboot
adb reboot recovery
In your computer, from the tool folder downloaded from Flashmanic'c thread, rename the Rom.zip to PG86IMG
Copy this zip to your sdcard by mounting your sdcard in recovery.
Reboot into bootloader.
Code:
adb reboot bootloader
now check that your device bootloader shows as Relocked.
If it doesn't show Relocked.
Try this method to Relock it.
Code:
fastboot flash unlocktoken unlock_code.bin
YOU MIGHT HAVE TO RE-DO THE ENTIRE PROCESS OF HTCDEV WAY OF UNLOCKING AGAIN AT THIS POINT. WORKS 100% OF THE TIME
Accept the disclaimer by HTC and let it reboot.
Now pull the battery, and then reboot into bootloader by pressing volume down button and then pressing the power button.(You should keep the volume down button pressed till you boot into the bootloader)
Now relock your bootloader again.
Code:
fastboot oem lock (hit enter)
fastboot reboot-bootloader(hit enter)
Now your device will start reading the zip then it will check it for a signature and will ask you if you want to flash.
select yes by pressing the volume up button.
Let it finish.
You may see some error in the end, stating fail. Don't worry.
Just reboot your device.
You are done.
Now you have a Hboot version 1.49.007.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.

Now Finally to S-OFF
Finally the much awaited S-OFF
The need to do all the above steps was to finally arrive here.
It is essential to make sure that, your device has a Hboot 1.49.007.
The whole point of this tutorial up to here has been this.
There is one way getting S-OFF on your device, that is by using the revolutionary tool.
Visit http://revolutionary.io
Select the appropriate operating system.
The download will start as soon as you click on the operating system shown.
Enable USB debugging mode on your device and connect it to your computer by the USB cable.
Extract the downloaded zip from revolutionary site to your C drive.
Run the revolutionary.exe as administrator.
This will give you your device serial number.
Enter the serial number in the space given on the revolutionary.io site and copy the S-off code generated, and paste it your notepad.
For the revelotutionary tool to work you must have an identifiable software build number on your device (You can change that in mmcblk0p31.img with a hex editor).. Better still just flash the European ROM with Hboot 1.49.007.. This is safer and avoids problems while running the revolutionary tool.
Now type the code in the program.
Hit enter and wait for it to finish.
If something goes wrong, or if it says failed.
Then recheck your device's boot loader is locked.
And try again and again till you succeed.
The second way is just download this supertool by frigid and run it and you are done.
Now your device has been successfully S-OFF.
Reboot your device.
Copy which ever custom ROM you want to your device's sdcard.
copy any kernel you want.
Then flash them using the CWM recovery in the recovery.
Or use the fastboot commands to flash the kernels and ROMs as you like.
Hope This tutorial will benefit all the noobs as well as members who face problems while trying to S-OFF their devices.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.
Thank you guys.

For warranty issues you can revert back to your original version by following these steps​
Visit this thread
Download the appropriate RUU version for your region.
Make sure that you have your original cid written back on your device.
You can do this by entering the following code
Code:
//to check the current cid//
C:\android>fastboot oem getvar cid
//to change the cid//
C:\android>fastboot oem writecid HTC__044
//You must enter your device cid which you wrote down before you changed it//
Repeat these steps two to three times and reboot into bootloader and re_lock your device
Code:
C:\android>fastboot oem lock
Run the .exe and follow the onscreen instructions.
If this does not work, then, RUN THE .EXE FILE and do as described below.
When the RUU asks you accept, minimize the RUU/drag it down.
Start the task manager on your computer, go to processes, look for a process which has a name ARUwizard, right click on that and select go to location.
Now you can see a zip archive called rom.zip
Open that, and find the android-info.txt, extract it or just open it within winrar.
This will contain the cidnumber, note down the cidnum which was similar to your cid number, and note down the software build number.
Now make these changes in the mmcblk0p31.img with the help of xvi32 hex editor, copy back the file to your device in adb.
Instead, if you remember your original cid and software build number, you can write them back.
Please also remember to write the original cid of your device back in fastboot.
Copy that rom.zip to the root of your sd card, and then reboot into bootloader and flash it in bootloader.
Now reboot the device and run the RUU, once done, do the following.
Enter this code in fastboot:
Code:
fastboot oem lock
Remember to lock your device bootloader first, before writing the secureflag 3, If you don't lock the bootloader, you will brick your device.
Code:
fastboot oem write secureflag 3
fastboot reboot-bootloader
You will see that your bootloader is S-ON and shows RELOCKED.
You are done.

Just in case I fall short of space

Just in case one more

Thanks for this...I already have a custom recovery, and a fully rooted rom...awaiting S-OFF instructions...
I assume that your instructions will work for CID: VODAP021... with HBOOT: 1.49.0013
Thanks

Thanks - Is it worth trying the touch version of Clockworkmod recovery?
also there's no point flashing the superuser.zip and then flashing a rooted rom on top as the superuser.zip would only give root on the current rom - which is then overwritten by the rooted (leeroid) rom

sorry but this post is useless....
how to root is already explained... there are automated recovery flashers... there is an automatically way of gaining s-off.
you destroy the chance that people get the right tutorial on first try...
43D again.... you will never get S-OFF.
Lothaen said:
Thanks - Is it worth trying the touch version of Clockworkmod recovery?
Click to expand...
Click to collapse
No... it's buggy as hell.

Flashmaniac said:
No... it's buggy as hell.
Click to expand...
Click to collapse
that's a shame - worked perfectly on the HTC Desire

Flashmaniac said:
sorry but this post is useless....
how to root is already explained... there are automated recovery flashers... there is an automatically way of gaining s-off.
you destroy the chance that people get the right tutorial on first try...
43D again.... you will never get S-OFF.
No... it's buggy as hell.
Click to expand...
Click to collapse
This tutorial is not yet complete flashmaniac, this will give every possible way of getting s off. That's the point of this. If you don't mind... I will use your links here and will explain your automated way in the beginning. That is my intention.
Please wait till it is complete.
There are some workarounds, those will also be explained.

Flashmaniac said:
43D again.... you will never get S-OFF
Click to expand...
Click to collapse
BS you are the only one posting this...WTF IS YOUR ISSUE...tell me why or STFU!

4D3 said:
BS you are the only one posting this...WTF IS YOUR ISSUE...tell me why or STFU!
Click to expand...
Click to collapse
I am just telling you, that it is not possible. but try and try - you will know why I told you that a hundred times already
dryogeshd said:
This tutorial is not yet complete flashmaniac, this will give every possible way of getting s off. That's the point of this. If you don't mind... I will use your links here and will explain your automated way in the beginning. That is my intention.
Please wait till it is complete.
There are some workarounds, those will also be explained.
Click to expand...
Click to collapse
this will confuse people. there are plenty of none-working ways. now you add one more....
downgrading only works for the cid's that I listed on my thread...
edit: I see that you are advicing people to change their cid.
It usually does not work
if it is working you cannot lock the bootloader

Flashmaniac said:
I am just telling you, that it is not possible. but try and try - you will know why I told you that a hundred times already
this will confuse people. there are plenty of none-working ways. now you add one more....
downgrading only works for the cid's that I listed on my thread...
edit: I see that you are advicing people to change their cid.
It usually does not work
if it is working you cannot lock the bootloader
Click to expand...
Click to collapse
I have done that.. my cid wasn't listed, now I am s off. What do you say for that?

dryogeshd said:
I have done that.. my cid wasn't listed, now I am s off. What do you say for that?
Click to expand...
Click to collapse
As I said - usually it does not work. If there are RUU'S with CID's for your carrier and region you can change them but you cannot lock the bootloader. it says succesfull but stays unlocked

Flashmaniac said:
As I said - usually it does not work. If there are RUU'S with CID's for your carrier you can change them but you cannot lock the bootloader. it says succesfull but stays unlocked
Click to expand...
Click to collapse
There is a workaround for that as I have written dude..

dryogeshd said:
There is a workaround for that as I have written dude..
Click to expand...
Click to collapse
and what is if you CID is TELST001? right! it is not working and it will never work.
This is just one of a thousand examples.
I tried changing the CID with a guy that has TELST001, it has never worked.
never mind... go on with this.

If I downgrade hboot from 1.49.0018, to 1.49.0007, what I'm losing?

Flashmaniac said:
and what is if you CID is TELST001? right! it is not working and it will never work.
This is just one of a thousand examples.
I tried changing the CID with a guy that has TELST001, it has never worked.
never mind... go on with this.
Click to expand...
Click to collapse
Will update as and when I find out the workarounds for not supported cids..
This thread needs support from guys like you. Please wait till I finish the tutorial. You will see why I started this.

Related

Flash the boot.img FOR RUNNING my shipped phone

My problem:
http://forum.xda-developers.com/showthread.php?p=22444589
1) I cannot boot my phone, the best i can is going to the bootloader
2)USB debugging can't function since i can't boot my phone
My phone:
HTC EVO 3D GSM
Hboot 1.49.0012
LOCKED
S-ON
Thread I have read:
http://forum.xda-developers.com/showthread.php?p=22444589
http://forum.xda-developers.com/showthread.php?t=1372097
http://forum.xda-developers.com/showthread.php?t=1467293
In conclusion, I understand the following:
boot my phone to fastboot
(turn off first.make sure completely off, then press volume down and power button)
connect my phone to pc, open cmd.exe
Sth I dk how to use:
(fastboot flash boot [location of boot.img]\boot.img
5. EXTRACT the .zip file of the ROM that you are using that freezes.
6. Open the folder and copy the boot.img from that ROM
7. Paste that .img into the folder that has your adb and fastboot files for the Android SDK!
8. in terminal navigate to that folder, and do the following commands)
However, I would like to do a fastboot flash boot to solve the problem of stuck in HTC startup screen.
Difficulties: 1) .img file 2) command 3) would it "brick"? 4) KEEP SHIPPED
Targets: 1) Do not erase (mmssms.db) 2)mmssms.db backup and recovery 3) Functions my phone
Nokiawithandroid said:
My problem:
http://forum.xda-developers.com/showthread.php?p=22444589
Thread I have read:
http://forum.xda-developers.com/showthread.php?p=22444589
http://forum.xda-developers.com/showthread.php?t=1372097
http://forum.xda-developers.com/showthread.php?t=1467293
In conclusion, I understand the following:
boot my phone to fastboot
(turn off first.make sure completely off, then press volume down and power button)
connect my phone to pc, open cmd.exe
Sth I dk how to use:
(fastboot flash boot [location of boot.img]\boot.img
5. EXTRACT the .zip file of the ROM that you are using that freezes.
6. Open the folder and copy the boot.img from that ROM
7. Paste that .img into the folder that has your adb and fastboot files for the Android SDK!
8. in terminal navigate to that folder, and do the following commands)
However, I would like to do a fastboot flash boot to solve the problem of stuck in HTC startup screen.
Difficulties: 1) .img file 2) command 3) would it "brick"? 4) KEEP SHIPPED
Targets: 1) Do not erase (mmssms.db) 2)mmssms.db backup and recovery 3) Functions my phone
Click to expand...
Click to collapse
Are you CDMA sounds like your on hboot 1.5? I dunno are you gsm or CDMA?
I know CDMA users make sure you have a copy of your recovery in your adb folder...
Make sure debug is turned on
Then when your in hboot
and plugged into computer using adb...
Type
fastboot boot recovery.img
This way you can flash whatever you want rom wise without taking the boot.img out of it... Also wipe before you go flashing...... This won't brick you... Only way to brick which is hard to do is you would have to flash the wrong radios or be in the middle of a flash or radio flash and pull the battery or your battery dies.... A brick is a useless phone that won't turn back on....
No such thing as a soft brick either lol.. Those are called bootloops or aka stuck on splash screen.... As long as your phone boots to Hboot your safe...
reaper24 said:
Are you CDMA sounds like your on hboot 1.5? I dunno are you gsm or CDMA?
I know CDMA users make sure you have a copy of your recovery in your adb folder...
Make sure debug is turned on
Then when your in hboot
and plugged into computer using adb...
Type
fastboot boot recovery.img
This way you can flash whatever you want rom wise without taking the boot.img out of it... Also wipe before you go flashing...... This won't brick you... Only way to brick which is hard to do is you would have to flash the wrong radios or be in the middle of a flash or radio flash and pull the battery or your battery dies.... A brick is a useless phone that won't turn back on....
No such thing as a soft brick either lol.. Those are called bootloops or aka stuck on splash screen.... As long as your phone boots to Hboot your safe...
Click to expand...
Click to collapse
Sorry, update the status apologize for the mistakes
Any expertise?
Helpppppppppppppppp pleaseeeeeeeee!!!!!!!!!!!!!!!!!!!!! (((
Nokiawithandroid said:
My problem:
http://forum.xda-developers.com/showthread.php?p=22444589
1) I cannot boot my phone, the best i can is going to the bootloader
2)USB debugging can't function since i can't boot my phone
My phone:
HTC EVO 3D GSM
Hboot 1.49.0012
LOCKED
S-ON
Thread I have read:
http://forum.xda-developers.com/showthread.php?p=22444589
http://forum.xda-developers.com/showthread.php?t=1372097
http://forum.xda-developers.com/showthread.php?t=1467293
In conclusion, I understand the following:
boot my phone to fastboot
(turn off first.make sure completely off, then press volume down and power button)
connect my phone to pc, open cmd.exe
Sth I dk how to use:
(fastboot flash boot [location of boot.img]\boot.img
5. EXTRACT the .zip file of the ROM that you are using that freezes.
6. Open the folder and copy the boot.img from that ROM
7. Paste that .img into the folder that has your adb and fastboot files for the Android SDK!
8. in terminal navigate to that folder, and do the following commands)
However, I would like to do a fastboot flash boot to solve the problem of stuck in HTC startup screen.
Difficulties: 1) .img file 2) command 3) would it "brick"? 4) KEEP SHIPPED
Targets: 1) Do not erase (mmssms.db) 2)mmssms.db backup and recovery 3) Functions my phone
Click to expand...
Click to collapse
Seems to be conflicting information provided in the OP. Not sure the best route. Here is the information that seems to conflict, perhaps I misread?
1)If you're S-ON and LOCKED, I don't think you'll have access to use fastboot or any other HTC officially supported method of flashing the kernel. Normally, if you had previously unlocked the device to load a custom kernel and re-locked, it will show RELOCKED instead of LOCKED. Unless, you went the revolutionary route and then reflashed back to stock removing their S-OFF?
2) The kernel/boot partition will not touch the /data partition where (mmssms.db) is stored.
3) The device is pretty difficult to "brick". The common users you'll find claiming they have a brick, is generally due to their ignorance in not following proper directions to restore their device. Some find it easier to claim they "bricked" their device rather than do the proper research to resolve their issues.
4) The HTC splash screen freezing is generally either a bad/incompatible kernel or a bad/incompatible kernel/ROM combination. To fix either of this situations, the device will need to be UNLOCKED and/or S-OFF to allow write access to at least the kernel partition and, if needed, the system partition.
Hope that helps clarify some more!
joeykrim said:
Seems to be conflicting information provided in the OP. Not sure the best route. Here is the information that seems to conflict, perhaps I misread?
1)If you're S-ON and LOCKED, I don't think you'll have access to use fastboot or any other HTC officially supported method of flashing the kernel. Normally, if you had previously unlocked the device to load a custom kernel and re-locked, it will show RELOCKED instead of LOCKED. Unless, you went the revolutionary route and then reflashed back to stock removing their S-OFF?
2) The kernel/boot partition will not touch the /data partition where (mmssms.db) is stored.
3) The device is pretty difficult to "brick". The common users you'll find claiming they have a brick, is generally due to their ignorance in not following proper directions to restore their device. Some find it easier to claim they "bricked" their device rather than do the proper research to resolve their issues.
4) The HTC splash screen freezing is generally either a bad/incompatible kernel or a bad/incompatible kernel/ROM combination. To fix either of this situations, the device will need to be UNLOCKED and/or S-OFF to allow write access to at least the kernel partition and, if needed, the system partition.
Hope that helps clarify some more!
Click to expand...
Click to collapse
I am having something close to that issue. i have Hboot 1.49.0008 it is Unlocked but with s-On
now i can boot farther then the htc white. mine goes to the htc + quietly brilliant screen. then hits a boot loop.
what are my options and how do i do it?
thanks
joeykrim said:
Seems to be conflicting information provided in the OP. Not sure the best route. Here is the information that seems to conflict, perhaps I misread?
1)If you're S-ON and LOCKED, I don't think you'll have access to use fastboot or any other HTC officially supported method of flashing the kernel. Normally, if you had previously unlocked the device to load a custom kernel and re-locked, it will show RELOCKED instead of LOCKED. Unless, you went the revolutionary route and then reflashed back to stock removing their S-OFF?
2) The kernel/boot partition will not touch the /data partition where (mmssms.db) is stored.
3) The device is pretty difficult to "brick". The common users you'll find claiming they have a brick, is generally due to their ignorance in not following proper directions to restore their device. Some find it easier to claim they "bricked" their device rather than do the proper research to resolve their issues.
4) The HTC splash screen freezing is generally either a bad/incompatible kernel or a bad/incompatible kernel/ROM combination. To fix either of this situations, the device will need to be UNLOCKED and/or S-OFF to allow write access to at least the kernel partition and, if needed, the system partition.
Hope that helps clarify some more!
Click to expand...
Click to collapse
ok...then what can I do to fetch the data out or save my phone?
Nokiawithandroid said:
ok...then what can I do to fetch the data out or save my phone?
Click to expand...
Click to collapse
based on what has been said in the thread, you can flash a new system.img and that should give you access to the phone even if it starts FC like hell, all you need to do from there is to connect via adb backup the SMS database and continue with wiping everything and installing a new ROM (after you unlock of course)
just in case: once you get the system.img you need, apply it by typing
Code:
fastboot flash system [x:\path to file\]system.img
That should help you out.
megabiteg said:
based on what has been said in the thread, you can flash a new system.img and that should give you access to the phone even if it starts FC like hell, all you need to do from there is to connect via adb backup the SMS database and continue with wiping everything and installing a new ROM (after you unlock of course)
just in case: once you get the system.img you need, apply it by typing
Code:
fastboot flash system [x:\path to file\]system.img
That should help you out.
Click to expand...
Click to collapse
How can i flash the system.img? My phone isn't rooted or unlocked. It's totally original. Also, no way to get the debug or adb. The only connection I've got is the "fastboot usb" at the htc original bootloader.
Hopeless, right?
Nokiawithandroid said:
How can i flash the system.img? My phone isn't rooted or unlocked. It's totally original. Also, no way to get the debug or adb. The only connection I've got is the "fastboot usb" at the htc original bootloader.
Hopeless, right?
Click to expand...
Click to collapse
You posted this same question in a separate thread: http://forum.xda-developers.com/showthread.php?t=1525176
In an effort to keep the threads organized, I answered in that thread as follows:
Background on system.img: The system partition is generally only distributed in the system.img format for stock system images. Most aftermarket ROMs perfer to distribute their system content in the form of an update .zip file.
Background on bootloader: The system.img can't be flashed until you unlock the device. This is a standard security feature on any device with a "locked" bootloader, as yours shows from the information you posted.
One option: Once the bootloader is unlocked, the command should be as simple as: fastboot flash system c:\system.img
Hope that helps. Good luck!
Click to expand...
Click to collapse
Not sure how many times this can be repeated or how many different ways the same thing can be repeated. Without unlocking the device, HTC will not allow you to selectively modify any of the partitions from the bootloader or fastboot.
With these three conditions:
1) Without unlocking the device
2) Having the device freeze on the HTC splash screen
3) Never having previously loaded a custom recovery
The only option HTC provides is to run the RUU which will return the device to 100% stock erasing all information currently on the device.
If you're able to unlock the device (condition #1), you would be able to either flash a custom recovery (condition #3), or a stock/new system.img which would allow you access to the device where you can retrieving the stored SMS and MMS.
Using the stock RUU should resolve condition #2, if it didn't, there could be a more serious hardware issue with the device.
I might have missed some aspect. I'm sure somebody will post up if I did.
Hope that helps make more sense!

[Q] How to Root htc legend

Dear Memeber
i find that my htc legend is un rooted and i need to root it to install a room to it i try many ways i find other the internet and it doesn't success to do it so am look for how and the way to root it
and will be thankful for you
-Unlock the boot loader using HTCDev
-Use HTCSuperTools v3 to gain root access
-Flash ClockworkMod Recovery
-Flash any ROM you want.
These are the basic steps. I might write up an updated, more detailed guide for others when I get back to a computer.
Sent from my Legend using XDA
Go to http://www.htcdev.com/bootloader/
Register, select your device and unlock the bootloader
Get HTC Super Tools from
http://forum.xda-developers.com/showthread.php?t=1343114
Run it, do options 1 and 3, in that order, to root your phone
Get Clockwork Recovery Mod from
http://forum.xda-developers.com/showthread.php?t=1290841
Use 1st step for S-OFF method to install ClockworkRecovery
Boot into Recovery mode and take a backup of your ROM
Download the ROM of your choice and copy it to your SD card
Boot into Recovery Mode, do a data wipe/factory reset and a cache wipe
Select Install from zip in Recovery, navigate to your ROM in SD Card and install it. Hope this helps.
This is a long process, at least for the first timers. You may get stuck at various places, please let us know if you do
Unlock the boot loader using HTCDev
-Use HTCSuperTools v3 to gain root access
i download this two items and i try to root it but it dosen't work with me or maybe i did something wrong
what is the steps that i have to follow by using them
and thanks for your replies
Regards
sometimes it says like this
C:\Android>fastboot oem get_identifier_token
< waiting for device >
...
and it stuck for along time and nothing changed
and other times when i press power button for the fastboot it change to be like this
(bootloader) [ERR] Command error !!!
OKAY [ 0.008s]
finished. total time: 0.008s
C:\Android>fastboot oem get_identifier_token
...
FAILED (status read failed (Too many links))
finished. total time: 4.670s
All I can think of is that you should start again reading every step carefully.
Also, jc36 that's a great guide
Sent from my Legend using XDA
clarify jc36 clockwork recovery mod step
I need to clarify something important for the "Get Clockwork Recovery Mod step which says to follow the 1st step for S-OFF method to install ClockworkRecovery.
On the linked page http://forum.xda-developers.com/show....php?t=1290841
Where it says the following:
"How to use S-OFF user
Download file and move on adb fastboot folder"​
Does "move on adb fastboot folder" mean, put the file into the folder? And if so where is the folder?
There is no such folder: "adb fastboot folder"?
Does it mean:
1. put it in the Android folder created (C:\android) to hold the files instructed by HTC Dev for unlocking the bootloader?
2. Or put it in the android-sdk folder, somewhere? May be the Platform Tools folder where adb.exe exists?
Thanks to anyone who can help clarify this step for me
Yes it means put the recovery into the folder with adb.exe and fastboot.exe
Sent from my Legend using XDA
Thanks again
Thanks for clarifying that. As you can imagine I am a noob. It would be awesome if the brief procedure by jc36 could be expanded upon into an exact step-by-step (hand-holding) for all the noobs out there. Jumping back and forth between the forum links can get confusing -- especially some of the posts are old... leaving one wonder if the instructions are outdated etc!
May be I will do it if I get through this safely....
xdadufus said:
Thanks for clarifying that. As you can imagine I am a noob. It would be awesome if the brief procedure by jc36 could be expanded upon into an exact step-by-step (hand-holding) for all the noobs out there. Jumping back and forth between the forum links can get confusing -- especially some of the posts are old... leaving one wonder if the instructions are outdated etc!
May be I will do it if I get through this safely....
Click to expand...
Click to collapse
Brief is good although I do understand how a noob would want a step-by-step guide. In relation to date, none of the links I gave you were really outdated. The datestamp at the top of the thread might say '6th October 2011, 10:00 AM' but if you look at the bottom of the post it'll say something like 'Last edited by (username); 21st March 2012 at 09:32 AM' on threads/posts that get updated. Welcome to the Legend forums!
Further Clarification
I am continuing with my quest to clarify and document the whole jc36 procedure accurately.
1. After you have unlocked the bootloader are there any mode changes to be made before running SuperTools?
2. After running SuperTools, following the 1st step for S-OFF Clockwork Recovery Mod how do you put the phone into "fastboot" mode? Does the phone have to be disconnected again, powered down, restart with volume held down, highlighting Fastboot then press Power button and reconnecting to computer? Is this the procedure or is there another way while it still connected to the computer?
3. Continueing with Clockwork Recovery Mod code where it says:
"In fastboot mode:
Code:
adb reboot bootloader
fastboot flash recovery recovery_legend_5.0.2.8.img"​
I'm guessing the code above is for command prompt for the c:\android directory as done previously for HTC Dev unlocking of the bootloader?
Open up command prompt. ( Start> Run> Type CMD,).
Command Prompt: cd c:\Android)
Type in Command Prompt:
adb reboot bootloader
fastboot flash recovery recovery_legend_5.0.2.8.img
Correct?
4. After completing Clockwork recovery Mod it says to "Boot into Recovery mode and take a backup of your ROM" -- again do you disconnect the phone to do this and boot into the bootloader to select Recovery mode? And how to you backup? Is it to an SD card or is the phone connected to the computer to take the backup to your hardrive?
Thank you to all in advance who take the time to go over these questions.
1. By mode changes I'm assuming you mean something like enabling USB debugging which is definitely recommended.
2.You get into fastboot mode by rebooting into the bootloader (Hold volume down+trackball+power button). Fastboot is the first selected option so all you have to do is press the power button to choose it and then it will go into fastboot mode
3.Yes in command prompt you navigate to the folder that has adb.exe, fastboot.exe and the recovery image and then carry out those commands
4.If you've flashed a ROM that supports it then in phone options(hold down power button) you can select Reboot and then Recovery. Otherwise to get to recovery you would have to go through the bootloader. To backup you go to Backup and Restore in CWM and select Backup or alternatively you can use ROM Manager to do a backup. The phone doesn't have to be disconnected and the backups are made to the micro SD Card.
Sent from my Legend using XDA
run in to trouble at the beginning
I have run into an error with the command provided with HTC Dev Unlock Bootloader.
I have followed all instructions very carefully. When in command prompt I get this error after entering:
fastboot oem get_identifier_token
...
<bootloader> [ERR] Command error !!!
I am in the android directory in c:\android and have the three files there:
adb.exe
adbWinApi.dll
fastboot (which I extracted from an older version of SDK as instructed by HTC because it doesn't exist in the latest SDK software)
Is your phone connected with USB Debugging on and HTC drivers installed on your computer?
bootloader now unlocked successfully
I just flashed the RUU that HTC Dev recommended for my phone, the version it should have before attempting to unlock the bootloader.
My phone originally had this updated version anyway so I never updated it on my first attempt.
After reading the forums here for people having similar issues I flashed their recommended RUU for the Legend and from that point on the command in command prompt worked. I have now unlocked the bootloader ...
what about gapps?
I finally rooted my phone and flashed cm7.2 ROM successfully after some nail biting experiences... it is not as simple as the instructions posted earlier in this forum make it appear... There were some issues I ran into. I will post an explanation of how I resolved them soon.
What good is a new android ROM without essential Google apps? I know they are not packaged due to licensing but I can not find a reasonable explanation of how to get them on my phone. I thought it would be simple but it is not. Right now I can not download any apps...
I read the gapps packages should be installed during the flashing of the ROM... that point is missing from the instructions here! So what now? Do I have to run through the process of flashing the ROM again along with the gapps package this time?
I tried installing the latest Google Play app but it would not connect to the server -- whatever that means -- after entering in my google account.
Is there any way to get the apps downloaded directly to my computer so I can copy them to the SD card? I did find a couple of solutions to do this but you need to enter google account details and some id number for the phone which I can not find... what is the identifier for the phone and where?
Any assistance on this would be greatly appreciated because at this point the whole new fresh ROM is useless...
You can flash GApps at any time. Whether it's during installation, right after first boot, or years later. Make sure you flash the appropriate .zip.
You can use APK Downloader to get them straight from the Play Store to your computer in .APK format.
http://codekiem.com/2012/02/24/apk-downloader/
All the latest Gapps packages can be found here. Use the 'gapps-gb-20110828-signed.zip' package if you're running Gingerbread and 'gapps-ics-20120429-signed.zip' if you're running ICS.
I need a bit more help please!
I have had the legend for ages and wanted to breath new life into it. I am using a ssensation as my everyday phone and that was a doddle to root compared to this!
I have gotten as far as flashing recovery. I dl'd the S-OFF .img from here and placed it in my adb folder. I tried running the adb command and only got as far as
"fastboot flash recovery" when
"error: neither -p product specified or ANDROID_PRODUCT_OUT set" shows up.
Any help? the HTCdev and Supertools seemed to go flawlessly for me. My HBOOT was 1.01 and HTCdev changed it to 1.02. It also now has *** LOCKED (OOW) *** at the top. I'm still S-ON too. What's going wrong? There is no su app in the app drawer like there was when I rooted my sensation. do I have to start over? any help would be great!
icanttinkofaname said:
I need a bit more help please!
I have had the legend for ages and wanted to breath new life into it. I am using a ssensation as my everyday phone and that was a doddle to root compared to this!
I have gotten as far as flashing recovery. I dl'd the S-OFF .img from here and placed it in my adb folder. I tried running the adb command and only got as far as
"fastboot flash recovery" when
"error: neither -p product specified or ANDROID_PRODUCT_OUT set" shows up.
Any help? the HTCdev and Supertools seemed to go flawlessly for me. My HBOOT was 1.01 and HTCdev changed it to 1.02. It also now has *** LOCKED (OOW) *** at the top. I'm still S-ON too. What's going wrong? There is no su app in the app drawer like there was when I rooted my sensation. do I have to start over? any help would be great!
Click to expand...
Click to collapse
You do see the words "locked"? that means its "locked" you need to follow the steps provided by htcdev in the email they would have sent you including the unlock.bin file with out those steps you can't do anything, its like its still not rooted.
Sent from my Legend using XDA

[GUIDE] Drumz0rz's Complete Guide to Rooting your DNA

I know there are other threads out there that offer exactly what this does, but even with those, I think it can still be a bit tricky to figure out what to do if you're looking to root and modify your phone. I made this thread to collect everything I've done in one place. This should make everything very straightforward and basically n00b-proof.
I take no credit for any of this work. Please thank all the hardworking devs!
**Following all of these steps will WIPE all data from your phone. Backup before beginning. While these should all be safe, there's always the possibility of bricking your phone. I take no responsibility if you do.**
What you'll need:
USB Cable
USB port
HTC Droid DNA (without the OTA update!)
PC running Windows
Glass of Orange Juice (for the Vitamin C!)
**All of this shouldn't take more than 30 minutes but just in case, make sure your phone has at least a 70% charge.**
Preparing (Installing SDK, Setting PATH, testing ADB)
I highly recommend creating a directory on the root of your C: drive on your PC to hold ALL related files. I called mine "android" but you can call yours whatever you'd like. Whenever issuing any ADB command, make sure you navigate to this folder first.
1. Connect your phone to your computer. One of the pop ups will ask to install HTC Sync. Install this to install the drivers onto your computer. Once installed, you can go into your Add/Remove Programs and uninstall the HTC Sync software if you want.
2. Enable USB Debugging in your HTC Droid DNA from the path “Settings > Applications > Development > USB debugging”. The option of USB Debugging should be ticked.
2. Download the latest version of the Android SDK to your PC here.
3. Extract the files to your PC (I recommend something easy like C:\android)
4. Run the SDK Manager and uncheck everything but the Platform Tools and install
5. Add the SDK tools to your system PATH file by doing the following:1. Simultaneously hold down the Windows Key + R
2. type 'sysdm.cpl' into the run dialogue box and click OK
3. On the system properties window that just opened, click on the 'advanced' tab. Then click on 'Environment Variables'
4. Scroll down through the System variables until you find the PATH. Click 'Edit', then add ';C:\android' (or whatever you named your folder) to the end of the line
5. Click OK and close the open windows.​6. Test ADB by connecting your phone to your PC then:1. Open a new command prompt window by pressing Windows+R and typing "cmd" into the box
2. Type 'adb devices' and press enter. You should see your phone's UID listed.
If it says adb devices is not a recognizable command then you didn't setup your PATH correctly
If it says <waiting for device> then your missing the drivers or you didn't enable USB debugging. Try rebooting, and if it still doesn't show, reinstall HTC sync.
Other Tips
You can download all the files necessary at the beginning and do everything through ADB.
Always check the MD5-hash after downloading a file. If they don't match, the download is corrupt and you should try again. I use this simply tiny, no-install MD5 checker.
Always Test after each install to ensure it is working properly. Don't just string all of these together without rebooting once. Bad things might happen and you'd have no idea what's causing it.
You can reboot your phone into the bootloader by either issuing the command "adb reboot bootloader" or pressing and holding the PWR and VOL DN buttons simultaneously when you reboot your phone.
From the bootloader you can enter recovery or you can issue the command "adb reboot recovery"
If your command prompt hangs pressing Ctrl+C will break out of the running command.
Some useful command prompt (DOS) commands:
cd - change directory (ie. 'cd C:\android' will change to the 'C:\android' directory)
cd .. - moves up one directory level
dir /p - lists files within the current directory
Unlocking Bootloader
The next step is to unlock the bootloader. The best method right now is provided by jcase. NOTE: Don't install the OTA update or you won't be able to do this!Step 1: Get SuperCID
Full instructions can be found here.
1. Download .apk from link above.
2. Run the app
3. Run the following Commands via ADB
Code:
adb reboot bootloader
(wait for phone to reboot into bootloader)
fastboot oem readcid
If you see 22222222 you're good to proceed. If you see anything else, reboot the phone and try again.
Step 2: Unlock via HTC Dev site
Go to the HTC Developer website and carefully follow the instructions. They're very straight forward.
When completed you'll have unlocked the bootloader. You'll see a new warning on the splash screen and the bootloader will say *tampered* at the top.​Install Custom Recovery
You can choose either ClockworkMod (my preference) or TWRP recoveries.
1. Download the latest version of your preferred recovery. rename it "recovery.img"
2. Using ADB issue the following commands
Code:
adb reboot bootloader
(once the phone reboots into the bootloader)
fastboot flash recovery recovery.img
(once installation is complete)
fastboot reboot
Now you'll have a custom recovery, and can make a full nandroid backup (recommended!).
S-OFF
Full instructions can be found here. beaups did an excellent job writing this up so it would be pointless for me to reproduce here.
Root / Custom ROM
Choose any ROM you'd like. I prefer Team Venom's ViperDNA. I'll use that as the basis for the next steps.
1. Download the full ROM found in the second post in the above link to your phone.
2. Reboot into recovery
3. Select "install zip from sdcard" and choose the ROM .zip file mentioned above. Follow the instructions on screen.
Note: If you choose a different ROM make sure it either includes a kernel that supports system write or you have to install one first by doing the following. Also, if you have WiFi issues after flashing the ROM follow these steps to reinstall the kernel.Installing the Kernel
1. Download a Kernel (such as dsb's Cubed Kernel)
2. Unzip the file and copy the modules.zip file to your phone.
3. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot flash boot boot.img
(once complete)
fastboot reboot recovery
The phone will reboot into recovery, at which point you should flash the modules.zip​ENG HBOOT
This is *Optional* and allows for additional ADB commands to be used.
1. Download the HBOOT-8064 file found here. (thanks to fnoji111 and Argumentation)
2. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to the black HTC screen)
fastboot flash zip PL83IMG.zip
(once complete)
fastboot reboot
Mods
These are some mods I found to be essential.Remove the Splash Screen disclaimer
Full instructions can be found here.
1. Go to the above link and download the RegawMOD tool (first post) AND the Droid DNA ENG Hboot plugin (2nd post).
2. Make sure the plugin is in the same folder as the tool.
3. Customize it how you'd like. I chose to replace the disclaimer with my own, that basically reads
If Found, Please Return to
*Drumz0rz*
*My Home Phone Number*
Click to expand...
Click to collapse
4. When you're finished press "Create ZIP" and save the file.
5. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to black HTC screen)
fastboot flash zip <YourZipName>.zip
(once complete)
fastboot reboot
Now you should have a fully unlocked S-OFF custom ROM, custom Kernel, HBOOT Droid DNA! I hope this helps!
Will this method work for new ota ?
Sent from my HTC6435LVW using xda premium
No, it's just a summary of what's out there. When someone releases a new method to unlock the bootloader I'll update it.
Thank you, when I rooted using the guide linked from one of the sticky posts most of the links were dead, so it is nice to have this.
One suggestion - perhaps include the steps to finish up for those that want to stay on stock rom but be rooted.
drumz0rz said:
No, it's just a summary of what's out there. When someone releases a new method to unlock the bootloader I'll update it.
Click to expand...
Click to collapse
Thanks def look forward to that
Sent from my HTC6435LVW using xda premium
Thanks! Having these steps in a simple guide saved me a good bit of time.
Minor confusion on "Installing the Kernal". I extracted Cubed.Stock.System.Write.zip, flashed boot.img, then flashed Modules.zip in recovery. From the guide, does renaming the package to boot.img work as well?
Lastly, I'm not sure if you want to include flashing/loading ViperDNA's OTA updates.
Is there a way to factory reset phone and eliminate OTA update? I'm assuming no but never hurts to ask....
Sent from my HTC6435LVW using xda app-developers app
John58543 said:
Is there a way to factory reset phone and eliminate OTA update? I'm assuming no but never hurts to ask....
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
No
Sent from my HTC6435LVW using xda app-developers app
steventrev said:
Thanks! Having these steps in a simple guide saved me a good bit of time.
Minor confusion on "Installing the Kernal". I extracted Cubed.Stock.System.Write.zip, flashed boot.img, then flashed Modules.zip in recovery. From the guide, does renaming the package to boot.img work as well?
Lastly, I'm not sure if you want to include flashing/loading ViperDNA's OTA updates.
Click to expand...
Click to collapse
As in renaming the zip? No, you need to do what you said, I left out the flashing the modules. I'll fix that, thanks.
Detailed guide, one question what if you don't have orange juice and want to use Gatorade as a substitute?
Sent from my HTC6435LVW
I'm no nutritionist but I think those two serve very different purposes. Now if you want to substitute it for a glass of say whiskey... that I think is more than acceptable.

[Q] Question about rooting

So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.
none
I would start over. The posts on how to root are very good. There are also youtube videos you can watch. It really is very easy to root this device. if nothing else load a program called team viewer on your computer and I will root it for you, but I want you to try first. You will use something called rumrunner. PM me if you need help
AlphaMons said:
So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.
Click to expand...
Click to collapse
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.
Are you on hboot 2.49
statmonkey said:
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.
Click to expand...
Click to collapse
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<
mrkrowely said:
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<
Click to expand...
Click to collapse
Really an excellent post it's nice to have all that in one place. I also was unable to get rumrunner to work and have used firewater quite successfully (which was part of what I was trying to point out above). Also, I was unable to get HTCdev to unlock my phone. That may or may not be about me. I am a Linux person and I think I might have had the wrong adb/fastboot at the time. The one in the android sdk did not work for me but for anyone on LInux who is interested the one in this link did http://forum.xda-developers.com/htc-one-max/help/andrenaline-rom-constant-reboot-t2853591
Once again, excellent summary, I will be bookmarking this for later.
I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!
bryanfritz1 said:
I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!
Click to expand...
Click to collapse
As far as I am aware firewater still works. I used it just a few days ago and just saw a post today http://forum.xda-developers.com/htc-one-max/help/gain-s-off-t2849836 although he doesn't clearly state that he was using sense 6,

ROOT the M9 *Tested and working*

First you must be HTCDEV unlocked. This will wipe data. You need ADB installed personally I use minimal adb fastboot
Step 1: Go to htcdev.com/bootloader, make sure you’re registered with HTC. Once the process of signing up is complete, log into HTC Dev. Also, make sure HTC Sync Manager is installed on your PC.
Step 2: Select your device from the Unlock Bootloader page. Select the “All Other Supported Models” as shown in the screenshot below. Click “Begin Unlock Bootloader” and confirm all dialogue boxes on screen that are presented to you.
Step 3: Now, you’re going to be presented with a series of four steps to put your device in bootloader mode: Disconnect the device from PC, turn it off completely, press and hold Volume Down button and the Power button to start the device in Bootloader mode.
Step 4: Once you’re into the bootloader mode, use the device’s volume keys to select the download mode option and press power button to confirm. At this point, you’ll need to connect your HTC One M9 to your computer via USB cable.
Step 5: Now on your PC, go to fastboot folder, hold down your keyboard’s shift key and click on any empty space and then click on “Open command window here.”
Step 6: Type in fastboot devices in the command prompt window and press enter. If your drivers are installed correctly, then your HTC One M9 should show up in the command prompt.
Note: if you don’t see your device, don’t panic, reinstall HTC Sync Manager, restart your computer and try again.
Step 7: On page 3 of HTC Dev’s website, click on “Proceed to Step 8”. Follow the listed steps all the way to Step 10 and click on Submit. HTC will mail you your unlock token for your device. Download the token, it should be named “Unlock_code.bin” and then should be placed in your fastboot folder.
Step 8: Now back to the command prompt window, type the following: fastboot flash unlocktoken Unlock_code.bin
Step 9: On your device you’ll get a message saying if you want to unlock your bootloader. Use the volume keys to select your choice, and hit the power button to confirm. Once you’re done, your device will restart and you’ll have an unlocked bootloader.
From there you need to install a custom recovery (TWRP)
Follow instructions in this thread http://forum.xda-developers.com/one-m9/orig-development/recovery-twrp-touch-recovery-t3066720
CREATE A FREAKING NANDROID BACKUP RIGHT NOW. According to some recognized members of the community, HTC updates only work on an unmodified system. If you ever want to receive official updates from HTC, you HAVE to create a NANDROID RIGHT NOW. Do it. I'll wait.
Then you will need to install Chainfires superuser beta 2.45 http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
These are not my threads just pointing you in the right direction. If someone wants to make a more detailed version I would not oppose.
wytecaztle said:
First you must be HTCDEV unlocked. This will wipe data. You need ADB installed personally I use minimal adb fastboot
Step 1: Go to htcdev.com/bootloader, make sure you’re registered with HTC. Once the process of signing up is complete, log into HTC Dev. Also, make sure HTC Sync Manager is installed on your PC.
Step 2: Select your device from the Unlock Bootloader page. Select the “All Other Supported Models” as shown in the screenshot below. Click “Begin Unlock Bootloader” and confirm all dialogue boxes on screen that are presented to you.
Step 3: Now, you’re going to be presented with a series of four steps to put your device in bootloader mode: Disconnect the device from PC, turn it off completely, press and hold Volume Down button and the Power button to start the device in Bootloader mode.
Step 4: Once you’re into the bootloader mode, use the device’s volume keys to select the download mode option and press power button to confirm. At this point, you’ll need to connect your HTC One M9 to your computer via USB cable.
Step 5: Now on your PC, go to fastboot folder, hold down your keyboard’s shift key and click on any empty space and then click on “Open command window here.”
Step 6: Type in fastboot devices in the command prompt window and press enter. If your drivers are installed correctly, then your HTC One M9 should show up in the command prompt.
Note: if you don’t see your device, don’t panic, reinstall HTC Sync Manager, restart your computer and try again.
Step 7: On page 3 of HTC Dev’s website, click on “Proceed to Step 8”. Follow the listed steps all the way to Step 10 and click on Submit. HTC will mail you your unlock token for your device. Download the token, it should be named “Unlock_code.bin” and then should be placed in your fastboot folder.
Step 8: Now back to the command prompt window, type the following: fastboot flash unlocktoken Unlock_code.bin
Step 9: On your device you’ll get a message saying if you want to unlock your bootloader. Use the volume keys to select your choice, and hit the power button to confirm. Once you’re done, your device will restart and you’ll have an unlocked bootloader.
From there you need to install a custom recovery (TWRP)
Follow instructions in this thread http://forum.xda-developers.com/one-m9/orig-development/recovery-twrp-touch-recovery-t3066720
Then you will need to install Chainfires superuser beta 2.45 http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
These are not my threads just pointing you in the right direction. If someone wants to make a more detailed version I would not oppose.
Click to expand...
Click to collapse
Does using the HTC DEV unlock void our HTC 1 year warranty we receive? I am assuming yes....
tws101 said:
Does using the HTC DEV unlock void our HTC 1 year warranty we receive? I am assuming yes....
Click to expand...
Click to collapse
Yes but you can re-lock your device if needed. I do not think there is a way yet to put stock recovery back on.
No RUU is out yet.
You should read the other threads in the M9 forum and add the info here from there regarding OTA impact to rooting and what users should to to be able to take regular OTA if they root and end up mounting system r/w at some point...
tws101 said:
Does using the HTC DEV unlock void our HTC 1 year warranty we receive? I am assuming yes....
Click to expand...
Click to collapse
No it does not...
I've been able to HTC Unlock, but I can't flash TWRP. When I try "fastboot flash recovery TWRP-Recovery-2.8.6.0-Hima-CPTB.img" from download mode it says:
Code:
FAILED (remote: 35: SD_PARTITION_NOT_SUPPORT receovery)
And when I try "fastboot flash recovery TWRP-Recovery-2.8.6.0-Hima-CPTB.img" from bootloader I get:
Code:
FAILED (remote: cannot flash this partition in s-on state)
So how am I supposed to flash the recovery?
m03sizlak said:
I've been able to HTC Unlock, but I can't flash TWRP. When I try "fastboot flash recovery TWRP-Recovery-2.8.6.0-Hima-CPTB.img" from download mode it says:
Code:
FAILED (remote: 35: SD_PARTITION_NOT_SUPPORT receovery)
And when I try "fastboot flash recovery TWRP-Recovery-2.8.6.0-Hima-CPTB.img" from bootloader I get:
Code:
FAILED (remote: cannot flash this partition in s-on state)
So how am I supposed to flash the recovery?
Click to expand...
Click to collapse
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery TWRP.img (TWRP.img represents recovery file’s name, whatever that be)
This worked for me no problem at all. Make sure device is connected to adb and you have usb debugging on.
Yes I have a Sprint M9.
Try and change the recovery name to just twrp.IMG
See if that works.
Are you in download mode? That is the new fastboot
m03sizlak said:
Yeah it doesn't. Recovery will not flash in download mode nor bootloader mode. And yes it is UNLOCKED via HTC method.
Click to expand...
Click to collapse
I saw your post in the other thread that you finally got the recovery flashed. That is good.
wytecaztle said:
I saw your post in the other thread that you finally got the recovery flashed. That is good.
Click to expand...
Click to collapse
Yes apparently helps if you are able to spell recovery correctly. Now that it's rooted need a boot.img with a writable /system. As currently I don't believe changes to system will persist.
Soon. I popped over to the other M9 international thread to see if there was a dev willing to port. He said maybe. So maybe sooner than later.
Hey everyone!! Im have a small problem, I got the twrp recovery installed OK but im have a problem getting root installed.. I have the superuser zip on the root of my internal Sd card but still no go. I have a Sprint One M9
Edit.... Im going to try to install TWRP. 2.8.5.0 I read somewhere that the newest version won't mount system to read and write just read only....
I got root!!
Got it all done but TWRP fails on backup for some reason......? Error starts with E:/.....
Bikegeek said:
Got it all done but TWRP fails on backup for some reason......? Error starts with E:/.....
Click to expand...
Click to collapse
Follow instructions here. http://forum.xda-developers.com/one...h-recovery-t3066720/post59759441#post59759441
Yup, found that and used 2.8.6.3 and all is well. Thanks.
data preload directory
In the past with both the M7 and the M8, when you unlocked the device from HTCDev and it wiped the device, it also wiped files in the /data/preload directory, which usually contained a calculator app, and some images for mail customization.
The only way to ever get those files back was to later run an RUU once rooted, and copy the directory contents at that point for backup.
I wanted to know if anyone knows if this is still the case with the M9?
Looks like everything is still in place.
wytecaztle said:
Looks like everything is still in place.
Click to expand...
Click to collapse
Does that mean you can see /data/preload and its contents in a file manager? That would be encouraging because that would mean they have fixed a long standing bug in their unlocking process and reset process.
PillowMetal said:
Does that mean you can see /data/preload and its contents in a file manager? That would be encouraging because that would mean they have fixed a long standing bug in their unlocking process and reset process.
Click to expand...
Click to collapse
Preload stuff will be there still... It's on a different partition now and thus not lost when unlocking like before on M8.

Categories

Resources