Relock Bootloader Moto G5s Plus

Search This thread

shu006

Senior Member
Jul 27, 2013
87
139
Kanpur
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.

How to Relock Moto G5s Plus Bootloader

Things you need

Minimal ADB Size: 628.5KB
Moto G5s Plus Stock Rom Size: 1.7GB

Steps
  1. Download Moto G5s Plus Stock Firmware from below (in download section).
  2. Install Motorola Driver and ADB Fastboot Driver on your PC.
  3. Now extract stock firmware in ADB Fastboot folder.
  4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
  5. Now, connect your device to your PC via a USB Cable.
  6. Open a command prompt window and type the following commands:
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
Then it will restart your Device. And You Will Get Locked Bootloader.

After locking bootloader, flash full Rom to get OTA. Follow this guide to flash stock firmware - Flash official Firmware Moto G5s Plus

Extra Guides:

 
Last edited:

yograjfire18

Senior Member
Apr 12, 2016
256
78
Delhi, India
Asus Zenfone 5Z
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.

How to Relock Moto G5s Plus Bootloader

Things you need
Minimal ADB Size: 628.5KB
Moto G5s Plus Stock Rom Size: 1.7GB

Steps
  1. Download Moto G5s Plus Stock Firmware from below (in download section).
  2. Install Motorola Driver and ADB Fastboot Driver on your PC.
  3. Now extract stock firmware in ADB Fastboot folder.
  4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
  5. Now, connect your device to your PC via a USB Cable.
  6. Open a command prompt window and type the following commands:
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
Then it will restart your Device. And You Will Get Locked Bootloader.

After locking bootloader, flash full Rom to get OTA. Follow this guide to flash stock firmware - Flash official Firmware Moto G5s Plus

Extra Guides:
Appreciate my work?
It is a very hard task to work over mobile data. Please consider making a donation If this guide helped you.
Bank Transfer: Name- Shubham Mishra, A/C no. 8756149523, IFSC code. AIRP0000001
Paypal https://paypal.me/shubhmishra

didn't work
saying to allow oem unlocking but it is disabled by saying already unlocked
 
  • Like
Reactions: Harsh raj sah

nd4spdbh

Senior Member
Jul 23, 2011
432
79
any update with this. I would love to relock my device considering everything else i have tried doesnt work well.
 

jefpcbr

Member
Jul 14, 2012
31
5
You put 4 steps on sparsechunk, but the rom has 5 sparechunk steps.
is correct to flash till step four only?
Anyway I got this message:
Shu006>mfastboot oem lock
...
(bootloader) Still require signed boot.img
OKAY [ 0.016s]
finished. total time: 0.016s
 
  • Like
Reactions: mhdaslam790

mhdaslam790

Member
Jan 4, 2016
36
47
Varanasi
You put 4 steps on sparsechunk, but the rom has 5 sparechunk steps.
is correct to flash till step four only?
Anyway I got this message:
Shu006>mfastboot oem lock
...
(bootloader) Still require signed boot.img
OKAY [ 0.016s]
finished. total time: 0.016s
Yup I got that I want to relock my bootloader but stuck at this.
????...help me out anyone please

---------- Post added at 07:10 PM ---------- Previous post was at 07:09 PM ----------

I'll post it soon as I did.
please post it soon ..many days has passed but you still didn't Posted,???
 
  • Like
Reactions: Schrotty35

Laercio_lalau

Senior Member
Apr 1, 2015
245
150
São Paulo
Yup I got that I want to relock my bootloader but stuck at this.
????...help me out anyone please

---------- Post added at 07:10 PM ---------- Previous post was at 07:09 PM ----------

please post it soon ..many days has passed but you still didn't Posted,???
Already forgotten ... take this file. bat and place next to Firmware extracted from 2 click on the .bat file and wait for the procedure to finish, if it fails to start the system, reinstall the Firmware again.
Sorry for bad English.
Link:https://mega.nz/#!hgFHTQIb!KWggcvjA0mk8e-M0dPLX0psiiwE4ikcLS4at6mzsZGw

