About unlocking the bootloader - HTC U Ultra Questions & Answers

Can you unlock the bootloader, temporarily boot from TWRP and then lock the bootloader again or is the phone permanently unlocked?
I don't want to change the recovery permanently or change the ROM. I just want to edit the `build.prop` to enable multi user.
Edit:
I'm looking to do this:
https://android.stackexchange.com/q...droid-one-after-lollipop-update/127245#127245

brillenfux said:
Can you unlock the bootloader, temporarily boot from TWRP and then lock the bootloader again or is the phone permanently unlocked?
I don't want to change the recovery permanently or change the ROM. I just want to edit the `build.prop` to enable multi user.
Edit:
I'm looking to do this:
https://android.stackexchange.com/q...droid-one-after-lollipop-update/127245#127245
Click to expand...
Click to collapse
I am afraid U need S-OFF to lock bootloader otherwie is gonna be relocked.

Riski3Run said:
I am afraid U need S-OFF to lock bootloader otherwie is gonna be relocked.
Click to expand...
Click to collapse
I'm sorry but I don't understand this sentence.

brillenfux said:
I'm sorry but I don't understand this sentence.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?t=1680928
this link will explain what does "s-off" mean if you need any extra help,just lemme know

I know what S-OFF means, the rest doesn't make sense to me

brillenfux said:
I know what S-OFF means, the rest doesn't make sense to me
Click to expand...
Click to collapse
ok so i think u dont know what "re locked" means well when u unlock the boot-loader of any htc phone and then relock it it is not gonna say locked or unlocked its going to say relocked if u want your phones status to be "relocked" again you have to s-off your phone and then change it from relocked to locked and dont say thank you there is a button for it

Oh now I get it, S-ON is of course going to reset everything again.
So basically as soon as you change something permanently in the system you need to keep S-OFF, right?

Related

[Q] Can someone please explain the rooting on this phone to me?

