bootloader relock - Moto G 2015 Q&A, Help & Troubleshooting

hello guys, im new here.
anybody tried relocking their bootloader by using this command?
fastboot oem lock
and does it work and restores warranty conditions?

That command has been tried since the original Moto G and no, contrary to what some people think you can't reset the internal unlock counter. They will always know you unlocked it. If nothing else, they know because you got the unlock code from them. I'm not sure why people overlook this clearly posted sentence when they request the unlock code from Motorola.
"Unless you have a Developer Edition device, once you get the unlock code, your device is no longer covered by the Motorola warranty; in other words, please don't blame us if things go wrong, even if they appear unrelated to unlocking the bootloader."
Sent from my SM-T530NU using Tapatalk

creative21 said:
hello guys, im new here.
anybody tried relocking their bootloader by using this command?
fastboot oem lock
and does it work and restores warranty conditions?
Click to expand...
Click to collapse
That command will lock your bootloader again. However, locking and unlocking will wipe your device.
Upon receiving your unlock code from Motorola, your warranty is void; regardless if you unlock it or not. The sheer act of asking for and receiving the code voids your warranty.
Of course, if there is a true hardware issue that is not caused by software tinkering, you can still use that piece of the warranty.
Sent from my MotoG3 using Tapatalk

nikon120 said:
That command will lock your bootloader again. However, locking and unlocking will wipe your device.
Upon receiving your unlock code from Motorola, your warranty is void; regardless if you unlock it or not. The sheer act of asking for and receiving the code voids your warranty.
Of course, if there is a true hardware issue that is not caused by software tinkering, you can still use that piece of the warranty.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
after relocking, warning bootlogo is removed or can be replaced?

creative21 said:
after relocking, warning bootlogo is removed or can be replaced?
Click to expand...
Click to collapse
I think I can be replaced !, I'm not sure!
I will test and send feedback!

Jeconias Santos said:
I think I can be replaced !, I'm not sure!
I will test and send feedback!
Click to expand...
Click to collapse
but I think after reflashing stock, boot logo will be return to normal.

I tried that command and relock the bootloader several times as i didnt got the same battery backup as stock... So my question is after relocking and flahing stock rom... Do i get the OTA? and will it get flashed sucessfully?

sagar27691 said:
I tried that command and relock the bootloader several times as i didnt got the same battery backup as stock... So my question is after relocking and flahing stock rom... Do i get the OTA? and will it get flashed sucessfully?
Click to expand...
Click to collapse
Yes you will be able to get over the air updates after relocking bootloader if necessary system apps and files are not modified.
If you are not able to get ota you could also flash stick firmware images.

Thanks man... I flashed the whole stock rom from xda here only...

Even though I've run the commands to re-lock, going into the fastboot (bootloader) mode shows it's unlocked.
Anyone figure out a way to actually re-lock it?

JWhipple said:
Even though I've run the commands to re-lock, going into the fastboot (bootloader) mode shows it's unlocked.
Anyone figure out a way to actually re-lock it?
Click to expand...
Click to collapse
No, once it's unlocked, the counter will always show an unlocked bootloader. Best you can do is hide the opening unlocked bootloader screen.

In the 1st Moto G i have sucessfully relocked the bootloader.
You can use the command 'fastboot oem lock begin', then flash all files from fastboot firmware changing the logo file to logo-mod.bin (File that have removed the unlocked warning image, because flashing custom logo.bin doesn't check crc or hash when relocking the bootloader), then finish with 'fastboot oem lock' command.
Example:
fastboot oem lock begin
fastboot flash partition gpt.bin
- - - rest of commands
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
I don't have tested because i don't have unlocked my g3 bootloader yet.
Just try

jmadotme said:
In the 1st Moto G i have sucessfully relocked the bootloader.
You can use the command 'fastboot oem lock begin', then flash all files from fastboot firmware changing the logo file to logo-mod.bin (File that have removed the unlocked warning image, because flashing custom logo.bin doesn't check crc or hash when relocking the bootloader), then finish with 'fastboot oem lock' command.
Example:
fastboot oem lock begin
fastboot flash partition gpt.bin
- - - rest of commands
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
I don't have tested because i don't have unlocked my g3 bootloader yet.
Just try
Click to expand...
Click to collapse
Been there, done that, got the T-Shirt, doesn't stop the banner from saying the bootloader is unlocked.

JWhipple said:
Been there, done that, got the T-Shirt, doesn't stop the banner from saying the bootloader is unlocked.
Click to expand...
Click to collapse
Have you flashed moded logo.bin?

I still don't understand the point of all this... why are people trying to go through all the work of relocking the bootloader?!?! There is ZERO benefit to it... your warranty is still void (you don't even have to unlock, just agree to the terms and get the unlock token), it doesn't enhance resale value, it doesn't change the performance, so why all the effort to try to do it?!?!

acejavelin said:
I still don't understand the point of all this... why are people trying to go through all the work of relocking the bootloader?!?! There is ZERO benefit to it... your warranty is still void (you don't even have to unlock, just agree to the terms and get the unlock token), it doesn't enhance resale value, it doesn't change the performance, so why all the effort to try to do it?!?!
Click to expand...
Click to collapse
to get the new official OTA... if bootloader is locked and have stock rom we are able to get the OTA and can flash successfully with it... though it shows bootloader unlocked warning.