---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------

Already forgotten ... take this file. bat and place next to Firmware extracted from 2 click on the .bat file and wait for the procedure to finish, if it fails to start the system, reinstall the Firmware again.
Sorry for bad English.
Link:https://mega.nz/#!hgFHTQIb!KWggcvjA0mk8e-M0dPLX0psiiwE4ikcLS4at6mzsZGw
Bootloader is Blocked, but Software appears modified, this I could not solve ,,, if someone has the solution, it would be good
 

mhdaslam790

Member
Jan 4, 2016
36
47
Varanasi
Already forgotten ... take this file. bat and place next to Firmware extracted from 2 click on the .bat file and wait for the procedure to finish, if it fails to start the system, reinstall the Firmware again.
Sorry for bad English.
Link:https://mega.nz/#!hgFHTQIb!KWggcvjA0mk8e-M0dPLX0psiiwE4ikcLS4at6mzsZGw

---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------


Bootloader is Blocked, but Software appears modified, this I could not solve ,,, if someone has the solution, it would be good
How you relocked bootloader will you please tell me

---------- Post added at 07:58 PM ---------- Previous post was at 07:49 PM ----------

Already forgotten ... take this file. bat and place next to Firmware extracted from 2 click on the .bat file and wait for the procedure to finish, if it fails to start the system, reinstall the Firmware again.
Sorry for bad English.
Link:https://mega.nz/#!hgFHTQIb!KWggcvjA0mk8e-M0dPLX0psiiwE4ikcLS4at6mzsZGw

---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------


Bootloader is Blocked, but Software appears modified, this I could not solve ,,, if someone has the solution, it would be good
Are you sure that helped you to relock your bootloader
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.

    How to Relock Moto G5s Plus Bootloader

    Things you need

    Minimal ADB Size: 628.5KB
    Moto G5s Plus Stock Rom Size: 1.7GB

    Steps
    1. Download Moto G5s Plus Stock Firmware from below (in download section).
    2. Install Motorola Driver and ADB Fastboot Driver on your PC.
    3. Now extract stock firmware in ADB Fastboot folder.
    4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
    5. Now, connect your device to your PC via a USB Cable.
    6. Open a command prompt window and type the following commands:
    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
    Then it will restart your Device. And You Will Get Locked Bootloader.

    After locking bootloader, flash full Rom to get OTA. Follow this guide to flash stock firmware - Flash official Firmware Moto G5s Plus

    Extra Guides:

    2
    Its also not work here. Need a signed firmware and this is not signed from Motorola.

    Gesendet von meinem Moto G (5S) Plus mit Tapatalk
    2
    Please wait 2 days. I am busy due to sister's engagement. I'll fix all issues asap.
    1
    Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.

    How to Relock Moto G5s Plus Bootloader

    Things you need
    Minimal ADB Size: 628.5KB
    Moto G5s Plus Stock Rom Size: 1.7GB

    Steps
    1. Download Moto G5s Plus Stock Firmware from below (in download section).
    2. Install Motorola Driver and ADB Fastboot Driver on your PC.
    3. Now extract stock firmware in ADB Fastboot folder.
    4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
    5. Now, connect your device to your PC via a USB Cable.
    6. Open a command prompt window and type the following commands:
    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
    Then it will restart your Device. And You Will Get Locked Bootloader.

    After locking bootloader, flash full Rom to get OTA. Follow this guide to flash stock firmware - Flash official Firmware Moto G5s Plus

    Extra Guides:
    Appreciate my work?
    It is a very hard task to work over mobile data. Please consider making a donation If this guide helped you.
    Bank Transfer: Name- Shubham Mishra, A/C no. 8756149523, IFSC code. AIRP0000001
    Paypal https://paypal.me/shubhmishra

    didn't work
    saying to allow oem unlocking but it is disabled by saying already unlocked
    1
    Not Worked

    Hey man it didnt work !!!it said wrong key/bad key and was stuck on bootlogo had to flash stock rom again