Prompt Unlocking Bootloader

Originally Posted by Rusty! View Post
#include <std_disclaimer.h>
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
>>> Unlocking Bootloader will overwrite any data stored on your device, backup your files before proceeding <<<

For 4.4.2, an updated guide is available here

1- Register to Motorola website

2- get your Device ID
  • Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
  • On your desktop, open a command prompt or terminal, and go to the directory where you installed the Android SDK tools (or make sure fastboot is in your $PATH)
  • At the prompt, type
$ fastboot oem get_unlock_data
  • The returned string will be used to retrieve your unlock key.
Example: On a Windows Desktop, the returned string format would be
$ fastboot oem get_unlock_data
 (bootloader) 0A40040192024205#4C4D3556313230
 (bootloader) 30373731363031303332323239#BD00
 (bootloader) 8A672BA4746C2CE02328A2AC0C39F95
 (bootloader) 1A3E5#1F53280002000000000000000
 (bootloader) 0000000
On a Mac OS Desktop, the returned string format would be
Paste together the 5 lines of output into one continuous string without (bootloader) or ‘INFO’ or white spaces. Your string needs to look like this:
3- Unlock
  • Check if your device can be unlocked by pasting this string in the pecific field on the Motorola website, and clicking “Can my device be unlocked?”
  • NOTE: If your device is unlockable, a "REQUEST UNLOCK KEY" button will now appear at the bottom of that page.
  • after you got the code type the following :
    fastboot oem unlock <code>
    and wait your device to reboot !

4- Enjoy

5- to relock, (pointless, isn't it?)
$ fastboot oem lock
Moto G running Android 4.4.4 KK CM11 /!\ twitter ~ Blog : Andrux&me /!\
Bug Hunter for : CM11 and AcDisplay
supported devices:

Motorola : Moto G (falcon / Peregrine [4G])
RC-FAQ: Falcon ; RC-FAQ: Peregrine ; CM11 DeBug Thread

Xperia: X10mini (robyn); X10miniPRO (mimmi); X8/W8 (shakira)
MiniCM10: MiniFAQ
MiniCM9: MiniFAQ
MiniCM7: MiniFAQ
i don't have power of ubiquity : if you want me to answer, please quote me or mention me using "@matmutant" in the post