[Moto G4 Plus Questions & Answers] swarupgolui:
Yes I Use Your fastboot lock Script

It's The Log

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

...

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.031s]

finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.016s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.063s

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

target reported max download size of 536870912 bytes

sending 'bootloader' (3651 KB)...

OKAY [ 0.143s]

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

finished. total time: 0.607s

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

target reported max download size of 536870912 bytes

sending 'logo' (1848 KB)...

OKAY [ 0.098s]

writing 'logo'...

OKAY [ 0.063s]

finished. total time: 0.160s

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

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.541s]

writing 'boot'...

(bootloader) Security version downgrade

(bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.759s

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

target reported max download size of 536870912 bytes

sending 'recovery' (16484 KB)...

OKAY [ 0.545s]

writing 'recovery'...

(bootloader) Security version downgrade

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.748s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.558s]

writing 'dsp'...

OKAY [ 0.250s]

finished. total time: 0.824s

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

target reported max download size of 536870912 bytes

sending 'oem' (224253 KB)...

OKAY [ 7.232s]

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

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

target reported max download size of 536870912 bytes

sending 'system' (257278 KB)...

OKAY [ 8.308s]

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

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

target reported max download size of 536870912 bytes

sending 'system' (258607 KB)...

OKAY [ 8.341s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.388s

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

target reported max download size of 536870912 bytes

sending 'system' (258384 KB)...

OKAY [ 8.332s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.379s

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

target reported max download size of 536870912 bytes

sending 'system' (252313 KB)...

OKAY [ 8.179s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.224s

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

target reported max download size of 536870912 bytes

sending 'system' (254404 KB)...

OKAY [ 8.239s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.276s

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

target reported max download size of 536870912 bytes

sending 'system' (258060 KB)...

OKAY [ 8.392s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.439s

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

target reported max download size of 536870912 bytes

sending 'system' (257201 KB)...

OKAY [ 8.358s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.411s

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

target reported max download size of 536870912 bytes

sending 'system' (155126 KB)...

OKAY [ 5.106s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 5.144s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (76857 KB)...

OKAY [ 2.518s]

writing 'modem'...

OKAY [ 1.146s]

finished. total time: 3.665s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.040s]

finished. total time: 0.041s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.026s]

finished. total time: 0.026s

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

target reported max download size of 536870912 bytes

sending 'fsg' (1864 KB)...

OKAY [ 0.092s]

writing 'fsg'...

OKAY [ 0.079s]

finished. total time: 0.174s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache

erasing 'cache'...

OKAY [ 0.047s]

finished. total time: 0.048s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.120s]

finished. total time: 0.121s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase customize

erasing 'customize'...

OKAY [ 0.028s]

finished. total time: 0.029s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase clogo

erasing 'clogo'...

OKAY [ 0.050s]

finished. total time: 0.051s

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

...

(bootloader) Still require signed boot.img

OKAY [ 0.019s]

finished. total time: 0.020s

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

rebooting...

finished. total time: -0.000s

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

---------------------------------------------------------------------