Stuck on S-ON and Relocked, Recovery seems broken - One (M7) Q&A, Help & Troubleshooting

Hi,
I'm posting here because I'm not allowed to post in the development forum since I'm a new member.
Yesterday I tried to S-OFF my One with the Revolutionary method. I have an German O2 branded device with CID O2__102. I used the first version of the tool. After a few attempts, it worked. I got S-OFF und unlocked in the fastboot menu. Then I changed the CID to HTC__102 and installed the according RUU. After that I installed the latest CWM and flashed the 4.2.2 stock ROM. All worked without problems.
I decided to revert to Stock 4.1.2 and wait for the official OTA. So I flashed the stock recovery and typed "fastboot oem lock" and "fastboot oem writesecureflag 3" in the fastboot menu to relock the device, according to the Revolutionary development thread. Now it says "relocked" and "S-ON" again. There was an error in the development thread, which has been corrected now. Should have used "./revone -l" instead of "fastboot oem lock".
Now, I have two problems:
a) The 1.29 OTA won't install, seems my recovery is broken. I can't hard reset the device either. But resetting by RUU works.
b) I can't get "S-OFF" and "unlocked" again. I tried many times and I'm still trying.
The One boots normally and the fastboot menu is accessible. If I try to enter the recovery menu from the boatloader menu, the device restarts.
Any helpful ideas?

rainald.haagen said:
Hi,
I'm posting here because I'm not allowed to post in the development forum since I'm a new member.
Yesterday I tried to S-OFF my One with the Revolutionary method. I have an German O2 branded device with CID O2__102. I used the first version of the tool. After a few attempts, it worked. I got S-OFF und unlocked in the fastboot menu. Then I changed the CID to HTC__102 and installed the according RUU. After that I installed the latest CWM and flashed the 4.2.2 stock ROM. All worked without problems.
I decided to revert to Stock 4.1.2 and wait for the official OTA. So I flashed the stock recovery and typed "fastboot oem lock" and "fastboot oem writesecureflag 3" in the fastboot menu to relock the device, according to the Revolutionary development thread. Now it says "relocked" and "S-ON" again. There was an error in the development thread, which has been corrected now. Should have used "./revone -l" instead of "fastboot oem lock".
Now, I have two problems:
a) The 1.29 OTA won't install, seems my recovery is broken. I can't hard reset the device either. But resetting by RUU works.
b) I can't get "S-OFF" and "unlocked" again. I tried many times and I'm still trying.
The One boots normally and the fastboot menu is accessible. If I try to enter the recovery menu from the boatloader menu, the device restarts.
Any helpful ideas?
Click to expand...
Click to collapse
As a newby you can't post a new thread. But it's not forbidden to ask the question in the dvpt thread if you've used their tool?
It's not a very easy question and it seems you already know what you're doing.
Just when I read you last sentence, make sure you deactivate the option in settings->energy 'fastboot'. It seems to create problems to enter recovery. On mine I have to flash the recovery many time (erase cache before and after flash), to be able to finally enter recovery. It works with CWM (not touch version).

I tried again to post there, the system will block it until I have 10 posts.
Yes, I'm quite familiar with that. I never did a lot of rooting, S-OFF etc., but I debranded each device I had from HTC (Touch Diamond 2, Desire Z, Sensation), so I know the concepts.
I'm not sure, if it is possible to flash the Stock recovery with S-ON and the (re)locked bootloader. At the moment I'm still trying to get S-OFF and unlocked again by using the Revolutionary tool. But no sucess so far. But I will try your idea with the fastboot setting.

Related

OEM Lock failed - stuck!!

