[Moto G5S Plus Questions & Answers] ShuaibY:
I TRIED VARIOUS METHODS AND FINNALLY MY MOTO G5S PLUS OEM IS LOCKED AGAIN. THE STEPS I FOLLOWED ARE BELOW

HOPE THIS HELPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

C:\SANDERS>fastboot oem lock begin

...

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

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

OKAY [ 0.012s]

finished. total time: 0.023s

C:\SANDERS>fastboot oem fb_mode_set

...

OKAY [ 0.002s]

finished. total time: 0.003s

C:\SANDERS>fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.005s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

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

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.084s]

finished. total time: 0.095s

C:\SANDERS>fastboot flash bootloader bootloader.img

target reported max download size of 534773760 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.118s]

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

finished. total time: 0.584s

C:\SANDERS>fastboot flash logo logo.bin

target reported max download size of 534773760 bytes

sending 'logo' (2192 KB)...

OKAY [ 0.049s]

writing 'logo'...

OKAY [ 0.089s]

finished. total time: 0.139s

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.377s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.279s]

finished. total time: 0.657s

C:\SANDERS>fastboot flash recovery recovery.img

target reported max download size of 534773760 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.463s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.354s]

finished. total time: 0.817s

C:\SANDERS>fastboot flash dsp adspso.bin

target reported max download size of 534773760 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.353s]

writing 'dsp'...

OKAY [ 0.197s]

finished. total time: 0.550s

C:\SANDERS>fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (135426 KB)...

OKAY [ 2.935s]

writing 'oem'...

OKAY [ 1.171s]

finished. total time: 4.107s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.651s]

writing 'system'...

OKAY [ 2.512s]

finished. total time: 8.163s

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

target reported max download size of 534773760 bytes

sending 'system' (249863 KB)...

OKAY [ 5.392s]

writing 'system'...

OKAY [ 2.015s]

finished. total time: 7.408s

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

target reported max download size of 534773760 bytes

sending 'system' (261779 KB)...

OKAY [ 5.744s]

writing 'system'...

OKAY [ 2.888s]

finished. total time: 8.637s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.665s]

writing 'system'...

OKAY [ 2.414s]

finished. total time: 8.080s

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

target reported max download size of 534773760 bytes

sending 'system' (262142 KB)...

OKAY [ 5.653s]

writing 'system'...

OKAY [ 2.144s]

finished. total time: 7.797s

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

target reported max download size of 534773760 bytes

sending 'system' (262141 KB)...

OKAY [ 5.680s]

writing 'system'...

OKAY [ 1.971s]

finished. total time: 7.653s

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

target reported max download size of 534773760 bytes

sending 'modem' (71953 KB)...

OKAY [ 1.559s]

writing 'modem'...

OKAY [ 0.732s]

finished. total time: 2.291s

C:\SANDERS>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.022s]

finished. total time: 0.022s

C:\SANDERS>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.023s]

finished. total time: 0.023s

C:\SANDERS>fastboot flash fsg fsg.mbn

target reported max download size of 534773760 bytes

sending 'fsg' (3024 KB)...

OKAY [ 0.066s]

writing 'fsg'...

OKAY [ 0.089s]

finished. total time: 0.157s

C:\SANDERS>fastboot erase cache

erasing 'cache'...

OKAY [ 0.014s]

finished. total time: 0.014s

C:\SANDERS>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.285s]

finished. total time: 0.285s

C:\SANDERS>fastboot erase customize

erasing 'customize'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.014s

C:\SANDERS>fastboot erase clogo

erasing 'clogo'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.004s

C:\SANDERS>fastboot oem fb_mode_clear

...

OKAY [ 0.096s]

finished. total time: 0.096s

C:\SANDERS>fastboot oem lock

...

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.009s]

finished. total time: 0.010s

C:\SANDERS>fastboot oem lock

...

(bootloader) Still require signed boot.img

OKAY [ 0.004s]

finished. total time: 0.004s

C:\SANDERS>fastboot reboot

rebooting...

finished. total time: 0.003s

C:\SANDERS>fastboot getvar max-sparse-size

max-sparse-size: 268435456

finished. total time: -0.000s

C:\SANDERS>fastboot oem fb_mode_set

...

OKAY [ 0.002s]

finished. total time: 0.002s

