../Moto G7 Plus

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.

`C:\2TB\platform-tools>adb devices* daemon not running; starting now at tcp:5037* daemon started successfullyList of devices attachedZxxxxxxxx3      unauthorizedC:\2TB\platform-tools>adb reboot bootloaderC:\2TB\platform-tools>fastboot devicesZxxxxxxxx3       fastbootC:\2TB\platform-tools>fastboot oem get_unlock_data(bootloader) Unlock data:(bootloader) 3A5xxxxxxxxxxxxxxxxxxxxxxxxxxxx(bootloader) 534xxxxxxxxxxxxxxxxxxxxxxxxxxxx(bootloader) E96xxxxxxxxxxxxxxxxxxxxxxxxxxxx(bootloader) AC7xxxxxxxxxxxxxxxxxxxxxxxxxxxx(bootloader) 0000000OKAY [  0.032s]Finished. Total time: 0.032sC:\2TB\platform-tools>`

https://accounts.motorola.com/

get the unlock code

`C:\2TB\platform-tools>adb devicesList of devices attachedZxxxxxxxx3       deviceC:\2TB\platform-tools>adb reboot bootloaderC:\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.021sC:\2TB\platform-tools>fastboot oem unlock HxxxxxxxxxxxxxxxxxxxxQ(bootloader) Bootloader is unlocked!OKAY [  1.041s]Finished. Total time: 1.042sC:\2TB\platform-tools>fastboot rebootRebooting                                          OKAY [  0.000s]Finished. Total time: 0.008sC:\2TB\platform-tools>`

Once the task is complete you should see a screen similar to the one adjacent on boot.