Relocking Bootloader without Unrooting? - One (M7) Q&A, Help & Troubleshooting

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!

Related

Can I return to T-Mobile (US) stock everything?

Hey Guys,
So I am need of a bit of help and guidance. I currently have a HTC One 32Gb Silver from T-Mobile (US). I need to return my phone for warranty exchange but so far I have put several different roms, TWRP recovery, perm root, and obv unlocked bootloader. I need to return everything to how it was out of the box. I made a backup of my stock rom way back in May after I unlocked the bootloader. I know generally people would use an RUU but I do not think there is one for T-Mobile US. So I just need some guidance on how to put back factory recovery, and then relock bootloader without T-Mobile it was ever unlocked. I believe this can be achieved thru S-OFF then S-On back on again after you fix the "re-locked" and "tampered". If someone can walk me through how to properly do this and the files I would need I give you huge gratitude.
-TAB
theamazingbeat said:
Hey Guys,
So I am need of a bit of help and guidance. I currently have a HTC One 32Gb Silver from T-Mobile (US). I need to return my phone for warranty exchange but so far I have put several different roms, TWRP recovery, perm root, and obv unlocked bootloader. I need to return everything to how it was out of the box. I made a backup of my stock rom way back in May after I unlocked the bootloader. I know generally people would use an RUU but I do not think there is one for T-Mobile US. So I just need some guidance on how to put back factory recovery, and then relock bootloader without T-Mobile it was ever unlocked. I believe this can be achieved thru S-OFF then S-On back on again after you fix the "re-locked" and "tampered". If someone can walk me through how to properly do this and the files I would need I give you huge gratitude.
-TAB
Click to expand...
Click to collapse
I can't walk you through the steps, but you'll find more assistance in the T-Mobile HTC One forum. The official T-Mobile RUU is actually available now and can be found here:
http://forum.xda-developers.com/showthread.php?t=2375223
Sent from my Nexus 7 (2013) using XDA Premium
theamazingbeat said:
Hey Guys,
So I am need of a bit of help and guidance. I currently have a HTC One 32Gb Silver from T-Mobile (US). I need to return my phone for warranty exchange but so far I have put several different roms, TWRP recovery, perm root, and obv unlocked bootloader. I need to return everything to how it was out of the box. I made a backup of my stock rom way back in May after I unlocked the bootloader. I know generally people would use an RUU but I do not think there is one for T-Mobile US. So I just need some guidance on how to put back factory recovery, and then relock bootloader without T-Mobile it was ever unlocked. I believe this can be achieved thru S-OFF then S-On back on again after you fix the "re-locked" and "tampered". If someone can walk me through how to properly do this and the files I would need I give you huge gratitude.
-TAB
Click to expand...
Click to collapse
Gain Soff
Turn off the tamper stuff
Flash RUU
Everything will appear stock
once the new revone comes out you can go back to s-on and it really is all stock
BableMan said:
Gain Soff
Turn off the tamper stuff
Flash RUU
Everything will appear stock
once the new revone comes out you can go back to s-on and it really is all stock
Click to expand...
Click to collapse
So let's say I already called T-Mobile and I need to return my phone within 7 days what do I do now?
theamazingbeat said:
So let's say I already called T-Mobile and I need to return my phone within 7 days what do I do now?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2381817
Look at second post and follow his instructions...worked like a charm S-OFF and put back to S-ON is available now

Change Baseband

I seek the advice of the masters here, or really anyone who can answer, lol. ATT converted to Dev Edition, 4.4, S-Off, stock recovery, bootloader relocked to run the 4.3 Brightstar RUU. Okay, tried to use stock recovery to change radio back to the 4.3, gives error remote not allowed. Tried to sideload it, not happening either. Figured I need unlocked bootloader, which makes no sense since I am S-Off. Tried to use my .bin file to unlock again, nope, says it doesn't match. That's fine, well, not really, but I can re-run to get another one, but, am I missing something here? Do I need to re-unlock bootloader to change the radio, and do I have to do it with CWM, or TWRP instead of stock?
Well, it sure does require unlocked bootloader so that you can flash a radio zip using a custom recovery. Once I did that it worked fine, still can't figure out why I had to get another unlock code though, that is just strange. Anyhow, mod can close thread, I figured it out.
hack14u said:
Well, it sure does require unlocked bootloader so that you can flash a radio zip using a custom recovery. Once I did that it worked fine, still can't figure out why I had to get another unlock code though, that is just strange. Anyhow, mod can close thread, I figured it out.
Click to expand...
Click to collapse
FYI yes this is normal, you always need a new unlock code when your bootloader is locked again. Don't forget you can easily unlock bootloader without htcdev when you are s-off.
alray said:
FYI yes this is normal, you always need a new unlock code when your bootloader is locked again. Don't forget you can easily unlock bootloader without htcdev when you are s-off.
Click to expand...
Click to collapse
Wow, this is news to me, how do you do that? And, I did not know that you need a new code each time, thanks for the info. I always thought it would be the same.
hack14u said:
Wow, this is news to me, how do you do that? And, I did not know that you need a new code each time, thanks for the info. I always thought it would be the same.
Click to expand...
Click to collapse
lock/unlock with s-off
http://forum.xda-developers.com/showthread.php?t=2475914

