Problems locking the bootloader on a XT1670 - Moto G5 Questions & Answers

Hello, I am planning to sell my phone, so I want to restore the stock ROM and lock the bootloader.
When trying to perform a Rescue with "Rescue and Smart Assistant" it gives me an error, it fails to find the matching firmware (it works correctly with a G4 Plus on the same cable and computer)
I was on the LineageOS 18 previously, I rebooted to fastboot and flashed "CEDRIC_RETAIL_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml"
from https://mirrors-obs-2.lolinet.com/firmware/motorola/2017/cedric/official/.
Trying to lock the bootloader (it remans unlocked) gives me the following error: "(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer Options"
OEM UNLOCK is grey out under Developer options.
I used these commands:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash boot boot.img
fastboot oem lock
These was the result:
Code:
C:\Users\Administrator\Desktop\ADB>fastboot oem fb_mode_set
...
OKAY [ 0.004s]
finished. total time: 0.004s
C:\Users\Administrator\Desktop\ADB>fastboot flash partition gpt.bin
target reported max download size of 535822336 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.079s]
finished. total time: 0.082s
C:\Users\Administrator\Desktop\ADB>fastboot flash bootloader bootloader.img
target reported max download size of 535822336 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.165s]
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.363s]
finished. total time: 0.529s
C:\Users\Administrator\Desktop\ADB>fastboot flash logo logo.bin
target reported max download size of 535822336 bytes
sending 'logo' (2242 KB)...
OKAY [ 0.073s]
writing 'logo'...
OKAY [ 0.051s]
finished. total time: 0.124s
C:\Users\Administrator\Desktop\ADB>fastboot flash boot boot.img
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.572s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.243s]
finished. total time: 0.817s
C:\Users\Administrator\Desktop\ADB>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.566s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.272s]
finished. total time: 0.838s
C:\Users\Administrator\Desktop\ADB>fastboot flash dsp adspso.bin
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.517s]
writing 'dsp'...
OKAY [ 0.143s]
finished. total time: 0.661s
C:\Users\Administrator\Desktop\ADB>fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (148900 KB)...
OKAY [ 4.686s]
writing 'oem'...
OKAY [ 1.040s]
finished. total time: 5.726s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (256533 KB)...
OKAY [ 8.758s]
writing 'system'...
OKAY [ 2.132s]
finished. total time: 10.892s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (256653 KB)...
OKAY [ 8.747s]
writing 'system'...
OKAY [ 1.729s]
finished. total time: 10.477s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (257982 KB)...
OKAY [ 8.878s]
writing 'system'...
OKAY [ 1.804s]
finished. total time: 10.682s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (260705 KB)...
OKAY [ 8.936s]
writing 'system'...
OKAY [ 1.738s]
finished. total time: 10.675s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (257421 KB)...
OKAY [ 8.845s]
writing 'system'...
OKAY [ 1.753s]
finished. total time: 10.599s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.5
target reported max download size of 535822336 bytes
sending 'system' (257865 KB)...
OKAY [ 8.868s]
writing 'system'...
OKAY [ 1.719s]
finished. total time: 18.835s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.6
target reported max download size of 535822336 bytes
sending 'system' (252647 KB)...
OKAY [ 8.721s]
writing 'system'...
OKAY [ 2.085s]
finished. total time: 10.807s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.7
target reported max download size of 535822336 bytes
sending 'system' (253716 KB)...
OKAY [ 8.756s]
writing 'system'...
OKAY [ 2.048s]
finished. total time: 10.804s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.8
target reported max download size of 535822336 bytes
sending 'system' (250269 KB)...
OKAY [ 8.723s]
writing 'system'...
OKAY [ 1.691s]
finished. total time: 10.415s
C:\Users\Administrator\Desktop\ADB>fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (66362 KB)...
OKAY [ 2.265s]
writing 'modem'...
OKAY [ 0.542s]
finished. total time: 2.807s
C:\Users\Administrator\Desktop\ADB>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.017s]
finished. total time: 0.017s
C:\Users\Administrator\Desktop\ADB>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.017s]
finished. total time: 0.018s
C:\Users\Administrator\Desktop\ADB>fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (2956 KB)...
OKAY [ 0.103s]
writing 'fsg'...
OKAY [ 0.056s]
finished. total time: 0.159s
C:\Users\Administrator\Desktop\ADB>fastboot erase cache
erasing 'cache'...
OKAY [ 0.008s]
finished. total time: 0.008s
C:\Users\Administrator\Desktop\ADB>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.065s]
finished. total time: 0.065s
C:\Users\Administrator\Desktop\ADB>fastboot erase customize (ignore any error)
fastboot: usage: unknown command (ignore
C:\Users\Administrator\Desktop\ADB>fastboot erase clogo (ignore any error)
fastboot: usage: unknown command (ignore
C:\Users\Administrator\Desktop\ADB>fastboot oem fb_mode_clear
...
OKAY [ 0.003s]
finished. total time: 0.004s
C:\Users\Administrator\Desktop\ADB>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\Users\Administrator\Desktop\ADB>fastboot oem lock
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.004s]
finished. total time: 0.005s
C:\Users\Administrator\Desktop\ADB>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.005s]
finished. total time: 0.005s
C:\Users\Administrator\Desktop\ADB>fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (148900 KB)...
OKAY [ 5.139s]
writing 'oem'...
OKAY [ 1.014s]
finished. total time: 6.154s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (256533 KB)...
OKAY [ 8.799s]
writing 'system'...
OKAY [ 2.135s]
finished. total time: 10.935s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (256653 KB)...
OKAY [ 8.787s]
writing 'system'...
OKAY [ 1.733s]
finished. total time: 10.521s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (257982 KB)...
OKAY [ 9.106s]
writing 'system'...
OKAY [ 1.809s]
finished. total time: 10.916s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (260705 KB)...
OKAY [ 9.007s]
writing 'system'...
OKAY [ 1.745s]
finished. total time: 10.753s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (257421 KB)...
OKAY [ 8.863s]
writing 'system'...
OKAY [ 1.766s]
finished. total time: 10.631s
C:\Users\Administrator\Desktop\ADB>fastboot flash boot boot.img
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.563s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.244s]
finished. total time: 0.808s
C:\Users\Administrator\Desktop\ADB>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.005s]
finished. total time: 0.005s
C:\Users\Administrator\Desktop\ADB>
C:\Users\Administrator\Desktop\ADB>fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
C:\Users\Administrator\Desktop\ADB>fastboot flash partition gpt.bin
target reported max download size of 535822336 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.087s]
finished. total time: 0.092s
C:\Users\Administrator\Desktop\ADB>fastboot flash bootloader bootloader.img
target reported max download size of 535822336 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.165s]
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.351s]
finished. total time: 0.517s
C:\Users\Administrator\Desktop\ADB>fastboot flash logo logo.bin
target reported max download size of 535822336 bytes
sending 'logo' (2242 KB)...
OKAY [ 0.073s]
writing 'logo'...
OKAY [ 0.060s]
finished. total time: 0.133s
C:\Users\Administrator\Desktop\ADB>fastboot flash boot boot.img
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.570s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.235s]
finished. total time: 0.806s
C:\Users\Administrator\Desktop\ADB>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.578s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.275s]
finished. total time: 0.853s
C:\Users\Administrator\Desktop\ADB>fastboot flash dsp adspso.bin
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.517s]
writing 'dsp'...
OKAY [ 0.155s]
finished. total time: 0.672s
C:\Users\Administrator\Desktop\ADB>fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (148900 KB)...
OKAY [ 4.687s]
writing 'oem'...
OKAY [ 1.033s]
finished. total time: 5.720s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (258344 KB)...
OKAY [ 8.906s]
writing 'system'...
OKAY [ 1.799s]
finished. total time: 10.706s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (256570 KB)...
OKAY [ 8.772s]
writing 'system'...
OKAY [ 1.733s]
finished. total time: 10.506s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (246510 KB)...
OKAY [ 8.335s]
writing 'system'...
OKAY [ 2.046s]
finished. total time: 10.382s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (262141 KB)...
OKAY [ 9.027s]
writing 'system'...
OKAY [ 1.763s]
finished. total time: 10.791s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (261322 KB)...
OKAY [ 9.199s]
writing 'system'...
OKAY [ 1.774s]
finished. total time: 10.975s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.5
target reported max download size of 535822336 bytes
sending 'system' (262141 KB)...
OKAY [ 8.308s]
writing 'system'...
OKAY [ 1.757s]
finished. total time: 10.066s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.6
target reported max download size of 535822336 bytes
sending 'system' (262143 KB)...
OKAY [ 8.247s]
writing 'system'...
OKAY [ 2.177s]
finished. total time: 10.424s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.7
target reported max download size of 535822336 bytes
sending 'system' (256817 KB)...
OKAY [ 8.080s]
writing 'system'...
OKAY [ 2.079s]
finished. total time: 10.159s
C:\Users\Administrator\Desktop\ADB>fastboot flash system system.img_sparsechunk.8
target reported max download size of 535822336 bytes
sending 'system' (237909 KB)...
OKAY [ 7.484s]
writing 'system'...
OKAY [ 1.589s]
finished. total time: 9.074s
C:\Users\Administrator\Desktop\ADB>fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (66358 KB)...
OKAY [ 2.277s]
writing 'modem'...
OKAY [ 0.544s]
finished. total time: 2.821s
C:\Users\Administrator\Desktop\ADB>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\Users\Administrator\Desktop\ADB>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.017s]
finished. total time: 0.017s
C:\Users\Administrator\Desktop\ADB>fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (2956 KB)...
OKAY [ 0.104s]
writing 'fsg'...
OKAY [ 0.057s]
finished. total time: 0.161s
C:\Users\Administrator\Desktop\ADB>fastboot erase cache
erasing 'cache'...
OKAY [ 0.007s]
finished. total time: 0.007s
C:\Users\Administrator\Desktop\ADB>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.064s]
finished. total time: 0.064s
C:\Users\Administrator\Desktop\ADB>fastboot oem fb_mode_clear
...
OKAY [ 0.004s]
finished. total time: 0.004s
C:\Users\Administrator\Desktop\ADB>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\Users\Administrator\Desktop\ADB>

