How to re-lock motorola bootloader?

A lots of people already unlocked their bootloader. but what if you want to lock your again then this guide can help you.
Here i'm going to guide you the way to lock moto g bootloader again.

  • Go to the official website of Motorola check out here.
  • Now sign up with Motorola ID or Google Account.
  • Accept terms and conditions.
  • Select product family DROID MAXX, MOTO X, MOTO G, XOOM.
  • Make sure you have Moto G edition or Developer edition.
  • Now download the recovery image from a website. (Mention above)
  • Next, put the device into fastboot mode.
  • 1. Power OFF your device
    2. Then Power ON + Volume Down
  • Now install-recovery images using fastboot.
  • $ fastboot flash partition gpt.bin
    $ fastboot flash motoboot motoboot.img
    $ fastboot reboot-bootloader
    $ fastboot flash logo logo.bin
    $ fastboot flash boot boot.img
    $ fastboot flash recovery recovery.img
    $ fastboot flash system system.img
    $ fastboot flash modem NON-HLOS.bin
    $ fastboot erase modemst1
    $ fastboot erase modemst2
    $ fastboot flash fsg fsg.mbn
    $ fastboot reboot
  • If you want to erase the data of the device then use these commands mention below.
  • $ fastboot erase userdata
    $ fastboot erase cache
  • $ fastboot oem lock
  • By using the last command and continuously following all the steps mentioned above you just re-lock the Motorola device.

Your Motorola bootloader again re-lock. Enjoy your old device.

If you want to unlock bootloader of motorola devices then i strongly recommend you to follow this article - Guide To Unlock Motorola Bootloader In 5 Minutes - TWRP UPDATE this will clear you all doubts regarding unlocking process.

Hope it helps.

Let me know you thoughts about this topic in the comment box.