i have moto g4 play.. unlocked bootloader,twrpinstalled,lineage 14.1 installed. but now iwant to rollback to my original firmware. and want to lock my bootloader( dont care og my warranty). how to do this
Here's a guide: https://forum.xda-developers.com/g4-play/how-to/guide-return-to-stock-firmware-recovery-t3551797
As for the bootloader, I'm not sure if it can be relocked
fireball0093 said:
Here's a guide: https://forum.xda-developers.com/g4-play/how-to/guide-return-to-stock-firmware-recovery-t3551797
As for the bootloader, I'm not sure if it can be relocked
Click to expand...
Click to collapse
It can, but it won't remove the "bootloader locked" boot logo and the status code will be 2 instead of 1 (stock).
look here:
https://forum.xda-developers.com/showpost.php?p=68487371&postcount=28
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
i tried it with fastboot oem lock begin and fastboot oem lock but it was not working...checksum fails....
sgace2 said:
look here:
https://forum.xda-developers.com/showpost.php?p=68487371&postcount=28
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
i tried it with fastboot oem lock begin and fastboot oem lock but it was not working...checksum fails....
Click to expand...
Click to collapse
I will try
bsevcenk said:
It can, but it won't remove the "bootloader locked" boot logo and the status code will be 2 instead of 1 (stock).
Click to expand...
Click to collapse
Any way to get stock boot logo
Akash Sharma123 said:
Any way to get stock boot logo
Click to expand...
Click to collapse
see https://forum.xda-developers.com/g4-play/help/stock-boot-logo-unlocked-bootloader-t3566139 specifically the reply by @bsevcenk at https://forum.xda-developers.com/showpost.php?p=71257130&postcount=2
Worked for me.
Was it sucsess full? Is the Boot loader locked again?
In these months i am using LTE. But today i am in rural area so I wish to use 2g/3g. But i face problems.. those who are familior with motorola mobiles.. they watch that type of connection shown after the network.. when i am using the network ... E is workinh great. H is working great. But after few minutes it switched to 3g and intenet won't connect. But its showing 3g but not connecting. Whats the problem. Anyone has any solution
sgace2 said:
Was it sucsess full? Is the Boot loader locked again?
Click to expand...
Click to collapse
The bootloader not locking.. it saying to flash signed files.but i am already flashing original factory stock images
Related
I flashed AICP last week then i got back to Stock rom but now everytime i restart or switch on my phone gets into bootloader mode even when i try to install ota i get into bootloader mode then i have to get onto recovery mode to install ota.please help
Volume down button stuck?
I've seen this come up before... Did read through q&a?
lafester said:
I've seen this come up before... Did read through q&a?
Click to expand...
Click to collapse
Yeah but i can't find any give me the link.
You are probably still in oem flash mode, after you flashed stock ROM did you enter 'fastboot oem fb_mode_clear'? If you didn't, everytime you restart it will return to the bootloader.
acejavelin said:
You are probably still in oem flash mode, after you flashed stock ROM did you enter 'fastboot oem fb_mode_clear'? If you didn't, everytime you restart it will return to the bootloader.
Click to expand...
Click to collapse
I followed the commands given in forum for installing stock rom the final command was 'fastboot reboot' it didn't have the command you mentioned.
[email protected] said:
I followed the commands given in forum for installing stock rom the final command was 'fastboot reboot' it didn't have the command you mentioned.
Click to expand...
Click to collapse
It should be the command right before the reboot. I don't know what instructions your following, but I've flashed several Motos.
Sent from my XT1575 using Tapatalk
acejavelin said:
It should be the command right before the reboot. I don't know what instructions your following, but I've flashed several Motos.
Click to expand...
Click to collapse
CODE]adb reboot bootloader
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot[/CODE]
I used these commands to flash the rom does adding the command you mentioned before 'fastboot reboot' solve the problem. By the way thanks for replying.
[email protected] said:
CODE]adb reboot bootloader
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot[/CODE]
I used these commands to flash the rom does adding the command you mentioned before 'fastboot reboot' solve the problem. By the way thanks for replying.
Click to expand...
Click to collapse
Hmmm... this is the procedure I have, granted it's from the Moto G3, but both the X Pure/Style and G 2015 are Moto 3rd Gen devices...
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
acejavelin said:
Hmmm... this is the procedure I have, granted it's from the Moto G3, but both the X Pure/Style and G 2015 are Moto 3rd Gen devices...
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
Thanks will try this commands
[email protected] said:
Thanks will try this commands
Click to expand...
Click to collapse
Look at the servicefile.xml in the image, it should contain all the commands, it gives the exact procedure, you just have to interpret it correctly.
if i relock my bootlader with cmd flashing stock rom and oem lock than i get error your device has failed verification and may not work properly
than i tried with moto tool than it says device unlock and annot be trusted
pls help me i want to relock bootloader
Try the following commands, they worked for me. On my device no more bootloader unlocked warning-
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
How to Relock Bootloader Moto G4 Plus...
Using Fast boot
And only Relock the Bootloader Don't Replace the Stock ROM....
Please Help....
How to Relock Bootloader Moto G4 Plus
Download firware from here
drive[dot]google[dot]com/open?id=0B6TKJzgog8cjYWZseC1JSTBDd1k
now flash this Official Rom using fastboot by entering following commands.
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
fastboot reboot
This method is replaced the Stock ROM
And I need only Relock Bootloader
Jayesh143 said:
This method is replaced the Stock ROM
And I need only Relock Bootloader
Click to expand...
Click to collapse
You can only lock it if you have OEM image flshed into the system, which, by default requires all of the commands to be executed and will restore the OEM. You cannot lock it with custom ROM
my boot-loader was unlock in another pc and now i want to relock it but i dont have any files what should i do?
piyu8897 said:
my boot-loader was unlock in another pc and now i want to relock it but i dont have any files what should i do?
Click to expand...
Click to collapse
Just download the files and relock the bootloader. You can do this from any PC.
Hi, I need help since 1 week ago I unlocked my bootloader and install HavocOS, but in the end I did not like it and decided to go back to the Stock ROM and block my Bootloader (All for ADB) but when I try, the Bootloader does not block, before if it worked for me but in this last situation, no, does anyone know what it could be? The Stock version that I try to install is 8.1.0, February patch. I want to block my Bootloader to be calmer. Thank you.
JuanM28 said:
Hi, I need help since 1 week ago I unlocked my bootloader and install HavocOS, but in the end I did not like it and decided to go back to the Stock ROM and block my Bootloader (All for ADB) but when I try, the Bootloader does not block, before if it worked for me but in this last situation, no, does anyone know what it could be? The Stock version that I try to install is 8.1.0, February patch. I want to block my Bootloader to be calmer. Thank you.
Click to expand...
Click to collapse
Why? What's the advantage of a locked bootloader?
If you want to lock it:
Commands to flash stock (Oreo!) ROM:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Commands to relock the bootloader:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash boot boot.img
fastboot oem lock
Sent from my Moto G5 Plus using XDA Labs
Hi guys. I've tried going locking my bootloader and going back to stock but I get this error after running:
Code:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash boot boot.img
fastboot oem lock
I get: "Still require signed system.img and/or oem.img"
Then I run:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
And when I send the last command I get the warning screen about my phone being locked and it goes back to bootloader.
I'm on the XT1680 variant, using this firmware: https://mirrors.lolinet.com/firmware/moto/potter/official/RETAR/
Has anyone had better luck doing this?
The correct commands are here: https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433