Unlocking the Bootloader
Whilst I was able to complete the adb commands on Debian, the fastboot oem get_unlock_data command did not work. Fastboot worked (could see the device whilst in recovery mode, but getting the unlock data gave an error or hung. This task was completed at a windows 10 command line.
You need to have an account (https://accounts.motorola.com/) to complete the unlock bootloader steps at the motorolla website.
C:\2TB\platform-tools>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Zxxxxxxxx3 unauthorized
C:\2TB\platform-tools>adb reboot bootloader
C:\2TB\platform-tools>fastboot devices
Zxxxxxxxx3 fastboot
C:\2TB\platform-tools>fastboot oem get_unlock_data
(bootloader) Unlock data:
(bootloader) 3A5xxxxxxxxxxxxxxxxxxxxxxxxxxxx
(bootloader) 534xxxxxxxxxxxxxxxxxxxxxxxxxxxx
(bootloader) E96xxxxxxxxxxxxxxxxxxxxxxxxxxxx
(bootloader) AC7xxxxxxxxxxxxxxxxxxxxxxxxxxxx
(bootloader) 0000000
OKAY [ 0.032s]
Finished. Total time: 0.032s
C:\2TB\platform-tools>
Get the unlock cod, I duckducked "get motorola bootloader unlock code" and followed the links in a private browsing session that was already SSO'd into the motorolla account.
Once the tasks are complete I received an email from Motorola <emea_chat@rnmk.com> about 10 minutes after requesting it.
C:\2TB\platform-tools>adb devices
List of devices attached
Zxxxxxxxx3 device
C:\2TB\platform-tools>adb reboot bootloader
C:\2TB\platform-tools>fastboot oem unlock HxxxxxxxxxxxxxxxxxxxxQ
(bootloader) ***************************************
(bootloader) WARNING: This command erases user data!
(bootloader) WARNING: This command voids warranty!
(bootloader) Please re-run this command to confirm.
(bootloader) ***************************************
OKAY [ 0.021s]
Finished. Total time: 0.021s
C:\2TB\platform-tools>fastboot oem unlock HxxxxxxxxxxxxxxxxxxxxQ
(bootloader) Bootloader is unlocked!
OKAY [ 1.041s]
Finished. Total time: 1.042s
C:\2TB\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.008s
C:\2TB\platform-tools>
Once the task is complete you should see a screen similar to the one adjacent on boot.