I apologize if there is already a thread like this, but the search wasnt working.. I know what i can do with my phone once it is rooted, I am just interested in what happens tot he actual phone. I could be wrong, but once i root it isnt it always possible to tell that i rooted it even if i unroot it so therefor all warantees are voided? sorry if im being unclear, i cant think of another way to explain it haha.
The K-Zoo Kid said:
I apologize if there is already a thread like this, but the search wasnt working.. I know what i can do with my phone once it is rooted, I am just interested in what happens tot he actual phone. I could be wrong, but once i root it isnt it always possible to tell that i rooted it even if i unroot it so therefor all warantees are voided? sorry if im being unclear, i cant think of another way to explain it haha.
Click to expand...
Click to collapse
The language on the "warranty void" screen says that unlocking the bootloader "may" void your warranty. On the Nexus One, HTC usually honored the warranty if the issue was with anything hardware related and could not have been the result of software tampering. Granted, that's them and this is Samsung.
Further, unless there is something hidden in the system files that counts the number of times you unlock the bootloader, you can always relock it prior to sending it in for repair with fastboot oem lock.
unremarked said:
The language on the "warranty void" screen says that unlocking the bootloader "may" void your warranty. On the Nexus One, HTC usually honored the warranty if the issue was with anything hardware related and could not have been the result of software tampering. Granted, that's them and this is Samsung.
Further, unless there is something hidden in the system files that counts the number of times you unlock the bootloader, you can always relock it prior to sending it in for repair with fastboot oem lock.
Click to expand...
Click to collapse
So there is a way to kind of undo the root without them knowing? THanks a lot btw. I figured it was something like this.
The K-Zoo Kid said:
So there is a way to kind of undo the root without them knowing? THanks a lot btw. I figured it was something like this.
Click to expand...
Click to collapse
unlocking the bootloader and rooting are two different things
jblade1000 said:
unlocking the bootloader and rooting are two different things
Click to expand...
Click to collapse
Ahh i have no idea what unlocking the bootloader does then.
The K-Zoo Kid said:
Ahh i have no idea what unlocking the bootloader does then.
Click to expand...
Click to collapse
In a nutshell, unlocking the bootloader means you will be allowed to flash non-Google/custom files to the system partition and more or less enables superuser access(aka root). Once thats done, then you "root" the device, push the Superuser.apk which will enable the rooted apps. Please check out the rooted section of my stickied FAQ for more detail on how to do this if you decide to. There are two great threads I link to.
Once you lock the bootloader, you lose access to the system partition and superuser I believe which effectively unroots it.
unremarked said:
In a nutshell, unlocking the bootloader means you will be allowed to flash non-Google/custom files to the system partition and more or less enables superuser access(aka root). Once thats done, then you "root" the device, push the Superuser.apk which will enable the rooted apps. Please check out the rooted section of my stickied FAQ for more detail on how to do this if you decide to. There are two great threads I link to.
Once you lock the bootloader, you lose access to the system partition and superuser I believe which effectively unroots it.
Click to expand...
Click to collapse
So basically if you want to do any sort of mods, flash roms, etc. you need to unlock the bootload and root. Thanks a lot for explaining that. I think i understand it now, but just to clarify, if i unlock the bootloader and root will i be able to get the phone back to stock without samsung knowing that i rooted/unlock the bootloader?
The K-Zoo Kid said:
So basically if you want to do any sort of mods, flash roms, etc. you need to unlock the bootload and root. Thanks a lot for explaining that. I think i understand it now, but just to clarify, if i unlock the bootloader and root will i be able to get the phone back to stock without samsung knowing that i rooted/unlock the bootloader?
Click to expand...
Click to collapse
Yes, to mod/flash roms you need to unlock the bootloader. It's possible that sometime down the road someone may develop a method of gaining root access on the phone without touching it, but it's unlikely given the fact that we can both unlock and lock the bootloader very easily.
Right now, the answer is... more or less. If you make a NAND backup in Clockwork Recovery/Rom manager of your stock ROM, you can restore back to that, fastboot flash the closest thing we have currently to the stock recovery(check development section for this), then relock the bootloader. This will give the phone all appearances of being stock. Unless Samsung has something deep in the system files tracking the number of times you've unlocked/locked(which I doubt, since I'm sure such a system would have been found by now), you should be good to go.
Most people who have returned the phone to Best Buy have noted that they don't even power on the device or check to see if the bootloader is unlocked or if there's a custom recovery on there. But your mileage may vary.
Interesting stuff. I was under the impression that once clockworkmod is flashed there is no way to remove it at this time.
Reading this thread I'm guessing and hoping this is not the case?
I had clockworkmod installed but used rom manager to flash the 2.3.1 update and i've now got the stock bootloader back. I guess the ota update does the same? It would seem that getting back to stock is pretty easy.
Sent from my Nexus S using XDA App
xspyda said:
Interesting stuff. I was under the impression that once clockworkmod is flashed there is no way to remove it at this time.
Reading this thread I'm guessing and hoping this is not the case?
Click to expand...
Click to collapse
My apologies, I posted that before I came to the same understanding regarding the stock recovery.
Like the poster above me mentioned there is a NAND backup of stock 2.3.1 you could restore to which has the stock recovery.
Sent from my Nexus S using XDA App
Thanks for the clarification. I'll do some more reading in the dev section
Thanks a lot, this really helped me out a lot. I will proceed to rooting
So, just want to make sure I have this straight... You unlock the bootloader, load custom recovery, SU, and now phone is rooted. If you lock the bootloader, you lose root?
For me, I'm not big on custom roms since I just don't have time to keep things up to date or participate in the bug process, but I do like to maintain backups with Titanium (my primary reason for rooting). So by locking the bootloader down I will not be able to use Titanium. Furthermore, unlocking the bootloader wipes the device. So is there a reason one would not want to keep the bootloader unlocked? Have I completely misunderstood the system?

Unlock/Lock Moto X Style Bootloader Multiple Times?