Hi
I went to update my firmware earlier so went to update the firmware, but first had to relock the bootloader.
I typed fastboot oem lock and got ... underneath it and it stuck there for hours. The screen on the phone had frozen too.
In the end I pulled the cable to go back into bootloader. The CMD prompt then said it had relocked it and then some read error.
I think the system is now wiped as all it does is boot into bootloader or fastboot. I tried to send the stock recovery img from ARHD site but get a signature error.
What should I do?
I have tampered and relocked at the top of the bootloader screens and fastbootoem lock does confirm it is locked
Thanks!
I have done the exact same thing! I am kinda freaking out.
TheMathMan said:
Hi
I went to update my firmware earlier so went to update the firmware, but first had to relock the bootloader.
I typed fastboot oem lock and got ... underneath it and it stuck there for hours. The screen on the phone had frozen too.
In the end I pulled the cable to go back into bootloader. The CMD prompt then said it had relocked it and then some read error.
I think the system is now wiped as all it does is boot into bootloader or fastboot. I tried to send the stock recovery img from ARHD site but get a signature error.
What should I do?
I have tampered and relocked at the top of the bootloader screens and fastbootoem lock does confirm it is locked
Thanks!
Click to expand...
Click to collapse
1. try and unlock the bootloader again
2. flash custom recovery twrp or cwm
3. adb sideload rom.zip within custom recovery.
hopefully that will get you up and running again.
i had a similar problem where system got completely wiped, i couldnt adb sideload though. just couldn't get it to work. luckily i have an otg cable, so i mounted a flash stick in twrp and flashed custom rom via otg and everything fine again.
hope this helps
dazbutler1 said:
1. try and unlock the bootloader again
2. flash custom recovery twrp or cwm
3. adb sideload rom.zip within custom recovery.
hopefully that will get you up and running again.
i had a similar problem where system got completely wiped, i couldnt adb sideload though. just couldn't get it to work. luckily i have an otg cable, so i mounted a flash stick in twrp and flashed custom rom via otg and everything fine again.
hope this helps
Click to expand...
Click to collapse
OK. Phew!!!
Unlocked bootloader again with the unlock token. Then it rebooted straight into ARHD 4.6 that was on there, so it obviously hadn't been wiped but some sort of odd issue.
Now a bit concerned about trying to update firmware again, as when it had "security warning" fastboot oem rebootRUU didn't work at all.
Would love some more info about this and how to do it better next time!
TheMathMan said:
OK. Phew!!!
Unlocked bootloader again with the unlock token. Then it rebooted straight into ARHD 4.6 that was on there, so it obviously hadn't been wiped but some sort of odd issue.
Now a bit concerned about trying to update firmware again, as when it had "security warning" fastboot oem rebootRUU didn't work at all.
Would love some more info about this and how to do it better next time!
Click to expand...
Click to collapse
Glad you got it running again. are you talking about flashing the new firmware.zip ota file that contains new radio. If so i can't really shed any light on this for you as my cid is h3g_001 so currently i can't update my firmware
dazbutler1 said:
Glad you got it running again. are you talking about flashing the new firmware.zip ota file that contains new radio. If so i can't really shed any light on this for you as my cid is h3g_001 so currently i can't update my firmware
Click to expand...
Click to collapse
Yep thats right, the firmware.zip. CID is HTC__001 on mine. Assume that it is anyway, and that reading it from within ARHD doesn't show it differently? Never looked before flashing the custom rom.
TheMathMan said:
Yep thats right, the firmware.zip. CID is HTC__001 on mine. Assume that it is anyway, and that reading it from within ARHD doesn't show it differently? Never looked before flashing the custom rom.
Click to expand...
Click to collapse
easiest way to confirm cid is download cid getter from play store. if its HTC_001 you should be fine.
Yep, done that and confirmed with getvar all so should be fine. Now I just need to relock the bootloader so it lets me rebootRUU. Last time it refused and froze.
TheMathMan said:
Yep, done that and confirmed with getvar all so should be fine. Now I just need to relock the bootloader so it lets me rebootRUU. Last time it refused and froze.
Click to expand...
Click to collapse
hope you have more luck this time then.
Odd. Worked perfectly second time around. Done and dusted within minutes. No idea what went wrong!?!?

Please help, possible brick after following guide to flash firmware

