[urgent] how to lock the bootloader!! - HTC 10 Questions & Answers

Hi All,
I am now on Android 7.0 and my htc 10's motherboard is not working.
Previously, I have unlocked the bootloader and therefore, before I go to the repair center, i have to lock my bootloader back.
I know i can S-OFF it with sunshine, what should i do after S-OFF?
Thanks a lot!!!

I guess my htc 10 should have LOCKED status for bootloader and also S-ON in order to have the warranty.
Would any of you please help?

noname729 said:
I guess my htc 10 should have LOCKED status for bootloader and also S-ON in order to have the warranty.
Would any of you please help?
Click to expand...
Click to collapse
When using sunshine, choose the s-off/Locked option. Then go back s-on.

Tarima said:
When using sunshine, choose the s-off/Locked option. Then go back s-on.
Click to expand...
Click to collapse
do you mean by clicking S-off/Locked option, it will then go back to both S-ON and Locked?

noname729 said:
do you mean by clicking S-off/Locked option, it will then go back to both S-ON and Locked?
Click to expand...
Click to collapse
No I mean after using sunshine with the s-off/Locked option, you need to do s-on manually. This will set you s-on with your bootloader locked.
The s-on procedure is described here:
https://forum.xda-developers.com/htc-10/how-to/guide-safely-set-bootloader-to-locked-t3386456

Tarima said:
No I mean after using sunshine with the s-off/Locked option, you need to do s-on manually. This will set you s-on with your bootloader locked.
The s-on procedure is described here:
https://forum.xda-developers.com/htc-10/how-to/guide-safely-set-bootloader-to-locked-t3386456
Click to expand...
Click to collapse
great! this looks exactly what i want.
Wish that i can get my phone repaired soon!

Don't forget to flash a run.exe before go S-ON to obtain OFFICIAL state in bootloader

enduromen said:
Don't forget to flash a run.exe before go S-ON to obtain OFFICIAL state in bootloader
Click to expand...
Click to collapse
+1
You could end up with a brick.
Ruu before setting to s-on is the best method.

andybones said:
+1
You could end up with a brick.
Ruu before setting to s-on is the best method.
Click to expand...
Click to collapse
my mistake not run.exe but RUU.exe of course if you go

Related

[Q] Debranding Help