C:\SANDERS>fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.004s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

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

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.082s]

finished. total time: 0.089s

C:\SANDERS>fastboot flash bootloader bootloader.img

target reported max download size of 534773760 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.116s]

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

finished. total time: 0.574s

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

target reported max download size of 534773760 bytes

sending 'modem' (71953 KB)...

OKAY [ 1.558s]

writing 'modem'...

OKAY [ 0.725s]

finished. total time: 2.285s

C:\SANDERS>fastboot flash fsg fsg.mbn

target reported max download size of 534773760 bytes

sending 'fsg' (3024 KB)...

OKAY [ 0.067s]

writing 'fsg'...

OKAY [ 0.093s]

finished. total time: 0.161s

C:\SANDERS>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.029s]

finished. total time: 0.030s

C:\SANDERS>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.029s]

finished. total time: 0.029s

C:\SANDERS>fastboot flash dsp adspso.bin

target reported max download size of 534773760 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.353s]

writing 'dsp'...

OKAY [ 0.174s]

finished. total time: 0.528s

C:\SANDERS>fastboot flash logo logo.bin

target reported max download size of 534773760 bytes

sending 'logo' (2192 KB)...

OKAY [ 0.050s]

writing 'logo'...

OKAY [ 0.086s]

finished. total time: 0.138s

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.377s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.285s]

finished. total time: 0.663s

C:\SANDERS>fastboot flash recovery recovery.img

target reported max download size of 534773760 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.462s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.356s]

finished. total time: 0.819s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.638s]

writing 'system'...

OKAY [ 2.263s]

finished. total time: 7.902s

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

target reported max download size of 534773760 bytes

sending 'system' (249863 KB)...

OKAY [ 5.386s]

writing 'system'...

OKAY [ 2.018s]

finished. total time: 7.405s

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

target reported max download size of 534773760 bytes

sending 'system' (261779 KB)...

OKAY [ 5.733s]

writing 'system'...

OKAY [ 2.854s]

finished. total time: 8.587s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.691s]

writing 'system'...

OKAY [ 2.404s]

finished. total time: 8.094s

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

target reported max download size of 534773760 bytes

sending 'system' (262142 KB)...

OKAY [ 5.643s]

writing 'system'...

OKAY [ 2.124s]

finished. total time: 7.769s

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

target reported max download size of 534773760 bytes

sending 'system' (262141 KB)...

OKAY [ 5.669s]

writing 'system'...

OKAY [ 1.953s]

finished. total time: 7.624s

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

target reported max download size of 534773760 bytes

sending 'system' (233033 KB)...

OKAY [ 5.070s]

writing 'system'...

OKAY [ 1.788s]

finished. total time: 6.858s

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

target reported max download size of 534773760 bytes

sending 'system' (262143 KB)...

OKAY [ 5.708s]

writing 'system'...

OKAY [ 2.620s]

finished. total time: 8.329s

C:\SANDERS>fastboot flash system system.img_sparsechunk.8

target reported max download size of 534773760 bytes

sending 'system' (254053 KB)...

OKAY [ 5.473s]

writing 'system'...

OKAY [ 1.930s]

finished. total time: 7.403s

C:\SANDERS>fastboot flash system system.img_sparsechunk.9

target reported max download size of 534773760 bytes

sending 'system' (259525 KB)...

OKAY [ 5.619s]

writing 'system'...

OKAY [ 2.062s]

finished. total time: 7.682s

C:\SANDERS>fastboot flash system system.img_sparsechunk.10

target reported max download size of 534773760 bytes

sending 'system' (65436 KB)...

OKAY [ 1.405s]

writing 'system'...

OKAY [ 0.467s]

finished. total time: 1.874s

C:\SANDERS>fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (135426 KB)...

OKAY [ 2.933s]

writing 'oem'...

OKAY [ 1.170s]

finished. total time: 4.106s

C:\SANDERS>fastboot erase cache

erasing 'cache'...

OKAY [ 0.011s]

finished. total time: 0.011s

C:\SANDERS>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.149s]

finished. total time: 0.150s

C:\SANDERS>fastboot erase DDR

erasing 'DDR'...

OKAY [ 0.003s]

finished. total time: 0.003s

C:\SANDERS>fastboot oem fb_mode_clear

