[Solved] Problems in S-OFF & ROOT aria 2.2.2 - HTC Aria Q&A, Help & Troubleshooting

Hi All,
I've been using CM7 on my HTC aria for more than an year without any problems. yesterday i decided to do S-OFF my phone and followed the below mentioned steps
Post#84 of the following linkhttp://forum.xda-developers.com/showthread.php?t=1122574&page=9
For windows users using CM7:
Note 1: This is assuming you already have the SDK installed and know how to use ADB, that you have CM7 installed.
Prerequisites:
- USBDeview - http://download.cnet.com/USBDeview/3...-10614190.html
- HTC Sync - http://www.htc.com/www/SupportViewNe...73&news_id=907
- clockwork2501.zip - http://forum.xda-developers.com/atta...5&d=1305031790
- fastboot - http://forum.xda-developers.com/atta...9&d=1230278653
- HTC Aria 2.2 - http://member.america.htc.com/downlo...ROM_Update.exe
alpharevx - http://alpharev.nl/x/beta/
1. Download all of the items listed above.
1a. Make a NANDROID backup!!!
2. USBDeview...delete (uninstall) all HTC related drivers.
3. Install HTC Sync
4. Plug phone in and allow windows to install the drivers.
5. Boot into fastboot (while powered down, press and HOLD trackball button and power button).
6. plug phone in to computer and run the HTC Aria for ATT Android 2.2 ROM Update (2.2 RUU).
7. Once you get 2.2 installed, and booted into the ROM, run the alpharevx executable.
8. It should notice your phone right away (make sure USB Debugging is enabled!!) and do it's thing, and then ask you for your beta key (get it from website, with your serial number) and then it will reboot a couple times and you're good to go.
9. Once you've got your S-OFF, boot into the ROM.
10. Place fastboot.exe and clockwork2501.zip into the folder where alpharevx.exe is (if you don't do this, you'll get an error about a missing .DLL (which happens to be included in the alpharevx download)).
11a. Open up command prompt and change directory ("cd") to your tools folder for Android SDK. Run the first command under step 12 (adb reboot bootloader)
11b. Open up command prompt and change directory ("cd") to wherever your fastboot.exe is (i.e. cd c:\users\username\desktop\alpharevx). Now run the rest of the commands under step 12.
12. Run the following commands:
Code:
Code:
adb reboot bootloader
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip clockwork2501.zip
fastboot reboot
12a. After "fastboot oem rebootRUU" your phone will be stuck at an HTC screen. This is when you should type the next command.
13. You should now be able to get into clockwork and restore your nandroid.
14. Boot into your CM7 and enjoy your S-OFF
This is going off of sheer memory but I am pretty sure it's exactly how i did it. If I have missed any steps or said anything wrong, someone feel free to correct me. If you have any questions, as always, feel free to ask.
Again, enjoy
+1 to alpharev team and whomever else made this possible!
Click to expand...
Click to collapse
i executed all the above steps in order. got froyo 2.2 and then did S-OFF (success). everythign was good until i faced some issues in STEP#12. while i executed the following command , i got the below mentioned error.
Code:
fastboot flash zip clockwork2501.zip
Code:
Error message:
[COLOR="Red"]FAILED (remote: 51 partition update fail)[/COLOR]
Since then, the phone booting to a black screen with "HTC" in the middle
and "warning" triangles at the corners.
HELP!!! please help me in fixing this issue.
Thanks guys

Are you able to boot into fastboot?

Theonew said:
Are you able to boot into fastboot?
Click to expand...
Click to collapse
thanks for your reply.
how do i check about fastboot? (tell me some commands that can run & check)
all i can say is, i'm not able to goto boot options-recovery (i.e clockworkmod). Before doing S-OFF,i had done a nandroid backup which i want to restore now.
I've tried many times to run "fastboot flash zip clockwork2501.zip". and also tried to download different version of clockworkmod recovery from the below link (for htc aria). none of them seem to work
http://forum.xda-developers.com/showpost.php?p=14693680&postcount=1