Hi Guys
I have 3 questions regarding Moto X Style Bootloader unlocking.
Can we unlock the Moto X Style bootloader after locking it after first unlock?
Can this process be repeated multiple times if we need to?
Can we use the same unique unlock key that we received while unlocking the bootloader for the first time?
Thank you
Why would you want to do this?
psandeepn said:
Hi Guys
I have 3 questions regarding Moto X Style Bootloader unlocking.
Can we unlock the Moto X Style bootloader after locking it after first unlock?
Can this process be repeated multiple times if we need to?
Can we use the same unique unlock key that we received while unlocking the bootloader for the first time?
Thank you
Click to expand...
Click to collapse
Yes you can do it as many times as you want but 1: Why would you relock afterwards 2: You will have to deal with a factory reset every time
PS: I dont know about the unlock key but most likely you can use the same
Is there any way to remove the Bootloader unlock warning ⚠ without relocking bootloader?
Sent from my XT1572 using Tapatalk
psandeepn said:
Hi Guys
I have 3 questions regarding Moto X Style Bootloader unlocking.
Can we unlock the Moto X Style bootloader after locking it after first unlock?
Can this process be repeated multiple times if we need to?
Can we use the same unique unlock key that we received while unlocking the bootloader for the first time?
Thank you
Click to expand...
Click to collapse
Theres no reason really to relock it. Once its unlocked, the bootloader will show that it was unlocked regardless if you relock it.
atishey23 said:
Is there any way to remove the Bootloader unlock warning without relocking bootloader?
Sent from my XT1572 using Tapatalk
Click to expand...
Click to collapse
Yes
Pyramid Head said:
Yes you can do it as many times as you want but 1: Why would you relock afterwards 2: You will have to deal with a factory reset every time
PS: I dont know about the unlock key but most likely you can use the same
Click to expand...
Click to collapse
Thanks for your reply.
The reason for attempting to re-lock bootloader is to get the OTA update from Motorola till date, especially Reliance Jio VoLTE support...But if I wish to make any further changes to my phone with any custom rom I should be able to do it by unlocking the bootloader again.
Thanks
psandeepn said:
Thanks for your reply.
The reason for attempting to re-lock bootloader is to get the OTA update from Motorola till date, especially Reliance Jio VoLTE support...But if I wish to make any further changes to my phone with any custom rom I should be able to do it by unlocking the bootloader again.
Thanks
Click to expand...
Click to collapse
You don't have to lock the bootloader to take an OTA. You just need to be in a completely unmodified stock state: stock recovery, unmodified system, no root, etc. Bootloader can be unlocked.
jason2678 said:
You don't have to lock the bootloader to take an OTA. You just need to be in a completely unmodified stock state: stock recovery, unmodified system, no root, etc. Bootloader can be unlocked.
Click to expand...
Click to collapse
Thanks for your reply.
I have unlocked bootloader, TWRP recovery and rooted. If I unroot and flash stock recovery, I will be able to get OTA? Do I need to take care of anything else?
psandeepn said:
Thanks for your reply.
I have unlocked bootloader, TWRP recovery and rooted. If I unroot and flash stock recovery, I will be able to get OTA? Do I need to take care of anything else?
Click to expand...
Click to collapse
That might work. Frankly I'm not sure. I haven't actually taken successfully an OTA on any phone since sometime in 2013 honestly.
I once flashed this phone totally back to stock. Every partition but logo, and it failed to take an OTA. I don't know if it failed because I had a modified logo, or maybe I had mounted system r/w. Not sure.
Hopefully someone more knowledgeable on this topic will chime in.
psandeepn said:
Thanks for your reply.
I have unlocked bootloader, TWRP recovery and rooted. If I unroot and flash stock recovery, I will be able to get OTA? Do I need to take care of anything else?
Click to expand...
Click to collapse
The answer is maybe... it depends what you have changed and what this OTA updater script actually checks for.
We know that a stock bootloader (which can be unlocked, that is not relevant), stock recovery, and stock system image are required to take an OTA. If the system image has been modified it can fail, and we know the updater has the ability to see if /system has EVER been mounted R/W and can fail for that condition although so far it doesn't seem Moto is going that extreme.
We do know a modified logo does not affect an OTA, in fact, you can even relock the bootloader with a modified logo so it must not be a significant check.
jason2678 said:
That might work. Frankly I'm not sure. I haven't actually taken successfully an OTA on any phone since sometime in 2013 honestly.
I once flashed this phone totally back to stock. Every partition but logo, and it failed to take an OTA. I don't know if it failed because I had a modified logo, or maybe I had mounted system r/w. Not sure.
Hopefully someone more knowledgeable on this topic will chime in.
Click to expand...
Click to collapse
On my father's moto e lte I received OTA without issue with unlocked bootloader, I just flashed stock image and it was ready to update, btw I'm not sure but I've seen somewhere info that you can change bootlogo even with locked bootloader so I don't think that's the issue.
Btw after you once unlock bootloader you won't be able to truly lock it again, next time you will be able to unlock it without any code so you lose some security in this process, frp won't be working anymore.
iks8 said:
On my father's moto e lte I received OTA without issue with unlocked bootloader, I just flashed stock image and it was ready to update, btw I'm not sure but I've seen somewhere info that you can change bootlogo even with locked bootloader so I don't think that's the issue.
Btw after you once unlock bootloader you won't be able to truly lock it again, next time you will be able to unlock it without any code so you lose some security in this process, frp won't be working anymore.
Click to expand...
Click to collapse
You still need code to unlock each time, but it's the same code, and if you relock OEM Unlocking gets turned off and you would have to turn it on again... So if something fails on the first boot after relocking, your f*cked, no way to unlock.
And FRP definitely works if the bootloader is unlocked, it is just much easier to bypass.
acejavelin said:
You still need code to unlock each time, but it's the same code, and if you relock OEM Unlocking gets turned off and you would have to turn it on again... So if something fails on the first boot after relocking, your f*cked, no way to unlock.
And FRP definitely works if the bootloader is unlocked, it is just much easier to bypass.
Click to expand...
Click to collapse
You're right sorry

