Stuck trying to get back to unlock/root - Sprint HTC One (M7)

I got my phone back from repair and I'm confused ass to what to do next. I'm set to 'relocked' bootloader, but s-off without recovery or su apparently on 4.3. Every guide I find requires me to do something that causes things to come to as halt. Unless I'm doing something wrong I can't flash a recovery due to some error, then can't flash anything through recovery obviously, and I tried rumrunner but that stalls out after some point saying 'device is not rooted AND unsecure kernel'. What do I do next? Will HTCDev work? That's how I originally unlocked at release.
Really need help here, leaving the country for 3 weeks thursday morning and want to be back in business.
included pic of bootloader

yeah unlock again at htc dev then you will be able to flash a recovery
Or look here
[how to] lock/unlock your bootloader without htcdev(s-off required)

Thanks, had a feeling I needed to HTCDev again but didn't want to risk it given my limited time. Took some tinkering but looks like I'm unlocked and rooted again. Thanks BD.

Related

Relocking Bootloader without Unrooting?

Hi all,
Long time lurker and benefactor of all the great advice and wisdom on here. Thanks to everyone for the knowledge you share with the rest of us while we're learning! I have a quick question i can't seem to find the answer to anywhere here. Please forgive me and redirect if I'm being dense and it's somewhere else.
Firstly my One is unlocked, rooted, s-on and running ARHD 71.1
Ideally I want to keep root and my custom rom but if really necessary, I can return to stock and redo the process later.
Ok here's the issue. I didn't avail of the Google Drive storage offer before unlocking my bootloader. Now HTC are telling me I need to relock it to redeem. I'm still pushing them but just in case they hold firm:
1. Can I relock the bootloader without losing root and my custom rom? If so, how? All the guides I can find are about unrooting, locking and returning to stock.
2. If I do relock the bootloader, redeem the storage offer and then later unlock it again, is it going to wipe my data partition again?
Like I said. It's not the end of the world having to return to stock and redo, or having to flash ARHD again if the phone is wiped, but i would prefer a quick, clean and easy method if anyone has any ideas?
You can relock and still have root in the custom rom. How about making a nandroid backup, copy it off the device, relock, redeem the storage, unlock, then restore the /data partition from the backup.
diarm said:
Hi all,
Long time lurker and benefactor of all the great advice and wisdom on here. Thanks to everyone for the knowledge you share with the rest of us while we're learning! I have a quick question i can't seem to find the answer to anywhere here. Please forgive me and redirect if I'm being dense and it's somewhere else.
Firstly my One is unlocked, rooted, s-on and running ARHD 71.1
Ideally I want to keep root and my custom rom but if really necessary, I can return to stock and redo the process later.
Ok here's the issue. I didn't avail of the Google Drive storage offer before unlocking my bootloader. Now HTC are telling me I need to relock it to redeem. I'm still pushing them but just in case they hold firm:
1. Can I relock the bootloader without losing root and my custom rom? If so, how? All the guides I can find are about unrooting, locking and returning to stock.
2. If I do relock the bootloader, redeem the storage offer and then later unlock it again, is it going to wipe my data partition again?
Like I said. It's not the end of the world having to return to stock and redo, or having to flash ARHD again if the phone is wiped, but i would prefer a quick, clean and easy method if anyone has any ideas?
Click to expand...
Click to collapse
I just used @scotty1223 method posted here to lock and unlock
http://forum.xda-developers.com/showthread.php?t=2475914
you'll need s-off first
clsA said:
I just used @scotty1223 method posted here to lock and unlock
http://forum.xda-developers.com/showthread.php?t=2475914
you'll need s-off first
Click to expand...
Click to collapse
cschmitt said:
You can relock and still have root in the custom rom. How about making a nandroid backup, copy it off the device, relock, redeem the storage, unlock, then restore the /data partition from the backup.
Click to expand...
Click to collapse
that looks the best idea. will wait to see if htc get back with good news tomorrow otherwise i'll do this. thanks guys.
i'm having a nightmare here!
first when i relocked the phone it gave me "security warning" in the bootloader and refused to let me reboot the phone or even launch recovery.
i eventually managed to get the phone working again by rebooting the bootloader 7 or 8 times and then unlocking it again with my old unlock code.
then looking for another way to get relocked, i tried to get s-off but as my hboot is 1.55 there seem to be very few ways.
have been trying to use firewater (i'm on ARHD 71) but after going through everything, it tells me "ERROR: kernel contains HTC anti-firewater patch! Try again with a different kernel".
so then I flashed the ElementalX kernel thinking that would work but it gives me the same message.
anyone have any ideas? should i try another kernel? maybe a different ROM? I've tried to restore to the original nandroid backup i made when i first unlocked the thing but that's not working either!

[Q] Vivid to Tmobile

I have the SIM card for tmobile, I executed the wire trick but it didnt work, it said drinking beer and then testing alcohol level then s-off failed. Im not on stock, and Im confused as to if the bootloader should be locked or not.
I could just pay for the SIM Unlock Code, or just forward that payment to an aspiring dev that may want to help. I bricked my prism trying to flash a rom yet i deleted needed partitions in the custom recovery. Dumbass<
So im just looking for some help, i cant seem to get the RUU on it even though I am ICS in Hboot. The process gives me a error 155 which tells me Im not doing something right beforehand. Any help would be mucho appreciated.
Sketch
I believe that RUU's will refuse to flash if the bootloader is in an unlocked state. Is your bootloader unlocked? (This is separate from having S-OFF).
I hope that this post (below) will help you with the S-OFF. Once you have achieved S-OFF, I believe you can SIM-Unlock your Vivid yourself (the method is in this forum somewhere).
http://forum.xda-developers.com/showpost.php?p=48039632&postcount=3

[Q] Return to Stock without ADB

Hey there,
my phone is broken, it won't load or do anything on the usb port while the system is up, when the phone is off/fastboot or recovery it seems to charge (very slow) and i have no problems accessing it through fastboot or adb.. but even when the battery is fully charged i cannot use it for more than an hour or so before its discharged again..thats what my problem startet with, over the night the phone won't charge and i couldn't use ADB etc while the OS was up...
i think it is a hardware problem, the last thing i did was updating the firmware, but after that i used the phone like 2 weeks or, without problems and changing anything......
first i thought about it could be a bug with the new firmware, so i downgraded to an old stock version and update it through OTA to the latest version but nothing changed..
then i thought of sending it in and i tried to lock my bootloader and restore everything before doing this but the only way to access the phone via adb was in recovery, so i did that and S-ONed the phone and locked the bootloader, not thinking about that i cannot restore the old recovery with locked BL.
since i knew that i am kind of an idiot, not thinking about what exactly i did at this point i thought i pay my rent by buying SunShine an S-On it again (i didn't find another way to root/unlock BL since i was on last HTC-Android version). and replace the recovery with the original one
now i have my phone with stock recovery and everything but i cannot lock/s-off the bootloader again because i have no adb access.
Does anyone have an idead how i can prepare my phone for sending it in?
I thought about rooting stock firmware, replace recovery with stock recovery, write a script that locks the bootloader execute it after replacing recovery and unroot the phone from within SuperSU. then S-OFF it again.
I guess this should work, but since i didn't think about everything the first time i thought i might ask here if someone has a better idea.
smokey_joe said:
Hey there,
my phone is broken, it won't load or do anything on the usb port while the system is up, when the phone is off/fastboot or recovery it seems to charge (very slow) and i have no problems accessing it through fastboot or adb.. but even when the battery is fully charged i cannot use it for more than an hour or so before its discharged again..thats what my problem startet with, over the night the phone won't charge and i couldn't use ADB etc while the OS was up...
i think it is a hardware problem, the last thing i did was updating the firmware, but after that i used the phone like 2 weeks or, without problems and changing anything......
first i thought about it could be a bug with the new firmware, so i downgraded to an old stock version and update it through OTA to the latest version but nothing changed..
then i thought of sending it in and i tried to lock my bootloader and restore everything before doing this but the only way to access the phone via adb was in recovery, so i did that and S-ONed the phone and locked the bootloader, not thinking about that i cannot restore the old recovery with locked BL.
since i knew that i am kind of an idiot, not thinking about what exactly i did at this point i thought i pay my rent by buying SunShine an S-On it again (i didn't find another way to root/unlock BL since i was on last HTC-Android version). and replace the recovery with the original one
now i have my phone with stock recovery and everything but i cannot lock/s-off the bootloader again because i have no adb access.
Does anyone have an idead how i can prepare my phone for sending it in?
I thought about rooting stock firmware, replace recovery with stock recovery, write a script that locks the bootloader execute it after replacing recovery and unroot the phone from within SuperSU. then S-OFF it again.
I guess this should work, but since i didn't think about everything the first time i thought i might ask here if someone has a better idea.
Click to expand...
Click to collapse
You have stated a lot of things but most of them are contradictory.
What is the status of your phone? Locked or Unlocked?
Are you S-ON or S-OFF?
What recovery do you have on the phone? Stock or Custom?
What specifically are you trying to accomplish?
If you have stock rom, stock firmware with stock recovery, bootloader is locked and you are S-ON then you are back to stock. However, if your bootloader states "Tampered" and/or "Relocked" then the service facility will know that you tampered with the phone. To remove those items:
Unlock bootloader
Follow the steps in nkk71's SuperGuide in my signature on:
--Gain S-OFF
--Custom recovery
--Removing "Tampered" & "Locked"
--Install stock firmware
--Gain S-ON
majmoz said:
You have stated a lot of things but most of them are contradictory.
What is the status of your phone? Locked or Unlocked?
Are you S-ON or S-OFF?
What recovery do you have on the phone? Stock or Custom?
What specifically are you trying to accomplish?
If you have stock rom, stock firmware with stock recovery, bootloader is locked and you are S-ON then you are back to stock. However, if your bootloader states "Tampered" and/or "Relocked" then the service facility will know that you tampered with the phone. To remove those items:
Unlock bootloader
Follow the steps in nkk71's SuperGuide in my signature on:
--Gain S-OFF
--Custom recovery
--Removing "Tampered" & "Locked"
--Install stock firmware
--Gain S-ON
Click to expand...
Click to collapse
thanks for your reply.
i guess i was to confused to see that i can remove the tampered and unlocked flags, then restore the stock bootloader and then s-off the phone...i thought i have to remove tampered/unlocked and then s-on the phone in the same step....i guess i have no problem when i can do it like that

[Q] Advice, please

OK, so I jumped ship and bought a G3 (for $1 ), and am going to let my daughter have my One. It's unlocked and S-Off. I just ran the latest RUU for it, so outside of being S-Off and unlocked, it's stock.
At first I was going to S-On and re-lock, or vice versa, just to prevent anything bad happening, but got to thinking, if she's running a stock, unrooted ROM, without SU, there's little risk of her creating any issues, right?
Secondly, will it be OK to take an OTA? I know generally taking OTA isn't good, but she won't be running custom or rooted ROM, anyway, so nothing should break, Right?
Thanks in advance!
to get into the bootloader you need to hold down the two seperate buttons so if she doesnt know about bringing it into bootloader and recovery I doubt she could do anything to it and without SU on the rom there isnt much she could do to it other than forgetting a password then all you have to do is get into recovery and flash a new rom.
toad6386 said:
OK, so I jumped ship and bought a G3 (for $1 ), and am going to let my daughter have my One. It's unlocked and S-Off. I just ran the latest RUU for it, so outside of being S-Off and unlocked, it's stock.
At first I was going to S-On and re-lock, or vice versa, just to prevent anything bad happening, but got to thinking, if she's running a stock, unrooted ROM, without SU, there's little risk of her creating any issues, right?
Secondly, will it be OK to take an OTA? I know generally taking OTA isn't good, but she won't be running custom or rooted ROM, anyway, so nothing should break, Right?
Thanks in advance!
Click to expand...
Click to collapse
Well, just so you know, there is a reason bootloaders are locked on delivery. If your daughter loses her phone, it is entirely possible for someone to extract data out of it via fastboot.
I would at the very least lock the bootloader, just for the peace of mind.
S-Off and unlocked do not affect how the phone operates whatsoever. They only affect what can be modified on the phone on a broader scale (radio, recovery, system, boot partitions).
If the phone is unrooted, and she doesn't have access to ADB, then there is no way she can break the phone, rest assured.
sauprankul said:
Well, just so you know, there is a reason bootloaders are locked on delivery. If your daughter loses her phone, it is entirely possible for someone to extract data out of it via fastboot.
I would at the very least lock the bootloader, just for the peace of mind.
Click to expand...
Click to collapse
Excellent point! Thanks!

Bricked, no clue what to do

I'm lost. I was trying to update my bootloader, and I saw a guide somewhere but lost it. I looked for it again, and I didn't find the same, but I saw different instructions. It said to update via RUU. I was using an older CM build with hboot 3.18, and I used the RUU after relocking my bootloader. It erased all the data on the phone, and then gave me error 158, which I could only find cited on a HTC One X thread. I used the RUU given in the forums here. It was non-HK. I didn't have a backup (because my stupid ass decided to not backup my phone .-.) and I am now bricked essentially. I cannot install anything. I tried to unlock, but I can't. It gives me no response other than that it fails. I have the original key too, I just don't know what to do. So, tell me if this sounds reasonable.
1. Make a new HTCdev account since I'm missing my old one.
2. Unlock via the same process.
3. Reinstall TWRP.
4. Find the old CM build I had.
5. Live with my old bootloader.
Because I have nothing I can do. If that RUU didn't work, I don't know what will. Sunshine is retarded and I'm not spending $25 for it to update the bootloader with S-OFF.
TL;DR: S-ON relocked bootloader on a phone that's wiped. Stuck with no recovery/data/anything after a failed RUU install since it decided to wipe my data instead of making sure it could even install first.

Categories

Resources