...

OKAY [ 0.002s]

finished. total time: 0.004s

C:\SANDERS>fastboot oem lock

...

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

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

OKAY [ 0.008s]

finished. total time: 0.009s

C:\SANDERS>

C:\SANDERS>fastboot oem lock

...

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.015s]

finished. total time: 0.016s

C:\SANDERS>fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (135426 KB)...

OKAY [ 2.936s]

writing 'oem'...

OKAY [ 8.002s]

finished. total time: 10.940s

C:\SANDERS>fastboot oem lock

...

(bootloader) Still require signed boot.img

OKAY [ 0.004s]

finished. total time: 0.009s

C:\SANDERS>fastboot flash boot.img

unknown partition 'boot.img'

error: cannot determine image filename for 'boot.img'

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.376s]

writing 'boot'...

OKAY [ 0.354s]

finished. total time: 0.731s

C:\SANDERS>fastboot oem lock

...

(bootloader) Still require signed system.img and/or oem.img

OKAY [ 0.012s]

finished. total time: 0.013s

C:\SANDERS>fastboot oem lock

...

(bootloader) Still require signed system.img and/or oem.img

OKAY [ 0.004s]

finished. total time: 0.014s

C:\SANDERS>fastboot flash boot oem oem.img

error: cannot open 'oem'

C:\SANDERS>fastboot flash boot oem.img

target reported max download size of 534773760 bytes

sending 'boot' (135426 KB)...

OKAY [ 2.918s]

writing 'boot'...

(bootloader) Image size exeeded partition limits

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 2.929s

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.378s]

writing 'boot'...

OKAY [ 0.359s]

finished. total time: 0.737s

C:\SANDERS>fastboot oemlock

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot + recovery + system

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

format <partition> format a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

help show this help message

options:

-w erase userdata and cache (and format

if supported by partition type)

-u do not first erase partition before

formatting

-s <specific device> specify device serial number

or path to device port

-l with "devices", lists device paths

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base address. default: 0x10000000

-n <page size> specify the nand page size. default: 2048

-S <size>[K|M|G] automatically sparse files greater than

size. 0 to disable

I BOOTED THE PHONE AND TURNED ON THE DEVELOPER OPTION THEN AGAIN IN BOOTLOADER MODE TRIED TO ENTER SOME COMMANDS

C:\SANDERS>fastboot oem lock

...

(bootloader) Still require signed system.img and/or oem.img

OKAY [ 0.004s]

finished. total time: 0.015s

C:\SANDERS>fastboot oem lock begin

...

(bootloader) Still require signed system.img and/or oem.img

OKAY [ 0.003s]

finished. total time: 0.009s

C:\SANDERS>fastboot oem lock begin

...

(bootloader) Still require signed system.img and/or oem.img

OKAY [ 0.002s]

finished. total time: 0.013s

C:\SANDERS>fastboot getvar max-sparse-size

max-sparse-size: 268435456

finished. total time: 0.000s

C:\SANDERS>fastboot oem fb_mode_set

...

OKAY [ 0.001s]

finished. total time: 0.002s

C:\SANDERS>fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.003s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

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

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.084s]

finished. total time: 0.087s

C:\SANDERS>fastboot flash bootloader bootloader.img

target reported max download size of 534773760 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.114s]

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

finished. total time: 0.569s

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

target reported max download size of 534773760 bytes

sending 'modem' (71953 KB)...

OKAY [ 1.558s]

writing 'modem'...

OKAY [ 0.730s]

finished. total time: 2.289s

C:\SANDERS>fastboot flash fsg fsg.mbn

target reported max download size of 534773760 bytes

sending 'fsg' (3024 KB)...

OKAY [ 0.065s]

writing 'fsg'...

OKAY [ 0.091s]

finished. total time: 0.158s

C:\SANDERS>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.029s]

finished. total time: 0.029s

C:\SANDERS>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.028s]

finished. total time: 0.028s

C:\SANDERS>fastboot flash dsp adspso.bin

target reported max download size of 534773760 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.352s]

writing 'dsp'...

OKAY [ 0.188s]

finished. total time: 0.541s

C:\SANDERS>fastboot flash logo logo.bin

target reported max download size of 534773760 bytes

sending 'logo' (2192 KB)...

