How to unroot, lock bootloader and s-off for warranty return - One (M8) Q&A, Help & Troubleshooting

Hi
I need to send my phone back for a warranty repair but I am confused about the exact steps to take.
My phone is currently S-OFF, rooted, has a TWRP recovery installed and has the latest Vodafone (VODAP001) stock rom installed.
What steps and in what order should I act in order to be left with a phone with a LOCKED boot loader (not RELOCKED/TAMPERED), unrooted and S-ON?
The instructions in a particular online link talk of locking the bootloader and then flashing an RUU but I can't find one for my Vodafone variant. (CID: VODAP001)
I have been going round in circles for the last few hours.
At one point I did lock the bootloader and then did the s-on but ended up in a boot loop to the bootloader - (probably because I forgot to unroot?)! Rescued it using the HTC Bootloader unlock code, reset and then rerunning Sunshine for S-OFF.
I can't seem to work out what to do without an RUU file.
Any help will be greatly appreciated.

Related

[Q] Relock to send back to Verizon

Hello, just a quick question. I had my One rooted, s-off, and unlocked when my microphone went. So I relocked, s-on, and flashed an RUU via http://forum.xda-developers.com/showthread.php?t=2475216. Just making sure that before I pack it in the box, there is nothing else that could trip the people at Verizon that I had messed with my phone. I took the OTAs up to 4.3. I'm just paranoid about info not matching up such as the baseband version and build number etc. Thanks
Does the bootloader say locked or relocked? Locked is good relocked not so much. Other than that you should be fine. Ruu's wipe everything and install it all fresh, including the firmware (baseband, hboot, recovery, etc), so everything will match up.
In the bootloader I have "Locked" also s-on. I noticed though with the refurbished phone I received (not happy about having to get refurbished but thats besides the point) the CID number shows in the bootloader screen whereas on my original phone it is not displayed. Not sure if I even need to be this worried, but I'm just paranoid. Thanks
Are both phones on the same hboot version? I dont remember if it showed in older hboots or not. Either way i wouldn't worry, locked and s-on is all you need.
No they weren't. I'm just going to stop worrying too much about it. Thanks
If i send my phone back to verizon do i have to be on the original ROM? i understand that i need to lock my bootloader and have s-on, but what about the software itself?
It can be on stock rom/firmware of any version. Just no custom roms or anything.
Just to confirm, if I have a phone that is S-OFF, unlocked:
1. Do I need to lock the bootloader before flashing an RUU?
2. Does flashing an RUU revert the phone to S-ON?
3. Does anything special otherwise need to be done to the phone prior to flashing the RUU?
Thanks so much in advance.
I also have to return a phone to VZW due to a hardware issue (the autofocus issue finally too much for me to bear).
You only need to relock the bootloader if using a signed ruu. A decrypted ruu does not need it locked.
Flashing an ruu will not remove s-off or relock the bootloader. You can do it before or after, but i sugest after, that way if something goes wrong durring the ruu, you still have options.
Once you do the ruu you will be stock. So the only thing you would have to do is relock and go s-on.
Fantastically clear, Clumsco, thanks! Three quick additional questions
1. is there any advantage to flashing the signed RUU, and adding danger by locking the bootloader beforehand? In your links below your signature is a path to both decrypted and signed versions of the latest RUUs. So I thought to ask before going with one or the other. If there is no advantage then I guess the decrypted version would be the safer bet, right?
2. Is there a danger that locking after the RUU will result in a "relocked" versus the desired "Locked" status?
3. Will the RUU flash wipe my /sdcard area? If so I'll back everything up before embarking on this.
I VERY much appreciate the help. I ran rumrunner several months back and have forgotten a lot of the nuances. Thanks for the quick primer!
cmlusco said:
You only need to relock the bootloader if using a signed ruu. A decrypted ruu does not need it locked.
Flashing an ruu will not remove s-off or relock the bootloader. You can do it before or after, but i sugest after, that way if something goes wrong durring the ruu, you still have options.
Once you do the ruu you will be stock. So the only thing you would have to do is relock and go s-on.
Click to expand...
Click to collapse
There is no difference between a signed and decrypted ruu other than what their names suggest. Ones signed ones not, both do the exact same thing to the phone.
You can lock the bootloader first. As long as you still have s-off, you have a saftey net. As long as your s-off you can change it to say what ever you want it to say. Locked, relocked, or unlocked.
Yes the ruu will wipe everything.
You will want to back up your sd.
Do the ruu.
Take the ota to kitkat.
Lock the bootloader.
Go s-on.
Thanks, everything worked. For future knowledge, can you flash signed RUU's with an S-ON device?
cmlusco said:
There is no difference between a signed and decrypted ruu other than what their names suggest. Ones signed ones not, both do the exact same thing to the phone.
You can lock the bootloader first. As long as you still have s-off, you have a saftey net. As long as your s-off you can change it to say what ever you want it to say. Locked, relocked, or unlocked.
Yes the ruu will wipe everything.
You will want to back up your sd.
Do the ruu.
Take the ota to kitkat.
Lock the bootloader.
Go s-on.
Click to expand...
Click to collapse
Yes and no. You can flash a signed ruu if s-on, but not one that is an older version than currently on the phone. It has to be the same or a newer version. This is an issue if your on kitkat, as we do not currently have a kk ruu available.
cmlusco said:
Yes and no. You can flash a signed ruu if s-on, but not one that is an older version than currently on the phone. It has to be the same or a newer version. This is an issue if your on kitkat, as we do not currently have a kk ruu available.
Click to expand...
Click to collapse
I'm trying to learn here too, that is dependent on the hboot correct? So if you were to downgrade your hboot via the thread somewhere in the VZW HTC One forum, you should be able to flash any RUU right?
Technically yes, although as far as i know there is no way to do so while s-on and locked. In order to downgrade hboot you would need to have the bootloader unlocked. Since verizon does not let us use htcdev to unlock, it would be virtually imposible.
Your responses are clear and helpful. Thanks a bunch!
cmlusco said:
Technically yes, although as far as i know there is no way to do so while s-on and locked. In order to downgrade hboot you would need to have the bootloader unlocked. Since verizon does not let us use htcdev to unlock, it would be virtually imposible.
Click to expand...
Click to collapse
cmlusco said:
There is no difference between a signed and decrypted ruu other than what their names suggest. Ones signed ones not, both do the exact same thing to the phone.
You can lock the bootloader first. As long as you still have s-off, you have a saftey net. As long as your s-off you can change it to say what ever you want it to say. Locked, relocked, or unlocked.
Yes the ruu will wipe everything.
You will want to back up your sd.
Do the ruu.
Take the ota to kitkat.
Lock the bootloader.
Go s-on.
Click to expand...
Click to collapse
My phone is current S-Off and relocked, how can I change it to unlocked?
Thank you.
UPDATE: Nevermind, I got it here: http://forum.xda-developers.com/showthread.php?t=2470340

