[Moto G5 Plus Questions & Answers] jaysamani:
i had latest Nov firmware before unlocking boot loader,

after that i flash "XT1681-XT1683_POTTER_BRASIL_LATAM_MEXICO_7.0_NPN25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" <-- this stock rom.

everything was good till i got ota update (which one i don't know but it was around 250 MB)

during this update phone died.

Now i am unable to boot my device in any mode

and i think i can flash "POTTER_NPN25.137-33_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml" <-- this rom.

here is the output: :crying:

Microsoft Windows [Version 10.0.16299.192]

(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\jaysa\Desktop\motog5plus>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (45 KB)...

OKAY [ 0.031s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote failure)

finished. total time: 0.126s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.132s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(bootloader) Security version downgrade

(bootloader) Image aboot failed validation

(bootloader) Preflash validation failed

(bootloader) Security version downgrade

(bootloader) Image tz failed validation

(bootloader) Preflash validation failed

(bootloader) Security version downgrade

(bootloader) Image devcfg failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'bootloader.default.xml'

FAILED (remote failure)

finished. total time: 0.453s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (2164 KB)...

OKAY [ 0.077s]

writing 'logo'...

OKAY [ 0.090s]

finished. total time: 0.174s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.402s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.327s]

finished. total time: 0.740s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.495s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.443s]

finished. total time: 0.945s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.361s]

writing 'dsp'...

OKAY [ 0.200s]

finished. total time: 0.570s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (75642 KB)...

OKAY [ 1.671s]

writing 'oem'...

OKAY [ 0.653s]

finished. total time: 2.333s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (517327 KB)...

OKAY [ 11.275s]

writing 'system'...

OKAY [ 4.289s]

finished. total time: 15.589s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (502109 KB)...

OKAY [ 11.001s]

writing 'system'...

OKAY [ 4.078s]

finished. total time: 15.087s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (522558 KB)...

OKAY [ 11.413s]

writing 'system'...

OKAY [ 4.002s]

finished. total time: 15.423s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (500901 KB)...

OKAY [ 10.948s]

writing 'system'...

OKAY [ 3.933s]

finished. total time: 14.888s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (432777 KB)...

OKAY [ 9.473s]

writing 'system'...

OKAY [ 3.512s]

finished. total time: 12.996s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.5

error: cannot load 'system.img_sparsechunk.5'

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.6

error: cannot load 'system.img_sparsechunk.6'

C:\Users\jaysa\Desktop\motog5plus>fastboot flash system system.img_sparsechunk.7

error: cannot load 'system.img_sparsechunk.7'

C:\Users\jaysa\Desktop\motog5plus>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (74872 KB)...

OKAY [ 1.661s]

writing 'modem'...

OKAY [ 0.696s]

finished. total time: 2.366s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.038s]

finished. total time: 0.041s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.025s]

finished. total time: 0.027s

C:\Users\jaysa\Desktop\motog5plus>fastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (2528 KB)...

OKAY [ 0.076s]

writing 'fsg'...

OKAY [ 0.094s]

finished. total time: 0.178s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase cache

erasing 'cache'...

OKAY [ 0.030s]

finished. total time: 0.032s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.070s]

finished. total time: 0.075s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase customize

erasing 'customize'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.025s

C:\Users\jaysa\Desktop\motog5plus>fastboot erase clogo

erasing 'clogo'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.036s

C:\Users\jaysa\Desktop\motog5plus>fastboot oem lock

...

(bootloader) WARNING: This command erases all user data.

(bootloader) Please re-run this command to continue.

OKAY [ 0.022s]

finished. total time: 0.023s

C:\Users\jaysa\Desktop\motog5plus>fastboot reboot

rebooting...

finished. total time: 0.007s

C:\Users\jaysa\Desktop\motog5plus>

any help? what the **** is going with me?