BISSMILLAH
Hi, this guide will help you to relock your bootloader, in a few commands.
We know that it's was a tabu on Moto G3 environment, but a few times a go.
Requirement
OSPREY with considerable charge
PC/LAPTOP running Windows or Ubuntu (or other Linux Based OS also)
Only For Windows Users
Drivers: http://bit.ly/1WMv2L1
Only For Linux Users
Open TERMINAL and run the following:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Both Of Users
Official Images: http://bit.ly/1GfUqwr
Fastboot Files: http://bit.ly/1OncC0H
BEFORE PROCEED:
Relocking your bootloader means that you will no longer be a"tweaker" no TWRP no ROOT, no any other mods.
And its required to full flash the official images, so say goodbye for Custom ROMs.
In this process you'll lose all you data stored on internal storage, including all accounts, musics, videos, pic, installed apps. So, it's a good time to BackUp your important files.
After lock, on bootloader screen you should see:
Device is LOCKED. Status Code: 2
Software status: Modified
(For Now) We Cant Change to 0 and official, but's locked.
The bootloader warning messege will appear, after all procedure change the official logo.bin with modified.
You'll need to factory reset your device before.
Ubuntu users will need permission to use fastboot commands, so run su before.
The system.img_sparsechunk files are variable, so make sure you have flashed sequentially until the last.
FQA:
Q: If I relock my bootloader, will I have my warranty alive again?
A: No.
Q: Can i install TWRP or Root after lock my device's bootloader?
A: No, maybe with some unknown tricks by me.
Q: How to (re)unlock?
A: In order to unlock your devices again you need to allow it on developer settings and also you'll need your bootloader code.
for security reason don't expose these information, turn off OEM unlock on developer setting and hide your unlock code given by Moto.
PROCEED:
Download required files, and place on easy-find-place.
Extract both of files and the images files on [adb-fastboot-latest_win_linux] folder.
And open CMD or TERMINAL on this folder
Connect your device to via USB CABLE
Test it, if everything is fine by running this command:
fastboot devices
You'll see [SERIAL NUMBER] fastboot
Meaning everything is OK.
Now just run this sequence of commands:
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 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 oem lock
fastboot reboot
Now Your Bootloader will locked Successfully
All Credit Goes To:
@lost101
@mobs84
Sorry for my mistakes
And I hope this helps someone!
Hi, this guide will help you to relock your bootloader, in a few commands.
We know that it's was a tabu on Moto G3 environment, but a few times a go.
Requirement
OSPREY with considerable charge
PC/LAPTOP running Windows or Ubuntu (or other Linux Based OS also)
Only For Windows Users
Drivers: http://bit.ly/1WMv2L1
Only For Linux Users
Open TERMINAL and run the following:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Both Of Users
Official Images: http://bit.ly/1GfUqwr
Fastboot Files: http://bit.ly/1OncC0H
BEFORE PROCEED:
Relocking your bootloader means that you will no longer be a"tweaker" no TWRP no ROOT, no any other mods.
And its required to full flash the official images, so say goodbye for Custom ROMs.
In this process you'll lose all you data stored on internal storage, including all accounts, musics, videos, pic, installed apps. So, it's a good time to BackUp your important files.
After lock, on bootloader screen you should see:
Device is LOCKED. Status Code: 2
Software status: Modified
(For Now) We Cant Change to 0 and official, but's locked.
The bootloader warning messege will appear, after all procedure change the official logo.bin with modified.
You'll need to factory reset your device before.
Ubuntu users will need permission to use fastboot commands, so run su before.
The system.img_sparsechunk files are variable, so make sure you have flashed sequentially until the last.
FQA:
Q: If I relock my bootloader, will I have my warranty alive again?
A: No.
Q: Can i install TWRP or Root after lock my device's bootloader?
A: No, maybe with some unknown tricks by me.
Q: How to (re)unlock?
A: In order to unlock your devices again you need to allow it on developer settings and also you'll need your bootloader code.
for security reason don't expose these information, turn off OEM unlock on developer setting and hide your unlock code given by Moto.
PROCEED:
Download required files, and place on easy-find-place.
Extract both of files and the images files on [adb-fastboot-latest_win_linux] folder.
And open CMD or TERMINAL on this folder
Connect your device to via USB CABLE
Test it, if everything is fine by running this command:
fastboot devices
You'll see [SERIAL NUMBER] fastboot
Meaning everything is OK.
Now just run this sequence of commands:
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 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 oem lock
fastboot reboot
Now Your Bootloader will locked Successfully
All Credit Goes To:
@lost101
@mobs84
Sorry for my mistakes
And I hope this helps someone!
Last edited: