[Moto G Q&A, Help & Troubleshooting] Valholy:
Good day everyone, I got a moto g bricked I assume because whenever y restart it when it gets past the moto logo yt just stays in a black screen, tried to use recovery but whenever y do it says boot up failed. Read somewhere that this can only be used when the phone is unlocked, tried to do it following moto's homepage instructions but after I use the key they provide me it doesnt unlock it, on fastboot it keeps saying its locked eventhough on the terminal it says succesfully unlocked.

Was thinking to flash a stock rom but I dont know wich model this moto g is and what android version it was, any suggestions are appreciated, really new with dealing with moto so I dont even know if theres a flashing tool for this tried searching for it and didnt find it.

Thanks a lot, regards.

Edit: I just found how to flash images , used a us stock rom and when Im trying to use fastboot it gives me several errors

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash partiti

on gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.031s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.324s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash modem N

ON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (47476 KB)...

OKAY [ 1.528s]

writing 'modem'...

OKAY [ 0.762s]

finished. total time: 2.306s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash fsg fsg

.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (102 KB)...

OKAY [ 0.073s]

writing 'fsg'...

OKAY [ 3.172s]

finished. total time: 3.245s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst

1

erasing 'modemst1'...

OKAY [ 0.047s]

finished. total time: 0.062s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst

2

erasing 'modemst2'...

OKAY [ 0.047s]

finished. total time: 0.047s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash logo lo

go.bin

target reported max download size of 536870912 bytes

sending 'logo' (619 KB)...

OKAY [ 0.109s]

writing 'logo'...

OKAY [ 0.062s]

finished. total time: 0.172s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash boot bo

ot.img

target reported max download size of 536870912 bytes

sending 'boot' (10240 KB)...

OKAY [ 0.389s]

writing 'boot'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.858s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash recover

y recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (10240 KB)...

OKAY [ 0.374s]

writing 'recovery'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.831s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system

system.img_sparsechunk.0

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.031s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system

system.img_sparsechunk.1

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.016s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system

system.img_sparsechunk.2

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.016s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.063s]

finished. total time: 0.063s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase userdat

a

erasing 'userdata'...

OKAY [ 0.063s]

finished. total time: 0.063s

C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot reboot

rebooting...

Can anyone point me in the correct direction?