[Moto G5 Plus Questions & Answers] dhruvanbhalara:
i can't lock bootloader

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

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

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

OKAY [ 0.172s]

finished. total time: 0.188s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.203s]

finished. total time: 0.203s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash oem oem.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:oem: not found

target reported max download size of 536870912 bytes

sending 'oem' (102931 KB)...

OKAY [ 4.110s]

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

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

_sparsechunk.0

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

target reported max download size of 536870912 bytes

sending 'system' (516109 KB)...

OKAY [ 25.440s]

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

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

_sparsechunk.1

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

target reported max download size of 536870912 bytes

sending 'system' (505697 KB)...

OKAY [ 24.730s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 24.777s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

_sparsechunk.2

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

target reported max download size of 536870912 bytes

sending 'system' (524284 KB)...

OKAY [ 27.119s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 27.150s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

_sparsechunk.3

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

target reported max download size of 536870912 bytes

sending 'system' (517278 KB)...

OKAY [ 24.449s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 24.481s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

_sparsechunk.4

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

target reported max download size of 536870912 bytes

sending 'system' (469093 KB)...

OKAY [ 23.088s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 23.155s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:boot: not found

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.757s]

writing 'boot'...

(bootloader) Security version downgrade

(bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.977s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Still require signed boot.img

OKAY [ 0.172s]

finished. total time: 0.188s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

rebooting into bootloader...

OKAY [ 0.175s]

finished. total time: 0.238s