I was following Vomer's guide on my One, which has been working great. I had HBOOT 1.54, S-Off, SuperCID, and pushed the firmware twice, got the success message, and waited and when it says finished used adb to tell it to reboot. Now I get the splash, with the lock gone, as expected, and then the screen goes black. If I hold power, or power and down, the hardware keys start blinking and then nothing. A few seconds later I get the splash again, then blank again.
It appears to be communicating briefly over USB because my laptop starts trying to install a HTC MTP device (drive is already on the PC and has been fine) before it looses comms and drops out. I can't seem to get adb device to recognize it....
PLEASE tell me someone can help me recover my phone!!! I will be immensely grateful.
And what the HBOOT version you wanted to downgrade to?
Ivanovic said:
And what the HBOOT version you wanted to downgrade to?
Click to expand...
Click to collapse
I wasn't trying to downgrade HBOOT, just rather ensure my firmware was up to date. I'd had mine set up as a GPE and was flashing the DE (after supercid).
By way of an update, I've been able to get into bootloader and I'm a bit scared on what to do next so I dont screw this up. I notice that I still have S-OFF, but HBOOT is now showing 1.56 and it says RELOCKED at the top. My plan was to use rumrunner (just because of the HBOOT, but it is erroring anyway) to unlock bootloader, and then to look up the fastboot commands to push a ROM and recovery. Any advice?
Downgrade to 1.44 and change cid according to the Rom you want. Then unlock or set your bootloader to LOCKED
Here is the file for 1.44 http://www69.zippyshare.com/v/95229262/file.html
Sent from my HTC One using Tapatalk
Can you help me with the adb commands to flash that boot zip? Also, should I run " fastboot flash unlocktoken Unlock_code.bin" to unlock my bootloader first?
vettejock99 said:
Can you help me with the adb commands to flash that boot zip? Also, should I run " fastboot flash unlocktoken Unlock_code.bin" to unlock my bootloader first?
Click to expand...
Click to collapse
You can unlock if you want to flash custom recovery.
Place the file i gave you to the fastboot folder. Boot into bootloader and choose FASTBOOT.
Run the following : fastboot oem rebootRUU
fastboot flash zip filename.zip *where filaname the actual filename of the file i gave you
You will get FAILED or sth so do this command again to succesfully flash the firmware.
Ivanovic said:
You can unlock if you want to flash custom recovery.
Place the file i gave you to the fastboot folder. Boot into bootloader and choose FASTBOOT.
Run the following : fastboot oem rebootRUU
fastboot flash zip filename.zip *where filaname the actual filename of the file i gave you
You will get FAILED or sth so do this command again to succesfully flash the firmware.
Click to expand...
Click to collapse
Awesome. So I've got HBOOT 1.44, S-OFF, bootloader unlocked, supercid, and TWRP 2.6.3.3 flashed again, and I tried sideloading ARHD rom. It all looked good but same thing for the moment, I get the splash and then black......I can't figure out why I can't boot into a rom right now. About to try flashing ROM again.
Okay, so didnt' work. After sideload flashing gets to 100% it just does nothing. Manually rebooting gets me back into the splash then blackness bootloop......
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
SaHiLzZ said:
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
Click to expand...
Click to collapse
The former didn't get me anywhere, but I did follow your thinking and decided to use the RUU and start over. I'm happy to report that got me going, and then I was able to get AR HD on. I probably had to do that all along once I wiped the ROM and recovery, as sideloading clearly wasn't going to work (in retrospect) as it has an AROMA installer.
Thanks so much everyone!!
SaHiLzZ said:
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
Click to expand...
Click to collapse
Nice that everything is solved now.
Verstuurd van mijn HTC One

[Q] Help needed...S-Off, but no longer rooted

