[Moto G5S Plus Questions & Answers] ajaydivi:
i cant relock my boot loader this my total flash report pls some one help me!!!

C:\Users\VKT SERVICE\Desktop\New folder>fastboot devices

ZY322JZBF7 fastboot

C:\Users\VKT SERVICE\Desktop\New folder>fastboot getvar max-sparse-size

max-sparse-size: 268435456

finished. total time: 0.016s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem fb_mode_set

...

OKAY [ 0.000s]

finished. total time: 0.000s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (45 KB)...

OKAY [ 0.016s]

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.085s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.162s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(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 'devcfg.mbn' to 'devcfg'

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

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

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

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

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

OKAY [ 0.657s]

finished. total time: 0.835s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (75356 KB)...

OKAY [ 2.418s]

writing 'modem'...

OKAY [ 0.822s]

finished. total time: 3.240s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (2552 KB)...

OKAY [ 0.084s]

writing 'fsg'...

OKAY [ 0.115s]

finished. total time: 0.199s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.531s]

writing 'dsp'...

OKAY [ 0.216s]

finished. total time: 0.747s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (2192 KB)...

OKAY [ 0.084s]

writing 'logo'...

OKAY [ 0.100s]

finished. total time: 0.184s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.543s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.347s]

finished. total time: 0.890s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.700s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.407s]

finished. total time: 1.107s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (504257 KB)...

OKAY [ 16.144s]

writing 'system'...

OKAY [ 4.786s]

finished. total time: 20.930s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (503878 KB)...

OKAY [ 16.126s]

writing 'system'...

OKAY [ 4.416s]

finished. total time: 20.549s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (519870 KB)...

OKAY [ 16.609s]

writing 'system'...

OKAY [ 5.654s]

finished. total time: 22.263s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (522900 KB)...

OKAY [ 16.724s]

writing 'system'...

OKAY [ 4.240s]

finished. total time: 20.964s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (524018 KB)...

OKAY [ 16.774s]

writing 'system'...

OKAY [ 5.268s]

finished. total time: 22.043s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.5

target reported max download size of 536870912 bytes

sending 'system' (482943 KB)...

OKAY [ 15.446s]

writing 'system'...

OKAY [ 4.488s]

finished. total time: 19.949s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (335890 KB)...

OKAY [ 10.726s]

writing 'oem'...

OKAY [ 2.965s]

finished. total time: 13.694s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase cache

erasing 'cache'...

OKAY [ 0.031s]

finished. total time: 0.031s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.200s]

finished. total time: 0.200s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase DDR

erasing 'DDR'...

OKAY [ -0.000s]

finished. total time: -0.000s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem fb_mode_clear

...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Users\VKT SERVICE\Desktop\New folder>

C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem lock

...

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

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

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem lock

...

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (335890 KB)...

OKAY [ 10.742s]

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: 10.823s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (504257 KB)...

OKAY [ 16.128s]

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: 16.225s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (503878 KB)...

OKAY [ 16.125s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 16.141s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (519870 KB)...

OKAY [ 16.642s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 16.688s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (522900 KB)...

OKAY [ 16.696s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 16.718s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (524018 KB)...

OKAY [ 16.747s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 16.789s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.5

target reported max download size of 536870912 bytes

sending 'system' (482943 KB)...

OKAY [ 15.440s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 15.471s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.6

error: cannot load 'system.img_sparsechunk.6'

C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.542s]

writing 'boot'...

(bootloader) Security version downgrade

(bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.714s

C:\Users\VKT SERVICE\Desktop\New folder>fastboot reboot

rebooting...

finished. total time: 0.016s