I have got an htc one m8 ee network u.k branded I have just got my phone network unlocked, and I want to debrand it so I can get the latest update faster also I dont want to have a rooted device. and I dont want any signs that the phone has been tampered with. want to have a like a Genuine phone like I have bought it from shop Please could someone be kind and give me a step to step guide been looking other xda forums but they all very confusing.
x5rash said:
I have got an htc one m8 ee network u.k branded I have just got my phone network unlocked, and I want to debrand it so I can get the latest update faster also I dont want to have a rooted device. and I dont want any signs that the phone has been tampered with. want to have a like a Genuine phone like I have bought it from shop Please could someone be kind and give me a step to step guide been looking other xda forums but they all very confusing.
Click to expand...
Click to collapse
Follow the guide in my signature (you WILL need S-OFF, though) but you WILL have to root the phone before you can do anything else
EddyOS said:
Follow the guide in my signature (you WILL need S-OFF, though) but you WILL have to root the phone before you can do anything else
Click to expand...
Click to collapse
Will I able to put S-ON after its all done ?
x5rash said:
Will I able to put S-ON after its all done ?
Click to expand...
Click to collapse
Yes, but you wouldn't ever have to as your warranty would be shot unless you revert back to the EE build
EddyOS said:
Yes, but you wouldn't ever have to as your warranty would be shot unless you revert back to the EE build
Click to expand...
Click to collapse
will this delete all my data ?
x5rash said:
will this delete all my data ?
Click to expand...
Click to collapse
Yep, so you'll have to set it up again
EddyOS said:
Yep, so you'll have to set it up again
Click to expand...
Click to collapse
also is there a way to put s-on after for warranty purpose ?
x5rash said:
also is there a way to put s-on after for warranty purpose ?
Click to expand...
Click to collapse
Yes, but you don't have to
EddyOS said:
Yes, but you don't have to
Click to expand...
Click to collapse
You dont have a video guide do you lol has I dont know where to start from, samsung phones are pretty easy has they had toolkits that did it all.
x5rash said:
You dont have a video guide do you lol has I dont know where to start from, samsung phones are pretty easy has they had toolkits that did it all.
Click to expand...
Click to collapse
Unfortunately not. My guide is pretty straight forward once you have S-OFF so I never made one
EddyOS said:
Unfortunately not. My guide is pretty straight forward once you have S-OFF so I never made one
Click to expand...
Click to collapse
sorry about this as am new to htc so where do I start to take S-OFF and how do I check for cid which one l got
x5rash said:
sorry about this as am new to htc so where do I start to take S-OFF and how do I check for cid which one l got
Click to expand...
Click to collapse
CID you can find using THIS (or just by booting the phone into HBOOT)
To root the phone, you just need to follow one of the many guides online
S-OFF you'll need Sunshine
Then follow my guide and you're good to go!
EddyOS said:
CID you can find using THIS (or just by booting the phone into HBOOT)
To root the phone, you just need to follow one of the many guides online
S-OFF you'll need Sunshine
Then follow my guide and you're good to go!
Click to expand...
Click to collapse
hey do you need to unlock the bootloader to root ?
x5rash said:
hey do you need to unlock the bootloader to root ?
Click to expand...
Click to collapse
Yes you do, so back up your data first as it'll be gone (use Helium if needed as it doesn't require root)
x5rash said:
hey do you need to unlock the bootloader to root ?
Click to expand...
Click to collapse
I performed the following steps, so maybe it helps a little:
1) Searched and downloaded stock firmware, hboot and recovery
2) Unlock Bootloader via htcdev
3) Install custom recovery (I used TWRP)
4) flashed root via recovery (e.g. Chainfire SuperSU)
5) performed sunshine s-off
6) flashed HTC stock firmware
7) flashed HTC stock boot
8) changed CID via adb/fastboot
9) flashed stock HTC recovery
Here you go you are debranded.
Pay attention when downloading stock firmware, recovery and hboot, als they should all have the same version number (e.g. 1.54.401.10).
_______________________________________________________________________________________________________________________
HTCOne M8 Gunmetal: Sunshine S-Off, firmware stock 2.22.401.4, rooted with Chainfire SuperSu, CID HTC__102 (comin' from T-MOB101, 1.70.111.1)
HTCOne M8 Silver: HTCDev Unlock, S-On, ARHD/ViperOne (M8) (ever switchin'), firmware 1.54.401.10, CID HTC__102
HTCNerdYoda said:
I performed the following steps, so maybe it helps a little:
1) Searched and downloaded stock firmware, hboot and recovery
2) Unlock Bootloader via htcdev
3) Install custom recovery (I used TWRP)
4) flashed root via recovery (e.g. Chainfire SuperSU)
5) performed sunshine s-off
6) flashed HTC stock firmware
7) flashed HTC stock boot
8) changed CID via adb/fastboot
9) flashed stock HTC recovery
Here you go you are debranded.
Pay attention when downloading stock firmware, recovery and hboot, als they should all have the same version number (e.g. 1.54.401.10).
_______________________________________________________________________________________________________________________
HTCOne M8 Gunmetal: Sunshine S-Off, firmware stock 2.22.401.4, rooted with Chainfire SuperSu, CID HTC__102 (comin' from T-MOB101, 1.70.111.1)
HTCOne M8 Silver: HTCDev Unlock, S-On, ARHD/ViperOne (M8) (ever switchin'), firmware 1.54.401.10, CID HTC__102
Click to expand...
Click to collapse
7 and 9 are flashed when doing the FW update
EddyOS said:
7 and 9 are flashed when doing the FW update
Click to expand...
Click to collapse
@EddyOS
do I have to change the cid has you haven't mentioned in your guide ?
x5rash said:
@EddyOS
do I have to change the cid has you haven't mentioned in your guide ?
Click to expand...
Click to collapse
The unbranded UK handset CID is HTC__001 so I'd say yes (this is why I only get unbranded phones nowadays)
EddyOS said:
The unbranded UK handset CID is HTC__001 so I'd say yes (this is why I only get unbranded phones nowadays)
Click to expand...
Click to collapse
right ok how do I change the cid to an unbranded one has I got my phone from EE
x5rash said:
right ok how do I change the cid to an unbranded one has I got my phone from EE
Click to expand...
Click to collapse
By following any one of the guides on here to change CID (we don't really do spoon feeding here I'm afraid)

HTC one m8 s-OFF

I want to S-OFF my HTC m8 European version 4.16.401.10 lollipop 5.0.1
It's locked and not rooted
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
I can use kit Kat way to S-OFF or there is anew for lollipop
Thank you
Sent from my HTC One_M8 using xda Forum
KARIM9377 said:
I want to S-OFF my HTC m8 European version 4.16.401.10 lollipop 5.0.1
It's locked and not rooted
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
I can use kit Kat way to S-OFF or there is anew for lollipop
Thank you
Sent from my HTC One_M8 using xda Forum
Click to expand...
Click to collapse
The only way to S-OFF is to use SunShine @ http://theroot.ninja which will cost $25 respectively.
KARIM9377 said:
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
Click to expand...
Click to collapse
Its not clear to me why you want s-off.
You only need stock ROM (no system files altered by root) and stock recovery to OTA. Relocking bootloader is not necessary. Its only necessary to relock bootloader to RUU (when s-on).
Sunshine doesn't work with Lollipop (yet) but keep checking their website for updates
EddyOS said:
Sunshine doesn't work with Lollipop (yet) but keep checking their website for updates
Click to expand...
Click to collapse
Yes I don't want to use sunshine, If there is away like firewater with kitKat use fast boot terminal/command* it was like this one
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Sent from my HTC One_M8 using xda Forum
Firewater doesn't work AT ALL, Sunshine is the ONLY way to S-OFF a phone but it's not compatible with Lollipop
KARIM9377 said:
Yes I don't want to use sunshine, If there is away like firewater with kitKat use fast boot terminal/command* it was like this one
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Click to expand...
Click to collapse
firewater was an online service. So it no longer works now that the developer stopped supporting it 3 months ago.
But I'm still not convinced you even need s-off. You haven't provided a valid reason that required s-off.
If you do need soff, you need to use sunshine. There is no other option to s-off.
redpoint73 said:
firewater was an online service. So it no longer works now that the developer stopped supporting it 3 months ago.
But I'm still not convinced you even need s-off. You haven't provided a valid reason that required s-off.
If you do need soff, you need to use sunshine. There is no other option to s-off.
Click to expand...
Click to collapse
The S-OFF it's more save to get back to locked on boot loader and with that you can get OTA UPDATE from HTC what I hope is to try flash viperM8 Rom and try it and then try sky Rom and see if I don't like them can back to stack with S-OFF
maybe I am wrong I don't know if
Sent from my HTC One_M8 using xda Forum
KARIM9377 said:
The S-OFF it's more save to get back to locked on boot loader and with that you can get OTA UPDATE from HTC what I hope is to try flash viperM8 Rom and try it and then try sky Rom and see if I don't like them can back to stack with S-OFF
maybe I am wrong I don't know if
Click to expand...
Click to collapse
As I already stated above, you do not need to lock the bootloader to OTA update, and you do not need s-off to OTA update. OTA update works fine with bootloader unlocked or otherwise.
You also do not need s-off to go back to stock. Just made a nandroid (or get one from the nandroid collection here) to restore stock ROM, and restore stock recovery (also in the collection).
With s-off you can make the bootloader say LOCKED instead of RELOCKED. But warranty service is typically the only time that is desired.
Yes, s-off will give you more recovery options. Such as being able to run RUU for any CID, or "downgrade" by RUU. And it lets you do things like flash radios or modified hboots. But of the things you mentioned, its not needed.
redpoint73 said:
As I already stated above, you do not need to lock the bootloader to OTA update, and you do not need s-off to OTA update. OTA update works fine with bootloader unlocked or otherwise.
You also do not need s-off to go back to stock. Just made a nandroid (or get one from the nandroid collection here) to restore stock ROM, and restore stock recovery (also in the collection).
With s-off you can make the bootloader say LOCKED instead of RELOCKED. But warranty service is typically the only time that is desired.
Yes, s-off will give you more recovery options. Such as being able to run RUU for any CID, or "downgrade" by RUU. And it lets you do things like flash radios or modified hboots. But of the things you mentioned, its not needed.
Click to expand...
Click to collapse
Thank you for your advice I will root and flash TWRP recovery and backup the stack Rom and then flash custom Rom
Thank you for your help
Sent from my HTC One_M8 using xda Forum
Hi @redpoint73 can i ask you a question ?
I bought a second hand M8 and it already had S-OFF via sunshine.When i entered bootloader it says : Software status : Modified , (bootloader) UNLOCKED and S-OFF.
I asked the seller for the "unlock_code.bin" and he said that didn't have any.He said he simply ran sunshine to S-OFF.Didn't modified further.No custom recovery no root (although sunshine temp roots) no custom ROM.
So my question is this : performing S-OFF via sunshine will auto unlock your bootloader and say Software status : Modified ?
nighthawk696969 said:
Hi @redpoint73 can i ask you a question ?
Click to expand...
Click to collapse
Of course, that's what this forum section if for!
nighthawk696969 said:
I bought a second hand M8 and it already had S-OFF via sunshine.When i entered bootloader it says : Software status : Modified , (bootloader) UNLOCKED and S-OFF.
I asked the seller for the "unlock_code.bin" and he said that didn't have any.He said he simply ran sunshine to S-OFF.Didn't modified further.No custom recovery no root (although sunshine temp roots) no custom ROM.
So my question is this : performing S-OFF via sunshine will auto unlock your bootloader and say Software status : Modified ?
Click to expand...
Click to collapse
I actually did s-off back when firewater was still working, before sunshine even existed. So I can't speak from personal experience, just what I've read on these forums. I believe that the sunshine app gives you the options to temp root, s-off, and unlock the bootloader (by means that bypasses HTCDev.com). So that is probably what the previous owner did.
With s-off there isn't ever a need to relock the bootloader, and therefore no need to unlock it again with the bin code. RUUs will run with bootloader unlocked when s-off. And you can change the hboot flag to LOCKED for warranty purposes with s-off.
If for some reason you want to relock and then unlock the bootloader again, you can just go through the HTCDev.com process to get a new bin code. But its not advised. As I don't see why you would ever want to relock (for the reasons just given). And once you go through HTCDev.com, HTC will have a record of you doing so (which they do not at this time).
Thanks you have been more than helpfull!
Another question and last one :
Can i dual boot with multirom a sense 6 rom and the GPe rom?
I have the latest firmware installed so from what i read GPe roms can run without any issues.
Thanks again!
nighthawk696969 said:
Thanks you have been more than helpfull!
Another question and last one :
Can i dual boot with multirom a sense 6 rom and the GPe rom?
I have the latest firmware installed so from what i read GPe roms can run without any issues.
!
Click to expand...
Click to collapse
No idea, I've never used MultiROM, and not that familiar with it. Hopefully, someone who knows will chime in. Or you can post to the MultiROM thread to possibly get a quicker answer.

[Q] switch from s-on to s-off again

i returned back to stock using this thread:
http://forum.xda-developers.com/one-m9/general/guide-return-m9-to-100-stock-s-off-t3091730
i locked the bootloader, flashed a ruu for official status and switched from s-off to s-on.
now my question:
can i switch from s-on to s-off again without unlock the bootloader, flash recovery, root and sunshine?
i ask because my device was already s-off... maybe what sunshine did is still present on the device and with a command i can easily switch to s-off again?
dusu84 said:
i returned back to stock using this thread:
http://forum.xda-developers.com/one-m9/general/guide-return-m9-to-100-stock-s-off-t3091730
i locked the bootloader, flashed a ruu for official status and switched from s-off to s-on.
now my question:
can i switch from s-on to s-off again without unlock the bootloader, flash recovery, root and sunshine?
i ask because my device was already s-off... maybe what sunshine did is still present on the device and with a command i can easily switch to s-off again?
Click to expand...
Click to collapse
nope. not sure why you would do all that but you will have to unlock, root, sunshine again. just do all that again and run ruu if you want to be stock but keep soff. sunshine will not cost you anything though as long as its the same phone.
an0ther said:
nope. not sure why you would do all that but you will have to unlock, root, sunshine again. just do all that again and run ruu if you want to be stock but keep soff. sunshine will not cost you anything though as long as its the same phone.
Click to expand...
Click to collapse
OK thanks... So my question is answered ?

Relock bootloader....

If I relock my bootloader so I can run ruu, s-on, can I use the same unlock token?
Cheers
No. At least with a M8 it wasn't possible.
But you can simply generate a new one with HTCDev.
10rdan said:
If I relock my bootloader so I can run ruu, s-on, can I use the same unlock token?
Cheers
Click to expand...
Click to collapse
your only hope is soff but right now I don't think we know the process yet.
Yes you can use the same unlock code again.
---------- Post added at 08:49 PM ---------- Previous post was at 08:41 PM ----------
joshuadjohnson22 said:
your only hope is soff but right now I don't think we know the process yet.
Click to expand...
Click to collapse
Not sure what you mean, "fastboot oem lock" relocks the bootloader which is necessary for s-on users to use a signed RUU. After that you flash the unlock token again to unlock the bootloader again.
Not sure what you mean with s-off as only hope?
Mr Hofs said:
Yes you can use the same unlock code again.
---------- Post added at 08:49 PM ---------- Previous post was at 08:41 PM ----------
Not sure what you mean, "fastboot oem lock" relocks the bootloader which is necessary for s-on users to use a signed RUU. After that you flash the unlock token again to unlock the bootloader again.
Not sure what you mean with s-off as only hope?
Click to expand...
Click to collapse
oh my bad, I assumed the goal was to remove all evidence of unlock. Yeah you can relock but it will say relocked and not locked. Sorry the other thread about this got me confused
joshuadjohnson22 said:
oh my bad, I assumed the goal was to remove all evidence of unlock. Yeah you can relock but it will say relocked and not locked. Sorry the other thread about this got me confused
Click to expand...
Click to collapse
It can be confusing indeed.
So just a question, you need to have S-ON to flash official RUU from HTC ROM Downloads?
DrearierJester1 said:
So just a question, you need to have S-ON to flash official RUU from HTC ROM Downloads?
Click to expand...
Click to collapse
You don't for the US unlocked developer, I do not know about the others.
DrearierJester1 said:
So just a question, you need to have S-ON to flash official RUU from HTC ROM Downloads?
Click to expand...
Click to collapse
No you do not need s-on to flash a ruu, s-off is not mandatory either. You need a ruu that matches your cid and mid, and your firmware number. Regardless being s-on !
With s-on you can't convert your cid, mid and firmware and only able to flash the device specific software.
joshuadjohnson22 said:
oh my bad, I assumed the goal was to remove all evidence of unlock. Yeah you can relock but it will say relocked and not locked. Sorry the other thread about this got me confused
Click to expand...
Click to collapse
If I relock my bootloader for warranty purposes, flash everything stock like day 1, and it says "relocked", not "locked", will my warranty be valid or ?
I'm pretty sure your warranty is valid regardless although I've heard conflicting things.
Sent from my HTC 10 using Tapatalk
I know that at least the US Unlocked version covers unlocked bootloaders, I don't know if that extends to the other versions of the device (IMO it should, since it's all just software but...).
If it is relocked will safety net pass? And should I run the RUU exe before I relock?
misfiremind said:
If it is relocked will safety net pass? And should I run the RUU exe before I relock?
Click to expand...
Click to collapse
You don't have to relock bootloader to be stock,but if you want - firstly run RUU. Safety net works with stock rom on relocked devices.
So if someone wants to go stock again he must use the RUU then relock device again or the opossite?

Sunshine app on Android 7

does sunshine app work on Android 7 for US unlocked phones?
I am lookinh to convert it to verizon
ahgahg said:
does sunshine app work on Android 7 for US unlocked phones?
I am lookinh to convert it to verizon
Click to expand...
Click to collapse
Yes. Need to unlock bootloader, flash TWRP and root the phone first.
ahgahg said:
does sunshine app work on Android 7 for US unlocked phones?
I am lookinh to convert it to verizon
Click to expand...
Click to collapse
Yep I ran it on my sprint phone using the latest stock Nougat on Monday. Afterwards phone came back up with some weird encryption thing so I ended up ruu-ing but did achieve s-off.
henderjr said:
Yep I ran it on my sprint phone using the latest stock Nougat on Monday. Afterwards phone came back up with some weird encryption thing so I ended up ruu-ing but did achieve s-off.
Click to expand...
Click to collapse
Thank you henderjr
Tarima said:
Yes. Need to unlock bootloader, flash TWRP and root the phone first.
Click to expand...
Click to collapse
Thank you Tarima
a) run shine app first to unlockboot loader and s-off
b)flash twrp
c)root now with supersu
above steps in order?
ahgahg said:
a) run shine app first to unlockboot loader and s-off
b)flash twrp
c)root now with supersu
above steps in order?
Click to expand...
Click to collapse
No, I'm pretty sure you need to be rooted first before s-off if you're on nougat.
So,
1) unlock bootloader
2) flash TWRP and root
3) s-off using sunshine (25$)
Can i use the sunshine app to unlock bootloader on android 7 instead of htcdev
then use the app to s-off
Can i use the sunshine app to unlock bootloader on android 7 instead of htcdev
then use the app to s-off
Tarima said:
No, I'm pretty sure you need to be rooted first before s-off if you're on nougat.
So,
1) unlock bootloader
2) flash TWRP and root
3) s-off using sunshine (25$)
Click to expand...
Click to collapse
ahgahg said:
Can i use the sunshine app to unlock bootloader on android 7 instead of htcdev
then use the app to s-off
Click to expand...
Click to collapse
?
As I mentioned, you need to unlock the bootloader and root before being able to use sunshine, so how can you use sunshine to unlock the bootloader if it's not already unlocked?
On Marshmallow you could do what you asked.
gotcha, I was trying to avoid using htcdev for unlocking bootloader
Tarima said:
?
As I mentioned, you need to unlock the bootloader and root before being able to use sunshine, so how can you use sunshine to unlock the bootloader if it's not already unlocked?
On Marshmallow you could do what you asked.
Click to expand...
Click to collapse
ahgahg said:
gotcha, I was trying to avoid using htcdev for unlocking bootloader
Click to expand...
Click to collapse
NO way around it now. I just got my HTC 10 over the weekend and went through the whole learning process you are. I think my phone was out of commission more than it was up and running all Sunday. Luckily it's pretty hard to brick.

Categories

Resources