Error Locking Bootlader

Hi. I am using this zip to flash Stock ROM and lock bootloader.
But when I run the "fastboot oem lock" command after running all the commands, I get the error: "Still require signed boot.img".
And the bootloader is not locked.
Please help me out.
What reasons are there for wanting to relock? have you decided to go back to stock and can't use android pay etc?
Priezti said:
What reasons are there for wanting to relock? have you decided to go back to stock and can't use android pay etc?
Click to expand...
Click to collapse
I want to sell it.
ah right, In that case I can't help as I'm in the same situation, can't relock however I am keeping my device, I was going to suggest Magisk to hide root etc but obviously not what you're looking for now
mstoic said:
Hi. I am using this zip to flash Stock ROM and lock bootloader.
But when I run the "fastboot oem lock" command after running all the commands, I get the error: "Still require signed boot.img".
And the bootloader is not locked.
Please help me out.
Click to expand...
Click to collapse
After fastboot oem lock
Flash boot , oem and all system images then again type fastboot oem lock.
It works for me..
Just so you know, relocking the bootloder does not restore the warranty. You need to let the person you are selling it to know that the warranty is still void. Lenovo keeps track of devices that were unlocked, so even relocking it will not revalidate the warranty.
jbardi said:
Just so you know, relocking the bootloder does not restore the warranty. You need to let the person you are selling it to know that the warranty is still void. Lenovo keeps track of devices that were unlocked, so even relocking it will not revalidate the warranty.
Click to expand...
Click to collapse
You mean to say once i ask for unlock code my warranty is voided even if do not unlock after that
milav said:
You mean to say once i ask for unlock code my warranty is voided even if do not unlock after that
Click to expand...
Click to collapse
Possibly. Unsure if it is voided upon simply requesting the code or only after actually unlocking it, but it is definitely voided upon a successful unlock.
Sent from my Moto G (5) Plus using Tapatalk
jbardi said:
Just so you know, relocking the bootloder does not restore the warranty. You need to let the person you are selling it to know that the warranty is still void. Lenovo keeps track of devices that were unlocked, so even relocking it will not revalidate the warranty.
Click to expand...
Click to collapse
Sure, I will let them know. But locking can still benefit if the service center guy only checks for bootloader unlock status.
mstoic said:
Sure, I will let them know. But locking can still benefit if the service center guy only checks for bootloader unlock status.
Click to expand...
Click to collapse
Have you succeeded in relocking??
milav said:
Have you succeeded in relocking??
Click to expand...
Click to collapse
Not yet. Can't get the answer anywhere.
mstoic said:
Not yet. Can't get the answer anywhere.
Click to expand...
Click to collapse
So above mentioned method is not working hmmm

