These are the instructions to remove unlocked bootloader message from Motorola Moto G (2015) using the TWRP recovery and a flash file.
Requirements: Your smartphone should have at least 20-30 percent of battery to perform the rooting process.
Remove Unlocked Bootloader message on Motorola Moto G
- Download motog_2015_unlocked_logo.zip file and move it to the root of the Phone SD memory.
- Download and install the Minimal ADB and fastboot Tools on your computer.
- Download TWRP recovery (v2.8.7 tested working) on your computer and rename it to recovery.img.
- Now, move the recovery.img file to the Minimal ADB and Fastboot folder (i.e C:Program FilesMinimal ADB and Fastboot).
- Now, Open MAF32.exe or py_cmd.exe from the Minimal ADB and Fastboot folder.
- Give the Following Command: adb devices
- Now, Give another command: adb reboot bootloader
The above command helps you to boot into the adb mode.
- Now, give another command: fastboot flash recovery recovery.img
- Now, TWRP recovery will be installed on your phone and you will be able to see some process on your Device screen.
- Now, you need to boot into the ADB mode. To boot into adb mode, Press and hold the Volume Down Key and Power Key (for 4-5 seconds) and release the power key but keep holding the Volume Down key until ADB mode is visible on the screen.
- Once you have booted into the ADB mode, Select Recovery (use volume down for scrolling and Volume Up to select).
- Once you have booted into the TWRP recovery mode, Tap on the Install and select the motog_2015_unlocked_logo.zip file that you have moved to the Phone SD in Step#1.
- Now, reboot your Device from the TWRP recovery.
- Once your Device is restarted you will not be able to see the bootloader unlocked message on your Motorola Moto G (2015). Which confirms that you have successfully removed the bootloader message on your device.
 No data loss process: Your data including contacts, pictures, videos, music won’t be affected using the above method. In short, no data loss process.
 How to root Motorola Moto G (2015): If you want to root motorola moto g (2015) then read how to root moto 5 (2015).
 Motorola Stock Firmware: If you are looking for the original firmware for your device, then head over to Download Motorola Stock Firmware page.
 Motorola USB Driver: If you are looking for the original USB Driver for your device, then head over to Download Motorola USB Driver page.
 Credits: The motog_2015_unlocked_logo.zip file is created and made available by alberto97 (xda developer). So, full credit goes to him for the file.