Related
Hi,
I'm new here, I searched the forum but didn't find answers.
I have a rooted HTC Legend with CM 7, but I'm trying to understand the logic behind the rooting process.
The main questions are:
1. (Correct me if I'm wrong) I noticed that "step1-windows.bat" script is flashing a testimage.zip, which appears to be a RUU 1.31 (with rooted recovery).
In this case, If it installs RUU 1.31, why do you have to install the RUU_Legend_HTC_WWE_1.31....exe before that?
2. Why do you need to install HTCSync 2.0.33 (Old version) instead of the new HTCSync before the actual rooting process?
3. When I have a 2.1 un-rooted device with 0.43 HBOOT, can I follow the "Already OTA updated with HBOOT 1.00" section of the following guide, to root the phone instead of the regular method?
(I know it says "Already OTA updated with HBOOT 1.00", but I thought to myself that if it works with HBOOT 1.0, why shouldn't it work with HBOOT 0.43)
Many thanks
I un-rooted my phone, and then I managed to root my phone without using the RUU 1.31 exe, and without using step2-windows.bat...
then I used a fake flash CWM recovery to flash CM7 rom (so I didn't even need to install htcsync 2, because the phone wasn't connected to the computer at this point) (p.s. in this whole process I didn't use a GC and it worked just fine, maybe because I didn't run the RUU exe?)
anyway, I'm confused.. why advanced users wrote in all the root guides to install the ruu 1.31 exe, and running step2-windows.bat if it wasn't necessary?
I'm the only one replying to this post
Anyway, here are the steps I did to root my phone successfully: (In my opinion it's easier than the regular methods)
1. Verify the newest HTCSync is installed on your computer (http://www.htc.com/uk/SupportDownload.aspx?p_id=313&cat=3&dl_id=1073)
2. Connect your phone to the computer as a removable storage
3. Go to Settings->Applications->Development , and verify “USB debugging” is checked
4. Download the fake flash and put it on your SD card (http://www.mediafire.com/?jtzjvxjemzx)
5. Download a Custom ROM of your choice and put in on your SD card (Recommended is CM7: http://download.cyanogenmod.com/get/update-cm-7.0.0-Legend-signed.zip)
6. Download and UnRAR rooting tools to C:\root (http://www.megaupload.com/?d=UZBQOFKM)
7. Open CMD on your computer (Start Menu->Run->CMD) and run the following:
a. c: & cd\root & crackin.bat
8. After it’s done verify you see the following line: “crwxrwxrwx … /dev/mtd/mtd0”
(If you don’t – try to re-run the command)
9. Turn off your phone and turn it on by pressing the “power” button combined with the “back” button
(Verify you see on a “Fastboot” line with red background)
10. Open CMD on your computer (Start Menu->Run->CMD) and run the following:
a. c: & cd\root & step1-windows.bat
11. Once the phone is back up – unplug your phone from your computer
12. Navigate using the volume buttons to “BOOTLOADER” and select it by pressing the “power” button, then navigate to “RECOVERY” and select it the same way
13. Once in recovery (black background with red triangle), press “volume-up” button combined with the “power” button, and then navigate using the volume buttons to “Apply sdcard:update.zip” and select it by pressing the “power” button
14. You should see a new menu – use the optical touch button to navigate and press it to select the following:
a. wipe data/factory reset
a. wipe cache partition
15. Use the optical touch button to navigate and press it to select “install zip from sdcard”:
b. Select “choose zip from sdcard” and then select the custom ROM you’ve placed on the sdcard
16. Use the “power” button to go back, and select “reboot system now”
(Did all the above without a GC in my phone - and I have a branded phone)
It would be great if some experts could comment on it thanks
Great tutorial ! But......................
I almost got it to work but on the recovery screen, apply sdcard:update.zip
i get
................
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Installation Aborted
HBoot 0.43.0001 , android 2.1update-1
Got it working , i did have to downgrade to 2.1 and i used this tutorial http://forum.xda-developers.com/showthread.php?t=823625
zerodi said:
Great tutorial ! But......................
I almost got it to work but on the recovery screen, apply sdcard:update.zip
i get
................
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Installation Aborted
HBoot 0.43.0001 , android 2.1update-1
Got it working , i did have to downgrade to 2.1 and i used this tutorial http://forum.xda-developers.com/showthread.php?t=823625
Click to expand...
Click to collapse
Hi,
Thanks for the feedback.
Running cracking.bat and step1 have worked?
[Cause I think I got this error only when I tried to run the update.zip without doing step1 (Which I think is responsible for rooting the recovery)]
and what do you mean by downgrade to 2.1? Did you mean running the 1.31 RUU?
i have been trying to root my phone for about 3 days now . i have so many damn files and pages and websites going i am NOW totally confused .
who on these boards has an easy to understand step 1 through whatever to ROOTED tutorial ?
please i am begging for this !
Cheers
below didnt work for me ..
I never get this
After it’s done verify you see the following line: “crwxrwxrwx … /dev/mtd/mtd0”
failed over and over again .
I'm the only one replying to this post
Anyway, here are the steps I did to root my phone successfully: (In my opinion it's easier than the regular methods)
1. Verify the newest HTCSync is installed on your computer (http://www.htc.com/uk/SupportDownloa...t=3&dl_id=1073)
2. Connect your phone to the computer as a removable storage
3. Go to Settings->Applications->Development , and verify “USB debugging” is checked
4. Download the fake flash and put it on your SD card (http://www.mediafire.com/?jtzjvxjemzx)
5. Download a Custom ROM of your choice and put in on your SD card (Recommended is CM7: http://download.cyanogenmod.com/get/...end-signed.zip)
6. Download and UnRAR rooting tools to C:\root (http://www.megaupload.com/?d=UZBQOFKM)
7. Open CMD on your computer (Start Menu->Run->CMD) and run the following:
a. c: & cd\root & crackin.bat
8. After it’s done verify you see the following line: “crwxrwxrwx … /dev/mtd/mtd0”
(If you don’t – try to re-run the command)
9. Turn off your phone and turn it on by pressing the “power” button combined with the “back” button
(Verify you see on a “Fastboot” line with red background)
10. Open CMD on your computer (Start Menu->Run->CMD) and run the following:
a. c: & cd\root & step1-windows.bat
11. Once the phone is back up – unplug your phone from your computer
12. Navigate using the volume buttons to “BOOTLOADER” and select it by pressing the “power” button, then navigate to “RECOVERY” and select it the same way
13. Once in recovery (black background with red triangle), press “volume-up” button combined with the “power” button, and then navigate using the volume buttons to “Apply sdcard:update.zip” and select it by pressing the “power” button
14. You should see a new menu – use the optical touch button to navigate and press it to select the following:
a. wipe data/factory reset
a. wipe cache partition
15. Use the optical touch button to navigate and press it to select “install zip from sdcard”:
b. Select “choose zip from sdcard” and then select the custom ROM you’ve placed on the sdcard
16. Use the “power” button to go back, and select “reboot system now”
(Did all the above without a GC in my phone - and I have a branded phone)
It would be great if some experts could comment on it thanks
Click to expand...
Click to collapse
Timothye said:
I never get this
After it’s done verify you see the following line: “crwxrwxrwx … /dev/mtd/mtd0”
failed over and over again .
Click to expand...
Click to collapse
Same questions over and over...
You ain't gonna get this, cause your Legend is running HBOOT > 1.XX
You need use VISIONary and temproot: http://forum.xda-developers.com/showpost.php?p=11863394&postcount=2
Still, I agree that all the info on how to root the Legend is a bit fragmented.
zerodi said:
Great tutorial ! But......................
I almost got it to work but on the recovery screen, apply sdcard:update.zip
i get
................
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Installation Aborted
HBoot 0.43.0001 , android 2.1update-1
Got it working , i did have to downgrade to 2.1 and i used this tutorial http://forum.xda-developers.com/showthread.php?t=823625
Click to expand...
Click to collapse
Did you run step1-windows.bat with a GoldCard in your phone?
Because I've found that only phones with the following CIDs won't need a GC (I have K18 and that's why I didn't need a GC):
cidnum: HTC__032
cidnum: HTC__A07
cidnum: HTC__K18
cidnum: HTC__N34
cidnum: HTC__Y13
cyRq said:
Same questions over and over...
You ain't gonna get this, cause your Legend is running HBOOT > 1.XX
You need use VISIONary and temproot: http://forum.xda-developers.com/showpost.php?p=11863394&postcount=2
Still, I agree that all the info on how to root the Legend is a bit fragmented.
Click to expand...
Click to collapse
ok im a totally new to this stuff ,please be patient ...
now this morning i am "STILL " trying to root my phone .
installed VISIONary+ , made a temp root , lost on reboot . got permanent root . but again seems to be lost when opening clockworkmod , " must root your phone" or some message like this .i dont remember exactly the words .
i have superUser
i have clockworkmod install
VISIONary+
everytime i try to run the update i receive the error . Signature failed .
am i doing this correct .
im trying to install CM 7 from clockwork mod . in recovery mode i think you guys are calling it .
then i get "Signature failed" .
Any help .
Cheers
Never tried the method posted in this topic, and I I'm assuming that's what you're trying. Have you created a goldcard? Is you're Legend branded?
Do a search and you'll find all the info you need.
Sent from my HTC Legend using XDA Premium App
I got a big problem ! I brought another Legend,
On the Fastboot screen or the Hboot screen the Volume and power buttons do nothing, i cant select recoervy !! Oh lala
What can i do, i cant get into anything,
S-on
Hboot-0.43.0001
Microp-0816
touch panel-syn07_0105
radio 7.08.35.21
feb 18 2010
zerodi said:
I got a big problem ! I brought another Legend,
On the Fastboot screen or the Hboot screen the Volume and power buttons do nothing, i cant select recoervy !! Oh lala
What can i do, i cant get into anything,
S-on
Hboot-0.43.0001
Microp-0816
touch panel-syn07_0105
radio 7.08.35.21
feb 18 2010
Click to expand...
Click to collapse
Until you get this fixed, on CM (which your signature implies you have) when you reboot the device you can choose normal/bootloader/recovery.
Or you can always connect the mobile to your comp, and with adb issue the following:
adb reboot [bootloader|recovery]
amoskas said:
Until you get this fixed, on CM (which your signature implies you have) when you reboot the device you can choose normal/bootloader/recovery.
Or you can always connect the mobile to your comp, and with adb issue the following:
adb reboot [bootloader|recovery]
Click to expand...
Click to collapse
Sorry my SIG points to my other legend that is working fine, the question above is for another legend i purchased hehe
ill try the adb boot to recovery i have the update.zip on the sdcard but i have no idea if the unit is rooted or not - thats a problem
what happens if i put LEGEIMG.zip on the sdcard ? - scratch that thats for unrooting isnt it......
ok so i tried - adb reboot [bootloader|recovery]
exactly as and it errors, could you tell me what the correct ADB command is for booting to recovery?
Im in HBoot or Fastboot when i issue this command ??
thanks
Thanks for the help
Edit :-
Under Fastboot, my device is listed in the CMD, can i reboot to recovery from fastboot usb ??
zerodi said:
Sorry my SIG points to my other legend that is working fine, the question above is for another legend i purchased hehe
ill try the adb boot to recovery i have the update.zip on the sdcard but i have no idea if the unit is rooted or not - thats a problem
what happens if i put LEGEIMG.zip on the sdcard ? - scratch that thats for unrooting isnt it......
ok so i tried - adb reboot [bootloader|recovery]
exactly as and it errors, could you tell me what the correct ADB command is for booting to recovery?
Im in HBoot or Fastboot when i issue this command ??
thanks
Thanks for the help
Edit :-
Under Fastboot, my device is listed in the CMD, can i reboot to recovery from fastboot usb ??
Click to expand...
Click to collapse
What "adb reboot [bootloader|recovery]" means is:
adb reboot (to normally reboot the phone)
or
adb reboot bootloader (to reboot into bootloader mode)
or
adb reboot recovery (to reboot into recovery mode)
The [] is "optional arguments" and the | is "or" (it's the standard way of writing commands and options in computers)
About LEGEIMG.zip method - it's a way to flash RUU ROMs, so it's not related to your problem.
About the update.zip you have on your sdcard, it's for the recovery menu? (Blayo's fake flash) because if so, I think when you're in recovery you'll need "vol up" + "power" to choose the update.zip, and that means that you're in trouble...
So you can: repair the volume buttons -or- SOFF your phone and then you'll be able to flash a CWM recovery (and you wouldn't need the update.zip anymore) -or- wait for someone else to post more ways to bypass the volume buttons usage.
amoskas said:
What "adb reboot [bootloader|recovery]" means is:
adb reboot (to normally reboot the phone)
or
adb reboot bootloader (to reboot into bootloader mode)
or
adb reboot recovery (to reboot into recovery mode)
The [] is "optional arguments" and the | is "or" (it's the standard way of writing commands and options in computers)
About LEGEIMG.zip method - it's a way to flash RUU ROMs, so it's not related to your problem.
About the update.zip you have on your sdcard, it's for the recovery menu? (Blayo's fake flash) because if so, I think when you're in recovery you'll need "vol up" + "power" to choose the update.zip, and that means that you're in trouble...
So you can: repair the volume buttons -or- SOFF your phone and then you'll be able to flash a CWM recovery (and you wouldn't need the update.zip anymore) -or- wait for someone else to post more ways to bypass the volume buttons usage.
Click to expand...
Click to collapse
Edit :- For S-Off you need to rooted and i have no way of checking on this new legend im rooted because im completely stuck on the hboot and fastboot screen
oh lala what a mess
Adb Hboot isnt detected the device - adb devices so , adb reboot recovery isnt working
fastboot devices is ok - is there any way to reboot to recovery from fastboot, ? i checked the options but cant find a way
shall i just s-off and see what happens ?? lol
Or can i use LEGEIMG.zip method - i just want to get the phone bootedd into any OS i dont really care if its rooted or not at this stage
----------------------
I get a Error with LEGEIMG.zip 1.31 and 2.03
Says :-
Main Version is Older
update failed
... Is this because maybe the phone is already on eclair 2.1 and 0.43 hboot ??
zerodi said:
Edit :- For S-Off you need to rooted and i have no way of checking on this new legend im rooted because im completely stuck on the hboot and fastboot screen
oh lala what a mess
Adb Hboot isnt detected the device - adb devices so , adb reboot recovery isnt working
fastboot devices is ok - is there any way to reboot to recovery from fastboot, ? i checked the options but cant find a way
shall i just s-off and see what happens ?? lol
Or can i use LEGEIMG.zip method - i just want to get the phone bootedd into any OS i dont really care if its rooted or not at this stage
----------------------
I get a Error with LEGEIMG.zip 1.31 and 2.03
Says :-
Main Version is Older
update failed
... Is this because maybe the phone is already on eclair 2.1 and 0.43 hboot ??
Click to expand...
Click to collapse
Wait, you're saying that the phone o/s can't start? what happens when you start it normally?
If the phone doesn't start in normal mode, maybe you can reset to factory settings by running in fastboot mode:
fastboot erase userdata
amoskas said:
Wait, you're saying that the phone o/s can't start? what happens when you start it normally?
If the phone doesn't start in normal mode, maybe you can reset to factory settings by running in fastboot mode:
fastboot erase userdata
Click to expand...
Click to collapse
Yes the phone doesnt start , if we press the power button it goes stright to the fastboot screen - i dont think theres any OS on there:-(
ill try what u said, thanks
edit :- cmd/ erasing 'userdata' .... FAILED (remote: not allowed)
sorry if im hijacking your thread! shall i start a new topic i really need help on this -
just to sum it all up
----
The phone will not power into a O/S
Pressing power boots into Fastboot - No volume keys working
Pressing power + Vol Down boots into HBoot - No volume keys working
Pressing power + Vol Up boots into fastboot - No volume keys working
----
All LEGEIMG.zip's Fail - Main Version is older / or / Parsing SD ZIP , nothing happens
Fastboot commands
Devices - ok
other commands - erasing 'userdata' .... FAILED (remote: not allowed)
flash update.zip - unknown partition - cannot determine image filename
flash cwm-recovery-3024.img - unknown partition - cannot determine image filename
ADB Commands
Devices - no devices found - nothing
---
Really stuck here guys
Anyone know of a way to get into recovery mode (botton combo, one-click, etc.) on the 10.1 tab without having android sdk and adb installed on my PC? I am not new at flashing files in recovery mode, but going through help files/instructions on adk is a bit overwhelming.
I have the root zip file on my tab, I just need to get into recovery mode to flash it.
Thanks in advance...
It isn't possible without adb on a non-rooted device. You can attempt to boot into recovery mode by holding power and volume down on start up and selecting the android guy with "downloading" but it will say: "waiting for usb" and hang there. I was attempting to do this the other night.
Getting into recovery is dead simple though once you have adb going. Go to the android development section and go to rooting your tablet. Download the drivers > connect to the computer > run adb in command prompt once you have your sdk installed > then if you have your drivers fully installed and usb debugging mode is on just type in command prompt "adb reboot recovery" and it will send you directly to recovery mode to flash any zip file you please.
Thx, Really wish someone had a one-click option, I guess i'll just have to jump in
I've been trying to boot into recovery for a while now, but with no luck. I installed the full SDK platform, and the Manager app downloaded and installed all the available packages (took forever). The 'push' command seemed to work fine, and when I do "adb reboot recovery" the tablet reboots, but just goes into the battery charging screen. Any idea why this might be happening, and what I can do to get into recovery?
kentoe said:
It isn't possible without adb on a non-rooted device. You can attempt to boot into recovery mode by holding power and volume down on start up and selecting the android guy with "downloading" but it will say: "waiting for usb" and hang there. I was attempting to do this the other night.
Getting into recovery is dead simple though once you have adb going. Go to the android development section and go to rooting your tablet. Download the drivers > connect to the computer > run adb in command prompt once you have your sdk installed > then if you have your drivers fully installed and usb debugging mode is on just type in command prompt "adb reboot recovery" and it will send you directly to recovery mode to flash any zip file you please.
Click to expand...
Click to collapse
The mode that says "downloading" is not recovery mode. Just select the one on the left and you will get into stock recovery mode (unless you already have Clockwork installed).
Itaintrite said:
The mode that says "downloading" is not recovery mode. Just select the one on the left and you will get into stock recovery mode (unless you already have Clockwork installed).
Click to expand...
Click to collapse
I managed to do that, but it wouldn't show anything on my '/sdcard' directory, even when I renamed the root package to "update.zip"
In red, it says "E:unknown volume for path [/sdcard]" Not sure if I'm getting into real, stock recovery, or what - seems crazy that stock wouldn't be able to access its own sdcard directory.
Battery not recovery mode
I am in a similar situation, when I use adb to run recovery mode it sends me to teh battery charging screen. With the exception of that they only other things I can do are to hold power and vol to get option of using Fastboot or ODIN. I do not have any options ever to chose to go into recovery mode. Anyone know why this may be? I am running 3.1 IO version.
Thanks
You will need fastboot and recovery.img to boot into recovery in order to perform a factory reset.
Installing the sdk works best, as drivers needed are acquired from the process! ELse there are extracted contents available on net including just the drivers, adb (and fastboot!)
Check my thread #9
http://forum.xda-developers.com/show....php?t=1136958
bakobitz said:
I managed to do that, but it wouldn't show anything on my '/sdcard' directory, even when I renamed the root package to "update.zip"
In red, it says "E:unknown volume for path [/sdcard]" Not sure if I'm getting into real, stock recovery, or what - seems crazy that stock wouldn't be able to access its own sdcard directory.
Click to expand...
Click to collapse
I don't think the stock retail recovery is capable of flashing off SD storage. That's why the current rooting methods have you first flash either I/O recovery or a custom recovery.
Berner said:
I don't think the stock retail recovery is capable of flashing off SD storage. That's why the current rooting methods have you first flash either I/O recovery or a custom recovery.
Click to expand...
Click to collapse
The manual says to press the power and UP VOL button to get into recovery mode for update flash or wipe data ..
Pressing power and DOWN VOL enters fastboot mode
gunzo71 said:
The manual says to press the power and UP VOL button to get into recovery mode for update flash or wipe data ..
Pressing power and DOWN VOL enters fastboot mode
Click to expand...
Click to collapse
Go ahead and let know if you are able to enter recovery with the keys combination and wipe or factory reset the device, according to manual. Did not work for me, am on 3.1 honeycomb i/o galaxy tab 10.1 and many others.
engljeff said:
Anyone know of a way to get into recovery mode (botton combo, one-click, etc.) on the 10.1 tab without having android sdk and adb installed on my PC? I am not new at flashing files in recovery mode, but going through help files/instructions on adk is a bit overwhelming.
I have the root zip file on my tab, I just need to get into recovery mode to flash it.
Thanks in advance...
Click to expand...
Click to collapse
Use the quick boot app. Works well for me. Supports power off, recovery, and normal reboot for the free version. Oh yeah but that requires root.
Sent from my GT-P7510 using Tapatalk
mughalgxt said:
Go ahead and let know if you are able to enter recovery with the keys combination and wipe or factory reset the device, according to manual. Did not work for me, am on 3.1 honeycomb i/o galaxy tab 10.1 and many others.
Click to expand...
Click to collapse
yes it did.. thats why I said try that ..
On 3.1 IO too .. though I broke it within 3 weeks
gunzo71 said:
The manual says to press the power and UP VOL button to get into recovery mode for update flash or wipe data ..
Pressing power and DOWN VOL enters fastboot mode
Click to expand...
Click to collapse
This worked for me on Rogers 4G version
Hi folks!
I've made some mistake and i dunno how to get out.
So today i was trying to flash CM9.
I didn't put the rom in the sdcard in first place cause i thought that would work in CWM. Now i've done everything like unlocking bootloader, install CWM and install CM kernel but...i'm stucked cause i have no way to access sdcard & push the zip file to install the ROM.
Mount options in CWM are not working and i'm not able to access adb to push the file.
What should i do?
guidocioni said:
Hi folks!
I've made some mistake and i dunno how to get out.
So today i was trying to flash CM9.
I didn't put the rom in the sdcard in first place cause i thought that would work in CWM. Now i've done everything like unlocking bootloader, install CWM and install CM kernel but...i'm stucked cause i have no way to access sdcard & push the zip file to install the ROM.
Mount options in CWM are not working and i'm not able to access adb to push the file.
What should i do?
Click to expand...
Click to collapse
Do you have fastboot?
Turn off phone, disconnect usb. Hold down Volume up and connect usb cable to pc. (dont touch power or home or something else, just keep volume up pressed). If you see a blue led and type in cmd: Fastboot devices. And a device pops op. You have fastboot and we can help further.
You could also try flashmode:
- Switch off the phone
- Press the Volume down button and hold it
- (While holding) Plug in the USB cable
-If successful, the LED should turn green
You could then flash a tft file from here using flashtool: http://www.mediafire.com/?tefi2sficc17a10
I have fastboot working of course!
I've flashed another kernel (official modded) and now i'm able to access sdcard!!!
I think that i've resolved :victory:
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files by typing cd c:\fastboot for example.*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery "name_of_the_recovery.img"
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
ixrs said:
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers: x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files cd c:\fastboot*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery name_of_the_recovery.img
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
Click to expand...
Click to collapse
Thanks for this awesome tutorial man. It definitely should help give noobs a much better understanding!
Sent from my HTC One using xda premium
thanks! this worked great. perfect for all the noobs
Thanks!! I was on the fence about rooting (since the one is so great out of the box) but had an immediate need for tethering. You got me up and running in ~20 Minutes!!
Glad to hear! I think you may have rooted your phone faster than me, lol.
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
rolling56 said:
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
Click to expand...
Click to collapse
Thanks for your kind words! I tried hard to make these instructions as easy as possible, it looks like others found it easy but if you have any questions let me know.
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
OK
I'll test it out on mines here and let you know
msterner123 said:
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
Click to expand...
Click to collapse
Did you change directory to that folder?
Can you take a screenshot?
ixrs said:
Did you change directory to that folder?
Can you take a screenshot?
Click to expand...
Click to collapse
Worked like a champ! Thanks! I can't believe I missed that.
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
kgor93 said:
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2276446
Seems to be where the stock stuff is at.
ixrs said:
http://forum.xda-developers.com/showthread.php?t=2276446
Click to expand...
Click to collapse
Thank you! I've been looking all over for that. Guess it was finally posted today.
kgor93 said:
Thank you! I've been looking all over for that. Guess it was finally posted today.
Click to expand...
Click to collapse
The only problem is that it has not been zipped, so we cannot use it to flash back to stock yet. Once it does, I'm going to be all over it! I wish I had been a bit more patient and just stuck out stock a few days more. I would've been able to realize how much disabling of installed apps just through the HTC settings menu. Not everything can be "disabled", but quite a bit can...
One of the few times where I think stock software is pretty good! Props to HTC!
I've heard this kinda thing voids the warranty, is that the case for the t-mobile 0ne?
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
whitephenix said:
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
Click to expand...
Click to collapse
Where are you stuck? I heard there was a problem with Win 8 x64 on usb 3.0.
Their was a problem for me with Windows 7 pro on my desktop but i finaly got it to work on my laptop.. I am led to think due to previous issues ultimate works better than pro or perhaps my hardware configuration on my homebrew leads windows to have certain comparability issues... The issue is spacifically with hardware detection and driver install errors. But like I said I got it to work on my laptop.
Sent from my HTC One using xda app-developers app
How easy is it to revert back to stock if you decide you don't want to use a custom rom anymore? Are factory images available to flash? Is it as easy as Samsung phones?
I am trying to install CWM on my HTC desire 601 from rogers canada
As per instruction from this website
http://www.thetechbulletin.com/how-to-root-htc-desire-601-and-install-cwm-recovery-3281/
I tried this method
Rooting requirements
Fully charge your device, before following the process it should be charged at least 70%.
Enable USB debugging mode on your device, go to Settings->Applications-> Development-> USB debugging mode.
Unlock bootloader from here HTCdev.
Download Recovery package [mandatory]
Download ADB
Download SuperSU
How to root HTC Desire 601 and install CWM recovery
Switch of your device after downloading all the files from the above link to your computer.
Press Volume Down + Power button for few seconds, here you will see options called fastboot, using volume key select this option.
Now you need to connect your device to your PC using USB cable.
Now extract the ADB file and save it on your desktop
Copy the recovery package you have downloaded to the folder where you have extracted the ABD file.
Now open the command prompt there from that folder, press Shift+Right Click and choose the option ‘open command prompt here‘ and write the following command.
fastboot flash recovery philz_touch_6.08.7-zara.img
This will install CWM recovery on your device. After completion of the process just reboot it.
Now again connect your device to your PC and transfer the SuperSU zip file to your device’s SD card.
Now Turn off your device and boot into recovery mode, to do so Volume Down+Power Button and this time select recovery using volume rocker Key.
In recovery mode you will see several option, select ‘install zip from SD card‘ and browse the file you just copied into your device’s SD card and hit enter to begin the rooting process.
That’s it, you have successfully installed CWM and rooted your HTC Desire 601.
When i try to flash recovery image using this command
fastboot flash recovery philz_touch_6.08.7-zara.img
its coming back with an error message
C:\Users\Owner\Desktop\Android Unlocking Tools\HTC desire 601\android>fastboot
flash recovery philz_touch_6.08.7-zara. img
target reported max download size of 801906688 bytes
error: cannot load 'philz_touch_6.08.7-zara.': No error
Could anybody please help me in this
PS : I already unlocked boot loader and trying to install CWM on this phone
R u on jb or kk?
Child's Play said:
R u on jb or kk?
Click to expand...
Click to collapse
, I have no idea , this phone i got is stuck on HTC screen , I am not sure about OS on this one. This is my friends phone and he doest know what OS was on there
Jellybean or kitkat
Child's Play said:
Jellybean or kitkat
Click to expand...
Click to collapse
I have no idea , this phone i got is stuck on HTC screen , I am not sure about OS on this one. This is my friends phone and he doest know what OS was on there, i can send you bootloader screenshot if that helps
Yeah show me
Child's Play said:
Yeah show me
Click to expand...
Click to collapse
Attached are the images for bootloader screens
U r on kk. That recovery is for jb. Flash twrp for kk http://forum.xda-developers.com/showthread.php?t=2804520
Child's Play said:
U r on kk. That recovery is for jb. Flash twrp for kk http://forum.xda-developers.com/showthread.php?t=2804520
Click to expand...
Click to collapse
Downloaded recovery image file from the link you provided
came back with same error message
target reported max download size of 801906688 bytes
error: cannot load 'openrecovery.img': No error
Put the recovery.img in the platform-tools folder and hold the shift key and right-click in the empty space then select "open command window here" then flash the recovery.img via fastboot
Child's Play said:
Put the recovery.img in the platform-tools folder and hold the shift key and right-click in the empty space then select "open command window here" then flash the recovery.img via fastboot
Click to expand...
Click to collapse
Thats what i did , but sorry never seen this message before , i have flashed few HTC before. Do you know what this error message means ?
No i googled this http://android.stackexchange.com/qu...error-cannot-load-recovery-clockwork-no-error
Child's Play said:
Put the recovery.img in the platform-tools folder and hold the shift key and right-click in the empty space then select "open command window here" then flash the recovery.img via fastboot
Click to expand...
Click to collapse
Thanks a lot , its done , just bit USB port issue , CWM is installed now I am trying to do insertcoin rom on this one. Will let you know how it goes ...
Great!
Im getting the same error message.
It also wont let me unlock the bootloader on the HTC website. Is the anyway you can help me out -- Child's Play-- It says an error after i submit my token i have no clue and its very important to that i get root lol if you know what i mean . All my drivers are updated everything is correct. Could it possibly be because i downloaded a command prompt , only because my windows xp doesnt pop up with a command line option when i shift+right click. PLEASE i really need help im so frustrated and i dont give up lol. thanks guys
Make sure you copy only the code, not the empty space. Token doesn't like the empty space