Moto G4 plus bootloader question

mercuryrob

Member
Oct 11, 2012
11
0
0
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
 

echo92

Senior Member
Jan 1, 2017
3,730
1,987
223
Plymouth
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.
 

mercuryrob

Member
Oct 11, 2012
11
0
0
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.
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
 

echo92

Senior Member
Jan 1, 2017
3,730
1,987
223
Plymouth
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
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)?
 

mercuryrob

Member
Oct 11, 2012
11
0
0
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)?
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
 

echo92

Senior Member
Jan 1, 2017
3,730
1,987
223
Plymouth
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
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.
 

mercuryrob

Member
Oct 11, 2012
11
0
0
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.
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
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone