Moto G4 plus bootloader question - Moto G4 Plus Questions & Answers

Hi to all members,
I want to relock my G4 plus bootloader, I tried the guides to relock however seems there was a problem locking the bootloader after april 2018 securuty patch ( stock android 7 )
Any way to lock this bootloader ?
Many thanks

When you're relocking your bootloader, what errors are you encountering?
Make sure that OEM unlocking is enabled in Settings>Developers options, and also what device do you have? If your bootloader version is B1:07 you can use the April 2018 firmware. However, if your bootloader version is B1:09 you must use the Oreo firmware to relock - you cannot lock your bootloader with firmware older than the bootloader and you cannot downgrade the bootloader.

echo92 said:
When you're relocking your bootloader, what errors are you encountering?
Make sure that OEM unlocking is enabled in Settings>Developers options, and also what device do you have? If your bootloader version is B1:07 you can use the April 2018 firmware. However, if your bootloader version is B1:09 you must use the Oreo firmware to relock - you cannot lock your bootloader with firmware older than the bootloader and you cannot downgrade the bootloader.
Click to expand...
Click to collapse
Thank you Echo92,
So i flashed with Oreo 8.1.0 and still have bootloader message on screen on start up.. my bootloader version is B1.09 my device is moto g4 plus xt1642 with security patch Dec 1st 2018... What am I doing wrong ?
thanks

mercuryrob said:
Thank you Echo92,
So i flashed with Oreo 8.1.0 and still have bootloader message on screen on start up.. my bootloader version is B1.09 my device is moto g4 plus xt1642 with security patch Dec 1st 2018... What am I doing wrong ?
thanks
Click to expand...
Click to collapse
Alright, what commands are you using to lock your device? Are you using the OEM lock script or do your commands list include the three OEM lock commands?
Can you also confirm that your OEM unlocking toggle is on (in settings>developer options)?

