[Moto G5 Plus Guides, News, & Discussion] lbcsc.clx:
problem solved partial

factory image from https://mirrors.lolinet.com/firmware/moto/chef/official/RETAIL/

my mobile is moto one power

After changing path. Flash started but after few flashes it stopped with below error

Motorola Mobility flashall script version 2.1

Flashing Options:

- flash userdata: 0

- erase userdata: 0

- erase cache: 0

- no-reboot: 0

Waiting for fastboot enumeration...

Fastboot device is ready

There are 1 device(s) connected: ZF6223ZTG4

Trying to flash device ZF6223ZTG4

Starting flashing device ZF6223ZTG4...

Flashing partition table ...

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash partition gpt.bin"

target reported max download size of 536870912 bytes

sending 'partition' (37 KB)...

OKAY [ 0.016s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'

OKAY [ 0.140s]

finished. total time: 0.156s

Flashing bootloader ...

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash bootloader bootloader.img

"

target reported max download size of 536870912 bytes

sending 'bootloader' (14364 KB)...

OKAY [ 0.749s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(bootloader) Committing 'bootloader.default.xml'

(bootloader) - flashing 'xbl.elf' to 'xbl'

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

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

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

(bootloader) - flashing 'abl.elf' to 'abl'

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

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

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

(bootloader) - flashing 'pmic.elf' to 'pmic'

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

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

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

OKAY [ 0.250s]

finished. total time: 0.998s

Executing .\Windows\fastboot.exe -s ZF6223ZTG4 reboot-bootloader

rebooting into bootloader...

OKAY [ 0.000s]

finished. total time: 0.000s

Flashing modem SW...

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash modem NON-HLOS.bin"

target reported max download size of 536870912 bytes

sending 'modem_a' (80704 KB)...

OKAY [ 4.072s]

writing 'modem_a'...

OKAY [ 12.230s]

finished. total time: 16.302s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash fsg fsg.mbn"

target reported max download size of 536870912 bytes

sending 'fsg_a' (4460 KB)...

OKAY [ 0.187s]

writing 'fsg_a'...

OKAY [ 0.047s]

finished. total time: 0.234s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 erase modemst1"

erasing 'modemst1'...

OKAY [ 0.016s]

finished. total time: 0.016s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 erase modemst2"

erasing 'modemst2'...

OKAY [ 0.000s]

finished. total time: 0.000s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash bluetooth BTFM.bin"

target reported max download size of 536870912 bytes

sending 'bluetooth_a' (400 KB)...

OKAY [ 0.031s]

writing 'bluetooth_a'...

OKAY [ -0.000s]

finished. total time: 0.031s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash dsp dspso.bin"

target reported max download size of 536870912 bytes

sending 'dsp_a' (16384 KB)...

OKAY [ 0.780s]

writing 'dsp_a'...

OKAY [ 0.125s]

finished. total time: 0.905s

Flashing AP Images...

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash logo logo.bin"

target reported max download size of 536870912 bytes

sending 'logo_a' (2084 KB)...

OKAY [ 0.109s]

writing 'logo_a'...

OKAY [ 0.031s]

finished. total time: 0.140s

Executing ".\Windows\fastboot.exe -s ZF6223ZTG4 flash boot boot.img"

target reported max download size of 536870912 bytes

sending 'boot_a' (20925 KB)...

OKAY [ 0.998s]

writing 'boot_a'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 1.420s

All devices are flashed

Press any key to continue . . .

can any idea how to get ride from here for completing the flash

also attached the flashall.bat for this rom

attached flashall.bat as flashall.txt please change to bat