Open the clockwork2501.zip (from your computer) and extract the contents. You want the recovery.img file that is inside the zip file. Then, while the phone is in FASTBOOT mode and USB cable connected to computer, issue:
Code:
fastboot flash recovery recovery.img
If you don't know how to get to fastboot mode, the easiest way is to completely turn the phone off (pull battery if necessary), then hold down the trackball button and press power button, then release trackball button after the screen turns on.

the problem is i'm not able to get into either fastboot or hboot recovery bootscreen.
i took off battery, then hold down trackball , then pressed power button. still i get a black screen with "HTC" in the middle and "warning" triangles at the corners.
i took off battery, then hold 'volume -' button and then pressed power button. still i boot only into black screen with 'HTC' in the middle and triangles at four corners.
i get a feel that i still didn't install clockwork successfully. but the only problem is i couldn't figure out how to flash clockwork recovery. every time i try fastboot commands
Code:
fastboot flash zip clockwork2501.zip
or
fastboot flash recovery recovery.img
Code:
[COLOR="Red"]c:\Downloads\HTC aria\Jun 2012\revolutionary-0.4pre4>fastboot flash recovery recovery.img
sending 'recovery' (4224 KB)... OKAY
writing 'recovery'... FAILED (remote: image update error)
c:\Downloads\HTC aria\Jun 2012\revolutionary-0.4pre4>fastboot flash zip clockwor
k2501.zip
sending 'zip' (2702 KB)... OKAY
writing 'zip'... INFOzip header checking...
INFOzip info parsing...
INFOchecking model ID...
INFOchecking custom ID...
INFOstart image[recovery] unzipping & flushing...
INFO[RUU]UZ,recovery,0
INFO[RUU]UZ,recovery,24
INFO[RUU]UZ,recovery,64
INFO[RUU]UZ,recovery,100
INFO[RUU]WP,recovery,0
INFO[RUU]WP,recovery,24
INFO[RUU]WP,recovery,48
INFO[RUU]WP,recovery,72
INFO[RUU]WP,recovery,96
FAILED (remote: 51 partition update fail)[/COLOR]

singularthing said:
i took off battery, then hold 'volume -' button and then pressed power button. still i boot only into black screen with 'HTC' in the middle and triangles at four corners.
Click to expand...
Click to collapse
Just to make sure, you are continuing to hold down the 'volume -' button even after pressing power button, right? Don't let go too early. Also, make sure the USB cable is NOT plugged in while doing this. Plug the USB cable in after you're already in HBOOT or FASTBOOT.
If you're still having problems, I'd suggest attempting to run the official 2.2.2 RUU on your phone to see if it can revert your phone to a working state.

drumist said:
Just to make sure, you are continuing to hold down the 'volume -' button even after pressing power button, right? Don't let go too early. Also, make sure the USB cable is NOT plugged in while doing this. Plug the USB cable in after you're already in HBOOT or FASTBOOT.
If you're still having problems, I'd suggest attempting to run the official 2.2.2 RUU on your phone to see if it can revert your phone to a working state.
Click to expand...
Click to collapse
awesome! i re-installed HTC sync and ran the official 2.2.2 RUU exe file. viola i'm able to go into 2.2.2 and make calls , send text etc!! But, i still love my CM7. so i decided to do 'nandroid restore'. but i couldn't get into clockworkmod recovery screen
when i hold 'volume -' button and power on i see the following
Code:
LIBERTY PVT SHIP S-OFF
HBOOT -6.02.1002
MICROP-031B
TOUCH PANEL-STN21_03
RADIO-7.16.35.11
NOV 4 2010,23:12:58
HBOOT
RECOVERY
SIMLOCK ..
When i use volume keys and come down to 'RECOVERY' and press power button, i get some error screen (a black screen showing a small phone picture and a red triangle with exclamation mark).
i then tried the below two options.
1. rebooted the phone into 2.2.2 OS. enabled USB Debugging. Ran revolutionary.exe (it was handing in first step with message waiting for device) for a very long time. 15 mins after which i killed that in task manager.
2. rebooted phone. when into HBOOT. (waited for SD card diagnosis and then selected HBOOT via volume keys and then pressed power button). then connected USB cable and executed the following commands
Code:
c:\Downloads\HTC aria\Jun 2012\revolutionary-0.4pre4>fastboot flash zip clockwork2501.zip
< waiting for device >
^C
c:\Downloads\HTC aria\Jun 2012\revolutionary-0.4pre4>fastboot flash recovery recovery.img
< waiting for device >
^C
looks like i'm still not able to goto clockwork recovery/ and do nandroid restore.