This is not an emergency...I am in no hurry, but I would appreciate some helpful advice.
I have a Sprint HTC One...I have S-Off which I gained by using revone. (I unnecessarily locked the bootloader after gaining S-Off.) In the months since I did this, I replaced twrp with the stock recovery to take at least two updates. (Stupid, I know!)
I am now unrooted and cannot boot into recovery.
What is the best way to regain root without htcdev?
I have tried this guide...http://forum.xda-developers.com/showthread.php?t=2475902...but I cannot get su permission in adb shell.
Bootloader screen:
***LOCKED***
M7_WLS PVT SHIP S-OFF RH
CID-SPCS_001
HBOOT-1.55.0000
RADIO-1.00.1108
OS-3.05.651.6
Thank you for your help!
You must unlock your boot loader, then flash the recovery you want. To unlock, since you are s-off, you can do that without the htcdev approach. Just read through the q&a faq thread. The instructions are all in there.
BTW since you are S-OFF there is no need to re-lock your bootloader to take the OTA/update your firmware
Unlock Bootloader
http://www.htcdev.com/bootloader/
Install Custom Recovery (I use the - Fastboot Method)
http://www.teamw.in/project/twrp2/171
Download SU files (UPDATE-SuperSU-v1.65.zip)
http://download.chainfire.eu/351
Copy UPDATE-SuperSU-v1.65.zip to the phone using USB cable, then boot into custom recovery (reboot phone while holding the down volume button). Flash UPDATE-SuperSU-v1.65.zip
Help still needed...information updated in first post.
couldn't he fastboot flash recovery and flash stock rooted like this? http://forum.xda-developers.com/showthread.php?t=2612576 I presume you can access bootloader? its been a bit since I have seen stock, im curious?
edit.. don't remember now what the bootloader screen is like before unlocked? duh?
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
txgoathead said:
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
Click to expand...
Click to collapse
Hmm, so the actually flash of the recovery is successful, it just doesn't stick on your phone?

[Q] HTC One unrooting stuck on bootloader