[Guide?] Returning to factory from S-OFF and need to go back to stock everything.

Is the following going to be what I need to get my phone in for warranty? Do I need to go back to S-ON or does S-OFF not void warranty if everything else is stock?
What I did:
1) Make a full TWRP backup and copy it to my HD from the phone.
2) Remove my “tampered flag” (thank you scotty1223)
3) Do a “Wipe” in TWRP.
4) Downloaded the “1.54.651.8-Stock.zip” and flashed that using TWRP (thank you Rydah805).
5) Downloaded the “Stock Recovery From 1.54.651.8 OTA" from the same thread.
6) Manually flashed the recovery.img above in fastboot using the command “fastboot flash recovery recovery.img”
7) Relock the “lock status flag” to lock my bootloader using this thread (thank you again scotty1223).
At this point I had a completely wiped system on reboot. I don’t know how but SuperSU was still on my device when I powered it back on but everything else was wiped. I then went in to SuperSU “settings” and then did the “Full unroot” to uninstall SuperSU.
Is this all I need to do to send in for warranty on my cracked screen or do I need to remove S-OFF on the bootloader also?
Thank you to all.
did you use htcdev to unlock?
Sent from my 831C using Tapatalk
Zzz73 said:
did you use htcdev to unlock?
Sent from my 831C using Tapatalk
Click to expand...
Click to collapse
Yes, I initially used the HTCDEV to unlock which voids the warranty. There are ways to revert from that though and that is what I am trying to accomplish by going back to stock everything.
I don't know if I need to flash the full firmware or not after I installed the stock nandroid backup from step 4).
Thank you for the reply.
oh OK. of you know a way around. i thought it registered your serial with HTC...
Sent from my 831C using Tapatalk
murf43143 said:
Is the following going to be what I need to get my phone in for warranty? Do I need to go back to S-ON or does S-OFF not void warranty if everything else is stock?
What I did:
1) Make a full TWRP backup and copy it to my HD from the phone.
2) Remove my “tampered flag” (thank you scotty1223)
3) Do a “Wipe” in TWRP.
4) Downloaded the “1.54.651.8-Stock.zip” and flashed that using TWRP (thank you Rydah805).
5) Downloaded the “Stock Recovery From 1.54.651.8 OTA" from the same thread.
6) Manually flashed the recovery.img above in fastboot using the command “fastboot flash recovery recovery.img”
7) Relock the “lock status flag” to lock my bootloader using this thread (thank you again scotty1223).
At this point I had a completely wiped system on reboot. I don’t know how but SuperSU was still on my device when I powered it back on but everything else was wiped. I then went in to SuperSU “settings” and then did the “Full unroot” to uninstall SuperSU.
Is this all I need to do to send in for warranty on my cracked screen or do I need to remove S-OFF on the bootloader also?
Thank you to all.
Click to expand...
Click to collapse
I would put it back to s-on as well.
FlowingAway said:
I would put it back to s-on as well.
Click to expand...
Click to collapse
Thank you for the reply.
I was under the impression that S-OFF did not void warranty on its own and in fact I read on many of the threads I posted that they recommend not to go back to S-ON.
I need to find that out I suppose. Thanks again.
murf43143 said:
Thank you for the reply.
I was under the impression that S-OFF did not void warranty on its own and in fact I read on many of the threads I posted that they recommend not to go back to S-ON.
I need to find that out I suppose. Thanks again.
Click to expand...
Click to collapse
The only reason I say that is because I had a bad experience last year with my M7 being sent back to HTC.
If I was confident I could get s-off again when the phone cane back I would do it just to make sure it wouldn't be denied. Of course that's just me. Definitely try and find some more people's experience before you do anything.
I don't think anyone here can give you a definitive answer to your question because people have all had different experiences when it comes to HTC's warranty department. Some get denied for tampering and voiding the warranty while another customer with almost an almost identical issue breezes through without even un-rooting.....
It is very likely they have some other means of telling whether the stock firmware/software has been replaced at some point that we have no clue about. If they wanted to be hardarses about this kind of thing I'm sure they are quite capable of doing so but I do not think it is in their best interest as a company to get that kind of PR when you have Google and Motorola offering warranties (guaranteed or something like that I read somewhere?) despite tampering. 'Power users' like most of the members on XDA, are a huge market who often have multiple devices and a high level of influence with friends, relatives, coworkers etc when it comes time for their upgrades...You can see where that train of thought ends up I hope.^^
Anyway, sorry for the ranting, haha. My point is that you should take every precaution you can including going back to S-On, "Locking" the bootloader again, and ensuring your device is as exactly like it was when you first got it if you want to minimize your chances of getting denied your warranty. You can always look back on it and go, well maybe I didn't have to go through all that trouble but sure glad it got fixed! That's a much better alternative than the regret you'd have if something as simple as S-Off is to fix(or faux fix) resulted in your claim getting denied.^^
Best of luck, whatever you decide!

