[Moto G Q&A, Help & Troubleshooting] dystieguy:
C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash partiti

on gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.029s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.320s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash motoboo

t motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.105s]

writing 'motoboot'...

(bootloader) Motoboot: Preflash validation for tz

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.368s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash logo lo

go.bin

target max-sparse-size: 256MB

sending 'logo' (1060 KB)...

OKAY [ 0.093s]

writing 'logo'...

OKAY [ 0.127s]

finished. total time: 0.224s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash boot bo

ot.img

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.381s]

writing 'boot'...

OKAY [ 0.980s]

finished. total time: 1.364s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash recover

y recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10240 KB)...

OKAY [ 0.395s]

writing 'recovery'...

OKAY [ 0.964s]

finished. total time: 1.365s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash system

system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (246771 KB)...

OKAY [ 7.764s]

writing 'system'...

OKAY [ 16.930s]

finished. total time: 24.697s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash system

system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (253034 KB)...

OKAY [ 7.991s]

writing 'system'...

OKAY [ 15.582s]

finished. total time: 23.577s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash system

system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (252271 KB)...

OKAY [ 7.992s]

writing 'system'...

OKAY [ 16.206s]

finished. total time: 24.202s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash system

system.img_sparsechunk.3

target max-sparse-size: 256MB

sending 'system' (11720 KB)...

OKAY [ 0.418s]

writing 'system'...

OKAY [ 8.557s]

finished. total time: 8.979s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash modem N

ON-HLOS.bin

target max-sparse-size: 256MB

sending 'modem' (47152 KB)...

OKAY [ 1.528s]

writing 'modem'...

OKAY [ 2.364s]

finished. total time: 3.895s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe erase modemst

1

erasing 'modemst1'...

OKAY [ 0.030s]

finished. total time: 0.031s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe erase modemst

2

erasing 'modemst2'...

OKAY [ 0.055s]

finished. total time: 0.056s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe flash fsg fsg

.mbn

target max-sparse-size: 256MB

sending 'fsg' (102 KB)...

OKAY [ 0.086s]

writing 'fsg'...

OKAY [ 5.290s]

finished. total time: 5.379s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe erase cache

erasing 'cache'...

OKAY [ 0.085s]

finished. total time: 0.086s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe erase userdat

a

erasing 'userdata'...

OKAY [ 0.419s]

finished. total time: 0.421s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>mfastboot.exe reboot

rebooting...

finished. total time: 0.002s

C:\Users\PC\AppData\Local\Android\sdk\platform-tools>

BTW i followed this tutorial to flash: http://www.gimmickmag.com/restore-moto-g-xt1032-xt1033-xt1034-back-stock-firmware/ except i also added mfastboot.exe flash system system.img_sparsechunk.3