CCCPaste

Unlock Motorola Bootloader

#Remember that unlocking the bootloader will erase all data
#Enable Developers mode
#Settings -> About Phone -> click Build number 7 times
#Go to Developer settings and turn on adb debuging

sudo aptitude install android-tools-fastboot android-tools-adb abootimg
sudo adb reboot bootloader
sudo fastboot oem get_unlock_data

#Go to this site: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
#Join all 5 line and paste them into that site to get an unlock key emailed to you

sudo fastboot oem unlock