I need help to get S-on, and Relock the bootloader.

Trying to return to complete T-mobile stock, I was previously on ARHD,
1.I flashed the Odex ROM,
2.Sideloaded the T-mobile Firmware update, that updated the hboot, radio, recovery ect. *Unrooted* at this step.
3. Ran the Official T-mobile RUU
4. Now I am stuck at Trying to get S-On, and then relock the bootloader. I see both options here in the All in one. The option for s-on gave a huge warning, about having the stock RUU, and Hboot. Any assurance in just pressing the button without messing up anything? If I get S-on, I then can just Relock the bootloader correct?
I've asked here in the thread that has the all in one. 19 hours ago with NO help.
http://forum.xda-developers.com/showpost.php?p=52810138&postcount=233

[Q] S-OFF and LOCK Bootloader

Please someone help me going back to factory reset with custom rom and also i want to lock bootloader and turn s-off :crying:
I'm totally confused! its showing s-on right now, should i need to s-off it?
I don't think its possible to turn s-on to s-off right now, the phone is still too new with much to explore.
Besides...i think before you need can do any of this stuff, u definitely have to unlock your bootloader.
Anyway, the last few steps that you followed in htcdev in unlocking your bootloader explains how to relock your bootloader. Whether it relocks the factory bootloader lock, that remains to be seen.

HELP with restoring my phone to stock for warrenty ASAP

Hi all, I need send my m8 back to htc for warrenty repair. I bought it standard and unlocked bootloader and gained s-off. Also flashed twrp recovery and custom ROM. I network unlocked it myself using a zip you flash in hboot as it was on O2. The cid is 11111111 so finding a stock using the cidndoesnt help as I can't remember what cid it was before. Can anyone help please? Can i use any cid stock as i unlocked to any network? Thanks very much. Ashley.
Bit the bullet and give it a go myself.
Found this: http://forum.xda-developers.com/showthread.php?t=2735235
So followed it word for word and its perfectly fine apart from wont boot in to recovery which doesnt bother me aslong as it looks normal. Also used fastboot oem writesecureflag 3 to get s-on now i can send back after i argue with them about the bootloader unlock on htcdev

CID change questions

Hello, I am an owner of HTC 10 bought in T-Mobile in Poland, Europe. My latest available software through OTA was 1.95.118.3, as shown on screenshot below, with the security patch from August. I wanted to change my CID to USA unlocked, but I have a couple of questions:
1) If I unlock the bootloader and change CID, will I be able to re-lock the bootloader?
2) If so, do you think that if I change CID to USA-unlocked and relock the bootloader my phone will be normally accepted on HTC warranty as if it was just stock? Or will they say that if my CID is from usa, my phone has to be serviced in USA?
3) Can HTC prove that I've unlocked my phone's bootloader and thus refuse to accept the warranty? I mean, even if I relock it, does HTC collect any info during the process of unlocking?
Thanks for the reply!
Your phone is out of HTC warranty either way when the bootloader gets unlocked. Even without changing the CID.
You need to be S-Off in order to change your CID, and Sunshine gives the option to S-Off your phone without unlocking the bootloader.
With S-Off "locked" you will still be able to flash a custom recovery and ROM, but staying locked will hide that from HTC for warranty. You just have to go back to S-On using Sunshine
xunholyx said:
You need to be S-Off in order to change your CID, and Sunshine gives the option to S-Off your phone without unlocking the bootloader.
With S-Off "locked" you will still be able to flash a custom recovery and ROM, but staying locked will hide that from HTC for warranty. You just have to go back to S-On using Sunshine
Click to expand...
Click to collapse
What you said made me extremely happy One question - on sunshine changelog it says:
Version 3.4
No wipe/format for HTC 10 (when choosing S-OFF/LOCKED)
S-OFF/LOCKED will behave as S-OFF/UNLOCKED on HTC 10
Does it mean if I choose S-OFF/LOCKED it will still be shown in bootloader as UNLOCKED?
Magic Stick said:
What you said made me extremely happy One question - on sunshine changelog it says:
Version 3.4
No wipe/format for HTC 10 (when choosing S-OFF/LOCKED)
S-OFF/LOCKED will behave as S-OFF/UNLOCKED on HTC 10
Does it mean if I choose S-OFF/LOCKED it will still be shown in bootloader as UNLOCKED?
Click to expand...
Click to collapse
No it will show S-OFF/locked. But you can do everything you can do with an S-OFF/unlocked device.

Categories

Resources