[Moto E Q&A, Help & Troubleshooting] Snehil_DPS_6l:
Hi sir,

im very happy that someone is trying to help me out

all the commands were successful but i have a error "failed to validate system image" in purple color and plus ur older version of 5.1 firmware isnt working its saying (preflash validation failed) (XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.2_cid7_CFC.xml)

here are all the commands as asked (output from command prompt):

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.024s]

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.712s]

finished. total time: 0.741s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1669 KB)...

OKAY [ 0.088s]

writing 'motoboot'...

(bootloader) flashing tz ...

(bootloader) flashing rpm ...

(bootloader) flashing sdi ...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

OKAY [ 2.071s]

finished. total time: 2.170s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash logo logo.bin

target max-sparse-size: 256MB

sending 'logo' (527 KB)...

OKAY [ 0.067s]

writing 'logo'...

OKAY [ 0.132s]

finished. total time: 0.205s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash boot boot.img

target max-sparse-size: 256MB

sending 'boot' (10200 KB)...

OKAY [ 0.396s]

writing 'boot'...

OKAY [ 1.573s]

finished. total time: 1.976s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash recovery recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10280 KB)...

OKAY [ 0.409s]

writing 'recovery'...

OKAY [ 1.575s]

finished. total time: 1.998s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot.exe flash system system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (242987 KB)...

OKAY [ 8.533s]

writing 'system'...

OKAY [ 27.242s]

finished. total time: 38.026s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot.exe flash system system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (256539 KB)...

OKAY [ 9.150s]

writing 'system'...

OKAY [ 25.751s]

finished. total time: 34.909s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot.exe flash system system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (257126 KB)...

OKAY [ 9.087s]

writing 'system'...

OKAY [ 25.306s]

finished. total time: 34.406s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash modem NON-HLOS.bin

target max-sparse-size: 256MB

sending 'modem' (46232 KB)...

OKAY [ 1.667s]

writing 'modem'...

OKAY [ 3.940s]

finished. total time: 5.614s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.015s]

finished. total time: 0.018s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.012s]

finished. total time: 0.016s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot flash fsg fsg.mbn

target max-sparse-size: 256MB

sending 'fsg' (648 KB)...

OKAY [ 0.066s]

writing 'fsg'...

OKAY [ 0.130s]

finished. total time: 0.201s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot erase cache

erasing 'cache'...

OKAY [ 0.079s]

finished. total time: 0.082s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot erase userdata

erasing 'userdata'...

OKAY [ 0.271s]

finished. total time: 0.274s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>mfastboot reboot

rebooting...

finished. total time: 0.003s

C:\Users\DELL USERS\Downloads\XT1022_CONDOR_RETAILDSDS_5.1_LPC23.13-34.8_cid7_CFC.xml>