echo92 said:
Alright, what commands are you using to lock your device? Are you using the OEM lock script or do your commands list include the three OEM lock commands?
Can you also confirm that your OEM unlocking toggle is on (in settings>developer options)?
Click to expand...
Click to collapse
Ok many thanks, my oem unlocking is greyed out ( says Bootloader is already unlocked )
I am using minimal adb and fastboot ( watched a Youtube video saying put the unzipped firmware ( Oreo 8 TWRP-athene-8.1.0-OPJ28.111-22 ) into the adbfolder and open a cmd but there is no oem lock script there !
Thanks

mercuryrob said:
Ok many thanks, my oem unlocking is greyed out ( says Bootloader is already unlocked )
I am using minimal adb and fastboot ( watched a Youtube video saying put the unzipped firmware ( Oreo 8 TWRP-athene-8.1.0-OPJ28.111-22 ) into the adbfolder and open a cmd but there is no oem lock script there !
Thanks
Click to expand...
Click to collapse
Mind if I ask which Youtube video you used?
That firmware zip you mentioned does not seem suitable for locking the bootloader (if it's a TWRP flashable zip as implied in the name, you cannot lock your bootloader with that). I would recommend getting the stock Oreo firmware from here https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 In addition, you could either download the OEM lock script as mentioned in that thread (it's separate to the firmware usually) or use the listed commands in the thread's procedure to lock your bootloader. I've used this firmware and those commands to re-lock my XT1642 (on the retgb software channel).
Whilst you're downloading the above firmware, also you may wish to root your device with magisk (you will have to temporarily boot into TWRP and flash magisk), which might also activate your OEM unlocking toggle. Ensure you're also signed into your Google account on your device. That should hopefully enable your OEM unlocking toggle and then permit your device's bootloader to be lockable again.

echo92 said:
Mind if I ask which Youtube video you used?
That firmware zip you mentioned does not seem suitable for locking the bootloader (if it's a TWRP flashable zip as implied in the name, you cannot lock your bootloader with that). I would recommend getting the stock Oreo firmware from here https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 In addition, you could either download the OEM lock script as mentioned in that thread (it's separate to the firmware usually) or use the listed commands in the thread's procedure to lock your bootloader. I've used this firmware and those commands to re-lock my XT1642 (on the retgb software channel).
Whilst you're downloading the above firmware, also you may wish to root your device with magisk (you will have to temporarily boot into TWRP and flash magisk), which might also activate your OEM unlocking toggle. Ensure you're also signed into your Google account on your device. That should hopefully enable your OEM unlocking toggle and then permit your device's bootloader to be lockable again.
Click to expand...
Click to collapse
Many thanks Echo,
This was the youtube video I watched - https://www.youtube.com/watch?v=qouoo1zGIJs&t=145s
I shall try the link you provided and post my results.
Once again many thanks

Sorted now !
mercuryrob said:
Many thanks Echo,
This was the youtube video I watched - https://www.youtube.com/watch?v=qouoo1zGIJs&t=145s
I shall try the link you provided and post my results.
Once again many thanks
Click to expand...
Click to collapse
All done ! Bootloader locked reflashed using your link . Many thanks Echo

Related

unlock after relock

several questions in no particular order:
Does the "OEM Unlocking" toggle do anything on the XT1572?
If I issue the fastboot OEM LOCK command after having sucessfully unlocked the device before, do I need to go through the full data wipe+send oem data+flash unlock code process again?
Lastly, I was able to flash the MM firmware for my Single SIM AISA model XT1572 despite having the bootloader locked (I think).
Is that normal that I can flash the official moto firmware using just fastboot without having to tweak with anything else?
I presume that since the digital signatures are correct the bootloader has no issue accepting the MM files.
Not quite the end of the world if I have to wipe everything and start over (it's only been a day) but I regret not knowing earlier. Nor did I expect to get this far with a relocked boot loader. Was trying to add SuperSU and found that while I can overwrite flash the stock recovery I cannot flash TWRP.
psyvenrix said:
several questions in no particular order:
Does the "OEM Unlocking" toggle do anything on the XT1572?
If I issue the fastboot OEM LOCK command after having sucessfully unlocked the device before, do I need to go through the full data wipe+send oem data+flash unlock code process again?
Lastly, I was able to flash the MM firmware for my Single SIM AISA model XT1572 despite having the bootloader locked (I think).
Is that normal that I can flash the official moto firmware using just fastboot without having to tweak with anything else?
I presume that since the digital signatures are correct the bootloader has no issue accepting the MM files.
Not quite the end of the world if I have to wipe everything and start over (it's only been a day) but I regret not knowing earlier. Nor did I expect to get this far with a relocked boot loader. Was trying to add SuperSU and found that while I can overwrite flash the stock recovery I cannot flash TWRP.
Click to expand...
Click to collapse
As far as I am concerned relocking the bootloader wont wipe your data and yes about the question regarding the stock firmware
PS: Dont relock your bootloader once you unlock it the warranty doesnt come back even if you lock it again

Is it possible to relock the bootloader?

I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.

Meizu m3 note how to unlock bootloader?

Same as the title
You see Legal Information on Setting? It say the bootloader is already open
Need to unlock BL friends, please send my E-mail, I will reply to your message in the E-mail.
My E-mail: [email protected]
1944 said:
You see Legal Information on Setting? It say the bootloader is already open
Click to expand...
Click to collapse
Open does not mean unlocked. Open means you have root access. Unlock means you can access the recovery partition and flash anything you want with a custom recovery.
https://forum.xda-developers.com/meizu-mx/development/recovery-twrp-bl-unlock-m3-note-t3684052 See the tutorial
With G version (6.3.0.0G), lk does not have fastboot unlock cmd. I had disassembled 6.1.3.3G lk to check and confirmed. Instead, A version does have it because of nougut port (Ie, 6.3.0.2A fw).
I knew it because tried today. I rooted and run global.sh then install A version fw on my G version phone. The drawback is fastboot USB is no longer working. So winxp PC USB connections to m3note fail. Lucky the phone still working.
So if somebody told you G version can unlock bootloader, then you have to pay attention. I assumed you less likely got the A version phone but a G version instead. If you are lucky with A version, you can have a try. FYI the above disassembled A version of lk does have below cmd:
oem p2u
oem reboot-recovery
oem unlock
oem lock
oem key
oem lks
flashing unlock
flashing lock
flashing get_unlock_ability
Many more....
Regards.

Relocking of bootloader

I wanted to relock the bootloader of my Moto G4 Plus as now I'm in no need of root now. And even want to remove the logo which says my bootloader is unlocked.. I used the code but it is not working still pls help me out
i think you are in the wrong section but nvm. for removing the annoying boot logo you can flash the logo bin
Code:
fastboot flash logo logo.bin
in fastboot mode where "logo.bin" is the filename.bin. you can find the logos at this link
https://forum.xda-developers.com/moto-g4-plus/themes/customized-logo-t3451349
or if you want some more cooler ones just search around.
Now comes to relocking bootloader, you must give more info(what phone you are using) and from where you got the link and what commands you pressed. you can follow this link which uses dec update or (if you check last messages even the feb update though i would recommend dec)
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
and then use the commands given in the code OR the
Code:
OEM Lock file
abhishikth reddy said:
I wanted to relock the bootloader of my Moto G4 Plus as now I'm in no need of root now. And even want to remove the logo which says my bootloader is unlocked.. I used the code but it is not working still pls help me out
Click to expand...
Click to collapse
You may falsh stock rom again in starting write command
fastboot oem lock begain
And at last
fastboot oem lock
it will work

Converting Amazon version to Standard Unlocked?

Is there any way to do this? Don't want the amazon bloat on my device. Or if possible is there a list of amazon bloat to remove with a script or something?
You can unlock bootloader and flash stock unlocked firmware
B__B said:
You can unlock bootloader and flash stock unlocked firmware
Click to expand...
Click to collapse
Can I then relock?
Yes just don't know how to do it
B__B said:
Yes just don't know how to do it
Click to expand...
Click to collapse
From a G7 Play thread.
https://forum.xda-developers.com/showpost.php?p=79684645&postcount=5
* first reflash the 'boot.img' from the correct firmware file - 'fastboot flash boot boot.img' (in the Internet there are official images to the smartphone)
* then you can lock the bootloader again with 'fastboot oem lock'.
"bad key" is gone, SafetyNet test passed and OTA is working again.

Categories

Resources