[Upgrading, Modifying and Unlocking] ghettozo:
PS C:\Users\Me\Downloads\ADB FASTBOOT FILES WINDOWS> astboot devices

>> fastboot oem fb_mode_set

>> fastboot flash partition gpt.bin

>> fastboot flash bootloader bootloader.img

>> fastboot flash logo logo.bin

>> fastboot flash boot boot.img

>> fastboot flash recovery recovery.img

>> fastboot flash dsp adspso.bin

>> fastboot flash oem oem.img

>> fastboot flash system system.img_sparsechunk.0

>> fastboot flash system system.img_sparsechunk.1

>> fastboot flash system system.img_sparsechunk.2

>> fastboot flash system system.img_sparsechunk.3

>> fastboot flash system system.img_sparsechunk.4

>> fastboot flash system system.img_sparsechunk.5

>> fastboot flash system system.img_sparsechunk.6

>> fastboot flash modem NON-HLOS.bin

>> fastboot flash fsg fsg.mbn

>> fastboot erase cache

>> fastboot erase userdata

>> fastboot erase customize

>> fastboot erase clogo

>> fastboot oem fb_mode_clear

>> fastboot reboot

>>

astboot : The term 'astboot' is not recognized as the name of a cmdlet, function, script file, or operable program.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ astboot devices

+ ~~~~~~~

+ CategoryInfo : ObjectNotFound: (astboot:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

...

OKAY [ 0.003s]

finished. total time: 0.005s

target reported max download size of 535822336 bytes

sending 'partition' (45 KB)...

OKAY [ 0.005s]

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

target reported max download size of 535822336 bytes

sending 'bootloader' (7483 KB)...

OKAY [ 0.296s]

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

finished. total time: 1.225s

target reported max download size of 535822336 bytes

sending 'logo' (1405 KB)...

OKAY [ 0.052s]

writing 'logo'...

OKAY [ 0.153s]

finished. total time: 0.218s

target reported max download size of 535822336 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.579s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.561s]

finished. total time: 1.144s

target reported max download size of 535822336 bytes

sending 'recovery' (16484 KB)...

OKAY [ 0.584s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.624s]

finished. total time: 1.256s

target reported max download size of 535822336 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.578s]

writing 'dsp'...

OKAY [ 0.470s]

finished. total time: 1.051s

target reported max download size of 535822336 bytes

sending 'oem' (167774 KB)...

OKAY [ 5.788s]

writing 'oem'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 5.799s

target reported max download size of 535822336 bytes

sending 'system' (513317 KB)...

OKAY [ 28.077s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 28.376s

target reported max download size of 535822336 bytes

sending 'system' (517076 KB)...

OKAY [ 22.140s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 37.453s

target reported max download size of 535822336 bytes

sending 'system' (477438 KB)...

OKAY [ 16.890s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 16.903s

target reported max download size of 535822336 bytes

sending 'system' (523258 KB)...

OKAY [ 25.837s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 25.895s

target reported max download size of 535822336 bytes

sending 'system' (157403 KB)...

OKAY [ 5.121s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 5.401s

error: cannot load 'system.img_sparsechunk.5'

error: cannot load 'system.img_sparsechunk.6'

target reported max download size of 535822336 bytes

sending 'modem' (68742 KB)...

OKAY [ 9.495s]

writing 'modem'...

OKAY [ 1.723s]

finished. total time: 13.096s

target reported max download size of 535822336 bytes

sending 'fsg' (1760 KB)...

OKAY [ 0.059s]

writing 'fsg'...

OKAY [ 0.176s]

finished. total time: 0.549s

erasing 'cache'...

OKAY [ 0.015s]

finished. total time: 0.021s

erasing 'userdata'...

OKAY [ 0.110s]

finished. total time: 0.140s

erasing 'customize'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.005s

erasing 'clogo'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.005s

...

OKAY [ 0.005s]

finished. total time: 0.010s

rebooting...

finished. total time: 0.040s