Hi Everyone
While trying to unroot my one i eventually got stuck on my bootloader. What happened was that I typed in "fastboot oem lock" in adb and now I can't go into recovery or reboot. I know I should install a RUU at this point but I can't find an RUU for my phone! When I get "fastboot getvar all" I see that my "version-main" is 3.23.666.1 (is that the right one to look at?) and so I've scoured for hours for an RUU but only found OTAs which I don't know how to use. If it helps I'm on HBOOT 1.55.
I also remember pressing unroot in OTA unroot (I don't remember the exact app name) and tried pressing restore root but it did nothing so I started doing the above stuff with RUUs.
I'm pretty stumped right now and I would appreciate any help at all, thank you!
KoalaSuccess said:
Hi Everyone
While trying to unroot my one i eventually got stuck on my bootloader. What happened was that I typed in "fastboot oem lock" in adb and now I can't go into recovery or reboot. I know I should install a RUU at this point but I can't find an RUU for my phone! When I get "fastboot getvar all" I see that my "version-main" is 3.23.666.1 (is that the right one to look at?) and so I've scoured for hours for an RUU but only found OTAs which I don't know how to use. If it helps I'm on HBOOT 1.55.
I also remember pressing unroot in OTA unroot (I don't remember the exact app name) and tried pressing restore root but it did nothing so I started doing the above stuff with RUUs.
I'm pretty stumped right now and I would appreciate any help at all, thank you!
Click to expand...
Click to collapse
If you have an unlocktoken flash it with fastboot flashunlocktoken Unlock_code.bin
If you dont have it, go to htcdev.com and visit unlock bootloader section and follow instructions there.
Once your bootloader is unlocked again, flash twrp recovery and ABD sideload some ROM.
After this you can start all over again whatever it is you were trying to do.
P.S. this will not get you the right RUU package but it will get your phone back to useful condition.
My advice is first you find an RUU for your phone and then do the bootloader manipulations.
7ftnick said:
If you have an unlocktoken flash it with fastboot flashunlocktoken Unlock_code.bin
If you dont have it, go to htcdev.com and visit unlock bootloader section and follow instructions there.
Once your bootloader is unlocked again, flash twrp recovery and ABD sideload some ROM.
After this you can start all over again whatever it is you were trying to do.
P.S. this will not get you the right RUU package but it will get your phone back to useful condition.
My advice is first you find an RUU for your phone and then do the bootloader manipulations.
Click to expand...
Click to collapse
Thanks for the reply! I did that and my phone was working fine again. I went to go flash a stock rom that I found and it flashed fine but now the NFC logo flashes in the status bar even though it's not on. Also, my wifi doesn't work! It constantly says turning on wifi.. I'm trying to flash a different stock rom but I can't enter recovery anymore I would be fine except no wifi is a bit of a problem. Thank you for the reply by the way, is there a chance you can help me find an RUU for my phone? I've searched everywhere but there doesn't seem to be one.
KoalaSuccess said:
Thanks for the reply! I did that and my phone was working fine again. I went to go flash a stock rom that I found and it flashed fine but now the NFC logo flashes in the status bar even though it's not on. Also, my wifi doesn't work! It constantly says turning on wifi.. I'm trying to flash a different stock rom but I can't enter recovery anymore I would be fine except no wifi is a bit of a problem. Thank you for the reply by the way, is there a chance you can help me find an RUU for my phone? I've searched everywhere but there doesn't seem to be one.
Click to expand...
Click to collapse
There is no RUU for Bell devices. Have you checked my restore to stock for canadian users thread? Post #1 should be ok for you
SaHiLzZ said:
There is no RUU for Bell devices. Have you checked my restore to stock for canadian users thread? Post #1 should be ok for you
Click to expand...
Click to collapse
I took a look and I'll try it! Do you know if my device is Bell? I'm not sure how to tell.
SaHiLzZ said:
There is no RUU for Bell devices. Have you checked my restore to stock for canadian users thread? Post #1 should be ok for you
Click to expand...
Click to collapse
So I managed to get my phone working again thanks to your guide! but once I went in to get my S-OFF the program got stuck on pouring 2 after I left it for an hour I hard reset my phone and now I can't boot into recovery or main OS, just bootloader. But in bootloader I see at the top that it says my phone is S-OFF but I can't do the remove tampered because I can't use adb because I can't boot into main OS! I've tried flashing different recovery TWRP but it isn't changing anything..
Any help would be greatly appreciated
KoalaSuccess said:
So I managed to get my phone working again thanks to your guide! but once I went in to get my S-OFF the program got stuck on pouring 2 after I left it for an hour I hard reset my phone and now I can't boot into recovery or main OS, just bootloader. But in bootloader I see at the top that it says my phone is S-OFF but I can't do the remove tampered because I can't use adb because I can't boot into main OS! I've tried flashing different recovery TWRP but it isn't changing anything..
Any help would be greatly appreciated
Click to expand...
Click to collapse
did you erased cache after flashing the recovery?
Code:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
then try to boot in recovery again.
alray said:
did you erased cache after flashing the recovery?
Code:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
then try to boot in recovery again.
Click to expand...
Click to collapse
Yeah I did try to erase cache, no luck. but I managed to fix it by turning my S-OFF back to S-ON by typing fastboot oem writesecureflag 3
after that I flashed twrp again and then i was able to boot up to OS again. Thanks for the help everyone!
KoalaSuccess said:
Yeah I did try to erase cache, no luck. but I managed to fix it by turning my S-OFF back to S-ON by typing fastboot oem writesecureflag 3
after that I flashed twrp again and then i was able to boot up to OS again. Thanks for the help everyone!
Click to expand...
Click to collapse
well that is strange, you should have kept s-off and try other things first but well, its to late. At least your phone is working now

[Q] going back to stock - cannot fastboot boot recovery

Trying to return my one back to stock (unlocked, s-off) to send in for purple tint repair.
I tried a few different methods involving the RUUs but never had any luck:
1. The RUU.exe for my specific phone (telus), always crashed when htc_fastboot.exe stopped responding.
2. Since there was no RUU.zip for the Telus version I extracted it out of the exe and tried flashing manually, but again fastboot stops responding.
3. Tried changing the CID to CWS__001 and using the matching RUU.exe, and while fastboot didn't crash it wasn't able to complete either (can't remember the exact error).
So I decided to use the Telus Guru Reset from htc1guru, which worked fine.
Now I need to get rid of the tampered flag and lock bootloader/s-on, but I can't boot a custom recovery with fastboot boot recovery.img.
I need to boot into recovery to either use the guru bootloader reset tool or to temporarily install superuser, so that I can manually remove the tampered flag.
Tried the latest version of both TWRP and CWM Touch, and also tried fastboot erase cache before each.
Every time fastboot succesfully pushes the img to the phone and outputs booting..., OKAY, and finished, but the phone gets stuck at the bootloader and never actually boots to the recovery (have to force power off).
Any ideas/help would be greatly appreciated.
xerockz said:
Trying to return my one back to stock (unlocked, s-off) to send in for purple tint repair.
I tried a few different methods involving the RUUs but never had any luck:
1. The RUU.exe for my specific phone (telus), always crashed when htc_fastboot.exe stopped responding.
2. Since there was no RUU.zip for the Telus version I extracted it out of the exe and tried flashing manually, but again fastboot stops responding.
3. Tried changing the CID to CWS__001 and using the matching RUU.exe, and while fastboot didn't crash it wasn't able to complete either (can't remember the exact error).
So I decided to use the Telus Guru Reset from htc1guru, which worked fine.
Now I need to get rid of the tampered flag and lock bootloader/s-on, but I can't boot a custom recovery with fastboot boot recovery.img.
I need to boot into recovery to either use the guru bootloader reset tool or to temporarily install superuser, so that I can manually remove the tampered flag.
Tried the latest version of both TWRP and CWM Touch, and also tried fastboot erase cache before each.
Every time fastboot succesfully pushes the img to the phone and outputs booting..., OKAY, and finished, but the phone gets stuck at the bootloader and never actually boots to the recovery (have to force power off).
Any ideas/help would be greatly appreciated.
Click to expand...
Click to collapse
boot recover has not worked sense hboot 1.44
clsA said:
boot recover has not worked sense hboot 1.44
Click to expand...
Click to collapse
I guess that explains the problem as I am on 1.57. Just re-flashed that guru reset, and checked the option to install superuser and busybox this time so now I should be able to fix the tampered flag and lock, without having to worry about booting to a custom recovery.
Okay so I got it locked and tampered removed, however I cannot remove Superuser.apk, the su binary, or busybox now that my bootloader is locked (using adb shell, su, rm -r /system/app/Superuser.apk). Tried factory reseting and the files are still there, not sure how I can get rid of them!
edit: I've found this old post, not sure if it's still relevant, or exactly what it's doing.
xerockz said:
Okay so I got it locked and tampered removed, however I cannot remove Superuser.apk, the su binary, or busybox now that my bootloader is locked (using adb shell, su, rm -r /system/app/Superuser.apk). Tried factory reseting and the files are still there, not sure how I can get rid of them!
edit: I've found this old post, not sure if it's still relevant, or exactly what it's doing.
Click to expand...
Click to collapse
Why not just run the Guru Reset again and select stock recovery and no root.
@xerockz try to install SuperSU app from Play Store. Open it and let update the binaries (normal!) and if successfull, you will after reboot get able to unroot for good in the app.
tetakpatalked from N7100
Hey guys, thanks for the suggestions. I ended up getting it all back to stock.
I believe the reason the RUUs weren't working was because I was on hboot 1.57.
I flashed 1.44 and then was unable to get fastboot to recognize the device under windows 8.1 (common driver issue apparently). I couldn't be bothered to try to fix the driver issue so I booted into a live Fedora usb which then let me use fastboot and flash the appropriate ruu.zip.
Now the ruu had hboot 1.55 so I was once again unable to fastboot boot recovery.img.
I ended up flashing TWRP again, trying the guru bootloader reset over and over, (for tampered and lock) wiped cache/dalvik, still wouldn't work.
Finally got it to work after fastboot format cache.
Now I was locked and no tampered flag, but still had TWRP flashed.
Tried pulling the signed_recovery.img out of the RUU zip and flashing it but obviously that doesn't work since I was locked at this point.
So I just flashed the entire RUU again, which fortunately worked even though I was locked.
Now I just had to S-ON, update OTA, and factory reset (through sense settings) and I'm completely back to stock.
14 hours of headache later and I finally got this thing reset.
It's unfortunate the return to stock guides fail to mention the RUUs don't work if you are on a newer hboot, and also that you need/can flash the RUU AFTER fixing tampered/locking.
xerockz said:
It's unfortunate the return to stock guides fail to mention the RUUs don't work if you are on a newer hboot, and also that you need/can flash the RUU AFTER fixing tampered/locking.
Click to expand...
Click to collapse
beg to differ [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
but glad you got everything sorted out :good: :good:

Categories

Resources