How to gain root with S-Off but bootloader locked

Hi,
My device is currently S-Off. I don't have root anymore and I relocked my bootloader. I'd like to be able to remove the test device message but all the links I found requires to have root or to go back to S-On. I tried using HTC DEV to unlock my bootloader again to flash custom recovery and then to flash supersu.zip but it didn't unlock my bootloader. I also tried to just do a fastboot boot customrecovery.img and also didn't work. Any idea if with S-Off, bootloacker relocked, no root access, I can removed the HTC test device message?
thanks
stoned99 said:
Hi,
My device is currently S-Off. I don't have root anymore and I relocked my bootloader. I'd like to be able to remove the test device message but all the links I found requires to have root or to go back to S-On. I tried using HTC DEV to unlock my bootloader again to flash custom recovery and then to flash supersu.zip but it didn't unlock my bootloader. I also tried to just do a fastboot boot customrecovery.img and also didn't work. Any idea if with S-Off, bootloacker relocked, no root access, I can removed the HTC test device message?
thanks
Click to expand...
Click to collapse
Check out this thread on unlocking your bootloader without HTCDev. If you are able to do that, then you should be able to flash a custom recovery. You can use the Guru Bootloader Reset tool to remove the tampered sign and I think the test device will go away.
majmoz said:
Check out this thread on unlocking your bootloader without HTCDev. If you are able to do that, then you should be able to flash a custom recovery. You can use the Guru Bootloader Reset tool to remove the tampered sign and I think the test device will go away.
Click to expand...
Click to collapse
Thanks for the reply. That's what I was referring to but I can't run that since I don't have root access. If there could be a temporary way of getting root access with a locked bootloader and s-off, that could probably work to use what's being said in your link
1) Which is the best recovery? C-Mod or TWRP or any other, i mean i want that to support maximum number of stable roms and that is widely used by developers. Can you suggest me a link?
AND
2) For any rooting procedure you first have to S-Off, then unlock the bootloader, root, then install a recovery and flash a ROM..........right?
AND
3) How to be S-Off and rooted and have Locked as a message on the bootloader?
phsetaknev said:
Which is the best recovery? C-Mod or TWRP or any other, i mean i want that to support maximum number of stable roms and that is widely used by developers. Can you suggest me a link?
Click to expand...
Click to collapse
That's not the goal of this thread but I'll still answer
It's up to you. I personnaly prefer TWRP over CWM but there's also Philz custom CWM that his pretty good.
stoned99 said:
That's not the goal of this thread but I'll still answer
It's up to you. I personnaly prefer TWRP over CWM but there's also Philz custom CWM that his pretty good.
Click to expand...
Click to collapse
Yeah i know , but my internet is **** here and i could not search more :crying: also posted another questions, if you may please answer them as well
stoned99 said:
Thanks for the reply. That's what I was referring to but I can't run that since I don't have root access. If there could be a temporary way of getting root access with a locked bootloader and s-off, that could probably work to use what's being said in your link
Click to expand...
Click to collapse
Have you tried Weak Sauce to get root? I thought about it after reading about firewater s-off. This is a temp-root.
majmoz said:
Have you tried Weak Sauce to get root? I thought about it after reading about firewater s-off. This is a temp-root.
Click to expand...
Click to collapse
Yes I tried but as soon as I opened the app it crashed. oh well, doesn't really matter. I'm selling the phone as is (I bought the M8 )
majmoz said:
Have you tried Weak Sauce to get root? I thought about it after reading about firewater s-off. This is a temp-root.
Click to expand...
Click to collapse
stoned99 said:
Yes I tried but as soon as I opened the app it crashed. oh well, doesn't really matter. I'm selling the phone as is (I bought the M8 )
Click to expand...
Click to collapse
if you're still looking for this, root access is available in custom recovery (so no need to mess with the ROM), and with s-off you can flashed a masked firmware using ruu mode:
http://forum.xda-developers.com/showthread.php?p=52649709&postcount=266
http://forum.xda-developers.com/showthread.php?p=54076760&postcount=300

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