Re-lock bootloader - Moto G Q&A, Help & Troubleshooting

Hi i currently having Moto G Global GSM device, and i unlocked it a while ago. Now i want to sell it, how can i re-lock the bootloader.
i already did the fastboot code couple times with the
$fastboot oem lock begin
then flash stock rom
$fastboot oem lock
it always failed. i think it is because my bootloader version...or maybe not, i don't know.
my device has been flashed to the GPE version, and UK version. Now is in the US Global Version.
is there someone can help me. thanks

anyone???

Related

[Q] Does a locked bootloader mean no fastboot flashing?

Hi all
As the title states, does the locked bootloader stop the phone from accepting a fastboot image? Thinking about flashing over to the GPE ROM to get onto 4.4.4, but without unlocking the bootloader if possible
Thanks!
Hi there,
Not really, you can still flash via fastboot in locked bootloader but the images must be signed. GPE images are also signed but they can't be flashed due to other variables so you'll need to unlock the bootloader first.
Drat, okay. I'll unlock it in a bit then, I'd rather the GPe anyway, it felt smoother to me when I used it on my previous Moto G

bootloader relock

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

Can't rollback to Android MM to relock bootloader

Hello,
A few days ago I managed to go back to a stock rom from a custom one. I have a FRD-L09432B360 firmware at the moment, but the bootloader is unlocked. I don't remember the code I used to unlock the bootloader, and I'd like to relock the bootloader so I am able to update to the latest firmwares. I've read that by downgrading to Marshmellow the bootloader will relock itself.
I am following this guide to do so, but when I reboot to apply the UPDATE.APP of the rollback package, it get stucks on 5% for a while, and after a few minutes it reboots, leaving me with the same firmware.
Is there something I am doing wrong?
Is there another way to relock the bootloader without the unlocking code?
Thanks a lot,
Mcat
I still haven't been able to fix this issue? Any idea is appreciated, thanks
You don't need to relock the bootloader to update. Use hurupdater

Can I relock my already unlocked bootloader ?

Please guys,
I unlocked my bootloader a while ago. Since I'm not using any rooted app or anything I'd like to revert back.
Is it possible to build the bootloader again? With a new fastboot rom maybe, I don't know.
https://forum.xda-developers.com/oneplus-6/help/help-unrooting-relocking-bootloader-t3938600
https://forum.xda-developers.com/oneplus-6/help/oneplus-6-bootloader-relock-t3866287
https://forum.xda-developers.com/oneplus-6/help/return-to-stock-lock-bootloader-how-t3807695
Yes
fastboot rom will not relock bootloader, use msm tool

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