Hey, so my Moto G got an unlocked bootloader, but I'm selling it to get the Moto G 2015 (or any phone good as it). Is there a way to relock the bootloader, so I can handle it to the new owner good as stock?
In terminal type 'fastboot oem lock'. It's relocked then, not locked, that means the warranty is still gone but the functionality is the same as from a locked bootloader.
notiflux said:
In terminal type 'fastboot oem lock'. It's relocked then, not locked, that means the warranty is still gone but the functionality is the same as from a locked bootloader.
Click to expand...
Click to collapse
Will try it later, thanks! If the new owner wants to unlock it, he just should do the normal unlocking procedure?
josfr4ncisco said:
Will try it later, thanks! If the new owner wants to unlock it, he just should do the normal unlocking procedure?
Click to expand...
Click to collapse
Yep
notiflux said:
Yep
Click to expand...
Click to collapse
Thanks a lot!
Related
hi all recently have given me a Xperia sp but can not unlock the bootloader as it comes from the factory locked my question is if there is any way to unlock it, or can not be by any method.
Sorry my bad english.
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
forddark said:
hi all recently have given me a Xperia sp but can not unlock the bootloader as it comes from the factory locked my question is if there is any way to unlock it, or can not be by any method.
Sorry my bad english.
Click to expand...
Click to collapse
If it says bootloader unlock allowed: no, then fastboot is missing from your phone which is necessary to unlock the bootloader. So yes, you cannot do that if that's the case.
shahrukhqasim said:
If it says bootloader unlock allowed: no, then fastboot is missing from your phone which is necessary to unlock the bootloader. So yes, you cannot do that if that's the case.
Click to expand...
Click to collapse
Yes it says bootloader unlock allowed: no, then there is not way to change the status of bootloader for yes.[emoji22]
forddark said:
Yes it says bootloader unlock allowed: no, then there is not way to change the status of bootloader forma yes.[emoji22]
Click to expand...
Click to collapse
No one has discovered it yet. If you find a solution, PM me too.
shahrukhqasim said:
No one has discovered it yet. If you find a solution, PM me too.
Click to expand...
Click to collapse
This is a bad news, [emoji25]
forddark said:
This is a bad news, [emoji25]
Click to expand...
Click to collapse
Very much!
shahrukhqasim said:
If it says bootloader unlock allowed: no, then fastboot is missing from your phone which is necessary to unlock the bootloader. So yes, you cannot do that if that's the case.
Click to expand...
Click to collapse
Fastboot is always there... Even on carrier locked devices you can even flash a custom kernel if you want but it just won't boot you can also install a ROM for locked bootloader
Sent from my C5303 using XDA Free mobile app
noahvt said:
Fastboot is always there... Even on carrier locked devices you can even flash a custom kernel if you want but it just won't boot you can also install a ROM for locked bootloader
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
Seriously?? Then might be we can find a solution somehow using custom kernels? But I have tried for hours I could never get into FASTBOOT mode. It went into FLASHTOOL(green light) mode but never into FASTBOOT mode. I inferred, FASTBOOT is missing from the device. I think it is missing.
Accidently lock phone can only get into bootloader
status 2 locked
can't get phone to start up
need unlock string to run ADB
You cannot use adb in bootloader. If you're on 5.1 - you're screwed.
rootSU said:
You cannot use adb in bootloader. If you're on 5.1 - you're screwed.
Click to expand...
Click to collapse
If he can get into bootloader mode and OEM unlock is enabled, can't he unlock the bootloader?
fastboot oem unlock
If that results in an error you are boned and need to return the phone.
walt4861 said:
Accidently lock phone
Click to expand...
Click to collapse
How does this happen? That someone accidentally relocks their phone? I don't get it.
JulesJam said:
If he can get into bootloader mode and OEM unlock is enabled, can't he unlock the bootloader?
Click to expand...
Click to collapse
Yes, but not with adb.
Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
alternetconcept said:
Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
Click to expand...
Click to collapse
Yes the one you got in your mail.
Take care not to lose it.
I am not sure if they give it again
adity said:
Yes the one you got in your mail.
Take care not to lose it.
I am not sure if they give it again
Click to expand...
Click to collapse
Ah okay great.
Thank you!
I've unlocked my bootloader but have never once considered relocking it. Why would you lock it after unlocking it in the first place? I can't think of a single benefit.
nhizzat said:
I've unlocked my bootloader but have never once considered relocking it. Why would you lock it after unlocking it in the first place? I can't think of a single benefit.
Click to expand...
Click to collapse
I've seen some people claim they want to be as "close to stock as possible" when selling their phone. Unfortunately it doesn't really make a difference.
There are 3 states for the 2013 Moto X bootloader:
LOCKED Status:0
Unlocked Status:3
Locked Status:2
note: Status 2 is also known as relocked.
As users we can toggle it to either Status 2 or Status 3, but we can never set it back to Status 0. On Status 2 or 3, you'll get the Bootloader Unlocked warning message at reboot (where replacing the LOGO.BIN with custom one will hide the message).
alternetconcept said:
Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
Click to expand...
Click to collapse
Have you managed to lock it?
alexhdkn said:
Have you managed to lock it?
Click to expand...
Click to collapse
I didn't actually. I just tried right now but got the following message.
(bootloader) FAIL: Please run fastboot oem lock begin first!
The reason I wanted to re-lock it was for purposes of my phone getting stolen. I'm assuming if it was relocked, the person wouldn't get the joy of installing a custom recovery.
Yeah kind of silly. In any case, couldn't get it to lock.
alternetconcept said:
I didn't actually. I just tried right now but got the following message.
(bootloader) FAIL: Please run fastboot oem lock begin first!
The reason I wanted to re-lock it was for purposes of my phone getting stolen. I'm assuming if it was relocked, the person wouldn't get the joy of installing a custom recovery.
Yeah kind of silly. In any case, couldn't get it to lock.
Click to expand...
Click to collapse
There is a process to re-lock which involves flashing the stock rom first, etc. and it does wipe the phone.
So if you re-lock, you'll also lose root. (at least until you unlock, flash custom recovery and root).
KidJoe said:
There is a process to re-lock which involves flashing the stock rom first, etc. and it does wipe the phone.
So if you re-lock, you'll also lose root. (at least until you unlock, flash custom recovery and root).
Click to expand...
Click to collapse
Yeah. I think I realized that I would need to wipe my phone again to re-lock it. I turned it back to stock so I can get the OTA which should hopefully come out soon.
I guess once they allow us to download stock 5.0.2, I'll do a re-lock then.
Thanks though for the info.
I cant unlock frp as It is grayed out the option of oem unlocking in the dev options
pls I need help
Model : LLD-L21
OS : KangVIP Rom (EMUI 8.0.0)
Bootloader Status : Unlocked
In fastboot it says
Phone Unlocked
FRP Locked
did u try dload method?
yes I tried dload
It did not work
I can't upload zipI will send u the file to unlock frp or you can find that file in telegram group of our device
That wont work...
Go to terminal in root mode and do
Code:
Setprop sys.oem_unlock_allowed 1
Than you can change the value and its not longer greyed out.
Darkest-Dark said:
That wont work...
Go to terminal in root mode and do
Code:
Setprop sys.oem_unlock_allowed 1
Than you can change the value and its not longer greyed out.
Click to expand...
Click to collapse
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. Then head to developer options and you will see oem unlock is not greyed out. Then just enable oem unlocking and unlock the bootloader. When you boot up again you will see that oem is greyed out but it'll be enabled. So you'll have unlocked fastboot and unlocked frp now.
Fredin_ said:
That wont work...
Go to terminal in root mode and do
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. Then head to developer options and you will see oem unlock is not greyed out. Then just enable oem unlocking and unlock the bootloader. When you boot up again you will see that oem is greyed out but it'll be enabled. So you'll have unlocked fastboot and unlocked frp now.
Click to expand...
Click to collapse
This will just brick the device.
Fredin_ said:
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. .....<snip>.
Click to expand...
Click to collapse
Never Ever a good idea to try and relock the bootloader.
viratbansal001 said:
This will just brick the device.
Click to expand...
Click to collapse
Sparkrite said:
Never Ever a good idea to try and relock the bootloader.
Click to expand...
Click to collapse
Umm why? Its working pretty fine for me. ?
Fredin_ said:
Umm why? Its working pretty fine for me.
Click to expand...
Click to collapse
Have you Unlocked, Relocked and then Unlocked again ?
[/COLOR]
Sparkrite said:
Have you Unlocked, Relocked and then Unlocked again ?
Click to expand...
Click to collapse
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.
Fredin_ said:
[/COLOR]
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.
Click to expand...
Click to collapse
Hey will it work if I have complete stock firmware like you said? I want to take my device to service centre but my bootloader is unlocked and I have L OS installed. Will relockeing bootloader get me back my waranty?
PS. I have already asked in question and answers section but no reply yet. ?I
Fredin_ said:
[/COLOR]
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.
Click to expand...
Click to collapse
Some if not all bootloaders nowadays are not "locked" by the manufacturer using a code but are usually "locked" by employing a digital signature and/or a CID (carrier Id) hard coded into the OS. When we "unlock" a bootloader with a code we are simply using a routine written into the loader by the manufacturer to now ignore signatures and/or CIDs of the OS and this allows us to flash whatever we wish.
Sometimes upon unlocking using a code the DS/CID is erased/altered and cannot be retrieved, so not a good idea to relock an altered bootloader.
At least, that is my understanding of it.
Krazydon said:
Hey will it work if I have complete stock firmware like you said? I want to take my device to service centre but my bootloader is unlocked and I have L OS installed. Will relockeing bootloader get me back my waranty?
PS. I have already asked in question and answers section but no reply yet. I
Click to expand...
Click to collapse
Sparkrite said:
Some if not all bootloaders nowadays are not "locked" by the manufacturer using a code but are usually "locked" by employing a digital signature and/or a CID (carrier Id) hard coded into the OS. When we "unlock" a bootloader with a code we are simply using a routine written into the loader by the manufacturer to now ignore signatures and/or CIDs of the OS and this allows us to flash whatever we wish.
Sometimes upon unlocking using a code the DS/CID is erased/altered and cannot be retrieved, so not a good idea to relock an altered bootloader.
At least, that is my understanding of it.
Click to expand...
Click to collapse
That's too bad. Means we won't get back our waranty if we relock it ?. So thanks for the heads up . I'll be careful while unlocking it again (if ever).?
Fredin_ said:
That's too bad. Means we won't get back our waranty if we relock it . So thanks for the heads up . I'll be careful while unlocking it again (if ever).
Click to expand...
Click to collapse
Not necessarily, I doubt if most service centres would bother delving that deep, but maybe some would.
I don't know...........
Sparkrite said:
Not necessarily, I doubt if most service centres would bother delving that deep, but maybe some would.
I don't know...........
Click to expand...
Click to collapse
Thanks for your quick reply but do you know any way to get back CID/DS
No, but I haven't delved that deeply into Huaweis bootloaders, but I NEVER attempt to re-lock them.
Sparkrite said:
No, but I haven't delved that deeply into Huaweis bootloaders, but I NEVER attempt to re-lock them.
Click to expand...
Click to collapse
Anyways thanks for your replies. Means a lot ?
Hello everyone, I recently got a Pixel 7!
I have yet to unlock my pixel, but I was wondering if relocking the bootloader would be as it was never unlocked.
Assuming that, possibly, I restore the stock rom and relock the bootloader will my pixel show the bootloader unlocked warning at boot?
Most importantly, the "OEM Unlock" settings under "Developer options" will be greyed out or forced on? Will it show something like "bootloader already unlocked"?
Or would it be exactly as if I never unlocked it?
Thanks for your replies
philosoraptor7 said:
Hello everyone, I recently got a Pixel 7!
I have yet to unlock my pixel, but I was wondering if relocking the bootloader would be as it was never unlocked.
Click to expand...
Click to collapse
Essentially yes
philosoraptor7 said:
Assuming that, possibly, I restore the stock rom and relock the bootloader will my pixel show the bootloader unlocked warning at boot?
Click to expand...
Click to collapse
No, this screen only displays if the bootloader is unlocked
philosoraptor7 said:
Most importantly, the "OEM Unlock" settings under "Developer options" will be greyed out or forced on? Will it show something like "bootloader already unlocked"?
Click to expand...
Click to collapse
If you relock the bootloader, data will be wiped, which means that the OEM Unlock toggle is reset to Off.
philosoraptor7 said:
Or would it be exactly as if I never unlocked it?
Click to expand...
Click to collapse
Don't need to ask the same question twice
philosoraptor7 said:
Thanks for your replies
Click to expand...
Click to collapse
Happy to help
If you want to restore your device to stock and relock the bootloader in one go, use the Android Flash Tool
I did it when I was returning the first Pixel 7. No problem
Thanksss