sagar27691 said:
to get the new official OTA... if bootloader is locked and have stock rom we are able to get the OTA and can flash successfully with it... though it shows bootloader unlocked warning.[emoji14]
Click to expand...
Click to collapse
Hmm... Are you sure? If you are unlocked but otherwise pure stock, you should still get OTAs, if your not then they are most likely blocked server-side not client-side. In other words just accepting the T&C of a Motorola bootloader unlock could not only void your warranty, but also blacklist your IMEI from OTAs as well.
I could be wrong, but I think your "barking up the wrong tree" here... I can tell you for sure that Huawei does it this way since Lollipop, if you unlock the bootloader your IMEI is blacklisted server-side... They are very straightforward about it.
Sent from my MotoG3 using Tapatalk

acejavelin said:
Hmm... Are you sure? If you are unlocked but otherwise pure stock, you should still get OTAs, if your not then they are most likely blocked server-side not client-side. In other words just accepting the T&C of a Motorola bootloader unlock could not only void your warranty, but also blacklist your IMEI from OTAs as well.
I could be wrong, but I think your "barking up the wrong tree" here... I can tell you for sure that Huawei does it this way since Lollipop, if you unlock the bootloader your IMEI is blacklisted server-side... They are very straightforward about it.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
not at all... already flashed official firmware 3 times after experiencing the less battery backup on custom roms. in this 3 times i flashed the modified bootlogo so didnt got the warning of bootloader unstlocked and not able to get the OTA but then again i flashed the official firmware 4th time and without that modified bootlogo in hope to get the latest OTA build no. LPI23.72-65 and it worked i got that update next day... and still its show bootloader unlocked warning... so that warnling doesn't affect the OTA is you have everything stock with locked bootloder.

Can anyone post a modified logo without the unlocked warning? My bootlock is relocked but i wanna get rid of this message. Thanks!

Just to clear up any confusion. There is no need to relock the bootloader. In fact it seems like a waste of time to me...
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/91999/p/1449,8620
After I unlock my device bootloader, am I still eligible to receive software upgrades from Motorola?
Unlocking your bootloader does not affect your eligibility to receive over-the-air (OTA) upgrades from Motorola. Upgrade packages to new versions of Android will be pushed to all eligible devices, regardless of their bootloader locking status.
Click to expand...
Click to collapse

Related

Going back to stock

