[Moto G4 Plus Guides, News, & Discussion] Marv42:
Hallo

I'm running these Stock ROM (XT1642_ATHENE_MPJ24.139-48_cid50_subsidy-DEFAULT_CFC.xml) and I'm not able to relock the boatloader or install the N-Update.

I always get these errors:

C:\mfastboot>fastboot oem lock begin

...

(bootloader) Still require signed boot.img

OKAY [ 0.005s]

finished. total time: 0.006s

C:\mfastboot>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.006s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.047s

C:\mfastboot>fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (3651 KB)...

OKAY [ 0.129s]

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

finished. total time: 0.533s

C:\mfastboot>fastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (1848 KB)...

OKAY [ 0.065s]

writing 'logo'...

OKAY [ 0.044s]

finished. total time: 0.110s

C:\mfastboot>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.569s]

writing 'boot'...

(bootloader) Security version downgrade

(bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.743s

C:\mfastboot>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (16484 KB)...

OKAY [ 0.568s]

writing 'recovery'...

(bootloader) Security version downgrade

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.763s

C:\mfastboot>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.547s]

writing 'dsp'...

OKAY [ 0.161s]

finished. total time: 0.716s

C:\mfastboot>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (124713 KB)...

OKAY [ 4.146s]

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

C:\mfastboot>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (257282 KB)...

OKAY [ 8.553s]

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

C:\mfastboot>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (258607 KB)...

OKAY [ 8.567s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.600s

C:\mfastboot>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (260204 KB)...

OKAY [ 8.627s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.646s

C:\mfastboot>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (250512 KB)...

OKAY [ 8.299s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.320s

C:\mfastboot>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (254492 KB)...

OKAY [ 8.425s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.447s

C:\mfastboot>fastboot flash system system.img_sparsechunk.5

target reported max download size of 536870912 bytes

sending 'system' (257841 KB)...

OKAY [ 8.422s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.441s

C:\mfastboot>fastboot flash system system.img_sparsechunk.6

target reported max download size of 536870912 bytes

sending 'system' (256191 KB)...

OKAY [ 8.488s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.518s

C:\mfastboot>fastboot flash system system.img_sparsechunk.7

target reported max download size of 536870912 bytes

sending 'system' (150189 KB)...

OKAY [ 4.954s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 4.979s

C:\mfastboot>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (76861 KB)...

OKAY [ 2.554s]

writing 'modem'...

OKAY [ 0.744s]

finished. total time: 3.301s

C:\mfastboot>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.026s]

finished. total time: 0.027s

C:\mfastboot>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.022s]

finished. total time: 0.023s

C:\mfastboot>fastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (1868 KB)...

OKAY [ 0.066s]

writing 'fsg'...

OKAY [ 0.049s]

finished. total time: 0.117s

C:\mfastboot>fastboot erase cache

erasing 'cache'...

OKAY [ 0.016s]

finished. total time: 0.017s

C:\mfastboot>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.114s]

finished. total time: 0.116s

C:\mfastboot>fastboot erase customize

erasing 'customize'...

OKAY [ 0.016s]

finished. total time: 0.018s

C:\mfastboot>fastboot erase clogo

erasing 'clogo'...

OKAY [ 0.017s]

finished. total time: 0.018s

C:\mfastboot>fastboot oem lock

...

(bootloader) Still require signed boot.img

OKAY [ 0.007s]

finished. total time: 0.007s

C:\mfastboot>

I tried different versions for my XT1642, I don't know what to do else?