[Moto G Q&A, Help & Troubleshooting] Canuckfan101:
I have tried everything possible! The phone just keeps rebooting, it will show the warning bootloader unlocked display and then goes to a lighted black screen and repeats. I managed to relock my phone but it did not help fixing the problem. I have also tried different cables because I heard it might be the cable.

I found the firmware that gives me no error which is my service provider stock firmware:

TELUS-CA_FALCON_KXB20.9-1.10-1.39_cid14_CFC_1FF.xml

When I run the flashing processor it all works fine but when I go to the phone to choose recovery it will just reboot and not go into recovery same with factory.

(bootloader) Device is already locked!

OKAY [ 0.010s]
finished. total time: 0.010s
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.040s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.460s]
finished. total time: 0.500s
target reported max download size of 536870912 bytes
sending 'motoboot' (1940 KB)...
OKAY [ 0.100s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.570s]
finished. total time: 1.670s
rebooting into bootloader...
OKAY [ 0.010s]
finished. total time: 0.010s
sending 'logo' (619 KB)...
FAILED (command write failed (No such device or address))
finished. total time: -0.000s
sending 'boot' (10240 KB)...
FAILED (command write failed (No such device or address))
finished. total time: 0.000s
< waiting for device >
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.350s]
writing 'recovery'...
OKAY [ 1.070s]
finished. total time: 1.420s
target reported max download size of 536870912 bytes
sending 'system' (260912 KB)...
OKAY [ 8.191s]
writing 'system'...
OKAY [ 18.244s]
finished. total time: 26.445s
target reported max download size of 536870912 bytes
sending 'system' (239152 KB)...
OKAY [ 7.546s]
writing 'system'...
OKAY [ 14.515s]
finished. total time: 22.064s
target reported max download size of 536870912 bytes
sending 'system' (226897 KB)...
OKAY [ 7.161s]
writing 'system'...
OKAY [ 23.304s]
finished. total time: 30.469s
target reported max download size of 536870912 bytes
sending 'modem' (47484 KB)...
OKAY [ 1.557s]
writing 'modem'...
OKAY [ 2.380s]
finished. total time: 3.954s
erasing 'modemst1'...
OKAY [ 0.078s]
finished. total time: 0.078s
erasing 'modemst2'...
OKAY [ 0.109s]
finished. total time: 0.109s
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.114s]
writing 'fsg'...
OKAY [ 0.083s]
finished. total time: 0.198s
erasing 'cache'...
OKAY [ 0.156s]
finished. total time: 0.156s
erasing 'userdata'...
OKAY [ 0.299s]
finished. total time: 0.299s
...
(bootloader) Device is already locked!

OKAY [ 0.016s]
finished. total time: 0.016s
rebooting...

finished. total time: 0.016s
Press any key to continue . . .