I'm looking to go back to stock so I can sell my device.
I mainly need to get stock recovery and stock software back on the phone.
Is it as simple as flashing a RUU? I know this will restore the stock software, but will it flash stock recovery too?
Also, is relocking the bootloader as simple as "fastboot oem lock"?
Thanks for the help.
The answer to your questions is yes.
Yep.
Relock the bootloader, run an RUU. You'll be good to go.
_MetalHead_ said:
Yep.
Relock the bootloader, run an RUU. You'll be good to go.
Click to expand...
Click to collapse
hi, I'm in the same position now, I want to sell my phone and need to lock the bootloader. I just want to be acting as meticulous as I can be since I've hard bricked a GNote before just because I didn't read the instructions carefully.
I've used the htcdev method to unlock the device. On the road the stock, what's next step I should take ? How do I re-lock the bootlader ?
Boot to recovery. Then run fastboot oem lock.
gunnyman said:
Boot to recovery. Then run fastboot oem lock.
Click to expand...
Click to collapse
After that, should I flash a stock ROM ? is that it ?
Yes
One thing to note when relocking the bootloader and I don't think it's normal but it happened to me, it may result in a bootloop that won't let you out of the hboot screen. It didn't happen to me the first couple of times I did it to return to stock, but the last 2 times I did after relocking the bootloader I had the tampered warning at the top which is normal, and then relocked, but below that it said security warning. I don't recall seeing that in the past which maybe it was normal, however I was stuck in an endless hboot loop. Trying to shutoff and restart the phone or go into recovery or any option other than fastboot really all resulted in the same thing. I would be returned to the hboot screen. If this happens just select fastboot and plug in the phone and run the ruu like normal.
like I said the first couple times I relocked it went off without a hitch but then that started happening so this is just a little tip should the same thing happen.
When you lock the bootloader with a custom recovery installed, that is the expected behavior.
That would explain it then, thanks gunny. The first couple of times I performed this I was just doing it to familiarize myself with the steps, you know, burn them into my thick skull. I hadn't actually put cwm or twrp on yet. I guess now I understand why it was different.
Just updating...
I was able to relock the bootloader and flash the run with no problems.
I'm assuming there's no way to ever get rid of the "tampered" banner on the top of the bootloader screen?
If you're stock unrooted tampered goes away.
provenflipper said:
Just updating...
I was able to relock the bootloader and flash the run with no problems.
I'm assuming there's no way to ever get rid of the "tampered" banner on the top of the bootloader screen?
Click to expand...
Click to collapse
gunnyman said:
If you're stock unrooted tampered goes away.
Click to expand...
Click to collapse
I'm sorry, I meant there's no way to make the "relocked" banner go away.
Unless we get s - off nope. It will say re locked

Z5 OEM Unlock Bootloader - Preserving DRM most likely!?

Seems the Z5C community have found a way to unlock the bootloader directly from the device. Is this possible yet for the Z5?
http://forum.xda-developers.com/z5-compact/general/oem-unlock-bootloader-preserving-drm-t3201257
This isn't unlocking it from the device I'm afraid. This is just a toggle to enable you to unlock the bootloader via fastboot.
We also have said setting in our developer options, it doesn't effect anything other than enabling the fastboot command 'fastboot oem unlock'.
Thanks for clarifying
gamer649 said:
This isn't unlocking it from the device I'm afraid. This is just a toggle to enable you to unlock the bootloader via fastboot.
We also have said setting in our developer options, it doesn't effect anything other than enabling the fastboot command 'fastboot oem unlock'.
Click to expand...
Click to collapse
1. It make our warranty lost ,doesn't it ?
2. We can re-lock it,don't we ?
somboons said:
1. It make our warranty lost ,doesn't it ?
2. We can re-lock it,don't we ?
Click to expand...
Click to collapse
Unlocking the Bootloader voids your warranty, yes.
Officially there is no way to relock the bootloader but you can relock it, however you will not get your DRM keys/TA partitions back unless you have backed them up (which we currently cannot do).
gamer649 said:
Unlocking the Bootloader voids your warranty, yes.
Officially there is no way to relock the bootloader but you can relock it, however you will not get your DRM keys/TA partitions back unless you have backed them up (which we currently cannot do).
Click to expand...
Click to collapse
if i relock the bootloader,and i cant restore drm keys,the warranty will still be back, or the drm keys will affect it as well?
Sent from my D6503 using XDA Forums Pro.
Nope. Once You open your device loose them forever. If, someday we got a root with looked bootloader You can make a backup of them and open and lock restoring the TA partition.
Sent from my E6533 using XDA Free mobile app

Can someone give direction on Re locking my bootloader?

