How to unlock Bootloader on Motorola Devices

Steps To Unlock Bootloader on Motorola:

1. Download and Extract Minimal ADB and Fastboot driver on your PC

2. Enable developer option on phone ( Tap “Build number” {under About Phone} seven times to enable Developer option ).

3. Enable OEM unlock and USB debugging under developer option.

4. Reboot phone to fastboot mod

5. Connect phone to PC with USB cable.

6. Now open the folder where you extracted ADB driver and hold Shift key on your keyboard and right click anywhere. Now click Open Command Prompt Here.

7. Now run this command

fastboot oem get_unlock_data

8. The returned string will be used to retrieve your unlock key.
Example Output: 

On a Windows Desktop, the returned string format would be
$ fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
bootloader) 30373731363031303332323239#BD00

On a Mac OS Desktop, the returned string format would be

9. Now visit Moto Bootloader Unlock website. Agree terms and conditions. Now create or login account.

10. On next page paste together the 5 lines of output into one continuous string without (bootloader) or ‘INFO’ or white spaces. (Or Use Moto Data Scrub Tool if you can’t do this simple job) Your string needs to look like this:


11. Paste the code obtained in Moto website.

12. Now Click on the I Agree Button a Get Unlock Code will appear on the screen. And click the button.

13. Now you will get your unlock key by email. Check your inbox and get the key.

14. Now again go to the Command Prompt screen and type this code

fastboot oem unlock ************

(Replace stars with your unlock key)

15. A warning screen will appear in command just retype the same command and hit enter.

16. Type this code and your phone will reboot.

fastboot reboot

Done! Your bootloader has been unlocked.