S-OFF is out now, a word about it

For now, S-OFF from SunShine on the htc u11 is temporary. Changes you make while S-OFF will stay, they are not temporary, just the S-OFF flag is. All the same features, with exception of the ability to use custom hboot/aboot. Seriously, aboot patchers, don't bother trying at this point. Once you reboot into Android or Recovery, the device will reset back S-ON.
Changing mid, changing cid, downgrading etc all still work fine. If you want to change it a second time, just run sunshine again.
If/when a forever s-off comes, those with temp s-off will be upgraded at no cost.
jcase said:
For now, S-OFF from SunShine on the htc u11 is temporary. Changes you make while S-OFF will stay, they are not temporary, just the S-OFF flag is. All the same features, with exception of the ability to use custom hboot/aboot. Seriously, aboot patchers, don't bother trying at this point. Once you reboot into Android or Recovery, the device will reset back S-ON.
Changing mid, changing cid, downgrading etc all still work fine. If you want to change it a second time, just run sunshine again.
If/when a forever s-off comes, those with temp s-off will be upgraded at no cost.
Click to expand...
Click to collapse
Thanks man. I been holding off unlocking for a while waiting for this to come.
Many thanks @jcase for explanation. What about 2PZC RUU zip files flashing in case of temporary S-OFF? You know device reboots many times. Can we convert my devices to different variants?
Sent from my HTC U11 using XDA Labs
blueberry60 said:
Many thanks @jcase for explanation. What about 2PZC RUU zip files flashing in case of S-OFF? You know device reboots many times. Can we convert my devices to different variants?
Sent from my HTC U11 using XDA Labs
Click to expand...
Click to collapse
It only clears if booting into android or recovery. You can reboot into download/bootloader without clearing it
jcase said:
It only clears if booting into android or recovery. You can reboot into download/bootloader without clearing it
Click to expand...
Click to collapse
Deleted
Sent from my HTC U11 using XDA Labs
@jcase
After getting Temp-S-Off, and later entering the DownloadMode mode, we see "S-Onn" (which is natural for temporary).
In the "OpenDSP" section there is "UNKNOWN".
And in the bootloader flag has changed status to "Modified".
regards
q.
qriozum said:
@jcase
After getting Temp-S-Off, and later entering the DownloadMode mode, we see "S-Onn" (which is natural for temporary).
In the "OpenDSP" section there is "UNKNOWN".
And in the bootloader flag has changed status to "Modified".
regards
q.
Click to expand...
Click to collapse
what's wrong with that? it is the same for me since I unlocked the bootloader. 2 months ago. both unknown and modified.
also can confirm now all works, changed CID twice (don't ask)
velimirchek said:
it is the same for me since I unlocked the bootloader. 2 months ago. both unknown and modified.
Click to expand...
Click to collapse
Same here.
velimirchek said:
changed CID twice (don't ask)
Click to expand...
Click to collapse
Why did you change CID twice?
Kisakuku said:
Same here.
Why did you change CID twice?
Click to expand...
Click to collapse
Because of @tbalden and you
I changed to 060 and then to 622.
Kisakuku said:
Is it safe to flash custom splash images?
Click to expand...
Click to collapse
I'll answer my own question. No issues flashing custom splash images in bootloader (nb0) or download mode (zip with android-info.txt), but obviously can't use recovery-based scripts (no S-OFF in recovery). Splash images made for the 10 work fine, since the screen resolution hasn't changed.
Kisakuku said:
I'll answer my own question. No issues flashing custom splash images in bootloader (nb0) or download mode (zip with android-info.txt), but obviously can't use recovery-based scripts (no S-OFF in recovery). Splash images made for the 10 work fine, since the screen resolution hasn't changed.
Click to expand...
Click to collapse
Thanks, I would have answered you but was sleeping
qriozum said:
@jcase
After getting Temp-S-Off, and later entering the DownloadMode mode, we see "S-Onn" (which is natural for temporary).
In the "OpenDSP" section there is "UNKNOWN".
And in the bootloader flag has changed status to "Modified".
regards
q.
Click to expand...
Click to collapse
OpenDSP should show unknown while s-on, that is normalm. Modified is normal as well, as you have an unlocked modified phone. You can clear that with a ruu most likely
My understanding with S-Off was that the bootloader can be unlocked and relocked without HTC noticing - is that the case?
For what it's worth I've not had a device fail on me over the years, but given their recent change of policy towards unlocking, the the screen issues and etc, I've not placed a custom ROM on this phone incase it does go all wrong and I need the warranty...
Could someone please confirm?
Doughnut said:
My understanding with S-Off was that the bootloader can be unlocked and relocked without HTC noticing - is that the case?
Click to expand...
Click to collapse
Support for S-OFF Locked is coming at some point in the future.
Follow this thread thanks Jcase for your hard work
jcase said:
OpenDSP should show unknown while s-on, that is normalm. Modified is normal as well, as you have an unlocked modified phone. You can clear that with a ruu most likely
Click to expand...
Click to collapse
Nope, flashing RUU and even relocking bootloader it stays modified.
velimirchek said:
Nope, flashing RUU and even relocking bootloader it stays modified.
Click to expand...
Click to collapse
At least on the HTC 10 S-OFF/Inlocked/Modified became S-OFF/Unlocked/Official after flashing a RUU Using the SD card method. It didn't when using an exe. Maybe this needs permanent S-OFF.
Sent from my HTC U11 using XDA Labs
Changed CID to superCID and... and I think there isn't much more that we need to do with S-OFF.
The downside of this method is the possibility to lose the ability go get S-OFF with future updates.
qriozum said:
@jcase
After getting Temp-S-Off, and later entering the DownloadMode mode, we see "S-Onn" (which is natural for temporary).
In the "OpenDSP" section there is "UNKNOWN".
And in the bootloader flag has changed status to "Modified".
regards
q.
Click to expand...
Click to collapse
velimirchek said:
Nope, flashing RUU and even relocking bootloader it stays modified.
Click to expand...
Click to collapse
will look into it
SunShine v3.5.8
Enhanced HTC U11 S-OFF Support

Relock bootloader without Unlock code

The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
algnerd said:
The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
Click to expand...
Click to collapse
Why would you want to relock it? But if you wish to do so, you'll need to firstly enable developer options, once done go to settings then developer options, then you will see oem unlock, if that switch is to the right then boot loader is unlocked, to relock bootloader just press and move so that switch is to th3 left
sofir786 said:
Why would you want to relock it? But if you wish to do so, you'll need to firstly enable developer options, once done go to settings then developer options, then you will see oem unlock, if that switch is to the right then boot loader is unlocked, to relock bootloader just press and move so that switch is to th3 left
Click to expand...
Click to collapse
Because, google play says that my device is uncertified and I can't install Netflix
algnerd said:
The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
Click to expand...
Click to collapse
You're mixing up two different things, oem unlock that unlocks the bootloader is disabled on the g950f, you have to enabled it yourself. The unlock code is for carrier locks, totally different thing. You might as well root it now and use magisk to hide root from netflix.
algnerd said:
Because, google play says that my device is uncertified and I can't install Netflix
Click to expand...
Click to collapse
That happens when you have root, nothing to with unlocked bootloader
sofir786 said:
That happens when you have root, nothing to with unlocked bootloader
Click to expand...
Click to collapse
That's the thing, I wasn't rooted but I had unlocked bootloader and it wasn't working.
Now that I've rooted it using Magisk, the device is "certified"

Categories

Resources