So I have not really been on here since last spring when the g5 was rooted, and once more in the early winter, to do Prime's upgrade to the h83020a.
When I did that upgrade, the 20a, I was just trying to bring the device back to a semi stock state, with locked bootloader, and no root.
It took away root, but the bootloader is still unlocked.
If I just wanted to relock the bootloader, what would I have to do if I am on 20a, no root? In the past I would just dive into the dev section, but I do not have a urge to become an 'expert' on the device, if I am giving it back to Tmob this week.
Can anyone point me to the thread, that would help me with the process of relocking the bootloader, without pooching the phone?
Thanks in advance
Tmobilesucksass said:
So I have not really been on here since last spring when the g5 was rooted, and once more in the early winter, to do Prime's upgrade to the h83020a.
When I did that upgrade, the 20a, I was just trying to bring the device back to a semi stock state, with locked bootloader, and no root.
It took away root, but the bootloader is still unlocked.
If I just wanted to relock the bootloader, what would I have to do if I am on 20a, no root? In the past I would just dive into the dev section, but I do not have a urge to become an 'expert' on the device, if I am giving it back to Tmob this week.
Can anyone point me to the thread, that would help me with the process of relocking the bootloader, without pooching the phone?
Thanks in advance
Click to expand...
Click to collapse
If you're running stock, unrooted Ron and haven't made any system changes, all you need to do is use ADB to boot to Fastboot mode:
Code:
ADB reboot bootloader
Once in Fastboot mode type:
Code:
Fastboot OEM lock
Then you will have a locked bootloader again. Just make sure you're running 100% stock first, because if not and you relock the bootloader it could brick it.
jeffsga88 said:
If you're running stock, unrooted Ron and haven't made any system changes, all you need to do is use ADB to boot to Fastboot mode:
Code:
ADB reboot bootloader
Once in Fastboot mode type:
Code:
Fastboot OEM lock
Then you will have a locked bootloader again. Just make sure you're running 100% stock first, because if not and you relock the bootloader it could brick it.
Click to expand...
Click to collapse
Thanks, man. 'Prime said the same thing. I had TWRP before 20a, so just to be sure, I'm going to reflash with LGUP, and than do the adb as he suggested, also.

Few questions about relocking bootloader

I am considering relocking the bootloader for my HTC U12+. I unlocked it a long time ago (out of habit I guess). So my phone is completely running stock without any modifications. I want to relock the phone to get widewine back to L1, so I'll get Netflix updates and such.
A few questions about relocking that I couldn't find an answer to.
1. When I relock the bootloader will it do a factory reset to the phone? I'm asking because unlocking did.
2. If later on I decide to unlock the relocked bootloader again, do I have to get another unlock-code from HTC? Or is unlocking a relocked bootloader a simpler procedure?
So I decided to do the relocking. During the relocking procedure I was being told on the screen that the phone will be wiped if I continue. It remains to be seen how I'll unlock it later on if I want to.
lvl3 said:
I am considering relocking the bootloader for my HTC U12+. I unlocked it a long time ago (out of habit I guess). So my phone is completely running stock without any modifications. I want to relock the phone to get widewine back to L1, so I'll get Netflix updates and such.
A few questions about relocking that I couldn't find an answer to.
1. When I relock the bootloader will it do a factory reset to the phone? I'm asking because unlocking did.
2. If later on I decide to unlock the relocked bootloader again, do I have to get another unlock-code from HTC? Or is unlocking a relocked bootloader a simpler procedure?
Click to expand...
Click to collapse
2. You have to to go through the HTCDev website procedure (not sure if you can reuse the previous Unlock_code.bin file).
is it possible to get "locked bootloader" instead of "relocked bootloader" and get rid of system status modified?
maslaq said:
is it possible to get "locked bootloader" instead of "relocked bootloader" and get rid of system status modified?
Click to expand...
Click to collapse
No.

General 🔴WARNING 🔴: if you plan to unlock the bootloader & root your device, read this ❗❗❗

If yo u are planning on unlocking the bootloader and rooting, then get either the global version, or Tencent (which is Chinese market version) but it has to be on Chinese ROM so you can unlock the bootloader.
if it is Tencent edition with global ROM, just do not buy it.
the issue faced by most who get Tencent edition with global ROM is that the resellers unlock the bootloader to flash the global ROM & then they relock the bootloader.
ASUS only allows you 1 time unlock.​unlocking for a 2nd time is yet to be successful.
i am facing this issue myself hence i do not wish it to anyone else.
Thanks bro.
What about global version? Can they be unlocked multiple times?
Romonster said:
What about global version? Can they be unlocked multiple times?
Click to expand...
Click to collapse
I have the global version with global rom, not yet BL-Unlocked and i'd like to know as well before doing it
zvrsd said:
I have the global version with global rom, not yet BL-Unlocked and i'd like to know as well before doing it
Click to expand...
Click to collapse
Unlock only allowed once even with global. Once relock, can't unlock again.
Nchls said:
Unlock only allowed once even with global. Once relock, can't unlock again.
Click to expand...
Click to collapse
Not have any way's to unlock?
TESxHUNTER said:
Not have any way's to unlock?
Click to expand...
Click to collapse
Need to wait for EDL firmware
Nchls said:
Need to wait for EDL firmware
Click to expand...
Click to collapse
Is Anyone Working On Edl FIRMWARE for Asus Rog phone 5?
Nchls said:
Need to wait for EDL firmware
Click to expand...
Click to collapse
Sir same prob here. Bootloader not unlocking. Any solution for this? PLEASE HELP
DevoidAhad said:
Sir same prob here. Bootloader not unlocking. Any solution for this? PLEASE HELP
Click to expand...
Click to collapse
If you purchased the device from eBay or Amazon and it is a Tencent version with WW installed, you may want to check that it isn't already unlocked. There are also some sellers that convert the phone and then lock the bootloader again without realizing it is once and done.
twistedumbrella said:
If you purchased the device from eBay or Amazon and it is a Tencent version with WW installed, you may want to check that it isn't already unlocked. There are also some sellers that convert the phone and then lock the bootloader again without realizing it is once and done.
Click to expand...
Click to collapse
Yeah. Now any solution?
DevoidAhad said:
Yeah. Now any solution?
Click to expand...
Click to collapse
Wait, what needs a solution? Is it already unlocked or not?
I
twistedumbrella said:
If you purchased the device from eBay or Amazon and it is a Tencent version with WW installed, you may want to check that it isn't already unlocked. There are also some sellers that convert the phone and then lock the bootloader again without realizing it is once and done.
Click to expand...
Click to collapse
What exactly is it that prevents the Tencent version from being re-unlocked? Do you know? Is the unlock tool coded to reject subsequent unlocks on Tencent? When I confirmed with ASUS that I could re-unlock mine after they rolled it back to factory (WW version not TC), the guy told me you can unlock indefinitely, they just register that you've done it over the internet when you use the ASUS tool...
Andrologic said:
What exactly is it that prevents the Tencent version from being re-unlocked? Do you know? Is the unlock tool coded to reject subsequent unlocks on Tencent? When I confirmed with ASUS that I could re-unlock mine after they rolled it back to factory (WW version not TC), the guy told me you can unlock indefinitely, they just register that you've done it over the internet when you use the ASUS tool...
Click to expand...
Click to collapse
I honestly don't know if it is some step that is being performed incorrectly or corrupted conversions. I was able to unlock mine again after being sold a converted version, but it also had the original serial and IMEI intact. It could also be a myth left over from the 3.
Thats exactly the problem. They only allow the BL to be unlocked one time. It will stay unlocked after that unless you relock it yourself. Once re-locked, you are locked for good.
Unless someone figures out a way around it, and to my knowledge previous ROG devices have had no such luck.
BILLYB187 said:
Thats exactly the problem. They only allow the BL to be unlocked one time. It will stay unlocked after that unless you relock it yourself. Once re-locked, you are locked for good.
Unless someone figures out a way around it, and to my knowledge previous ROG devices have had no such luck.
Click to expand...
Click to collapse
Low-level EDL is supposed to be able to fix that. I don't intend to test it.
Try to use "fastboot oem asus-official" to unlock
Source of fastboot instruction:
ROG3 Fastboot commands
fastboot oem asus-lock fastboot oem asus-official fastboot oem asus-unlock fastboot oem vts-unlock fastboot oem appUnlock_ fastboot oem enable-charger-screen fastboot oem disable-charger-screen fastboot oem off-mode-charge...
forum.xda-developers.com
歪比歪比 said:
Try to use "fastboot oem asus-official" to unlock
Source of fastboot instruction:
ROG3 Fastboot commands
fastboot oem asus-lock fastboot oem asus-official fastboot oem asus-unlock fastboot oem vts-unlock fastboot oem appUnlock_ fastboot oem enable-charger-screen fastboot oem disable-charger-screen fastboot oem off-mode-charge...
forum.xda-developers.com
Click to expand...
Click to collapse
Welcome to the ROG Phone 5. Don't forget to try out the search feature.
ROG5 Fastboot commands
fastboot flashing get_unlock_ability fastbootflashing unlock fastboot flashing lock fastboot flashing unlock_critical fastboot flashing lock_critical fastboot oem enable-charger-screen fastboot oem disable-charger-screen fastboot...
forum.xda-developers.com
I thought this phone would be really popular among enthusiast but it failed miserably. Unlocking bl is hard from what I'm reading so I guess we won't have custom roms any time soon
Yellowflash99 said:
I thought this phone would be really popular among enthusiast but it failed miserably. Unlocking bl is hard from what I'm reading so I guess we won't have custom roms any time soon
Click to expand...
Click to collapse
Looked great on paper. It's a big miss from ASUS - they've scr*wed up. It's not just the BL unlock, the list is growing...

Categories

Resources