Relocking of bootloader - Moto G4 Plus Questions & Answers

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

Related

Help relocking RAZR M bootloader

First, let me say this because i've used xda for a while and i know im going to get these responses:
I know this wont reinstate my warranty...
Why? Because I want to. I understand you think it's useless but it's not your phone...
I have tried "fastboot oem lock" and it doesnt work...
I've searched Motorola's site, got on a chat with them which was useless, and searched xda...
So I booted into AP fastboot and connected to my computer. Opened CMD and typed "fastboot oem lock begin"
That seemed to start the process so then ran RSD lite (as admin) and flashed a signed xml of 4.1.2
Yes, I edited the XML first and removed the 2 lines with "getvar" in them
RSD finished and the phone rebooted (which was great because before it was hung up on the unlocked bootloader warning)
Unfortunately after turning the phone off and then back on, the unlocked bootloader warning screen still came up.
And after booting back into AP fastboot it still said UNLOCKED.
did i miss a step?
I need to relock the phone. if anyone has useful information it would be extremely helpful. in the event it just cant be done thats fine. but i feel like it can, because after fastboot oem lock begin the command prompted told me that now i can flashed the signed images.
well crap. i may have just answered my own question. do i have to flash manually through CMD (ie fastboot flash system system.img) AND THEN run fastboot oem lock at the bottom? i'll try it tomorrow.
before i started this the phone was stuck on the bootloader warning screen so if anyone is stuck at that point this will allow you to boot up your phone. and if my results are typical, it did not relock the bootloader (obviously). hope I helped someone. hope someone can help me. thanks.
most likely not feasible
unlocking razr m involves phisically blowing a q-fuse, so you can't go back to locked
even if you could, it would be traced forever that you've unlocked the BL
You can relock the boot loader on the Dev edition, but once unlocked you can never go back to original status 0 of the boot loader and the boot logo will always display the warning even if you relock the boot loader. You have to flash that partition with another logo image to avoid that.
You also need to wipe the user data partition in fastboot first for the fastboot oem lock begin command to complete successfully.
Once that is done, when it reboots you will see that in fastboot it will display status 2 locked instead of status 3 unlocked.
This is a physical change that happens to the hardware when you unlock the boot loader an efuse on the board is blown and that memory location is permanently programmed. Its not even a question of them knowing, even though they do of course, the device itself is altered.
From my goodies
http://forum.xda-developers.com/attachment.php?attachmentid=2201206&d=1376991889
Flash from cwm or twrp.
Trade a locked one for your unlocked one? Lol I'm stuck locked on the newest ota
Sent from my XT907 using Tapatalk

How could i re-lock the bootloader?

Hi!
I'd like to know how to re-lock the bootloader of my phone. Please help me.
1. start with this fastboot command:
Code:
fastboot oem lock begin
2. flash original firmware
3. end with this command:
Code:
fastboot oem lock
First u need to know that, once u relock the bootloader, u can't able to unlock it and even if u relock the bootloader, u can't rid of bootloader unlocked warning (it can be hide by flashing custom bootlogo)
My suggestion is that don't worry leave it unlocked and flash custom bootlogo that can hide bootloader unlocked warning.
After do that, If u want flash stock rom, just skip logo.bin file.
There is so many nougat roms for MXP, u should try one of them.
Flash this file from AnoopKumar's thread, this can hide the bootloader unlocked warning.
Fastboot command: (fastboot flash logo logo.bin)
Mfastboot command: (mfastboot flash logo logo.bin)
KHEMS91 said:
First u need to know that, once u relock the bootloader, u can't able to unlock it and even if u relock the bootloader, u can't rid of bootloader unlocked warning (it can be hide by flashing custom bootlogo)
My suggestion is that don't worry leave it unlocked and flash custom bootlogo that can hide bootloader unlocked warning.
After do that, If u want flash stock rom, just skip logo.bin file.
There is so many nougat roms for MXP, u should try one of them.
Flash this file from AnoopKumar's thread, this can hide the bootloader unlocked warning.
Fastboot command: (fastboot flash logo logo.bin)
Mfastboot command: (mfastboot flash logo logo.bin)
Click to expand...
Click to collapse
Thanks for helping me.... but i do not know where to put the comand and if you can tell please the steps one by one

Relock bootloader problem - Still require signed boot.img? [QUALCOMM]

I'm trying to get one of my E4's ready to sell (I have two of them) and need to relock the bootloader so that the N/A message goes away. I reinstalled the stock firmware provided here using fastboot (and followed the appropriate oem locking steps) but at the very end I get:
Code:
Still require signed boot.img
I am assuming nobody has found a workaround for this as Lenovo hasn't provided official stock firmware and I haven't seen any posts about a solution? Would appreciate any insight.
Not possible currently, just let the buyer know that the bootloader is unlocked and it's root ready lol.
Is it still currently not possible to relock the bootloader?
AZImmortal said:
Is it still currently not possible to relock the bootloader?
Click to expand...
Click to collapse
fastboot oem lock_bootloader
Then go to Motorola.com grab a stock image
Fastboot flash boot boot.img and everything else too.
Fastboot flash
bootloader
oem
Boot
Logo
system
Etc....
I did this and had to use my code that they emailed me to unlock the boot loader again.

Help unable to relock the bootloader

I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance ?
Vishal21896 said:
I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance
Click to expand...
Click to collapse
use reflash tutorial from this site:
HTML:
https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/
. Just download tool, extract, then exctract downloaded rom in this tool folder. Conect A1 in fastboot and start flash_all_lock.bat file in folder with room (I used flash_all.bat). This is how I fixed my bootlops...
You need to reflash. There's no other way.
Did you have the original stock Oreo with January security patch?
I would also like to re-lock the bootloader but now I have read your post I am unsure if its safe.
Use this command in adb
fastboot oem relock (your unlock code if needed)
Youssef Reda said:
Use this command in adb
fastboot oem relock (your unlock code if needed)
Click to expand...
Click to collapse
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
amzazine said:
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
Click to expand...
Click to collapse
Maybe
I didn't try it but it may brick your phone
Developers should make clear that Re-locking the bootloader is not as easy as the unlock process and there is a high risk you will brick your phone.
i just have this issue ,which is i unlock then i lock the oem and then the message ' system has been destroyed ' and when i try to unlock back the message 'error: oem unlock is not allowed' so i really need your help ..how can i fix my phone ...plsss send a respond quickly

Moto G4 plus bootloader question

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

Categories

Resources