Related

Moto Z2 Force Sprint bricked *Please help*

I somehow managed to erase everything from the phone besides TWRP and i cant install any image from there or return to stock...looks like my partitions table was erased? any ideas? thank you in advance
fastboot flash boot boot.img
Sending 'boot__a' (23345 KB) OKAY [ 0.746s]
Writing 'boot__a' (bootloader) Invalid partition name boot__a
FAILED (remote failure)
Try flashing partition
"fastboot flash partition gpt.bin"
---------- Post added at 08:46 PM ---------- Previous post was at 08:45 PM ----------
Try flashing partition file
"fastboot flash partition gpt.bin"
Marcowe said:
Try flashing partition
"fastboot flash partition gpt.bin"
---------- Post added at 08:46 PM ---------- Previous post was at 08:45 PM ----------
Try flashing partition file
"fastboot flash partition gpt.bin"
Click to expand...
Click to collapse
thanks i tried that, seems to create some partitions but not all that are needed. That command is the first command part of a bat file to restore stock image...but doesn't seem to do the trick...is there any restore file or any file that can recreate those missing partitions for me? thanks in advance.
fastboot flash partition gpt.bin
Sending 'partition' (206 KB) OKAY [ 0.008s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) - flashing 'gpt_main1.bin' to 'partition:1'
(bootloader) - flashing 'gpt_main2.bin' to 'partition:2'
(bootloader) - flashing 'gpt_main3.bin' to 'partition:3'
(bootloader) - flashing 'gpt_main4.bin' to 'partition:4'
(bootloader) - flashing 'gpt_main5.bin' to 'partition:5'
OKAY [ 0.203s]
Finished. Total time: 0.212s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash bootloader bootloader.img
Sending 'bootloader' (9884 KB) OKAY [ 0.298s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'xbl.elf' to 'xbl'
(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 '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'
(bootloader) - flashing 'storsec.mbn' to 'storsec'
(bootloader) - flashing 'prov64.mbn' to 'prov'
OKAY [ 0.201s]
Finished. Total time: 0.501s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash dsp adspso.bin
Sending 'dsp__a' (16384 KB) OKAY [ 0.467s]
Writing 'dsp__a' (bootloader) Invalid partition name dsp__a
FAILED (remote failure)
Finished. Total time: 0.469s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash logo logo.bin
Sending 'logo__a' (3524 KB) OKAY [ 0.098s]
Writing 'logo__a' (bootloader) Invalid partition name logo__a
FAILED (remote failure)
Finished. Total time: 0.100s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash boot boot.img
Sending 'boot__a' (23345 KB) OKAY [ 0.567s]
Writing 'boot__a' (bootloader) Invalid partition name boot__a
FAILED (remote failure)
Finished. Total time: 0.569s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (97383 KB) OKAY [ 2.826s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote failure)
Finished. Total time: 2.828s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase modemst1
Erasing 'modemst1' OKAY [ 0.003s]
Finished. Total time: 0.005s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase modemst2
Erasing 'modemst2' OKAY [ 0.002s]
Finished. Total time: 0.003s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash fsg fsg.mbn
Sending 'fsg__a' (5596 KB) OKAY [ 0.158s]
Writing 'fsg__a' (bootloader) Invalid partition name fsg__a
FAILED (remote failure)
Finished. Total time: 0.160s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash bluetooth BTFM.bin
Sending 'bluetooth__a' (4496 KB) OKAY [ 0.124s]
Writing 'bluetooth__a' (bootloader) Invalid partition name bluetooth__a
FAILED (remote failure)
Finished. Total time: 0.126s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.0
Sending 'system__a' (523532 KB) OKAY [ 18.568s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.570s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.1
Sending 'system__a' (509524 KB) OKAY [ 15.075s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 15.077s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.2
Sending 'system__a' (524057 KB) OKAY [ 17.573s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 17.575s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.3
Sending 'system__a' (507533 KB) OKAY [ 18.451s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.453s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.4
Sending 'system__a' (516288 KB) OKAY [ 16.644s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 16.646s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.5
Sending 'system__a' (450639 KB) OKAY [ 18.044s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.045s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system_b system_b.img_sparsechunk.0
Sending 'system_b' (515182 KB) OKAY [ 17.428s]
Writing 'system_b' OKAY [ 5.093s]
Finished. Total time: 22.523s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system_b system_b.img_sparsechunk.1
Sending 'system_b' (328737 KB) OKAY [ 9.224s]
Writing 'system_b' OKAY [ 3.245s]
Finished. Total time: 12.471s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash oem oem.img
Sending 'oem__a' (384556 KB) OKAY [ 10.771s]
Writing 'oem__a' (bootloader) Invalid partition name oem__a
FAILED (remote failure)
Finished. Total time: 10.773s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase carrier
Erasing 'carrier' OKAY [ 0.010s]
Finished. Total time: 0.011s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase cache
Erasing 'cache' OKAY [ 0.000s]
Finished. Total time: 0.001s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase userdata
Erasing 'userdata' OKAY [ 0.604s]
Finished. Total time: 0.605s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase ddr
Erasing 'ddr' OKAY [ 0.002s]
Finished. Total time: 0.003s
Konstantins-MacBook-Prolatform-tools kon$ fastboot oem fb_mode_clear
OKAY [ 0.002s]
Finished. Total time: 0.002s
Konstantins-MacBook-Prolatform-tools kon$ fastboot oem blankflash
(bootloader) Command Restricted
FAILED (remote failure)
Finished. Total time: 0.000s
conspawn said:
thanks i tried that, seems to create some partitions but not all that are needed. That command is the first command part of a bat file to restore stock image...but doesn't seem to do the trick...is there any restore file or any file that can recreate those missing partitions for me? thanks in advance.
fastboot flash partition gpt.bin
Sending 'partition' (206 KB) OKAY [ 0.008s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) - flashing 'gpt_main1.bin' to 'partition:1'
(bootloader) - flashing 'gpt_main2.bin' to 'partition:2'
(bootloader) - flashing 'gpt_main3.bin' to 'partition:3'
(bootloader) - flashing 'gpt_main4.bin' to 'partition:4'
(bootloader) - flashing 'gpt_main5.bin' to 'partition:5'
OKAY [ 0.203s]
Finished. Total time: 0.212s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash bootloader bootloader.img
Sending 'bootloader' (9884 KB) OKAY [ 0.298s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'xbl.elf' to 'xbl'
(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 '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'
(bootloader) - flashing 'storsec.mbn' to 'storsec'
(bootloader) - flashing 'prov64.mbn' to 'prov'
OKAY [ 0.201s]
Finished. Total time: 0.501s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash dsp adspso.bin
Sending 'dsp__a' (16384 KB) OKAY [ 0.467s]
Writing 'dsp__a' (bootloader) Invalid partition name dsp__a
FAILED (remote failure)
Finished. Total time: 0.469s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash logo logo.bin
Sending 'logo__a' (3524 KB) OKAY [ 0.098s]
Writing 'logo__a' (bootloader) Invalid partition name logo__a
FAILED (remote failure)
Finished. Total time: 0.100s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash boot boot.img
Sending 'boot__a' (23345 KB) OKAY [ 0.567s]
Writing 'boot__a' (bootloader) Invalid partition name boot__a
FAILED (remote failure)
Finished. Total time: 0.569s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (97383 KB) OKAY [ 2.826s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote failure)
Finished. Total time: 2.828s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase modemst1
Erasing 'modemst1' OKAY [ 0.003s]
Finished. Total time: 0.005s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase modemst2
Erasing 'modemst2' OKAY [ 0.002s]
Finished. Total time: 0.003s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash fsg fsg.mbn
Sending 'fsg__a' (5596 KB) OKAY [ 0.158s]
Writing 'fsg__a' (bootloader) Invalid partition name fsg__a
FAILED (remote failure)
Finished. Total time: 0.160s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash bluetooth BTFM.bin
Sending 'bluetooth__a' (4496 KB) OKAY [ 0.124s]
Writing 'bluetooth__a' (bootloader) Invalid partition name bluetooth__a
FAILED (remote failure)
Finished. Total time: 0.126s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.0
Sending 'system__a' (523532 KB) OKAY [ 18.568s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.570s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.1
Sending 'system__a' (509524 KB) OKAY [ 15.075s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 15.077s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.2
Sending 'system__a' (524057 KB) OKAY [ 17.573s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 17.575s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.3
Sending 'system__a' (507533 KB) OKAY [ 18.451s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.453s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.4
Sending 'system__a' (516288 KB) OKAY [ 16.644s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 16.646s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system system.img_sparsechunk.5
Sending 'system__a' (450639 KB) OKAY [ 18.044s]
Writing 'system__a' (bootloader) Invalid partition name system__a
FAILED (remote failure)
Finished. Total time: 18.045s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system_b system_b.img_sparsechunk.0
Sending 'system_b' (515182 KB) OKAY [ 17.428s]
Writing 'system_b' OKAY [ 5.093s]
Finished. Total time: 22.523s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash system_b system_b.img_sparsechunk.1
Sending 'system_b' (328737 KB) OKAY [ 9.224s]
Writing 'system_b' OKAY [ 3.245s]
Finished. Total time: 12.471s
Konstantins-MacBook-Prolatform-tools kon$ fastboot flash oem oem.img
Sending 'oem__a' (384556 KB) OKAY [ 10.771s]
Writing 'oem__a' (bootloader) Invalid partition name oem__a
FAILED (remote failure)
Finished. Total time: 10.773s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase carrier
Erasing 'carrier' OKAY [ 0.010s]
Finished. Total time: 0.011s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase cache
Erasing 'cache' OKAY [ 0.000s]
Finished. Total time: 0.001s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase userdata
Erasing 'userdata' OKAY [ 0.604s]
Finished. Total time: 0.605s
Konstantins-MacBook-Prolatform-tools kon$ fastboot erase ddr
Erasing 'ddr' OKAY [ 0.002s]
Finished. Total time: 0.003s
Konstantins-MacBook-Prolatform-tools kon$ fastboot oem fb_mode_clear
OKAY [ 0.002s]
Finished. Total time: 0.002s
Konstantins-MacBook-Prolatform-tools kon$ fastboot oem blankflash
(bootloader) Command Restricted
FAILED (remote failure)
Finished. Total time: 0.000s
Click to expand...
Click to collapse
Try this commands:
fastboot --set-active=_a
pause
fastboot reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader_a bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot flash bluetooth_a BTFM.bin
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash oem_a oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase ddr
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot oem fb_mode_clear
fastboot -w
fastboot --set-active=_b
fastboot reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader_b bootloader.img
fastboot flash modem_b NON-HLOS.bin
fastboot flash fsg_b fsg.mbn
fastboot flash bluetooth_b BTFM.bin
fastboot flash dsp_b adspso.bin
fastboot flash logo_b logo.bin
fastboot flash boot_b boot.img
fastboot flash system_b system.img_sparsechunk.0
fastboot flash system_b system.img_sparsechunk.1
fastboot flash system_b system.img_sparsechunk.2
fastboot flash system_b system.img_sparsechunk.3
fastboot flash system_b system.img_sparsechunk.4
fastboot flash system_b system.img_sparsechunk.5
fastboot flash oem_b oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase ddr
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
fastboot -w
fastboot --set-active=_a
fastboot reboot bootloader
exit
It looks like the original flashall was putting extra underscores in the commands. Not the flashall per se, but something is putting them in there. Erase and other commands worked fine, but when it came time to flash anything for some reason it's throwing an extra underscore in there. Hopefully @Marcowe 's older flashall will solve the problem because it is actually calling _a and _b and the extra _ won't have a chance to be inserted.
41rw4lk said:
It looks like the original flashall was putting extra underscores in the commands. Not the flashall per se, but something is putting them in there. Erase and other commands worked fine, but when it came time to flash anything for some reason it's throwing an extra underscore in there. Hopefully @Marcowe 's older flashall will solve the problem because it is actually calling _a and _b and the extra _ won't have a chance to be inserted.
Click to expand...
Click to collapse
thanks everyone for the help! i was able to resolve the issue by using rds lite and instructions from this post - https://forum.xda-developers.com/z2-force/how-to/xt1789-05-stock-oreo-firmware-retbr-t3773275

Having an issue flashing anything through fastboot

This is what I get with the flash all for the sprint variant.
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot oem fb_mode_set
< waiting for device >
...
FAILED (command write failed (No such file or directory))
finished. total time: 0.012s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot getvar max-sparse-size
< waiting for device >
max-sparse-size: 268435456
finished. total time: 0.002s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (206 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) - flashing 'gpt_main1.bin' to 'partition:1'
(bootloader) - flashing 'gpt_main2.bin' to 'partition:2'
(bootloader) - flashing 'gpt_main3.bin' to 'partition:3'
(bootloader) - flashing 'gpt_main4.bin' to 'partition:4'
(bootloader) - flashing 'gpt_main5.bin' to 'partition:5'
OKAY [ 0.214s]
finished. total time: 0.223s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (9884 KB)...
OKAY [ 0.277s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'xbl.elf' to 'xbl'
(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 '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'
(bootloader) - flashing 'storsec.mbn' to 'storsec'
(bootloader) - flashing 'prov64.mbn' to 'prov'
OKAY [ 0.197s]
finished. total time: 0.476s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (97383 KB)...
FAILED (remote: unknown command)
finished. total time: 0.004s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash fsg fsg.mbn
(bootloader) partition-: not found
sending 'fsg' (5596 KB)...
(bootloader) Requested download size is more than max allowed
FAILED (remote failure)
finished. total time: 0.006s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Invalid partition name modemst1on-
FAILED (remote failure)
finished. total time: 0.005s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.011s]
finished. total time: 0.012s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash bluetooth BTFM.bin
(bootloader) max-dow: not found
sending 'bluetooth' (4496 KB)...
(bootloader) Requested download size is more than max allowed
FAILED (remote failure)
finished. total time: 0.017s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash dsp adspso.bin
sending 'dsp' (16384 KB)...
FAILED (status read failed (Too many links))
finished. total time: 33.208s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash logo logo.bin
sending 'logo' (3524 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.006s
C:\Users\Justin.DESKTOP-1V2F2T9\Downloads\FlashAllUtils>fastboot flash boot boot.img
< waiting for device >
target reported max download size of 536870912 bytes
sending 'boot' (23357 KB)...
I dont have a phone at all right now cause I cant flash anything. Having the same issue with my LG V30+
What inside your folder "FashAllUtils"?
List the detail with the file size.
I will as soon as I get home. At work right now.
Ok now its saying the bootloader is locked and it wont unlock. Im pretty sure its hardbricked. I am in bootloader though so maybe its still recoverable

xt1792 failed to lock bootloader "Still require signed boot.img"

Hello!
I trying to re-lock the bootloader of my moto g5s xt1792. I tried multiple commands, stock roms and a LMSA downloaded rom but i still receive the message "Still require signed boot.img".
I tried to do a rescue in lmsa but without success.
I searched too alot in xda and in similar forums, i have been in this problem for several months.
Code:
fastboot oem lock
fastboot oem lock
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot oem lock
fastboot reboot
Code:
Microsoft Windows [versão 10.0.17763.1397]
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Users\henrique\Desktop\retbr>fastboot oem lock
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.010s]
Finished. Total time: 0.010s
C:\Users\henrique\Desktop\retbr>fastboot oem lock
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.009s]
Finished. Total time: 0.009s
C:\Users\henrique\Desktop\retbr>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.000s
C:\Users\henrique\Desktop\retbr>fastboot oem fb_mode_set
OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\henrique\Desktop\retbr>fastboot flash partition gpt.bin
(bootloader) is-logical:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.170s]
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.090s]
Finished. Total time: 0.295s
C:\Users\henrique\Desktop\retbr>fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (5179 KB) OKAY [ 0.349s]
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.557s]
Finished. Total time: 0.940s
C:\Users\henrique\Desktop\retbr>fastboot flash modem NON-HLOS.bin
(bootloader) is-logical:modem: not found
Sending 'modem' (67978 KB) OKAY [ 2.838s]
Writing 'modem' OKAY [ 1.074s]
Finished. Total time: 3.990s
C:\Users\henrique\Desktop\retbr>fastboot flash fsg fsg.mbn
(bootloader) is-logical:fsg: not found
Sending 'fsg' (3560 KB) OKAY [ 0.335s]
Writing 'fsg' OKAY [ 0.120s]
Finished. Total time: 0.500s
C:\Users\henrique\Desktop\retbr>fastboot erase modemst1
Erasing 'modemst1' OKAY [ 0.041s]
Finished. Total time: 0.041s
C:\Users\henrique\Desktop\retbr>fastboot erase modemst2
Erasing 'modemst2' OKAY [ 0.030s]
Finished. Total time: 0.050s
C:\Users\henrique\Desktop\retbr>fastboot flash dsp adspso.bin
(bootloader) is-logical:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.835s]
Writing 'dsp' OKAY [ 0.316s]
Finished. Total time: 1.207s
C:\Users\henrique\Desktop\retbr>fastboot flash logo logo.bin
(bootloader) is-logical:logo: not found
Sending 'logo' (2195 KB) OKAY [ 0.220s]
Writing 'logo' OKAY [ 0.113s]
Finished. Total time: 0.404s
C:\Users\henrique\Desktop\retbr>fastboot flash boot boot.img
(bootloader) is-logical:boot: not found
Sending 'boot' (16384 KB) OKAY [ 0.630s]
Writing 'boot' (bootloader) Image signed with key bad key
OKAY [ 0.480s]
Finished. Total time: 1.327s
C:\Users\henrique\Desktop\retbr>fastboot flash recovery recovery.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16484 KB) OKAY [ 0.820s]
Writing 'recovery' (bootloader) Image signed with key bad key
OKAY [ 1.015s]
Finished. Total time: 1.865s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.0
(bootloader) is-logical:system: not found
Sending 'system' (256294 KB) OKAY [ 10.125s]
Writing 'system' OKAY [ 4.450s]
Finished. Total time: 14.725s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.1
(bootloader) is-logical:system: not found
Sending 'system' (256762 KB) OKAY [ 10.182s]
Writing 'system' OKAY [ 3.325s]
Finished. Total time: 13.580s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.2
(bootloader) is-logical:system: not found
Sending 'system' (255764 KB) OKAY [ 10.380s]
Writing 'system' OKAY [ 3.540s]
Finished. Total time: 14.040s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.3
(bootloader) is-logical:system: not found
Sending 'system' (260630 KB) OKAY [ 10.360s]
Writing 'system' OKAY [ 3.420s]
Finished. Total time: 13.882s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.4
(bootloader) is-logical:system: not found
Sending 'system' (257521 KB) OKAY [ 10.419s]
Writing 'system' OKAY [ 3.372s]
Finished. Total time: 13.880s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.5
(bootloader) is-logical:system: not found
Sending 'system' (245941 KB) OKAY [ 9.810s]
Writing 'system' OKAY [ 3.210s]
Finished. Total time: 13.080s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.6
(bootloader) is-logical:system: not found
Sending 'system' (258569 KB) OKAY [ 10.242s]
Writing 'system' OKAY [ 3.265s]
Finished. Total time: 13.550s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.7
(bootloader) is-logical:system: not found
Sending 'system' (251493 KB) OKAY [ 10.060s]
Writing 'system' OKAY [ 3.770s]
Finished. Total time: 13.990s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.8
(bootloader) is-logical:system: not found
Sending 'system' (257933 KB) OKAY [ 10.150s]
Writing 'system' OKAY [ 3.770s]
Finished. Total time: 14.147s
C:\Users\henrique\Desktop\retbr>fastboot flash system system.img_sparsechunk.9
(bootloader) is-logical:system: not found
Sending 'system' (214096 KB) OKAY [ 8.465s]
Writing 'system' OKAY [ 3.831s]
Finished. Total time: 12.360s
C:\Users\henrique\Desktop\retbr>fastboot flash oem oem.img
(bootloader) is-logical:oem: not found
Sending 'oem' (247426 KB) OKAY [ 9.880s]
Writing 'oem' OKAY [ 3.290s]
Finished. Total time: 13.240s
C:\Users\henrique\Desktop\retbr>fastboot erase cache
Erasing 'cache' OKAY [ 0.010s]
Finished. Total time: 0.020s
C:\Users\henrique\Desktop\retbr>fastboot erase userdata
Erasing 'userdata' OKAY [ 4.688s]
Finished. Total time: 4.695s
C:\Users\henrique\Desktop\retbr>fastboot erase DDR
Erasing 'DDR' OKAY [ 0.020s]
Finished. Total time: 0.030s
C:\Users\henrique\Desktop\retbr>fastboot oem fb_mode_clear
OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\henrique\Desktop\retbr>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.000s]
Finished. Total time: 0.010s
C:\Users\henrique\Desktop\retbr>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.000s]
Finished. Total time: 0.009s
I would appreciate any help
Thank you
Try
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
Fastboot reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
And the rest...
Sent from my Moto E (4) using Tapatalk
sd_shadow said:
Try
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
Fastboot reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
And the rest...
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
I can't lock bootloader due to "(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer"
Now i have the oem unlocking greyed out, i can't allow oem unlock because it says that is already unlocked. I flashed twrp and rooted with magisk to force allow oem unlocking but it failed. In a second try i did a factory reset after rooting but it also failed to allow oem unlock.
Code:
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>Fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>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\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.008s]
Finished. Total time: 0.016s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.000s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
OKAY [ 0.000s]
Finished. Total time: 0.008s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
(bootloader) is-logical:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.163s]
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.116s]
Finished. Total time: 0.311s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (5179 KB) OKAY [ 0.358s]
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.578s]
Finished. Total time: 0.968s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
(bootloader) is-logical:modem: not found
Sending 'modem' (67978 KB) OKAY [ 2.589s]
Writing 'modem' OKAY [ 1.070s]
Finished. Total time: 3.713s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash fsg fsg.mbn
(bootloader) is-logical:fsg: not found
Sending 'fsg' (3560 KB) OKAY [ 0.296s]
Writing 'fsg' OKAY [ 0.120s]
Finished. Total time: 0.448s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst1
Erasing 'modemst1' OKAY [ 0.040s]
Finished. Total time: 0.040s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst2
Erasing 'modemst2' OKAY [ 0.033s]
Finished. Total time: 0.040s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash dsp adspso.bin
(bootloader) is-logical:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.772s]
Writing 'dsp' OKAY [ 0.282s]
Finished. Total time: 1.078s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash logo logo.bin
(bootloader) is-logical:logo: not found
Sending 'logo' (2195 KB) OKAY [ 0.256s]
Writing 'logo' OKAY [ 0.112s]
Finished. Total time: 0.400s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash boot boot.img
(bootloader) is-logical:boot: not found
Sending 'boot' (16384 KB) OKAY [ 0.613s]
Writing 'boot' (bootloader) Image signed with key bad key
OKAY [ 0.378s]
Finished. Total time: 1.231s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16484 KB) OKAY [ 0.761s]
Writing 'recovery' (bootloader) Image signed with key bad key
OKAY [ 0.414s]
Finished. Total time: 1.195s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.0
(bootloader) is-logical:system: not found
Sending 'system' (256294 KB) OKAY [ 9.651s]
Writing 'system' OKAY [ 4.120s]
Finished. Total time: 13.850s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.1
(bootloader) is-logical:system: not found
Sending 'system' (256762 KB) OKAY [ 9.515s]
Writing 'system' OKAY [ 3.308s]
Finished. Total time: 12.883s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.2
(bootloader) is-logical:system: not found
Sending 'system' (255764 KB) OKAY [ 9.226s]
Writing 'system' OKAY [ 3.520s]
Finished. Total time: 12.858s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.3
(bootloader) is-logical:system: not found
Sending 'system' (260630 KB) OKAY [ 9.383s]
Writing 'system' OKAY [ 3.412s]
Finished. Total time: 12.846s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.4
(bootloader) is-logical:system: not found
Sending 'system' (257521 KB) OKAY [ 9.228s]
Writing 'system' OKAY [ 3.391s]
Finished. Total time: 12.655s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(bootloader) is-logical:system: not found
Sending 'system' (245941 KB) OKAY [ 8.820s]
Writing 'system' OKAY [ 3.200s]
Finished. Total time: 12.044s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.6
(bootloader) is-logical:system: not found
Sending 'system' (258569 KB) OKAY [ 9.291s]
Writing 'system' OKAY [ 3.262s]
Finished. Total time: 12.612s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.7
(bootloader) is-logical:system: not found
Sending 'system' (251493 KB) OKAY [ 9.190s]
Writing 'system' OKAY [ 3.742s]
Finished. Total time: 13.034s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.8
(bootloader) is-logical:system: not found
Sending 'system' (257933 KB) OKAY [ 9.402s]
Writing 'system' OKAY [ 3.731s]
Finished. Total time: 13.272s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.9
(bootloader) is-logical:system: not found
Sending 'system' (214096 KB) OKAY [ 7.731s]
Writing 'system' OKAY [ 2.703s]
Finished. Total time: 10.466s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) is-logical:oem: not found
Sending 'oem' (247426 KB) OKAY [ 8.946s]
Writing 'oem' OKAY [ 3.281s]
Finished. Total time: 12.290s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase cache
Erasing 'cache' OKAY [ 0.016s]
Finished. Total time: 0.031s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase userdata
Erasing 'userdata' OKAY [ 0.216s]
Finished. Total time: 0.216s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase DDR
Erasing 'DDR' OKAY [ 0.000s]
Finished. Total time: 0.016s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
OKAY [ 0.016s]
Finished. Total time: 0.016s
C:\Users\henrique\Downloads\XT1792_MONTANA_RETBR_8.1.0_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.000s]
Finished. Total time: 0.016s
fastboot getvar all
Code:
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8937-BC.12
(bootloader) product: montana
(bootloader) board: montana
(bootloader) secure: yes
(bootloader) hwrev: P3
(bootloader) radio: 3
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG QX13MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=1F
(bootloader) cpu: MSM8937
(bootloader) serialno: 0044243152
(bootloader) cid: 0x0032
(bootloader) channelid: 0x17
(bootloader) uid: EBC7344E00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 535822336
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: ---------------------hidden
(bootloader) meid:
(bootloader) date: 02-19-2018
(bootloader) sku: XT1792
(bootloader) carrier_sku:
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint[0]: motorola/montana/montana:8.1.0/OPP
(bootloader) ro.build.fingerprint[1]: S28.65-37-7-11/7f8a6:user/release-
(bootloader) ro.build.fingerprint[2]: keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.281.15.montana.re
(bootloader) ro.build.version.full[1]: tail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband[0]: M8937_37.13.03.75R MONTANA_BRAZILDSDS_
(bootloader) version-baseband[1]: CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g1c8179f (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.8 (GCC)
(bootloader) kernel.version[2]: ) #1 SMP PREEMPT Sun Aug 11 12:40:44 CDT
(bootloader) kernel.version[3]: 2019
(bootloader) sbl1.git: git=MBM-NG-VBC.12-0-g77d3670
(bootloader) rpm.git: git=bd76357-dirty
(bootloader) tz.git: git=57946dd
(bootloader) devcfg.git: git=57946dd
(bootloader) keymaster.git: git=57946dd
(bootloader) cmnlib.git: git=57946dd
(bootloader) cmnlib64.git: git=57946dd
(bootloader) prov.git: git=57946dd
(bootloader) aboot.git: git=MBM-NG-VBC.12-0-g0b9dae9
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: timbr
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
Finished. Total time: 0.290s
What i can do?
obs: the only boot.img that the xt1792 recognized as signed was the magisk_patched.img
Hey did you manage to lock the bootloader? I'm having the same issue in my Motorola one p30 play which is a dual partition slot device.

