[Moto G4 Questions & Answers] claujb17:
Hello everyone, this is my first post so i´ll try to be as clear as posible

I tried today to flash through fastboot a firmware that was corrupted into my Moto G4 XT1621 and i didn´t unlock my bootloader first so i got an error when trying to flash the firmware, after thar i tried to reboot my phone but every time it turns on it goes into fastboot mode whith a message saying:

Start up failed:

Your device didn´t start up successfully. Use the software repair assistant on computer to repair your device. (i don´t know of what software repair assistant it´s talking about)

Whenever i try to flash an stock rom i get the following errors:

C:\Users\Claudio Magallón\Downloads\por favor>fastboot oem fb_mode_set

...

OKAY [ 0.005s]

finished. total time: 0.005s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.022s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.073s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (3651 KB)...

OKAY [ 0.151s]

writing 'bootloader'...

(bootloader) validating: bootloader.default.xml ...

(bootloader) will pass: flash:aboot

(bootloader) will pass: flash:rpm

(bootloader) will pass: flash:tz

(bootloader) will pass: flash:hyp

(bootloader) will pass: flash:cmnlib

(bootloader) will pass: flash:keymaster

(bootloader) will pass: flash:sbl1

(bootloader) committing: bootloader.default.xml ...

(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'

(bootloader) - flashing 'rpm.mbn' to 'rpm'

(bootloader) - flashing 'tz.mbn' to 'tz'

(bootloader) - flashing 'hyp.mbn' to 'hyp'

(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'

(bootloader) - flashing 'keymaster.mbn' to 'keymaster'

(bootloader) - flashing 'sbl1.mbn' to 'sbl1'

OKAY [ 0.411s]

finished. total time: 0.563s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (1848 KB)...

OKAY [ 0.093s]

writing 'logo'...

OKAY [ 0.067s]

finished. total time: 0.159s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.534s]

writing 'boot'...

(bootloader) Security version downgrade

(bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.713s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (16484 KB)...

OKAY [ 0.538s]

writing 'recovery'...

(bootloader) Security version downgrade

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.719s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.544s]

writing 'dsp'...

OKAY [ 0.274s]

finished. total time: 0.819s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (124713 KB)...

OKAY [ 3.942s]

writing 'oem'...

(bootloader) Security version downgrade

(bootloader) Image o failed validation

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 4.027s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (257282 KB)...

OKAY [ 8.110s]

writing 'system'...

(bootloader) Security version downgrade

(bootloader) Image s failed validation

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.205s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (258607 KB)...

OKAY [ 8.152s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.183s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (260204 KB)...

OKAY [ 8.494s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.529s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (250512 KB)...

OKAY [ 7.904s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 7.937s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (254492 KB)...

OKAY [ 8.036s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.073s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.5

target reported max download size of 536870912 bytes

sending 'system' (257841 KB)...

OKAY [ 8.130s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.161s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.6

target reported max download size of 536870912 bytes

sending 'system' (256191 KB)...

OKAY [ 8.080s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.125s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash system system.img_sparsechunk.7

target reported max download size of 536870912 bytes

sending 'system' (150189 KB)...

OKAY [ 4.743s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 4.777s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (76861 KB)...

OKAY [ 2.436s]

writing 'modem'...

OKAY [ 1.127s]

finished. total time: 3.564s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.038s]

finished. total time: 0.038s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.025s]

finished. total time: 0.025s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (1868 KB)...

OKAY [ 0.078s]

writing 'fsg'...

OKAY [ 0.060s]

finished. total time: 0.139s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase cache

erasing 'cache'...

OKAY [ 0.030s]

finished. total time: 0.030s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.052s]

finished. total time: 0.053s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase customize

erasing 'customize'...

OKAY [ 0.030s]

finished. total time: 0.030s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot erase clogo

erasing 'clogo'...

OKAY [ 0.054s]

finished. total time: 0.054s

C:\Users\Claudio Magallón\Downloads\por favor>fastboot oem fb_mode_clear

...

OKAY [ 0.005s]

finished. total time: 0.005s

I will appreciate all of your help, i only have 1 week with my phone and i dont want to be left with a brick.