[Moto G Q&A, Help & Troubleshooting] felipejpa15:
I tried also the tutorial to restore stock firmware

This is the order and the output that I get. :

➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (295 KB)...
OKAY [ 0.042s]
writing 'logo'...
OKAY [ 0.086s]
finished. total time: 0.128s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.354s]
writing 'boot'...
OKAY [ 0.892s]
finished. total time: 1.246s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.372s]
writing 'recovery'...
OKAY [ 0.886s]
finished. total time: 1.258s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.222s]
sending 'system' (257883 KB)...
OKAY [ 8.184s]
writing 'system'...
OKAY [ 14.713s]
finished. total time: 23.119s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.300s]
sending 'system' (256754 KB)...
OKAY [ 8.136s]
writing 'system'...
OKAY [ 15.103s]
finished. total time: 23.539s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.327s]
sending 'system' (260090 KB)...
OKAY [ 8.203s]
writing 'system'...
OKAY [ 15.426s]
finished. total time: 23.955s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.303s]
sending 'system' (165316 KB)...
OKAY [ 5.244s]
writing 'system'...
OKAY [ 10.616s]
finished. total time: 16.164s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (49356 KB)...
OKAY [ 1.594s]
writing 'modem'...
OKAY [ 2.158s]
finished. total time: 3.751s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.098s]
finished. total time: 0.098s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.067s]
finished. total time: 0.067s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.101s]
writing 'fsg'...
OKAY [ 5.317s]
finished. total time: 5.418s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.150s]
finished. total time: 0.150s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.523s]
finished. total time: 0.523s
➜ BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml fastboot reboot
rebooting...

finished. total time: 0.001s