How to Relock Bootloader of Moto G 2015 3rd gen and restore Stock firmware

10
This is the Step by Step guide On how to re lock Moto G 3rd gen 2015 Bootloader and Restore Stock firmware lollipop 5.1.1 and Un root it.This is for both 8GB(1Gb RAM) and 16 GB (2Gb RAM) Moto g 3rd gen 2015 all variant Models.This Guide is Going to be very helpful to you in many ways.Like you just want to unroot your Moto G 2015 and restore it to Stock rom in factory Mode.Or if you faced any bootloop While flashing any Custom rom like CM12,Cm12.1,or any other rom using TWRP recovery.
You might Bricked your device then you can follow below steps to unbrick Moto g 3rd gen 2015.As we are telling that this is full step by step guide For Restoring your Moto g 3rd gen to factory state by Re locking bootloader,Unroot and restoring Stock Firmware hence it will look little bit lengthy as we are adding all the small-small step for doing this so don’t worry it is not To much lengthy process It i will hardly takes your 20 min or less.

How to Relock Bootloader of Moto G 2015 3rd gen and restore Stock firmware

#What this guide Includes.

 ►Included
stock Firmware 5.1.1 are of XT1540  , XT1541 , XT1542 , XT1543 , XT1544
, XT1548 , XT1550 Motorola Moto G 3rd generation .
►Included both for 1GB and 2 GB variants. 
►Steps of  Re-locking moto g 3rd gen Bootloader.
►Steps for Restoring Stock Firmware of Moto g 3rd gen.

#Things to do Before We proceed

2.Download Motorola USB Drivers For Moto G 2015 3rd gen from here►Motorola USB Drivers Download.
4.Now back up you important data and place it at safe Place.
5.Do check that your Device is Charged minimum 60% + before proceeding
6.One PC (without it you can do it )and of-course a Moto g3 2015 to cure it.

Warning The author is not responsible, if you damage or brick your device. Do it at your own risk and follow the instructions properly.

#How to Restore Moto G 3rd gen to Stock Firmware and Re-lock bootloader

1. Install the Motorola USB drivers in your PC.
2.Now install the Mfastboot on your desktop or any other location where you can find it easily.
3.Now extract the Stock Firmware of Moto g 2015 that you Downloaded from above link in mfastboot folder.
4.Now
turn off your Device and Reboot your device in to Bootloader by
pressing Volume Down button+Power Button simultaneously together for 5
sec and then release the keys.
5.Now you will see a screen line below image if yes the you are now booted in Bootloader of Moto G 2015 3rd gen.
how-to-relock-bootloader-of-moto-g-2015
6.Now connect you Device with your computer with Data cable provided by Motorola with charger.
7.Now open Mfastboot folder where you installed it and press SHIFT Key on Keyboard and Press right Click on mouse and then Click on open Command prompt here.
8.A black Command window will open on your screen now type the Following commands One By one.

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata

9.You
have successfully Flash the stock Rom in your Moto G 3rd gen 2015. now
if you want to  Relock Bootloader of your Moto g 3rd gen the follow step
10 else leave it.
10.To re-lock Boot-loader of Moto g 2015 3rd gen type following command in the command prompt.
fastboot oem lock
 
11.Now finally type the following command to reboot your device and give it a new life ☺☻
 fastboot reboot

12.Done! you have successfully Relock bootloader and Restore Moto g 3rd gen 2015 to stock.

10 COMMENTS

  1. when i am trying to relock boot loader it sayes please run fastboot oem lock begin first
    after giving above command result is please fully flash the signed build befire loacking phone

  2. In the zip I downloaded, there are 5 sparsechunks. Should I flash every one of them? Or stick to your instructions and just do the first three?

    Thanks,

    Tom

  3. i had sucess full restore in moto g3 firm but the OEM lock command is not accepting the command is showing that device is not recognized what to do for that help me please.

LEAVE A REPLY