singularthing said:
looks like i'm still not able to goto clockwork recovery/ and do nandroid restore.
Click to expand...
Click to collapse
Yeah, sorry if I wasn't clear, but even if you had CWM installed earlier, running the 2.2.2 RUU will remove it and bring you back to stock. I just told you to use the 2.2.2 RUU to bring the phone back to a working state. However, the RUU will NOT remove S-OFF, which is good.
The next step is to install CWM. I advise you to install the latest version, NOT the one you were previously using. The nandroid backup should still work fine. Here's what you should do:
Download 5.0.2.8 recovery (or a different one of your choice) here: http://forum.xda-developers.com/showpost.php?p=25490394&postcount=66
Put your phone into FASTBOOT, then connect USB cable, and then do:
Code:
fastboot flash recovery filename.img

drumist said:
Yeah, sorry if I wasn't clear, but even if you had CWM installed earlier, running the 2.2.2 RUU will remove it and bring you back to stock. I just told you to use the 2.2.2 RUU to bring the phone back to a working state. However, the RUU will NOT remove S-OFF, which is good.
The next step is to install CWM. I advise you to install the latest version, NOT the one you were previously using. The nandroid backup should still work fine. Here's what you should do:
Download 5.0.2.8 recovery (or a different one of your choice) here: http://forum.xda-developers.com/showpost.php?p=25490394&postcount=66
Put your phone into FASTBOOT, then connect USB cable, and then do:
Code:
fastboot flash recovery filename.img
Click to expand...
Click to collapse
Many Many thanks drumist. yes as soon as i tried recent CWM things started to work (i tried 5.0.2.8). now i'm doing nandroid restore. i will do some basic checking tonight and report back tomorrow(tomorrow i will mark the thread resolved). i'm pretty confident everything should be okay.

Related

Eris freezes when trying to boot recovery