Need Some Help With Recently Hard Bricked Phone

So I recently bricked my moto g5s xt1792 trying to downgrade to stock 7.0. So I found a blankflash that worked after many many hours looking for one, now that I'm able to send fastboot commands seems that all my partitions are gone or something like that. This is what happens when i try to flash a stock 8.1.0 rom.
Spoiler: When I try to flash stock 8.1.0
getvar:max-sparse-size FAILED (remote failure)
finished. total time: 0.006s
... FAILED (remote failure)
finished. total time: 0.136s
sending 'partition' (45 KB)... OKAY [ 0.174s]
writing 'partition'... INFOValidating 'gpt.default.xml'
INFOSecurity version downgrade
INFOImage primary_gpt failed validation
INFOPreflash validation failed
INFOCancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.250s
sending 'bootloader' (5179 KB)... OKAY [ 0.638s]
writing 'bootloader'... INFOValidating 'bootloader.default.xml'
INFOInvalid partition name aboot
INFOInvalid partition name rpm
INFOInvalid partition name tz
INFOInvalid partition name devcfg
INFOInvalid partition name cmnlib
INFOInvalid partition name cmnlib64
INFOInvalid partition name keymaster
INFOInvalid partition name prov
INFOInvalid partition name sbl1
INFOCancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.740s
sending 'modem' (67934 KB)... OKAY [ 6.418s]
writing 'modem'... INFOInvalid partition name modem
FAILED (remote failure)
finished. total time: 6.431s
sending 'fsg' (3560 KB)... OKAY [ 0.479s]
writing 'fsg'... INFOInvalid partition name fsg
FAILED (remote failure)
finished. total time: 0.497s
sending 'dsp' (16384 KB)... OKAY [ 1.674s]
writing 'dsp'... INFOInvalid partition name dsp
FAILED (remote failure)
finished. total time: 1.681s
sending 'logo' (2195 KB)... OKAY [ 0.363s]
writing 'logo'... INFOInvalid partition name logo
FAILED (remote failure)
finished. total time: 0.380s
sending 'boot' (16384 KB)... OKAY [ 1.678s]
writing 'boot'... INFOInvalid partition name boot
FAILED (remote failure)
finished. total time: 1.695s
sending 'recovery' (16484 KB)... OKAY [ 1.689s]
writing 'recovery'... INFOInvalid partition name recovery
FAILED (remote failure)
finished. total time: 1.702s
sending 'system' (256294 KB)... OKAY [ 23.090s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.106s
sending 'system' (256762 KB)... OKAY [ 24.051s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 24.059s
sending 'system' (255764 KB)... OKAY [ 22.857s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.873s
sending 'system' (260630 KB)... OKAY [ 24.257s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 24.269s
sending 'system' (257441 KB)... OKAY [ 22.475s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.491s
sending 'system' (246125 KB)... OKAY [ 22.857s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.861s
sending 'system' (258569 KB)... OKAY [ 22.753s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.770s
sending 'system' (251493 KB)... OKAY [ 23.562s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.571s
sending 'system' (257925 KB)... OKAY [ 23.966s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.982s
sending 'system' (213764 KB)... OKAY [ 19.225s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 19.241s
sending 'oem' (257482 KB)... OKAY [ 23.949s]
writing 'oem'... INFOInvalid partition name oem
FAILED (remote failure)
finished. total time: 23.965s
erasing 'modemst1'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.108s
erasing 'modemst2'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.155s
erasing 'cache'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.156s
erasing 'userdata'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.146s
erasing 'DDR'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.155s
sending 'fsg' (3560 KB)... OKAY [ 0.480s]
writing 'fsg'... INFOInvalid partition name fsg
FAILED (remote failure)
finished. total time: 0.497s
... FAILED (remote failure)
finished. total time: 0.136s
Another thing is that my bootloader is now locked and i can't get it to unlock because I don't have an OS installed to goto developer's options and activate the unlock oem. This is what happens when I try to unlock the bootloader.
Spoiler: When I try to unlock bootloader
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem
unlock 6FQIJANR**********
... INFOWARNING: This command erases all user data.
INFOPlease re-run this command to continue.
OKAY [ 0.003s]
finished. total time: 0.003s
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem
unlock 6FQIJANR***********
... INFOCheck 'Allow OEM Unlock' in Android Settings > Developer
INFOOptions
OKAY [ 0.012s]
finished. total time: 0.013s
I also tried to boot to twrp and I can't do it.
Spoiler: Trying to boot to recovery
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot boot
twrp-3.6.1_9-0-montana.img
downloading 'boot.img'... OKAY [ 1.582s]
booting... INFOpermission denied!
FAILED (remote failure)
finished. total time: 1.586s
I've tried to flash only the partition with no luck.
Spoiler: Trying to flash partition
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flas
h partition gpt.bin
sending 'partition' (45 KB)... OKAY [ 0.006s]
writing 'partition'... INFOValidating 'gpt.default.xml'
INFOSecurity version downgrade
INFOImage primary_gpt failed validation
INFOPreflash validation failed
INFOCancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.067s
So I'm in need of help I really don't know how to proceed I've searched a lot, basically all day today. I was wondering if I did the SD card method that I was supposed to do when I hard bricked it if it will work.
OKAY I GOT THIS WORKING
Basically I had to find an newer version of security patch to flash my partitions so I tried many gpt.bin till i found one that went through. Here's the logs for anyone with the same problem.
Spoiler: Successful Logs
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.021s]
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.107s]
finished. total time: 0.131s
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>flashfile.bat
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>echo off
max-sparse-size: 268435456
finished. total time: 0.002s
...
OKAY [ 0.002s]
finished. total time: 0.003s
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.030s]
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.103s]
finished. total time: 0.135s
target reported max download size of 535822336 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.190s]
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.536s]
finished. total time: 0.730s
target reported max download size of 535822336 bytes
sending 'modem' (67978 KB)...
OKAY [ 2.169s]
writing 'modem'...
OKAY [ 1.078s]
finished. total time: 3.251s
target reported max download size of 535822336 bytes
sending 'fsg' (3560 KB)...
OKAY [ 0.138s]
writing 'fsg'...
OKAY [ 0.138s]
finished. total time: 0.278s
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.537s]
writing 'dsp'...
OKAY [ 0.298s]
finished. total time: 0.837s
target reported max download size of 535822336 bytes
sending 'logo' (2195 KB)...
OKAY [ 0.095s]
writing 'logo'...
OKAY [ 0.115s]
finished. total time: 0.212s
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.546s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.390s]
finished. total time: 0.938s
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.543s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.428s]
finished. total time: 0.976s
target reported max download size of 535822336 bytes
sending 'system' (256294 KB)...
OKAY [ 8.163s]
writing 'system'...
OKAY [ 4.188s]
finished. total time: 12.354s
target reported max download size of 535822336 bytes
sending 'system' (256762 KB)...
OKAY [ 8.183s]
writing 'system'...
OKAY [ 3.305s]
finished. total time: 11.494s
target reported max download size of 535822336 bytes
sending 'system' (255764 KB)...
OKAY [ 8.305s]
writing 'system'...
OKAY [ 3.544s]
finished. total time: 11.851s
target reported max download size of 535822336 bytes
sending 'system' (260630 KB)...
OKAY [ 8.460s]
writing 'system'...
OKAY [ 3.410s]
finished. total time: 11.873s
target reported max download size of 535822336 bytes
sending 'system' (257521 KB)...
OKAY [ 8.251s]
writing 'system'...
OKAY [ 3.361s]
finished. total time: 11.618s
target reported max download size of 535822336 bytes
sending 'system' (245941 KB)...
OKAY [ 7.905s]
writing 'system'...
OKAY [ 3.184s]
finished. total time: 11.093s
target reported max download size of 535822336 bytes
sending 'system' (258569 KB)...
OKAY [ 8.360s]
writing 'system'...
OKAY [ 3.238s]
finished. total time: 11.602s
target reported max download size of 535822336 bytes
sending 'system' (251493 KB)...
OKAY [ 8.189s]
writing 'system'...
OKAY [ 3.692s]
finished. total time: 11.885s
target reported max download size of 535822336 bytes
sending 'system' (257933 KB)...
OKAY [ 8.473s]
writing 'system'...
OKAY [ 3.742s]
finished. total time: 12.219s
target reported max download size of 535822336 bytes
sending 'system' (214096 KB)...
OKAY [ 7.047s]
writing 'system'...
OKAY [ 2.682s]
finished. total time: 9.732s
target reported max download size of 535822336 bytes
sending 'oem' (247426 KB)...
OKAY [ 8.158s]
writing 'oem'...
OKAY [ 3.280s]
finished. total time: 11.442s
erasing 'cache'...
OKAY [ 0.028s]
finished. total time: 0.029s
erasing 'userdata'...
OKAY [ 0.146s]
finished. total time: 0.147s
erasing 'DDR'...
OKAY [ 0.016s]
finished. total time: 0.018s
target reported max download size of 535822336 bytes
sending 'fsg' (3560 KB)...
OKAY [ 0.145s]
writing 'fsg'...
OKAY [ 0.128s]
finished. total time: 0.276s
...
OKAY [ 0.002s]
finished. total time: 0.003s
It's crazy I almost thought I had lost my phone.
So I imagine there's a lot of people looking for a way to fix this. So here are the link of the files I used.
Blankflash file that works on moto g5s xt1792:
blankflash working for xt1792 moto g5s
Here's the stock rom to use so everything comes back to normal:
Rom that will work after blankflash
And here are the command files .bat:
flashing commands .bat
Doxmey said:
So I recently bricked my moto g5s xt1792 trying to downgrade to stock 7.0. So I found a blankflash that worked after many many hours looking for one, now that I'm able to send fastboot commands seems that all my partitions are gone or something like that. This is what happens when i try to flash a stock 8.1.0 rom.
Spoiler: When I try to flash stock 8.1.0
getvar:max-sparse-size FAILED (remote failure)
finished. total time: 0.006s
... FAILED (remote failure)
finished. total time: 0.136s
sending 'partition' (45 KB)... OKAY [ 0.174s]
writing 'partition'... INFOValidating 'gpt.default.xml'
INFOSecurity version downgrade
INFOImage primary_gpt failed validation
INFOPreflash validation failed
INFOCancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.250s
sending 'bootloader' (5179 KB)... OKAY [ 0.638s]
writing 'bootloader'... INFOValidating 'bootloader.default.xml'
INFOInvalid partition name aboot
INFOInvalid partition name rpm
INFOInvalid partition name tz
INFOInvalid partition name devcfg
INFOInvalid partition name cmnlib
INFOInvalid partition name cmnlib64
INFOInvalid partition name keymaster
INFOInvalid partition name prov
INFOInvalid partition name sbl1
INFOCancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.740s
sending 'modem' (67934 KB)... OKAY [ 6.418s]
writing 'modem'... INFOInvalid partition name modem
FAILED (remote failure)
finished. total time: 6.431s
sending 'fsg' (3560 KB)... OKAY [ 0.479s]
writing 'fsg'... INFOInvalid partition name fsg
FAILED (remote failure)
finished. total time: 0.497s
sending 'dsp' (16384 KB)... OKAY [ 1.674s]
writing 'dsp'... INFOInvalid partition name dsp
FAILED (remote failure)
finished. total time: 1.681s
sending 'logo' (2195 KB)... OKAY [ 0.363s]
writing 'logo'... INFOInvalid partition name logo
FAILED (remote failure)
finished. total time: 0.380s
sending 'boot' (16384 KB)... OKAY [ 1.678s]
writing 'boot'... INFOInvalid partition name boot
FAILED (remote failure)
finished. total time: 1.695s
Spoiler: When I try to flash stock 8.1.0
sending 'recovery' (16484 KB)... OKAY [ 1.689s]
writing 'recovery'... INFOInvalid partition name recovery
FAILED (remote failure)
finished. total time: 1.702s
sending 'system' (256294 KB)... OKAY [ 23.090s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.106s
sending 'system' (256762 KB)... OKAY [ 24.051s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 24.059s
sending 'system' (255764 KB)... OKAY [ 22.857s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.873s
sending 'system' (260630 KB)... OKAY [ 24.257s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 24.269s
sending 'system' (257441 KB)... OKAY [ 22.475s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.491s
sending 'system' (246125 KB)... OKAY [ 22.857s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.861s
sending 'system' (258569 KB)... OKAY [ 22.753s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 22.770s
sending 'system' (251493 KB)... OKAY [ 23.562s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.571s
sending 'system' (257925 KB)... OKAY [ 23.966s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 23.982s
sending 'system' (213764 KB)... OKAY [ 19.225s]
writing 'system'... INFOInvalid partition name system
FAILED (remote failure)
finished. total time: 19.241s
sending 'oem' (257482 KB)... OKAY [ 23.949s]
writing 'oem'... INFOInvalid partition name oem
FAILED (remote failure)
finished. total time: 23.965s
erasing 'modemst1'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.108s
erasing 'modemst2'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.155s
erasing 'cache'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.156s
erasing 'userdata'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.146s
erasing 'DDR'... INFOPermission denied
FAILED (remote failure)
finished. total time: 0.155s
sending 'fsg' (3560 KB)... OKAY [ 0.480s]
writing 'fsg'... INFOInvalid partition name fsg
FAILED (remote failure)
finished. total time: 0.497s
... FAILED (remote failure)
finished. total time: 0.136s
Another thing is that my bootloader is now locked and i can't get it to unlock because I don't have an OS installed to goto developer's options and activate the unlock oem. This is what happens when I try to unlock the bootloader.
Spoiler: When I try to unlock bootloader
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem
unlock 6FQIJANR**********
... INFOWARNING: This command erases all user data.
INFOPlease re-run this command to continue.
OKAY [ 0.003s]
finished. total time: 0.003s
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem
unlock 6FQIJANR***********
... INFOCheck 'Allow OEM Unlock' in Android Settings > Developer
INFOOptions
OKAY [ 0.012s]
finished. total time: 0.013s
I also tried to boot to twrp and I can't do it.
Spoiler: Trying to boot to recovery
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot boot
Spoiler: Trying to boot to recovery
twrp-3.6.1_9-0-montana.img
downloading 'boot.img'... OKAY [ 1.582s]
booting... INFOpermission denied!
FAILED (remote failure)
finished. total time: 1.586s
I've tried to flash only the partition with no luck.
Spoiler: Trying to flash partition
C:\Users\Dox\Downloads\MONTANA_OPP28.65-37-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flas
h partition gpt.bin
sending 'partition' (45 KB)... OKAY [ 0.006s]
writing 'partition'... INFOValidating 'gpt.default.xml'
INFOSecurity version downgrade
INFOImage primary_gpt failed validation
INFOPreflash validation failed
INFOCancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.067s
So I'm in need of help I really don't know how to proceed I've searched a lot, basically all day today. I was wondering if I did the SD card method that I was supposed to do when I hard bricked it if it will work.
OKAY I GOT THIS WORKING
Basically I had to find an newer version of security patch to flash my partitions so I tried many gpt.bin till i found one that went through. Here's the logs for anyone with the same problem.
Spoiler: Successful Logs
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.021s]
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.107s]
finished. total time: 0.131s
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>flashfile.bat
C:\\Users\\Dox\\Downloads\\www.stockrom.net_MONTANA_OPPS28.65-37-7-11_cid50_subsidy-DEFAULT_regulatory_NO_ERASE
_CFC.xml>echo off
max-sparse-size: 268435456
finished. total time: 0.002s
...
OKAY [ 0.002s]
finished. total time: 0.003s
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.030s]
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.103s]
finished. total time: 0.135s
target reported max download size of 535822336 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.190s]
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.536s]
finished. total time: 0.730s
target reported max download size of 535822336 bytes
sending 'modem' (67978 KB)...
OKAY [ 2.169s]
writing 'modem'...
OKAY [ 1.078s]
finished. total time: 3.251s
target reported max download size of 535822336 bytes
sending 'fsg' (3560 KB)...
OKAY [ 0.138s]
writing 'fsg'...
OKAY [ 0.138s]
finished. total time: 0.278s
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.537s]
writing 'dsp'...
OKAY [ 0.298s]
finished. total time: 0.837s
target reported max download size of 535822336 bytes
sending 'logo' (2195 KB)...
OKAY [ 0.095s]
writing 'logo'...
OKAY [ 0.115s]
finished. total time: 0.212s
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.546s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.390s]
finished. total time: 0.938s
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.543s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.428s]
finished. total time: 0.976s
target reported max download size of 535822336 bytes
sending 'system' (256294 KB)...
OKAY [ 8.163s]
writing 'system'...
OKAY [ 4.188s]
finished. total time: 12.354s
target reported max download size of 535822336 bytes
sending 'system' (256762 KB)...
OKAY [ 8.183s]
writing 'system'...
OKAY [ 3.305s]
finished. total time: 11.494s
target reported max download size of 535822336 bytes
sending 'system' (255764 KB)...
OKAY [ 8.305s]
writing 'system'...
OKAY [ 3.544s]
finished. total time: 11.851s
target reported max download size of 535822336 bytes
sending 'system' (260630 KB)...
OKAY [ 8.460s]
writing 'system'...
OKAY [ 3.410s]
finished. total time: 11.873s
target reported max download size of 535822336 bytes
sending 'system' (257521 KB)...
OKAY [ 8.251s]
writing 'system'...
OKAY [ 3.361s]
finished. total time: 11.618s
target reported max download size of 535822336 bytes
sending 'system' (245941 KB)...
OKAY [ 7.905s]
writing 'system'...
OKAY [ 3.184s]
finished. total time: 11.093s
target reported max download size of 535822336 bytes
sending 'system' (258569 KB)...
OKAY [ 8.360s]
writing 'system'...
OKAY [ 3.238s]
finished. total time: 11.602s
target reported max download size of 535822336 bytes
sending 'system' (251493 KB)...
OKAY [ 8.189s]
writing 'system'...
OKAY [ 3.692s]
finished. total time: 11.885s
target reported max download size of 535822336 bytes
sending 'system' (257933 KB)...
OKAY [ 8.473s]
writing 'system'...
OKAY [ 3.742s]
finished. total time: 12.219s
target reported max download size of 535822336 bytes
sending 'system' (214096 KB)...
OKAY [ 7.047s]
writing 'system'...
OKAY [ 2.682s]
finished. total time: 9.732s
target reported max download size of 535822336 bytes
sending 'oem' (247426 KB)...
OKAY [ 8.158s]
writing 'oem'...
OKAY [ 3.280s]
finished. total time: 11.442s
erasing 'cache'...
OKAY [ 0.028s]
finished. total time: 0.029s
erasing 'userdata'...
OKAY [ 0.146s]
finished. total time: 0.147s
erasing 'DDR'...
OKAY [ 0.016s]
finished. total time: 0.018s
target reported max download size of 535822336 bytes
sending 'fsg' (3560 KB)...
OKAY [ 0.145s]
writing 'fsg'...
OKAY [ 0.128s]
finished. total time: 0.276s
...
OKAY [ 0.002s]
finished. total time: 0.003s
It's crazy I almost thought I had lost my phone.
So I imagine there's a lot of people looking for a way to fix this. So here are the link of the files I used.
Blankflash file that works on moto g5s xt1792:
blankflash working for xt1792 moto g5s
Here's the stock rom to use so everything comes back to normal:
Rom that will work after blankflash
And here are the command files .bat:
flashing commands .bat
Click to expand...
Click to collapse
My dear, I really want to thank you for your contribution. I was about to get crazy tring to fix that mobile.

moto z2 play XT1710-06 brick

Hello, good morning, I was using my moto z2 play, it crashed and after restarting it, it remains in bootloop So I try to install a stock rom but it gives many errors, I don't know what I can do (sorry for my bad English)
FAILED (remote failure)
finished. total time: 0.002s
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.003s]
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.066s
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.121s]
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.343s]
finished. total time: 0.465s
target reported max download size of 534773760 bytes
sending 'modem' (71565 KB)...
OKAY [ 1.655s]
writing 'modem'...
OKAY [ 0.572s]
finished. total time: 2.228s
target reported max download size of 534773760 bytes
sending 'fsg' (4020 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.065s]
finished. total time: 0.161s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.379s]
writing 'dsp'...
OKAY [ 0.157s]
finished. total time: 0.538s
target reported max download size of 534773760 bytes
sending 'logo' (2192 KB)...
OKAY [ 0.053s]
writing 'logo'...
OKAY [ 0.052s]
finished. total time: 0.104s
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.391s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.561s
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.488s]
writing 'recovery'...
(bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.693s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.053s]
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: 6.092s
target reported max download size of 534773760 bytes
sending 'system' (255693 KB)...
OKAY [ 5.903s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.910s
target reported max download size of 534773760 bytes
sending 'system' (243069 KB)...
OKAY [ 5.614s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.624s
target reported max download size of 534773760 bytes
sending 'system' (260338 KB)...
OKAY [ 6.024s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.041s
target reported max download size of 534773760 bytes
sending 'system' (260451 KB)...
OKAY [ 6.014s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.025s
target reported max download size of 534773760 bytes
sending 'system' (242833 KB)...
OKAY [ 5.605s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.612s
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 6.049s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.056s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.058s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.066s
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 6.050s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.064s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.050s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.057s
target reported max download size of 534773760 bytes
sending 'system' (239064 KB)...
OKAY [ 5.521s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.530s
target reported max download size of 534773760 bytes
sending 'system' (45248 KB)...
OKAY [ 1.045s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.051s
target reported max download size of 534773760 bytes
sending 'oem' (155105 KB)...
OKAY [ 3.581s]
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.620s
erasing 'modemst1'...
OKAY [ 0.018s]
finished. total time: 0.018s
erasing 'modemst2'...
OKAY [ 0.017s]
finished. total time: 0.018s
erasing 'carrier'...
OKAY [ 0.034s]
finished. total time: 0.035s
erasing 'cache'...
OKAY [ 0.003s]
finished. total time: 0.003s
erasing 'userdata'...
OKAY [ 0.038s]
finished. total time: 0.039s
erasing 'DDR'...
OKAY [ 0.002s]
finished. total time: 0.002s
target reported max download size of 534773760 bytes
sending 'fsg' (4020 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.065s]
finished. total time: 0.160s
...
OKAY [ 0.002s]
finished. total time: 0.002s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Presione una tecla para continuar . . .
nickrak01 said:
Hello, good morning, I was using my moto z2 play, it crashed and after restarting it, it remains in bootloop So I try to install a stock rom but it gives many errors, I don't know what I can do (sorry for my bad English)
FAILED (remote failure)
finished. total time: 0.002s
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.003s]
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.066s
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.121s]
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.343s]
finished. total time: 0.465s
target reported max download size of 534773760 bytes
sending 'modem' (71565 KB)...
OKAY [ 1.655s]
writing 'modem'...
OKAY [ 0.572s]
finished. total time: 2.228s
target reported max download size of 534773760 bytes
sending 'fsg' (4020 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.065s]
finished. total time: 0.161s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.379s]
writing 'dsp'...
OKAY [ 0.157s]
finished. total time: 0.538s
target reported max download size of 534773760 bytes
sending 'logo' (2192 KB)...
OKAY [ 0.053s]
writing 'logo'...
OKAY [ 0.052s]
finished. total time: 0.104s
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.391s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.561s
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.488s]
writing 'recovery'...
(bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.693s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.053s]
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: 6.092s
target reported max download size of 534773760 bytes
sending 'system' (255693 KB)...
OKAY [ 5.903s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.910s
target reported max download size of 534773760 bytes
sending 'system' (243069 KB)...
OKAY [ 5.614s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.624s
target reported max download size of 534773760 bytes
sending 'system' (260338 KB)...
OKAY [ 6.024s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.041s
target reported max download size of 534773760 bytes
sending 'system' (260451 KB)...
OKAY [ 6.014s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.025s
target reported max download size of 534773760 bytes
sending 'system' (242833 KB)...
OKAY [ 5.605s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.612s
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 6.049s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.056s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.058s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.066s
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 6.050s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.064s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.050s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.057s
target reported max download size of 534773760 bytes
sending 'system' (239064 KB)...
OKAY [ 5.521s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.530s
target reported max download size of 534773760 bytes
sending 'system' (45248 KB)...
OKAY [ 1.045s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.051s
target reported max download size of 534773760 bytes
sending 'oem' (155105 KB)...
OKAY [ 3.581s]
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.620s
erasing 'modemst1'...
OKAY [ 0.018s]
finished. total time: 0.018s
erasing 'modemst2'...
OKAY [ 0.017s]
finished. total time: 0.018s
erasing 'carrier'...
OKAY [ 0.034s]
finished. total time: 0.035s
erasing 'cache'...
OKAY [ 0.003s]
finished. total time: 0.003s
erasing 'userdata'...
OKAY [ 0.038s]
finished. total time: 0.039s
erasing 'DDR'...
OKAY [ 0.002s]
finished. total time: 0.002s
target reported max download size of 534773760 bytes
sending 'fsg' (4020 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.065s]
finished. total time: 0.160s
...
OKAY [ 0.002s]
finished. total time: 0.002s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Is your bootloader locked?
yes is locked

Categories

Resources