OKAY [ 0.049s]

writing 'logo'...

OKAY [ 0.083s]

finished. total time: 0.133s

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.377s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.276s]

finished. total time: 0.653s

C:\SANDERS>fastboot flash recovery recovery.img

target reported max download size of 534773760 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.462s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.354s]

finished. total time: 0.817s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.633s]

writing 'system'...

OKAY [ 2.471s]

finished. total time: 8.104s

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

target reported max download size of 534773760 bytes

sending 'system' (249863 KB)...

OKAY [ 5.416s]

writing 'system'...

OKAY [ 1.980s]

finished. total time: 7.397s

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

target reported max download size of 534773760 bytes

sending 'system' (261779 KB)...

OKAY [ 5.730s]

writing 'system'...

OKAY [ 2.865s]

finished. total time: 8.596s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.682s]

writing 'system'...

OKAY [ 2.387s]

finished. total time: 8.069s

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

target reported max download size of 534773760 bytes

sending 'system' (262142 KB)...

OKAY [ 5.661s]

writing 'system'...

OKAY [ 2.121s]

finished. total time: 7.782s

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

target reported max download size of 534773760 bytes

sending 'system' (262141 KB)...

OKAY [ 5.653s]

writing 'system'...

OKAY [ 1.941s]

finished. total time: 7.594s

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

target reported max download size of 534773760 bytes

sending 'system' (233033 KB)...

OKAY [ 5.074s]

writing 'system'...

OKAY [ 1.788s]

finished. total time: 6.864s

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

target reported max download size of 534773760 bytes

sending 'system' (262143 KB)...

OKAY [ 5.721s]

writing 'system'...

OKAY [ 2.685s]

finished. total time: 8.407s

C:\SANDERS>fastboot flash system system.img_sparsechunk.8

target reported max download size of 534773760 bytes

sending 'system' (254053 KB)...

OKAY [ 5.501s]

writing 'system'...

OKAY [ 1.934s]

finished. total time: 7.437s

C:\SANDERS>fastboot flash system system.img_sparsechunk.9

target reported max download size of 534773760 bytes

sending 'system' (259525 KB)...

OKAY [ 5.617s]

writing 'system'...

OKAY [ 2.086s]

finished. total time: 7.703s

C:\SANDERS>fastboot flash system system.img_sparsechunk.10

target reported max download size of 534773760 bytes

sending 'system' (65436 KB)...

OKAY [ 1.410s]

writing 'system'...

OKAY [ 0.488s]

finished. total time: 1.898s

C:\SANDERS>fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (135426 KB)...

OKAY [ 2.924s]

writing 'oem'...

OKAY [ 1.156s]

finished. total time: 4.082s

C:\SANDERS>fastboot erase cache

erasing 'cache'...

OKAY [ 0.008s]

finished. total time: 0.008s

C:\SANDERS>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.151s]

finished. total time: 0.151s

C:\SANDERS>fastboot erase DDR

erasing 'DDR'...

OKAY [ 0.001s]

finished. total time: 0.003s

C:\SANDERS>fastboot oem fb_mode_clear

...

OKAY [ 0.002s]

finished. total time: 0.005s

*****************************HERE IN THIS STEP THE LOCK WAS THERE************************************

C:\SANDERS>

C:\SANDERS>fastboot oem lock

...

(bootloader) Lock complete! Flash signed images after reboot if needed

OKAY [ 0.159s]

finished. total time: 0.161s

*****************************************************************************************************

C:\SANDERS>fastboot reboot

rebooting...

finished. total time: 0.003s

C:\SANDERS>fastboot getvar max-sparse-size

max-sparse-size: 268435456

finished. total time: -0.000s

C:\SANDERS>fastboot oem fb_mode_set

...

OKAY [ 0.002s]

finished. total time: 0.004s

C:\SANDERS>fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.005s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

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

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.093s]

finished. total time: 0.098s

C:\SANDERS>fastboot flash bootloader bootloader.img

target reported max download size of 534773760 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.114s]

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

finished. total time: 0.582s

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

target reported max download size of 534773760 bytes

sending 'modem' (71953 KB)...

OKAY [ 1.560s]

writing 'modem'...

OKAY [ 0.714s]

finished. total time: 2.274s

C:\SANDERS>fastboot flash fsg fsg.mbn

