• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Re-Lock Bootloader Of Moto G5 Plus (Indian Variant)

Search This thread

Nirbhay2

Senior Member
Oct 14, 2013
159
83
25
Patna
This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.

Things You Need:-
1.Minimal ADB
2.Moto Stock Rom Link:- (https://firmware.center/firmware/Mo...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip)
Download the last file that has brasil in file name


Steps To Relock The Bootloader:-

1.Install Minimal ADB

2.Download And Extract Moto Stock​ Rom to any folder

3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.

4.Now Connect Your Device In Fastboot Mode

5.Open Minimal ADB And Type each command one by one

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

Then it will restart your Device. And You Will Get Locked Bootloader.


After locking bootloader, flash full Rom to get ota

https://pastebin.com/ZWTaWuyr
This are the commands to flash full rom.

Thanks To Telegram Group for the commands link.
 
Last edited:

Knight sparda

Member
Jun 28, 2017
5
4
La Rioja
This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.

Things You Need:-

1.Minimal ADB
2.Moto Stock Rom (Available In The Moto G5 Plus forum)
3.Nothing Else


Steps To Relock The Bootloader:-

1.Install Minimal ADB

2.Download And Extract Moto Stock​ Rom to any folder

3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.

4.Now Connect Your Device In Fastboot Mode

5.Open Minimal ADB And Type each command one by one

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

Then it will restart your Device. And You Will Get Locked Bootloader.

*Don't Skip Any Command.
The process worked I could reblock the bootloader of my G5 Plus XT1680
 

reuber

Senior Member
Feb 14, 2017
63
17
Aparecida de Goiânia
I am using the stock XT1681-XT1683_POTTER_BRASIL_latam_MEXICO (NPNS25.137-15) and following all the commands and in the end returns the message (still requires signed boot.img) will it be due to my device being Brazilian?
 

Rajul

Senior Member
Nov 27, 2012
840
264
24
Ujjain
everything works perfectly in indian variant
1.download the brazillian variant of stock rom
2.follow these steps
3.flash whole stock rom using commands posted.
4.you will get ota as soon as you start device
 

reuber

Senior Member
Feb 14, 2017
63
17
Aparecida de Goiânia
I get same error on my EU Version.

In fact this is not a bug, but a bootloader requirement to flash a signed system image, I think!

---------- Post added at 08:27 PM ---------- Previous post was at 07:40 PM ----------

everything works perfectly in indian variant
1.download the brazillian variant of stock rom
2.follow these steps
3.flash whole stock rom using commands posted.
4.you will get ota as soon as you start device

Should only work then in the Indian variant
 
  • Like
Reactions: Schrotty35

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.

    Things You Need:-
    1.Minimal ADB
    2.Moto Stock Rom Link:- (https://firmware.center/firmware/Mo...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip)
    Download the last file that has brasil in file name


    Steps To Relock The Bootloader:-

    1.Install Minimal ADB

    2.Download And Extract Moto Stock​ Rom to any folder

    3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.

    4.Now Connect Your Device In Fastboot Mode

    5.Open Minimal ADB And Type each command one by one

    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

    Then it will restart your Device. And You Will Get Locked Bootloader.


    After locking bootloader, flash full Rom to get ota

    https://pastebin.com/ZWTaWuyr
    This are the commands to flash full rom.

    Thanks To Telegram Group for the commands link.
    2
    This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.

    Things You Need:-

    1.Minimal ADB
    2.Moto Stock Rom (Available In The Moto G5 Plus forum)
    3.Nothing Else


    Steps To Relock The Bootloader:-

    1.Install Minimal ADB

    2.Download And Extract Moto Stock​ Rom to any folder

    3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.

    4.Now Connect Your Device In Fastboot Mode

    5.Open Minimal ADB And Type each command one by one

    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

    Then it will restart your Device. And You Will Get Locked Bootloader.

    *Don't Skip Any Command.
    The process worked I could reblock the bootloader of my G5 Plus XT1680
    2
    are you sure ? Its showing some different model no. and ours is XT1686 ?

    Sent from my Moto G (5) Plus using Tapatalk

    Yes 100% sure. I use the same Rom
    2
    @Nirbhay2,
    thanks you folds well with reteu 25.137-35-5
    verry good
    2
    I am using the stock XT1681-XT1683_POTTER_BRASIL_latam_MEXICO (NPNS25.137-15) and following all the commands and in the end returns the message (still requires signed boot.img) will it be due to my device being Brazilian?
    I also use the same full rom to flash and lock the bootloader and it works fine. You can do one thing, follow the mentioned commands to lock bootloader and when it give message that it still requires signed boot.img use (fastboot flash boot boot.img) and then (fastboot oem lock) and then see what's happens and if you can please attach screenshots of error.