So I have an Eris which had the 2.1 OTA update. I checked before I started and the HBOOT version was 1.46, so I wanted to root the phone with the guide from this board (won't let me post a URL, threadid is 647707).
It all goes great until step 4, where you boot recovery and load the rom. I cannot get it to boot recovery for the life of me. I appear to have root to the device, since I can get in with adb and I get the root shell (#). I'm able to copy files over and execute the last command, where the recovery image is written to the recovery partition (though I get no notice of success OR error).
That's where everything stops working. When I try to boot recovery, either by holding VolUp+Power or the command "reboot recovery," the system just hangs at the screen with the three androids on skateboards. I let it sit like that for 45 minutes, hoping recovery just takes a long time to boot. But it looks like it's no good.
About phone:
Firmware Version: 2.1
Baseband Version: 2.40.00.01.22
Kernel Version: 2.6.29-5898f66b [email protected] #1
Build number: 2.19.605.1
PRI Version: 2.11_002
PRL Version: 51731
ERI Version: 5
Boot w/ VolDn+Power:
PB00100 XC ENG S-OFF
HBOOT-1.49.2000 (PB0010000)
I apologize if this has been posted by somebody else and addressed already. I've been googling for about an hour trying to find somebody with this particular problem but I can't find anything.
TIA for any help anybody can offer.
If you can get fastboot (on your PC) communicating with your Eris via the USB (as evidenced by the "fastboot devices" command printing out your Eris DeviceID), then I would recommend merely reflashing the Amon_RA in one step with the fastboot command.
Steps:
1) Download Amon_RA v.1.6.2 for the Eris
md5sum/filename: e3932991f097993602af3c7a4b61a4f8 recovery-RA-eris-v1.6.2.img
Verify using a md5sum tool (of your choice) that you downloaded the file "recovery-RA-eris-v1.6.2.img" correctly, and that it indeed has a MD5 hash of e3932991f097993602af3c7a4b61a4f8.
2) Power down, remove SD card, and boot into FASTBOOT mode by pressing Vol-Down+End/Power (to get to HBOOT mode), and then press the Send button to go into FASTBOOT mode.
3) Plug the PC and phone together via USB; when you do this you should see the phone display "FASTBOOT USB" (rather than just FASTBOOT). Verify that you have the necessary PC drivers installed by running the command
Code:
fastboot devices
If you see nothing displayed, you are not communicating correctly (probably a driver issue); if you are successfully communicating, from the PC to the phone, you will see the Eris Device ID display (starts with "HT...."). If you don't see this, you need to fix your driver issues - there is no point in continuing beyond this point if your PC is not communicating with the phone
4) Install the Amon_RA recovery using fastboot with the command:
Code:
fastboot flash recovery recovery-RA-eris-v1.6.2.img
(The fastboot utility will report that it is first transferring the image, and then that it is being flashed on the phone.)
5) After that command completes, wait 10 seconds or so, and pull the battery in the phone to shut it down.
6) Replace the battery and reboot into recovery by holding Vol-Up+End/Power simultaneously.
If this doesn't work, Re-root the phone using the same PB00IMG.ZIP file you used before (put the SD card back in the phone, with that PB00IMG.ZIP file in the root folder, and boot into HBOOT mode with Vol-Down+End/Power), and then after you have re-rooted the phone, re-perform steps 4-6 above.
The most likely reason you experienced the problem you did is that you incorrectly transferred the "recovery.img" (or recovery-RA-eris-v1.6.2.img) file to the SD card - probably you unmounted the card from the PC incorrectly (without ensuring write-back caches on the PC were flushed), and you actually installed a corrupted or truncated version of the file to the recovery partition onto the phone.
Using the fastboot flashing method eliminates that potential source of error as it pushes a copy of the file from the PC itself - and that should have already been verified by you to have the correct MD5 checksum (instructions in step #1 above).
bftb0
The Amon-Ra Recovery image via fastboot worked perfectly! Thank you!

[Q] Questions regarding rooting

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

[GUIDE]ORANGE UK Users - How to Root, Unlock BL and Flash OrangeFR

Words of wisdom ... or warning!
By following this guide, you are agreeing that neither I nor anyone else apart from yourself is responsible for any damage, loss of earnings, fire, theft, the milk not being delivered or bricking your device - you are doing the modding so you are to blame if anything goes wrong!
I will credit the original authors of all the files I have included in my guide as best as I can, if I have missed you out then I do apologise.
With thanks to: kennethpenn, SamCripp, Stevendeb25, eval-, Edgan, Mossys, papy-polo, the2dcour, plus anyone that I have missed.​
Note: I have linked file downloads from the guides I used when I rooted, unlocked and flashed my device. I will included a link to the thread so if the links are broken then you should look in the threads for updated links - also just let me know and I'll try to fix them.
Right on with the guide...​
Rooting:
Downloads:
- Atrix drivers - Download: 32-bit | 64-bit
- Gingerbreak - Download
Instructions:
1. Install drivers
2. Run gingerbreak.exe
3. Give the phone a minute or two and then open the app drawer to find "Gingerbreak"
4. Run gingerbreak from your phone
5. Click 'root now'
6. Wait for your phone to reboot
Whayy! Your now rooted - If all went well.​
Tegrapart?.. You need this to flash the correct boot.img later on.
Downloads:
Terminal emulator - Download from market
Instructions:
1. Download and run 'Terminal emulator'
2. Enter:
Code:
su
- you may be prompted to by SuperUser, press remember and then press 'Allow'
3. Now enter:
Code:
cat /proc/cmdline
4.a. That command will return quite a large string of text, scan through it untill you find something that starts something like this: 'tegrapart=mbr:'
4.b. If you see tegrapart=mbr:d00:100:800,kpanic:2100:400:800: then just remember that your device is d00
4.c. If you see tegrapart=mbr:1100:100:800,kpanic:2500:400:800: then you need to remember that your device is 1100​
Unlocking the bootloader:
Downloads:
- RSD Lite 5.3.1 - Download - Thread
- Drivers - Download - Thread
- Fastboot - Download - Thread
- IHOP_Bell pudding - Download - Thread
Instructions:
a. Extract the file from IHOP_Bell into a location your will remember
b. Extract the files from Fastboot package to a location you will remember - I will use C:\fastboot\ in my example
1. Turn off you phone
2. For safety measures, take out your SIM card and microSD card
3. Boot into RSD Mode by holding volume up and the power button at the same time until "Starting RSD protocol support" is displayed on the screen
4. Run RSD Lite on your pc
5. Press the [...] box next to the box named 'Filename'
6. Locate the file from IHOP_Bell that you extracted earlier
7. Load the file
8. Plug your phone into your pc
9. RSD Lite should recognise your device and should say something like "Model: NS Flash Olympus" mine said "SE Flash Olympus" and it should also say "Connected..."
10. Press the 'Start' Button
11. Be paitient while the phone reboots as it may take a loooong time
12. Once the phone has rebooted, open a command prompt window
13. Type in CD followed by a space and then the directory where you extracted the fastboot package - I will use C:\Fastboot\ in my example so I would type
Code:
CD C:\Fastboot\
14. Turn off your phone
15. Unplug your phone from the usb port
16. Hold the volume down button and the power button until you see 'Fastboot' on the screen
17. Press volume up to select fastboot, you will see "Starting Fastboot protocol support" on screen
18. Plug your phone into the usb port
19. Then in the command prompt window, type in the following command:
Code:
fastboot oem unlock
20. You will see a warning along with a unique device ID
21. Type in the following commands but use your unique device ID in place of the '#####'
Code:
fastboot oem unlock #####
fastboot -w
fastboot reboot
22. Now wait for your device to boot, whilst booting you should see 'Unlocked' on the boot screen​Flashing 2.3.4 (Orange FR):
Downloads:
Moto-fastboot - Download - Thread
OrangeFR system - Download - Thread
OrangeFR webtop - Download - Thread
(Remember your Tegrapart you found out earlier.. download the right one for your device)
d00 - Download - Thread
1100 - Download - Thread
Instructions:
a. Unzip the moto-fastboot package into a directory you will remember, again I will place mine in a directory named motofastboot in my C: drive.
b. Extract the system, webtop and the correct tegrapart boot.img and place them inside your motofastboot directory
1. Turn off your phone and unplug it from the usb port if it is connected
2. Boot into fastboot mode by holding volume down and the power button untill you see 'Fastboot' on screen.
3. When you see fastboot, press volume up.
4. Open a command prompt and CD to the directory you placed your moto-fastboot package, I would enter:
Code:
CD C:\motofastboot
5. Now enter:
Code:
moto-fastboot flash system ORFR234-system.img
6. Once complete, enter:
Code:
moto-fastboot flash webtop webtop.img
7. And finally enter either:
Code:
moto-fastboot flash boot ORFR234-tegrapart-d00100.boot.img
OR
Code:
moto-fastboot flash boot ORFR234-tegrapart-1100100.boot.img
Depending on your Tegrapart number.
8. Turn off your phone, boot it back up and you should now be rocking Orange 2.3.4 GingerBread.​
briliant guide mate! could you add some kernels and roms thats working with UK's atrix
Cheers
Thanks, this is exactly what I needed in terms of clear, complete information all in one thread.
Sorry if this is a stupid question but I'm new to the Atrix and there's so much info all over the place my head is already spinning! I'm on UK T-mobile, I assume the unlocking and rooting part is still the same, but should I still flash the Orange file or would this mess up my phone? All I really want to do is root/unlock so I can flash a custom rom.
Many thanks.
eggshaped said:
Thanks, this is exactly what I needed in terms of clear, complete information all in one thread.
Sorry if this is a stupid question but I'm new to the Atrix and there's so much info all over the place my head is already spinning! I'm on UK T-mobile, I assume the unlocking and rooting part is still the same, but should I still flash the Orange file or would this mess up my phone? All I really want to do is root/unlock so I can flash a custom rom.
Many thanks.
Click to expand...
Click to collapse
No, it won't. In fact, even Orange FR and Orange UK are as different as AT&T and T-Mobile UK. Also, ALL AT&T ROMS WORK! All you need to do is to flash faux123's kernel over the top of the ROM, just to get back your RAM. Even if you don't flash the kernel, you will not brick, just have the limited RAM issue.
Finally, most of us should be on the N_01.95.00R radio. What speeds and battery life do you get out of this on Orange UK?
It seems I have been capped to 1.9mbps
kartik50 said:
No, it won't. In fact, even Orange FR and Orange UK are as different as AT&T and T-Mobile UK. Also, ALL AT&T ROMS WORK! All you need to do is to flash faux123's kernel over the top of the ROM, just to get back your RAM. Even if you don't flash the kernel, you will not brick, just have the limited RAM issue.
Finally, most of us should be on the N_01.95.00R radio. What speeds and battery life do you get out of this on Orange UK?
It seems I have been capped to 1.9mbps
Click to expand...
Click to collapse
Thanks for replying...I think I understand what you're saying.
However, I'm on T-mobile UK not Orange. I only ever use wifi for data so not sure about speed, but battery life seems to be just over a day although I've only had the phone a few days so far. Just trying to make sense of it all .
I wish there was one definitive thread on what you need to do to get the phone to a point where you can flash a custom rom. Don't get me wrong, I'm not lazy and don't mind reading up and researching, I'm just really confused at the moment about whether I need to follow the pudding thread and flash sbf files (it says to put Pudding on the phone, whatever that is) or use Gingerbreak or SuperOneClick, and how to get cwm recovery on the phone.
....more reading up is in order I guess, until it all sinks in
Anyone know why it's stuck on the boot screen with this? I even SBF'd back to stock Orange 2.2.2 before hand. I also fastboot -w it. Is there nothing you can just flash for this?
this is what i get when trying to flash???
C:\Users\kris\Desktop\motorola>fastboot flash system ORFR234-system.img
sending 'system' (327680 KB)...
(bootloader) Image is too big, use 0x10000000 bytes chunks
FAILED (remote: (00000006))
finished. total time: 0.003s
C:\Users\kris\Desktop\motorola>moto-fastboot flash system ORFR234-system.img
'moto-fastboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kris\Desktop\motorola>moto -fastboot flash system ORFR234-system.img
'moto' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kris\Desktop\motorola>fastboot flash system ORFR234-system.img
sending 'system' (327680 KB)...
(bootloader) Image is too big, use 0x10000000 bytes chunks
FAILED (remote: (00000006))
finished. total time: 0.002s
C:\Users\kris\Desktop\motorola>moto-fastboot
'moto-fastboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kris\Desktop\motorola>fastboot flash system ORFR234-system.img
sending 'system' (327680 KB)...
(bootloader) Image is too big, use 0x10000000 bytes chunks
FAILED (remote: (00000006))
finished. total time: 0.002s
C:\Users\kris\Desktop\motorola>moto-fastboot
'moto-fastboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kris\Desktop\motorola>fastboot flash system ORFR234-system.img
sending 'system' (327680 KB)...
(bootloader) Image is too big, use 0x10000000 bytes chunks
FAILED (remote: (00000006))
finished. total time: 0.002s
C:\Users\kris\Desktop\motorola>
cheers
ok then, the link supplied for moto-fastboot is incorrect - found in the instruction link http://forum.xda-developers.com/showthread.php?t=1138092 - the guide also needs to add to press the up arrow to transfer the images. moto-fastboot.exe is not included in the original link.
I assume the initial link is for linux.
Nope that's what I used on windows 7 x64 mate, and I didnt have to press up to transfer the images either :S
I had no problem with the moto-fastboot, but it does just get stuck on the loading screen with unlocked.
When I run Gingerbreak, nothing happens?
EDIT: Fixed.
usb debugging on and usb storage
I heard that people are reporting bluetooth problems after rooting their atrix. Can anyone confirm that their bluetooth are working after rooting here??
airheli1201 said:
I heard that people are reporting bluetooth problems after rooting their atrix. Can anyone confirm that their bluetooth are working after rooting here??
Click to expand...
Click to collapse
I didn't have any issues
another quick question. Will the data on my internal storage be somewhat erased by following these steps???
edit: found out... yes it does, yes it does. haha. lost all my application data! oh well.
Hi,
followed all the steps on unlocking the bootloader and all went well, expect now it appears stuck on rsd saying executed 100%, but 'please manually reboot power up this phone'. Oddly though the phone is already on, what should I do?
Hi ive rooted and unlocked the bootloader and was following the guide to a T...
on the part of flashing 2.3.4 ORANGE i downloaded all the relevant files and placed them the motofastboot folder. it says to then turn the phone off and boot into fast mode which i have done. and then pressed volume up and now states tarting Fastboot protocol support
I then connect the phone to the computer and started step 5. and it says its not recognised as an internal or external command....etc etc! what am i doing wrong? i tried to put cd before the command prompt and it just says system can not find the path??? but i have everything in the correct place? help plssss
Have you put renamed the motofastbootx86 or x64 to just motobootfastboot and then your commands will work. Hope that helps
Am desperate to get Gingerbread installed on my Atrix I have followed all the above steps carefully (atleast I think I have) but when I get to the stage of flashing at the cmd prompt I get:
The program can't start because adbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem.
What am I doing wrong ??? Thanks in advance
---------- Post added at 10:18 PM ---------- Previous post was at 09:53 PM ----------
Roberts56 I had that problem at 1st and founf that the motofastboot file is corrupt, I did a search and downloaded it from elsewhere and it all worked fine.
Well it did untill I got my error message above ;-(
Here is the working version with the dll files that I was missing, hope this helps.
Sorted me out in the end and I have to say it has given my Atrix a new lease of life.
Am well impressed

[Q] I need help UNROOTING the 3D!

//Header information
***UNLOCKED***
SHOOTER XC SHIP S-ON RL
HBOOT-1.50.0000
eMMC-boot
Hey guys, I recently acquired an EVO 3D in a trade deal and even though I don't want it (I plan on selling it but the cash deal + EVO 3D was worthy), I ended up being hellbent on rooting it last night. Success. Great, I threw Cyanogenmod7 on there and realized I'll have to undo the root/ROM to sell it later. I used what I believe is referred to as the REVOLUTIONARY method (using HTCDev.com, some terminal commands on my Mac, etc.)
Anyhow, didn't think it would be hard to undo what I did and I guess I was wrong. Let me tell you what I've tried so far.
I've tried using the PG86IMG.zip flash and nothing. No option (VOL UP or VOL DOWN) to even TRY installing it. Just quickly flashes the green text "No Image!" under each category (it goes too fast for me to read it) and I'm back at the boot menu. I've tried using different copies of the PG86IMG.zip with the same results (latest site acquired from: Goo-inside me, or something like that).
I've also tried using the RUU*.exe method on a Windows 7 machine. I've installed the drivers, everything checks out just fine until it actually tried to update the ROM. What happens here is that the phone reboots (as expected) and though the splash screen is different (black background with silver/gray hTc logo, semi-reflected) from the usual splash screen (white background with hTc in green), nothing happens. The software on the Windows 7 machine says "Waiting for bootloader" - which never shows up. Then it quickly gives me an error stating that the USB cable between the PC and the phone needs to be checked. Of course, there's no disconnect anywhere in the cables.
Please help! I planned on selling this device but if it's stuck in Cyanogenmod7, especially with no Google apps (couldn't get Gapps*.zip to work but whatever, not really concerned about that right now), there's no way I could sell this thing. I'm fairly knowledgeable in the basics of these matters as I have a rooted EVO 4G as well.
Anyone wanna buy an EVO 3D? HAHA
you could always flash a stock rooted rom .
You've gotta relock through adb before running the RUU.exe; then it'll work.
Hit the thanks if I helped
Here's another problem: I can't get back into Clockwork Mod Recovery (so I don't know how to flash another ROM on there). If I hold VOL DOWN while powering up, it starts automatically loading PG86IMG.zip. Then I get the options FASTBOOT, RECOVERY, FACTORY RESET, SIM LOCK, and IMAGE CRC.
Trying to enter recovery reboots to the splash screen and it gets stuck there.
How would I lock it using ADB?
zer0xity said:
Here's another problem: I can't get back into Clockwork Mod Recovery (so I don't know how to flash another ROM on there). If I hold VOL DOWN while powering up, it starts automatically loading PG86IMG.zip. Then I get the options FASTBOOT, RECOVERY, FACTORY RESET, SIM LOCK, and IMAGE CRC.
Trying to enter recovery reboots to the splash screen and it gets stuck there.
How would I lock it using ADB?
Click to expand...
Click to collapse
It's because of the pg86img.zip you can delete/move it away from the root of your sd card and get back into recovery... but you shouldn't need to, follow these steps:
1) Turn off phone
2) Hold power+vol down
3) Choose fastboot
4) Plug into your PC if you're not already
5) When you see FASTBOOT USB on the phone screen go back to your command prompt where you have your adb.exe, fastboot.exe, etc.
6) Type: " fastboot oem lock "
7) Aaaand you're done w/ the relocking go crazy and run your RUU.exe, don't reboot the phone or anything just run your RUU while your phone's still in HBOOT.
Edit: Oh, the adb I was talking about would kind of make everything easier; in command prompt: adb reboot bootloader AND THEN fastboot oem lock
Two steps, mhm.
I'm on it! Standby...
Okay, the adb stuff - can I do that from terminal in Mac? I tried doing it while in the appropriate folder where all that adb stuff is and I typed: adb reboot bootloader (ERROR: command not found), then I tried just: reboot bootloader (not permitted). I did try: ./fastboot-mac oem lock (successful. header now says *** RELOCKED ***).
Tried the RUU*.exe stuff on the Windows machine while in that state and again an alleged problem with the USB connection...
Sounds like we're close?
BAM! Got it. You put me on the right track with that last post. RUU still wouldn't do the reversion even though I had some drivers installed on Windows so I had to find some other drivers (some HTC3*.exe file, 13MB) and ended up running those for it to recognize the phone.
+1 to you, sir. Thank you so much!
Glad it all turned out well.

[Tutorial] Root, Unlock, Recovery and flashing a Custom ROM

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?

Categories

Resources