target reported max download size of 534773760 bytes

sending 'fsg' (3024 KB)...

OKAY [ 0.073s]

writing 'fsg'...

OKAY [ 0.092s]

finished. total time: 0.166s

C:\SANDERS>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.028s]

finished. total time: 0.028s

C:\SANDERS>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.028s]

finished. total time: 0.028s

C:\SANDERS>fastboot flash dsp adspso.bin

target reported max download size of 534773760 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.353s]

writing 'dsp'...

OKAY [ 0.200s]

finished. total time: 0.553s

C:\SANDERS>fastboot flash logo logo.bin

target reported max download size of 534773760 bytes

sending 'logo' (2192 KB)...

OKAY [ 0.057s]

writing 'logo'...

OKAY [ 0.088s]

finished. total time: 0.145s

C:\SANDERS>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.377s]

writing 'boot'...

OKAY [ 0.347s]

finished. total time: 0.726s

C:\SANDERS>fastboot flash recovery recovery.img

target reported max download size of 534773760 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.460s]

writing 'recovery'...

OKAY [ 0.410s]

finished. total time: 0.870s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.634s]

writing 'system'...

OKAY [ 5.318s]

finished. total time: 10.953s

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

target reported max download size of 534773760 bytes

sending 'system' (249863 KB)...

OKAY [ 5.388s]

writing 'system'...

OKAY [ 4.226s]

finished. total time: 9.615s

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

target reported max download size of 534773760 bytes

sending 'system' (261779 KB)...

OKAY [ 5.717s]

writing 'system'...

OKAY [ 6.401s]

finished. total time: 12.119s

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

target reported max download size of 534773760 bytes

sending 'system' (262140 KB)...

OKAY [ 5.692s]

writing 'system'...

OKAY [ 5.898s]

finished. total time: 11.591s

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

target reported max download size of 534773760 bytes

sending 'system' (262142 KB)...

OKAY [ 5.678s]

writing 'system'...

OKAY [ 9.923s]

finished. total time: 15.603s

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

target reported max download size of 534773760 bytes

sending 'system' (262141 KB)...

OKAY [ 5.646s]

writing 'system'...

OKAY [ 4.222s]

finished. total time: 9.868s

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

target reported max download size of 534773760 bytes

sending 'system' (233033 KB)...

OKAY [ 5.077s]

writing 'system'...

OKAY [ 3.837s]

finished. total time: 8.915s

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

target reported max download size of 534773760 bytes

sending 'system' (262143 KB)...

OKAY [ 5.690s]

writing 'system'...

OKAY [ 5.586s]

finished. total time: 11.277s

C:\SANDERS>fastboot flash system system.img_sparsechunk.8

target reported max download size of 534773760 bytes

sending 'system' (254053 KB)...

OKAY [ 5.473s]

writing 'system'...

OKAY [ 7.525s]

finished. total time: 12.998s

C:\SANDERS>fastboot flash system system.img_sparsechunk.9

target reported max download size of 534773760 bytes

sending 'system' (259525 KB)...

OKAY [ 5.598s]

writing 'system'...

OKAY [ 6.917s]

finished. total time: 12.516s

C:\SANDERS>fastboot flash system system.img_sparsechunk.10

target reported max download size of 534773760 bytes

sending 'system' (65436 KB)...

OKAY [ 1.413s]

writing 'system'...

OKAY [ 1.026s]

finished. total time: 2.440s

C:\SANDERS>fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (135426 KB)...

OKAY [ 2.915s]

writing 'oem'...

OKAY [ 8.019s]

finished. total time: 10.936s

C:\SANDERS>fastboot erase cache

erasing 'cache'...

OKAY [ 0.009s]

finished. total time: 0.009s

C:\SANDERS>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.150s]

finished. total time: 0.151s

C:\SANDERS>fastboot erase DDR

erasing 'DDR'...

OKAY [ 0.001s]

finished. total time: 0.001s

C:\SANDERS>fastboot oem fb_mode_clear

...

OKAY [ 0.002s]

finished. total time: 0.003s

C:\SANDERS>

C:\SANDERS>fastboot reboot

rebooting...

finished. total time: 0.002s

C:\SANDERS>

AND IT WORKED FOR ME ITS LOCKED