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
ShuaibY said:
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
Click to expand...
Click to collapse
Hello! In what XT-XXXX model did you do this? I've got a XT-1804
What ROM did you use here?
Related
Hi, I bricked my XT1072 (Thea) while I want to put lieneage OS on it.
Tried to restore with a wrong rom, should be for xt1068.
What ever it do not work now.
It just shows "warning bootloader onlocked" until the battery is empty.
I made a hard reset, but after that I only have lost TWRP.
I tried different stock roms but nothing works.
Looks like that:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\abd\mfastboot-v2(1)>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.046s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.332s
C:\abd\mfastboot-v2(1)>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.126s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.386s
C:\abd\mfastboot-v2(1)>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 0.088s]
writing 'logo'...
OKAY [ 0.105s]
finished. total time: 0.196s
C:\abd\mfastboot-v2(1)>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.433s]
writing 'boot'...
OKAY [ 0.379s]
finished. total time: 0.815s
C:\abd\mfastboot-v2(1)>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.450s]
writing 'recovery'...
OKAY [ 0.411s]
finished. total time: 0.863s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (261758 KB)...
OKAY [ 9.571s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.685s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (253000 KB)...
OKAY [ 9.201s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.223s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (255972 KB)...
OKAY [ 9.235s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.363s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (256969 KB)...
OKAY [ 9.383s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.424s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (259819 KB)...
OKAY [ 9.446s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.541s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.5
target max-sparse-size: 256MB
sending 'system' (74868 KB)...
OKAY [ 2.780s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.878s
C:\abd\mfastboot-v2(1)>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (59916 KB)...
OKAY [ 2.200s]
writing 'modem'...
OKAY [ 2.039s]
finished. total time: 4.242s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\abd\mfastboot-v2(1)>
C:\abd\mfastboot-v2(1)>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.023s]
finished. total time: 0.023s
C:\abd\mfastboot-v2(1)>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (319 KB)...
OKAY [ 0.104s]
writing 'fsg'...
OKAY [ 0.072s]
finished. total time: 0.177s
C:\abd\mfastboot-v2(1)>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.148s]
finished. total time: 0.149s
C:\abd\mfastboot-v2(1)>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.445s]
finished. total time: 0.446s
C:\abd\mfastboot-v2(1)>mfastboot reboot
rebooting...
finished. total time: 0.001s
Ok guys, maybe I´m just to dumb and somebody will be able to help me.
Kind regards Marc
PS. Wipe with twrp was not possible.
https://forum.xda-developers.com/moto-g-lte/general/stock-6-0-marshmallow-europe-reteu-t3338075
Next try does not work:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\abd\mfastboot-v2(1)>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.042s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.329s
C:\abd\mfastboot-v2(1)>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.113s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.057s]
finished. total time: 1.174s
C:\abd\mfastboot-v2(1)>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 0.067s]
writing 'logo'...
OKAY [ 0.085s]
finished. total time: 0.154s
C:\abd\mfastboot-v2(1)>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.434s]
writing 'boot'...
OKAY [ 0.393s]
finished. total time: 0.829s
C:\abd\mfastboot-v2(1)>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.439s]
writing 'recovery'...
OKAY [ 0.386s]
finished. total time: 0.828s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (256869 KB)...
OKAY [ 9.667s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.738s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (257163 KB)...
OKAY [ 9.658s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.727s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (261045 KB)...
OKAY [ 9.868s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.899s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (248543 KB)...
OKAY [ 9.392s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.506s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (83796 KB)...
OKAY [ 3.203s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.277s
C:\abd\mfastboot-v2(1)>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (60992 KB)...
OKAY [ 2.291s]
writing 'modem'...
OKAY [ 2.061s]
finished. total time: 4.354s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.022s]
finished. total time: 0.023s
C:\abd\mfastboot-v2(1)>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (320 KB)...
OKAY [ 0.101s]
writing 'fsg'...
OKAY [ 0.067s]
finished. total time: 0.170s
C:\abd\mfastboot-v2(1)>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.124s]
finished. total time: 0.126s
C:\abd\mfastboot-v2(1)>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.448s]
finished. total time: 0.450s
C:\abd\mfastboot-v2(1)>mfastboot reboot
rebooting...
finished. total time: 0.002s
Hi, wipe with twrp was succesfull. Tried to flash linage with twrp got error. meta-inf/com/google/android/update-binary not found in zip
Can anybody help? Not sure what I can do... Kind regards Marc
i cant relock my boot loader this my total flash report pls some one help me!!!
C:\Users\VKT SERVICE\Desktop\New folder>fastboot devices
ZY322JZBF7 fastboot
C:\Users\VKT SERVICE\Desktop\New folder>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.016s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem fb_mode_set
...
OKAY [ 0.000s]
finished. total time: 0.000s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.016s]
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.085s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.162s]
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.657s]
finished. total time: 0.835s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (75356 KB)...
OKAY [ 2.418s]
writing 'modem'...
OKAY [ 0.822s]
finished. total time: 3.240s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (2552 KB)...
OKAY [ 0.084s]
writing 'fsg'...
OKAY [ 0.115s]
finished. total time: 0.199s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.531s]
writing 'dsp'...
OKAY [ 0.216s]
finished. total time: 0.747s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2192 KB)...
OKAY [ 0.084s]
writing 'logo'...
OKAY [ 0.100s]
finished. total time: 0.184s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.543s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.347s]
finished. total time: 0.890s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.700s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.407s]
finished. total time: 1.107s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (504257 KB)...
OKAY [ 16.144s]
writing 'system'...
OKAY [ 4.786s]
finished. total time: 20.930s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (503878 KB)...
OKAY [ 16.126s]
writing 'system'...
OKAY [ 4.416s]
finished. total time: 20.549s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (519870 KB)...
OKAY [ 16.609s]
writing 'system'...
OKAY [ 5.654s]
finished. total time: 22.263s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (522900 KB)...
OKAY [ 16.724s]
writing 'system'...
OKAY [ 4.240s]
finished. total time: 20.964s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (524018 KB)...
OKAY [ 16.774s]
writing 'system'...
OKAY [ 5.268s]
finished. total time: 22.043s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (482943 KB)...
OKAY [ 15.446s]
writing 'system'...
OKAY [ 4.488s]
finished. total time: 19.949s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (335890 KB)...
OKAY [ 10.726s]
writing 'oem'...
OKAY [ 2.965s]
finished. total time: 13.694s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase cache
erasing 'cache'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.200s]
finished. total time: 0.200s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot erase DDR
erasing 'DDR'...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem fb_mode_clear
...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\VKT SERVICE\Desktop\New folder>
C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem lock
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot oem lock
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (335890 KB)...
OKAY [ 10.742s]
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: 10.823s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (504257 KB)...
OKAY [ 16.128s]
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: 16.225s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (503878 KB)...
OKAY [ 16.125s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 16.141s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (519870 KB)...
OKAY [ 16.642s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 16.688s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (522900 KB)...
OKAY [ 16.696s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 16.718s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (524018 KB)...
OKAY [ 16.747s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 16.789s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (482943 KB)...
OKAY [ 15.440s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 15.471s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash system system.img_sparsechunk.6
error: cannot load 'system.img_sparsechunk.6'
C:\Users\VKT SERVICE\Desktop\New folder>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.542s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.714s
C:\Users\VKT SERVICE\Desktop\New folder>fastboot reboot
rebooting...
finished. total time: 0.016s
Fastboot OEM lock
Hi all.
I write here to tell you my problem.
First of all I want to apologize for my language since I use a translator.
I have a MOTO G5S PLUS (xt1800) that sticks to the logo.
I attach images of the compilation that I had installed.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, I have OEM_LOCK and that does not allow me to unlock the boot loader.
I understand that, having OEM_LOCK, the only thing I can do is install a firmware equal to or higher than the one I have installed.
so perform the steps of the following tutorial to be able to repair
https://forum.xda-developers.com/moto-g5s-plus/how-to/tutorial-fhash-oreo-8-1-stock-global-t3852967?nocache=1
I'm sorry to say that it did not work. nor did any other method work that I know of. I leave here the error of ADB Minimal.
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: -0.000s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot oem fb_mode_set
...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.000s]
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.062s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash bootloader bootloade
r.img
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.109s]
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.531s]
finished. total time: 0.656s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (71925 KB)...
OKAY [ 1.544s]
writing 'modem'...
OKAY [ 1.092s]
finished. total time: 2.636s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (3024 KB)...
OKAY [ 0.062s]
writing 'fsg'...
OKAY [ 0.125s]
finished. total time: 0.187s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash dsp adspso.bin
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.359s]
writing 'dsp'...
OKAY [ 0.281s]
finished. total time: 0.655s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2192 KB)...
OKAY [ 0.047s]
writing 'logo'...
OKAY [ 0.109s]
finished. total time: 0.156s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.374s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.546s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash recovery recovery.im
g
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.468s]
writing 'recovery'...
(bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.686s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (256355 KB)...
OKAY [ 5.523s]
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: 5.586s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.1
target reported max download size of 534773760 bytes
sending 'system' (262115 KB)...
OKAY [ 5.617s]
writing 'system'...
(bootloader) Invalid sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.617s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.2
target reported max download size of 534773760 bytes
sending 'system' (259034 KB)...
OKAY [ 5.556s]
writing 'system'...
(bootloader) Invalid sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.571s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.3
target reported max download size of 534773760 bytes
sending 'system' (262013 KB)...
OKAY [ 5.617s]
writing 'system'...
(bootloader) Invalid sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.633s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.4
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 5.609s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.624s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.5
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 5.610s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.625s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.6
target reported max download size of 534773760 bytes
sending 'system' (259637 KB)...
OKAY [ 5.594s]
writing 'system'...
(bootloader) Invalid sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.609s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.7
target reported max download size of 534773760 bytes
sending 'system' (240915 KB)...
OKAY [ 5.197s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.212s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.8
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 5.601s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.633s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.9
target reported max download size of 534773760 bytes
sending 'system' (233189 KB)...
OKAY [ 4.992s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.992s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash system system.img_sp
arsechunk.10
target reported max download size of 534773760 bytes
sending 'system' (65436 KB)...
OKAY [ 1.405s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.405s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot flash oem oem.img
target reported max download size of 534773760 bytes
sending 'oem' (145482 KB)...
OKAY [ 3.121s]
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: 3.168s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot erase cache
erasing 'cache'...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.125s]
finished. total time: 0.125s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot erase DDR
erasing 'DDR'...
OKAY [ -0.000s]
finished. total time: 0.016s
C:\Users\Nadia\Desktop\COLOCAR FIRMWARE AQUI>fastboot oem fb_mode_clear
Click to expand...
Click to collapse
please. If anyone knows how I can solve it, I would greatly appreciate it. From already thank you very much.
try flashing the latest version of the stock 8.1
I recently flashed PixelExperience rom on my moto g5s plus. Soon, i needed to revert to the stock rom for something. While flashing the firmware, i was way too careless and accidentally flashed the firmware for G5 plus [POTTER_RETAIL_8.1.0_OPS28.85-17_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml]. As expected, i wasn't able to boot into my phone, but fastboot and TWRP were still accessible. Then I proceeded to flash the appropriate firmware for my device [SANDERS_OPS28.65-36_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml].
The following were the results:
Code:
fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.001s
fastboot oem fb_mode_set
...
OKAY [ 0.001s]
finished. total time: 0.002s
fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.007s]
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.073s
fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.160s]
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.456s]
finished. total time: 0.617s
fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (71925 KB)...
OKAY [ 2.189s]
writing 'modem'...
OKAY [ 0.732s]
finished. total time: 2.923s
fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (3024 KB)...
OKAY [ 0.092s]
writing 'fsg'...
OKAY [ 0.089s]
finished. total time: 0.182s
fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.028s]
finished. total time: 0.028s
fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.027s]
finished. total time: 0.028s
fastboot flash dsp adspso.bin
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.503s]
writing 'dsp'...
OKAY [ 0.193s]
finished. total time: 0.697s
fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2192 KB)...
OKAY [ 0.067s]
writing 'logo'...
OKAY [ 0.082s]
finished. total time: 0.149s
fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.509s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.272s]
finished. total time: 0.785s
fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.627s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.361s]
finished. total time: 0.991s
fastboot flash system system.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (256355 KB)...
OKAY [ 7.792s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 7.822s
fastboot flash system system.img_sparsechunk.1
target reported max download size of 534773760 bytes
sending 'system' (262115 KB)...
OKAY [ 8.010s]
writing 'system'...
OKAY [ 2.077s]
finished. total time: 10.088s
fastboot flash system system.img_sparsechunk.2
target reported max download size of 534773760 bytes
sending 'system' (259034 KB)...
OKAY [ 7.872s]
writing 'system'...
OKAY [ 2.189s]
finished. total time: 10.061s
fastboot flash system system.img_sparsechunk.3
target reported max download size of 534773760 bytes
sending 'system' (262013 KB)...
OKAY [ 8.007s]
writing 'system'...
OKAY [ 2.252s]
finished. total time: 10.258s
fastboot flash system system.img_sparsechunk.4
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 7.993s]
writing 'system'...
OKAY [ 2.110s]
finished. total time: 10.103s
fastboot flash system system.img_sparsechunk.5
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 7.950s]
writing 'system'...
OKAY [ 1.926s]
finished. total time: 9.878s
fastboot flash system system.img_sparsechunk.6
target reported max download size of 534773760 bytes
sending 'system' (259637 KB)...
OKAY [ 7.918s]
writing 'system'...
OKAY [ 1.951s]
finished. total time: 9.869s
fastboot flash system system.img_sparsechunk.7
target reported max download size of 534773760 bytes
sending 'system' (240915 KB)...
OKAY [ 7.374s]
writing 'system'...
OKAY [ 2.454s]
finished. total time: 9.829s
fastboot flash system system.img_sparsechunk.8
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 7.939s]
writing 'system'...
OKAY [ 2.325s]
finished. total time: 10.265s
fastboot flash system system.img_sparsechunk.9
target reported max download size of 534773760 bytes
sending 'system' (233189 KB)...
OKAY [ 7.049s]
writing 'system'...
(bootloader) Invalid sparse image data
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 7.398s
fastboot flash system system.img_sparsechunk.10
target reported max download size of 534773760 bytes
sending 'system' (65436 KB)...
OKAY [ 1.964s]
writing 'system'...
(bootloader) Invalid sparse image data
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 1.972s
fastboot flash oem oem.img
target reported max download size of 534773760 bytes
sending 'oem' (145482 KB)...
OKAY [ 4.325s]
writing 'oem'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.331s
fastboot erase cache
erasing 'cache'...
OKAY [ 0.014s]
finished. total time: 0.014s
fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.153s]
finished. total time: 0.153s
fastboot erase DDR
erasing 'DDR'...
OKAY [ 0.003s]
finished. total time: 0.003s
fastboot oem fb_mode_clear
...
OKAY [ 0.003s]
finished. total time: 0.003s
fastboot reboot
rebooting...
On rebooting, the message about unlocked bootloader just keeps on looping. Left it for more than hour, nothing happenend.
I still have access to fastboot and TWRP but not adb. I am unable to flash any custom ROM through TWRP, also, data and cache can't be mounted(which actually is the reason for my inability to flash any custom ROMS). Can anyone help me with this?
Also, i apologize in advance for any mistakes with my post, as this is my first post on xda. Really in need of some help!
*DELETED*
Apparently ATT is jacking around with VoLTE drivers or something(???) and my wife's LineageOS install no longer makes calls. Apparently it will be a while before it works, or ever works. Something about proprietary drivers and such. So I'm trying to roll back to the stock rom and I'm getting the below errors. What's weird is that the partition names are not in either the flash bat file or the flash xml file. So I have no idea where they're coming from. Results are; the below errors, phone reboots, lineage persists.
Please do not blame it on the bootloader lock. Fastboot reports that it is unlocked, I tried to unlock again with the my unlock code, just to make sure, and fastboot still claims that the bootloader is unlocked and there's nothing to be done. The bootloader itself also reports that it is unlocked on boot up.
Phone is a US Moto G7 Plus(XT1965-T PVA) and I'm trying to use these roms as well as some others claiming to be for the XT1965-T.
https://mirrors.lolinet.com/firmware/moto/lake/official/RETAIL/LAKE_RETAIL_10_QPWS30.61-21-18-7_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
REVVLRY Plus XT1965-T Firmware Flash File (Stock ROM)
Here we have shared the latest stock ROM for REVVLRY Plus XT1965-T. You can download and flash the firmware file on your REVVLRY Plus XT1965-T using the flash tool Firmware…
droidfilehost.com
They all give varying versions of the below. Any help or guidance would be greatly appreciated.
----------------------------------------------------------------------------------------
max-sparse-size: 268435456
finished. total time: 0.000s
...
OKAY [ 0.000s]
finished. total time: 0.000s
target reported max download size of 536870912 bytes
sending 'partition' (37 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.138s]
finished. total time: 0.153s
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.215s]
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.332s]
finished. total time: 0.547s
target reported max download size of 536870912 bytes
sending 'modema' (76512 KB)...
OKAY [ 1.669s]
writing 'modema'...
(bootloader) Invalid partition name modema
FAILED (remote failure)
finished. total time: 1.700s
target reported max download size of 536870912 bytes
sending 'fsga' (8088 KB)...
OKAY [ 0.178s]
writing 'fsga'...
(bootloader) Invalid partition name fsga
FAILED (remote failure)
finished. total time: 0.216s
target reported max download size of 536870912 bytes
sending 'bluetootha' (408 KB)...
OKAY [ 0.000s]
writing 'bluetootha'...
(bootloader) Invalid partition name bluetootha
FAILED (remote failure)
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'dspa' (16384 KB)...
OKAY [ 0.355s]
writing 'dspa'...
(bootloader) Invalid partition name dspa
FAILED (remote failure)
finished. total time: 0.386s
target reported max download size of 536870912 bytes
sending 'logoa' (2580 KB)...
OKAY [ 0.053s]
writing 'logoa'...
(bootloader) Invalid partition name logoa
FAILED (remote failure)
finished. total time: 0.069s
target reported max download size of 536870912 bytes
sending 'boota' (23581 KB)...
OKAY [ 0.517s]
writing 'boota'...
(bootloader) Invalid partition name boota
FAILED (remote failure)
finished. total time: 0.549s
target reported max download size of 536870912 bytes
sending 'dtboa' (16 KB)...
OKAY [ -0.000s]
writing 'dtboa'...
(bootloader) Invalid partition name dtboa
FAILED (remote failure)
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'systema' (516000 KB)...
OKAY [ 11.122s]
writing 'systema'...
(bootloader) Invalid partition name systema
FAILED (remote failure)
finished. total time: 11.160s
target reported max download size of 536870912 bytes
sending 'systema' (514768 KB)...
OKAY [ 11.074s]
writing 'systema'...
(bootloader) Invalid partition name systema
FAILED (remote failure)
finished. total time: 11.089s
target reported max download size of 536870912 bytes
sending 'systema' (515464 KB)...
OKAY [ 11.100s]
writing 'systema'...
(bootloader) Invalid partition name systema
FAILED (remote failure)
finished. total time: 11.116s
target reported max download size of 536870912 bytes
sending 'systema' (516160 KB)...
OKAY [ 11.109s]
writing 'systema'...
(bootloader) Invalid partition name systema
FAILED (remote failure)
finished. total time: 11.140s
target reported max download size of 536870912 bytes
sending 'systema' (516160 KB)...
OKAY [ 11.279s]
writing 'systema'...
(bootloader) Invalid partition name systema
FAILED (remote failure)
finished. total time: 11.310s
error: cannot load 'system_b.img_sparsechunk.0'
error: cannot load 'system_b.img_sparsechunk.1'
error: cannot load 'vendor.img_sparsechunk.0'
error: cannot load 'vendor.img_sparsechunk.1'
target reported max download size of 536870912 bytes
sending 'oema' (150576 KB)...
OKAY [ 3.244s]
writing 'oema'...
(bootloader) Invalid partition name oema
FAILED (remote failure)
finished. total time: 3.281s
target reported max download size of 536870912 bytes
sending 'oem_b' (4708 KB)...
OKAY [ 0.100s]
writing 'oem_b'...
OKAY [ 0.063s]
finished. total time: 0.163s
erasing 'modemst1'...
OKAY [ 0.016s]
finished. total time: 0.016s
erasing 'modemst2'...
OKAY [ -0.000s]
finished. total time: -0.000s
erasing 'carrier'...
OKAY [ -0.000s]
finished. total time: -0.000s
erasing 'userdata'...
OKAY [ 0.570s]
finished. total time: 0.570s
erasing 'ddr'...
OKAY [ 0.016s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'fsga' (8088 KB)...
OKAY [ 0.163s]
writing 'fsga'...
(bootloader) Invalid partition name fsga
FAILED (remote failure)
finished. total time: 0.200s
target reported max download size of 536870912 bytes
sending 'bluetootha' (408 KB)...
OKAY [ 0.016s]
writing 'bluetootha'...
(bootloader) Invalid partition name bluetootha
FAILED (remote failure)
finished. total time: 0.031s
...
OKAY [ -0.000s]
finished. total time: -0.000s