Moto Z2 Force Sprint bricked *Please help* - Moto Z2 Force Questions & Answers

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

Related

Phone got bricked after accidental update on rooted phone, help?

Hi
I have had my Z2 Play for half a year, and soon after I got it I unlocked the bootloader with Motorola's official method, installed TWRP, rooted it with Magisk and installed Xposed Framework. I was on Nougat all the time and used it happily. A few months ago it started repeatedly asking me to OTA update, but I just ignored the messages. Then one day, I must have accidentally pressed something, because I think it tried to update. I got a message that the update failed or something like that.
The phone gradually got worse after that, randomly rebooting into TWRP. I could somehow get it to boot Android by going to the bootloader and chosing "factory mode" but mostly the modem would not work at all and the phone would not be usable.
Trying to solve it, I decided to flash a whole ROM, hoping to remove all of the damage done by the botchered update. Since I already had unlocked my bootloader and TWRP, I decided to just flash a custom ROM, since I did not know if flashing stock would work with TWRP. I found some of the custom ROMs here on XDA, and tried to flash them with TWRP. However, flashing would not work. I got some error code 255. I am attaching a screenshot of the error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I tried both flashing via the adb sideload method via my Mac and via USB OTG (flash drive) but I got the same result for both.
Having seen this, I decided to try to relock the bootloader and restore stock firmware. I tried following this tutorial. However, that did not seem to work. Here is my fastboot output:
Code:
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot devices
ZY224BLVMC fastboot
Pals-MacBook-Air:platform-tools Fiksdal$ ./fasboot oem lock begin
-bash: ./fasboot: No such file or directory
Pals-MacBook-Air:platform-tools Fiksdal$ fastboot oem lock begin
-bash: fastboot: command not found
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock begin
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.003s]
Finished. Total time: 0.005s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock begin
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.018s]
Finished. Total time: 0.018s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.008s]
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.264s
Pals-MacBook-Air:platform-tools Fiksdal$ sudo fastboot flash partition gpt.bin
Password:
sudo: fastboot: command not found
Pals-MacBook-Air:platform-tools Fiksdal$ sudo ./fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.005s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
Finished. Total time: 0.259s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash bootloader bootloader.img
(bootloader) has-slot:bootloader: not found
Sending 'bootloader' (5115 KB) OKAY [ 0.209s]
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.548s]
Finished. Total time: 0.943s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash logo logo.bin
(bootloader) has-slot:logo: not found
Sending 'logo' (2192 KB) OKAY [ 0.093s]
Writing 'logo' OKAY [ 0.066s]
Finished. Total time: 0.344s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 0.838s]
Writing 'recovery' (bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 1.234s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 0.729s]
Writing 'recovery' (bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 1.125s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash dsp adspso.bin
(bootloader) has-slot:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.667s]
Writing 'dsp' OKAY [ 0.132s]
Finished. Total time: 0.984s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash oem oem.img
(bootloader) has-slot:oem: not found
Sending 'oem' (232923 KB) OKAY [ 10.302s]
Writing 'oem' (bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 10.554s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.0
(bootloader) has-slot:system: not found
Sending 'system' (517135 KB) OKAY [ 20.549s]
Writing 'system' (bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.1
(bootloader) has-slot:system: not found
Sending 'system' (522979 KB) OKAY [ 20.458s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 20.674s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.2
(bootloader) has-slot:system: not found
Sending 'system' (524215 KB) OKAY [ 20.487s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 20.704s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.3
(bootloader) has-slot:system: not found
Sending 'system' (521087 KB) OKAY [ 19.126s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.330s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.4
(bootloader) has-slot:system: not found
Sending 'system' (518083 KB) OKAY [ 19.082s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.295s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.5
(bootloader) has-slot:system: not found
Sending 'system' (515569 KB) OKAY [ 18.974s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.192s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.6
(bootloader) has-slot:system: not found
Sending 'system' (250209 KB) OKAY [ 9.380s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 9.579s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.7
(bootloader) has-slot:system: not found
fastboot: error: cannot load 'system.img_sparsechunk.7': No such file or directory
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash modem NON-HLOS.bin
(bootloader) has-slot:modem: not found
Sending 'modem' (75092 KB) OKAY [ 2.888s]
Writing 'modem' OKAY [ 1.878s]
Finished. Total time: 4.954s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst1
(bootloader) has-slot:modemst1: not found
Erasing 'modemst1' OKAY [ 0.020s]
Finished. Total time: 0.210s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst2
(bootloader) has-slot:modemst2: not found
Erasing 'modemst2' OKAY [ 0.020s]
Finished. Total time: 0.210s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash fsg fsg.mbn
(bootloader) has-slot:fsg: not found
Sending 'fsg' (2932 KB) OKAY [ 0.114s]
Writing 'fsg' OKAY [ 0.065s]
Finished. Total time: 0.364s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase cache
(bootloader) has-slot:cache: not found
Erasing 'cache' OKAY [ 0.016s]
Finished. Total time: 0.206s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase userdata
(bootloader) has-slot:userdata: not found
Erasing 'userdata' OKAY [ 2.252s]
Finished. Total time: 2.442s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase customize
(bootloader) has-slot:customize: not found
Erasing 'customize' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.194s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase customize
(bootloader) has-slot:customize: not found
Erasing 'customize' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.194s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase clogo
(bootloader) has-slot:clogo: not found
Erasing 'clogo' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.192s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.003s]
Finished. Total time: 0.003s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot reboot
Rebooting
Finished. Total time: 0.005s[/HTML]
This seemed to do nothing to my device. I wondered if maybe the bootloader was in some sort of locked/unlocked limbo, so I tried to unlock the bootloader again using the key I got from Moto by email. That did not work either.
Code:
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem unlock THECODEFORMYDEVICE
(bootloader) invalid boot state
OKAY [ 0.005s]
Finished. Total time: 0.008s
So I seem to be getting nowhere. There has to be some way to totally wipe everything, to get a fresh start? I do not care if I have to restore stock firmware, stock bootloader, whatever. I just want to be able to at least use my phone somehow. Is my device totally bricked? Is there nothing I can do?
I used adb and fastboot on macOS High Sierra.
1) What custom ROM are you trying to flash? That TWRP error 255 suggests you're trying to flash a 64 bit custom ROM onto your device whilst you have a 32 bit TWRP. I'd try finding a 32 bit custom ROM and flash that, or try to update your TWRP to 64 bit and try again with the custom ROM you've downloaded.
2) Looking at your fastboot flash log, your bootloader appears to be 'locked' from the initial OEM lock command, but as you've tried to flash a stock ROM older than the firmware you had on your device, your device bootloader rejected the flash (security version downgrade and pre-flash validation errors point to using a much older firmware than what you had on your device).
Can I ask why you wanted to re-lock your bootloader? As far as I understand, you don't have to lock the bootloader to revert back to stock in most cases...
I'm not familiar with Z2 Play firmwares, though rahulsnair has uploaded the Oreo June 2018 security patch firmware here: https://forum.xda-developers.com/z2-play/how-to/fastboot-rom-albusretail8-0-0opss27-76-t3822195 If you can confirm that this firmware has been released to your device variant/software channel, I'd suggest downloading that firmware, and delete the old firmware you have. Extract the newer firmware to your ADB directory and try to flash again.
If that doesn't work, you may have to consider submitting your device to a service centre (unless someone else has suggestions?).
echo92 said:
1) What custom ROM are you trying to flash? That TWRP error 255 suggests you're trying to flash a 64 bit custom ROM onto your device whilst you have a 32 bit TWRP. I'd try finding a 32 bit custom ROM and flash that, or try to update your TWRP to 64 bit and try again with the custom ROM you've downloaded.
2) Looking at your fastboot flash log, your bootloader appears to be 'locked' from the initial OEM lock command, but as you've tried to flash a stock ROM older than the firmware you had on your device, your device bootloader rejected the flash (security version downgrade and pre-flash validation errors point to using a much older firmware than what you had on your device).
Can I ask why you wanted to re-lock your bootloader? As far as I understand, you don't have to lock the bootloader to revert back to stock in most cases...
I'm not familiar with Z2 Play firmwares, though rahulsnair has uploaded the Oreo June 2018 security patch firmware here: https://forum.xda-developers.com/z2-play/how-to/fastboot-rom-albusretail8-0-0opss27-76-t3822195 If you can confirm that this firmware has been released to your device variant/software channel, I'd suggest downloading that firmware, and delete the old firmware you have. Extract the newer firmware to your ADB directory and try to flash again.
If that doesn't work, you may have to consider submitting your device to a service centre (unless someone else has suggestions?).
Click to expand...
Click to collapse
Whoah, thank you! I got it to boot!
I flashed the Oreo firmware that you linked me to using the method the post supplied. (I also ran
Code:
./fastboot oem unlock
first).
After that, when I tried rebooting the phone, I saw (for less than one second) some icon with an Android laying down., then the screen went totally black without any further progress.
I then held down power and volume down to boot into bootloader, then I chose "FACTORY MODE". It then booted Oreo! There was some "encrypting your device message", and then it continued booting Oreo.
However, I still could connect to no cellular networks. It could have something to do with the fact that I am in "FACTORY MODE"? I put my two sims in there, but they both do not connect to anything at all. Although the phone can read the name of their operator. I seem to recall that I could indeed connect to cellular networks in "FACTORY MODE" before, so I am not sure.
I tried rebooting the phone again and it now got stuck in this screen with the Android laying down. It says "No command." This time the image persisted for longer before the screen got stuck. Then it went black for a while, while the "device is unlocked" warning screen came back, and now the Android laying down again. It seems to loop like this. I can only get it to boot Android "normally" by going through the bootloader and chosing factory mode. That would be fine, except I do not have cellular connectivity, only WiFi. Seems strange to me, as I did restore the whole firmware, which should include the modem driver, right? Maybe I flashed the wrong region firmware or something? However, this exact problem was there even before I flashed any firmware at all. It was in the beginning, after the accidental update. The phone would not boot properly, and I had to use factory mode. Then also, the phone woud boot, but had no cellular connectivity, exactly like this now.
In case it helps, I am posting my fastboot output
Code:
Pals-MacBook-Air:~ Fiksdal$ cd Downloads/platform-tools
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot devices
ZY224BLVMC fastboot
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem fb_mode_set
OKAY [ 0.005s]
Finished. Total time: 0.008s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
Sending 'partition' (45 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 primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.160s]
Finished. Total time: 0.189s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash bootloader bootloader.img
(bootloader) has-slot:bootloader: not found
Sending 'bootloader' (5115 KB) OKAY [ 0.248s]
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.847s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash modem NON-HLOS.bin
(bootloader) has-slot:modem: not found
Sending 'modem' (71565 KB) OKAY [ 3.333s]
Writing 'modem' OKAY [ 0.474s]
Finished. Total time: 3.824s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash fsg fsg.mbn
(bootloader) has-slot:fsg: not found
Sending 'fsg' (4020 KB) OKAY [ 0.200s]
Writing 'fsg' OKAY [ 0.069s]
Finished. Total time: 0.287s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst1
(bootloader) has-slot:modemst1: not found
Erasing 'modemst1' OKAY [ 0.020s]
Finished. Total time: 0.042s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst2
(bootloader) has-slot:modemst2: not found
Erasing 'modemst2' OKAY [ 0.020s]
Finished. Total time: 0.043s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash dsp adspso.bin
(bootloader) has-slot:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.825s]
Writing 'dsp' OKAY [ 0.138s]
Finished. Total time: 0.981s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash logo logo.bin
(bootloader) has-slot:logo: not found
Sending 'logo' (2192 KB) OKAY [ 0.111s]
Writing 'logo' OKAY [ 0.065s]
Finished. Total time: 0.193s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash boot boot.img
(bootloader) has-slot:boot: not found
Sending 'boot' (16384 KB) OKAY [ 0.810s]
Writing 'boot' (bootloader) Image signed with key bad key
OKAY [ 0.280s]
Finished. Total time: 1.107s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 1.036s]
Writing 'recovery' (bootloader) Image signed with key bad key
OKAY [ 0.342s]
Finished. Total time: 1.396s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.0
(bootloader) has-slot:system: not found
Sending 'system' (262141 KB) OKAY [ 12.459s]
Writing 'system' OKAY [ 1.390s]
Finished. Total time: 13.866s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.1
(bootloader) has-slot:system: not found
Sending 'system' (255693 KB) OKAY [ 12.038s]
Writing 'system' OKAY [ 1.319s]
Finished. Total time: 13.375s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.2
(bootloader) has-slot:system: not found
Sending 'system' (243069 KB) OKAY [ 11.486s]
Writing 'system' OKAY [ 1.386s]
Finished. Total time: 12.891s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.3
(bootloader) has-slot:system: not found
Sending 'system' (260338 KB) OKAY [ 12.294s]
Writing 'system' OKAY [ 1.982s]
Finished. Total time: 14.294s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.4
(bootloader) has-slot:system: not found
Sending 'system' (260451 KB) OKAY [ 12.350s]
Writing 'system' OKAY [ 1.436s]
Finished. Total time: 13.804s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.5
(bootloader) has-slot:system: not found
Sending 'system' (242833 KB) OKAY [ 11.667s]
Writing 'system' OKAY [ 1.249s]
Finished. Total time: 12.934s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.6
(bootloader) has-slot:system: not found
Sending 'system' (262140 KB) OKAY [ 12.659s]
Writing 'system' OKAY [ 1.301s]
Finished. Total time: 13.978s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.7
(bootloader) has-slot:system: not found
Sending 'system' (262141 KB) OKAY [ 12.531s]
Writing 'system' OKAY [ 1.479s]
Finished. Total time: 14.027s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.8
(bootloader) has-slot:system: not found
Sending 'system' (262142 KB) OKAY [ 12.492s]
Writing 'system' OKAY [ 1.586s]
Finished. Total time: 14.096s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.9
(bootloader) has-slot:system: not found
Sending 'system' (262141 KB) OKAY [ 12.641s]
Writing 'system' OKAY [ 1.326s]
Finished. Total time: 13.985s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.10
(bootloader) has-slot:system: not found
Sending 'system' (239064 KB) OKAY [ 11.553s]
Writing 'system' OKAY [ 1.200s]
Finished. Total time: 12.771s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.11
(bootloader) has-slot:system: not found
Sending 'system' (45248 KB) OKAY [ 2.014s]
Writing 'system' OKAY [ 0.265s]
Finished. Total time: 2.297s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash oem oem.img
(bootloader) has-slot:oem: not found
Sending 'oem' (155105 KB) OKAY [ 7.322s]
Writing 'oem' OKAY [ 0.869s]
Finished. Total time: 8.207s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase carrier
(bootloader) has-slot:carrier: not found
Erasing 'carrier' OKAY [ 0.041s]
Finished. Total time: 0.063s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase DDR
(bootloader) has-slot:DDR: not found
Erasing 'DDR' OKAY [ 0.007s]
Finished. Total time: 0.028s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase userdata
(bootloader) has-slot:userdata: not found
Erasing 'userdata' OKAY [ 0.073s]
Finished. Total time: 0.096s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase cache
(bootloader) has-slot:cache: not found
Erasing 'cache' OKAY [ 0.015s]
Finished. Total time: 0.037s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem fb_mode_clear
OKAY [ 0.005s]
Finished. Total time: 0.005s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot reboot
Rebooting
Finished. Total time: 0.005s
Fiksdal said:
Hi
I have had my Z2 Play for half a year, and soon after I got it I unlocked the bootloader with Motorola's official method, installed TWRP, rooted it with Magisk and installed Xposed Framework. I was on Nougat all the time and used it happily. A few months ago it started repeatedly asking me to OTA update, but I just ignored the messages. Then one day, I must have accidentally pressed something, because I think it tried to update. I got a message that the update failed or something like that.
The phone gradually got worse after that, randomly rebooting into TWRP. I could somehow get it to boot Android by going to the bootloader and chosing "factory mode" but mostly the modem would not work at all and the phone would not be usable.
Trying to solve it, I decided to flash a whole ROM, hoping to remove all of the damage done by the botchered update. Since I already had unlocked my bootloader and TWRP, I decided to just flash a custom ROM, since I did not know if flashing stock would work with TWRP. I found some of the custom ROMs here on XDA, and tried to flash them with TWRP. However, flashing would not work. I got some error code 255. I am attaching a screenshot of the error.
I tried both flashing via the adb sideload method via my Mac and via USB OTG (flash drive) but I got the same result for both.
Having seen this, I decided to try to relock the bootloader and restore stock firmware. I tried following this tutorial. However, that did not seem to work. Here is my fastboot output:
This seemed to do nothing to my device. I wondered if maybe the bootloader was in some sort of locked/unlocked limbo, so I tried to unlock the bootloader again using the key I got from Moto by email. That did not work either.
So I seem to be getting nowhere. There has to be some way to totally wipe everything, to get a fresh start? I do not care if I have to restore stock firmware, stock bootloader, whatever. I just want to be able to at least use my phone somehow. Is my device totally bricked? Is there nothing I can do?
I used adb and fastboot on macOS High Sierra.
Click to expand...
Click to collapse
I can't unlock the bootloader of my z2 play:crying:....... please tell me the process:crying:........

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

Help! I disconnected the cable at the time he was flashing the rom 9.0

Help! I disconnected the cable at the time he was flashing the rom 9.0 ai my (moto G6 Play 1922-5) stayed so whenever I flash a rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I flash the rom on the device.
C:\9>mfastboot oem lock begin
...
(bootloader) Not in unlocked state
OKAY [ 0.002s]
finished. total time: 0.003s
C:\9>mfastboot oem lock begin
...
(bootloader) Not in unlocked state
OKAY [ 0.002s]
finished. total time: 0.005s
C:\9>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (45 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.045s
C:\9>mfastboot flash bootloader bootloader.img
target max-sparse-size: 256MB
sending 'bootloader' (7483 KB)...
OKAY [ 0.270s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.363s
C:\9>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (1423 KB)...
OKAY [ 0.050s]
writing 'logo'...
(bootloader) Invalid partition name logo
FAILED (remote failure)
finished. total time: 0.057s
C:\9>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (16384 KB)...
OKAY [ 0.550s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.568s
C:\9>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (18532 KB)...
OKAY [ 0.617s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.636s
C:\9>mfastboot flash dsp adspso.bin
target max-sparse-size: 256MB
sending 'dsp' (16384 KB)...
OKAY [ 0.534s]
writing 'dsp'...
(bootloader) Invalid partition name dsp
FAILED (remote failure)
finished. total time: 0.538s
C:\9>mfastboot flash oem oem.img
target max-sparse-size: 256MB
sending 'oem' (188470 KB)...
OKAY [ 6.197s]
writing 'oem'...
(bootloader) Invalid partition name oem
FAILED (remote failure)
finished. total time: 6.213s
C:\9>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (262140 KB)...
OKAY [ 8.994s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.998s
C:\9>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (235853 KB)...
OKAY [ 8.075s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.087s
C:\9>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (262141 KB)...
OKAY [ 8.936s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.954s
C:\9>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (262143 KB)...
OKAY [ 9.041s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 9.059s
C:\9>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (251061 KB)...
OKAY [ 8.919s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.927s
C:\9>mfastboot flash system system.img_sparsechunk.5
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.5': No error
C:\9>mfastboot flash system system.img_sparsechunk.6
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.6': No error
C:\9>mfastboot flash system system.img_sparsechunk.7
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.7': No error
C:\9>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (59664 KB)...
OKAY [ 1.939s]
writing 'modem'...
(bootloader) Invalid partition name modem
FAILED (remote failure)
finished. total time: 1.946s
C:\9>mfastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.067s
C:\9>mfastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.100s
C:\9>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (5984 KB)...
OKAY [ 0.210s]
writing 'fsg'...
(bootloader) Invalid partition name fsg
FAILED (remote failure)
finished. total time: 0.228s
C:\9>mfastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.071s
C:\9>mfastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.102s
C:\9>mfastboot oem lock
...
(bootloader) Not in unlocked state
OKAY [ 0.105s]
finished. total time: 0.118s
C:\9>pause
Pressione qualquer tecla para continuar. . .
Deseja finalizar o arquivo em lotes (S/N)?
Click to expand...
Click to collapse
Don't try to lock the bootloader. Open the flashfile XML in the zip. The commands are there. Or use Moto smart assistant to rescue.
It looks like you need to unlock your bootloader OP. Here's a video guide https://www.youtube.com/watch?v=92xb9VvxYMA
madbat99 said:
Don't try to lock the bootloader. Open the flashfile XML in the zip. The commands are there. Or use Moto smart assistant to rescue.
Click to expand...
Click to collapse
does not work
Motorocker said:
It looks like you need to unlock your bootloader OP. Here's a video guide https://www.youtube.com/watch?v=92xb9VvxYMA
Click to expand...
Click to collapse
C:\9>fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.004s]
finished. total time: 0.004s
always remain of the error
Diego Davi said:
C:\9>fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.004s]
finished. total time: 0.004s
always remain of the error
Click to expand...
Click to collapse
Can you post the output you get from fastboot getvar all
I don't know if that will help folk work out a fix for you but I reckon it'll be worth seeing if it works.
Yeah he's locked
fastboot getvar all
Motorocker said:
Can you post the output you get from fastboot getvar all
I don't know if that will help folk work out a fix for you but I reckon it'll be worth seeing if it works.
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-aljeter_retail-02dae09-190122
(bootloader) product: jeter
(bootloader) board: jeter
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG GX6BMB RV=08 PV=03 FV=0000000000000003
(bootloader) ram: 3GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=5F
(bootloader) cpu: MSM8937
(bootloader) serialno: 98ca827
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: 0000000000000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: n/a
(bootloader) max-download-size: 535822336
(bootloader) reason: Failed to initialize partition table
(bootloader) imei: 000000000000000
(bootloader) meid:
(bootloader) date: 01-01-1970
(bootloader) sku: 000000000000000
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint:
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version:
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) devcfg.git: devcfg.git
(bootloader) keymaster.git: keymaster.git
(bootloader) cmnlib.git: cmnlib.git
(bootloader) cmnlib64.git: cmnlib64.git
(bootloader) prov.git: prov.git
(bootloader) aboot.git: MBM-2.1-aljeter_retail-02dae09-190122
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier:
(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
sample this is my device that I bought here in Brazil
Diego Davi said:
Help! I disconnected the cable at the time he was flashing the rom 9.0 ai my (moto G6 Play 1922-5) stayed so whenever I flash a rom.
When I flash the rom on the device.
Click to expand...
Click to collapse
I'm almost positive that you're flashing the wrong firmware. As far as I know, no firmware for the G6 Play has 7 sparse chunk files. I could be wrong, but I had to a lot of digging through aljeter and Jeter firmware to get twrp working, and at best I saw 5 sparse chunks in every firmware that I handled. Can you tell me the name of the firmware zip you're trying to flash, or point me to it?
Spaceminer said:
I'm almost positive that you're flashing the wrong firmware. As far as I know, no firmware for the G6 Play has 7 sparse chunk files. I could be wrong, but I had to a lot of digging through aljeter and Jeter firmware to get twrp working, and at best I saw 4 sparse chunks in every firmware that I handled. Can you tell me the name of the firmware zip you're trying to flash, or point me to it?
Click to expand...
Click to collapse
My friend also warned about this but I used the .bat file
so that it has until the 7, the last rom that ultilive was the
XT1922-5_ALJETER_9.0_PPPS29.55-25-4_cid50_subsidy-DEFAULT_regulatory-XT1922-5-BRAZIL-MANAUS_CFC.xml
Diego Davi said:
My friend also warned about this but I used the .bat file
so that it has until the 7, the last rom that ultilive was the
XT1922-5_ALJETER_9.0_PPPS29.55-25-4_cid50_subsidy-DEFAULT_regulatory-XT1922-5-BRAZIL-MANAUS_CFC.xml
Click to expand...
Click to collapse
Download minimal adb & fastboot if you don't have it already. Here's a link to the thread. I use the portable version. Then check the firmware you have right now. Make sure the sparse chunks go from 0-4. There should be 5 total. If there are less, or more sparse chunks than that, redownload your firmware from here. Then follow these steps.
1. Unzip the firmware into the same folder as minimal adb & fastboot.
2. Right click the cmd-here.exe shortcut inside the folder and run it as administrator.
3. Open the flashfile.xml with a text editor.
4. Run the following commands in order.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
5. Use your volume buttons, select reboot bootloader and hit the power button. You should loop back into fastboot.
6. Run the command; fastboot oem fb_mode_set
7. Read the flash file, then flash everything in it manually, and in order. If something refuses to flash, skip it and go to the next item in line. Do NOT use a bat file for ANY of this!
8. Once finished, issue the command fastboot oem fb_mode_clear then fastboot reboot and your device should start working again.
If there are any errors please let me know exactly what they say.
Spaceminer said:
Download minimal adb & fastboot if you don't have it already. Here's a link to the thread. I use the portable version. Then check the firmware you have right now. Make sure the sparse chunks go from 0-4. There should be 5 total. If there are less, or more sparse chunks than that, redownload your firmware from here. Then follow these steps.
1. Unzip the firmware into the same folder as minimal adb & fastboot.
2. Right click the cmd-here.exe shortcut inside the folder and run it as administrator.
3. Open the flashfile.xml with a text editor.
4. Run the following commands in order.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
5. Use your volume buttons, select reboot bootloader and hit the power button. You should loop back into fastboot.
6. Run the command; fastboot oem fb_mode_set
7. Read the flash file, then flash everything in it manually, and in order. If something refuses to flash, skip it and go to the next item in line. Do NOT use a bat file for ANY of this!
8. Once finished, issue the command fastboot oem fb_mode_clear then fastboot reboot and your device should start working again.
If there are any errors please let me know exactly what they say.
Click to expand...
Click to collapse
I'll download it here and test it now.
here is the photo of how the bootloader stayed when it solved the problem.
https://imgur.com/a/Ns8afvU
Diego Davi said:
I'll download it here and test it now.
here is the photo of how the bootloader stayed when it solved the problem.
https://imgur.com/a/Ns8afvU
Click to expand...
Click to collapse
Please let me know if it works!
Spaceminer said:
Please let me know if it works!
Click to expand...
Click to collapse
I do not start the system
Microsoft Windows [versão 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.003s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.006s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash partition gpt.bin
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.076s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash bootloader bootload
er.img
target reported max download size of 535822336 bytes
sending 'bootloader' (7483 KB)...
OKAY [ 0.263s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.401s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.019s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.019s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase DDR
erasing 'DDR'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.019s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.010s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.003s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.003s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.003s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash partition gpt.bin
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.056s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash bootloader bootload
er.img
target reported max download size of 535822336 bytes
sending 'bootloader' (7483 KB)...
OKAY [ 0.257s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.389s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (59664 KB)...
OKAY [ 1.941s]
writing 'modem'...
(bootloader) Invalid partition name modem
FAILED (remote failure)
finished. total time: 1.953s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (5984 KB)...
OKAY [ 0.193s]
writing 'fsg'...
(bootloader) Invalid partition name fsg
FAILED (remote failure)
finished. total time: 0.210s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.004s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.005s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash dsp adspso.bin
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.534s]
writing 'dsp'...
(bootloader) Invalid partition name dsp
FAILED (remote failure)
finished. total time: 0.545s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash logo logo.bin
target reported max download size of 535822336 bytes
sending 'logo' (1423 KB)...
OKAY [ 0.048s]
writing 'logo'...
(bootloader) Invalid partition name logo
FAILED (remote failure)
finished. total time: 0.058s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash boot boot.img
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.546s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.560s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash recovery recovery.i
mg
target reported max download size of 535822336 bytes
sending 'recovery' (18532 KB)...
OKAY [ 0.603s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.614s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash system system.img_s
parsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (488837 KB)...
OKAY [ 15.851s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 15.858s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash system system.img_s
parsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (498726 KB)...
OKAY [ 15.974s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 15.980s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash system system.img_s
parsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (523261 KB)...
OKAY [ 17.052s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 17.060s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash system system.img_s
parsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (486861 KB)...
OKAY [ 15.826s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 15.832s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash system system.img_s
parsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (198692 KB)...
OKAY [ 6.452s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.458s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash vendor vendor.img
target reported max download size of 535822336 bytes
sending 'vendor' (252383 KB)...
OKAY [ 8.169s]
writing 'vendor'...
(bootloader) Invalid partition name vendor
FAILED (remote failure)
finished. total time: 8.176s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (188474 KB)...
OKAY [ 6.105s]
writing 'oem'...
(bootloader) Invalid partition name oem
FAILED (remote failure)
finished. total time: 6.114s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.005s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.005s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase DDR
erasing 'DDR'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.004s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.003s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>
Diego Davi said:
C:\rom\XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
Click to expand...
Click to collapse
I hate to say it, but that's very bad. Unless you have JTAG equipment on hand, you won't be able to fix this device without sending it Motorola. Your emmc is locked to read only. You're effectively bricked.
Diego Davi said:
My friend also warned about this but I used the .bat file
so that it has until the 7, the last rom that ultilive was the
XT1922-5_ALJETER_9.0_PPPS29.55-25-4_cid50_subsidy-DEFAULT_regulatory-XT1922-5-BRAZIL-MANAUS_CFC.xml
Click to expand...
Click to collapse
Don't use .bat to flash. Type the commands manually. They are in the flashfile.xml in the firmware.
Spaceminer said:
I hate to say it, but that's very bad. Unless you have JTAG equipment on hand, you won't be able to fix this device without sending it Motorola. Your emmc is locked to read only. You're effectively bricked.
Click to expand...
Click to collapse
Okay, thanks a lot for the help !. I'm very grateful
madbat99 said:
Don't use .bat to flash. Type the commands manually. They are in the flashfile.xml in the firmware.
Click to expand...
Click to collapse
Okay, I did not know that detail next time. I already know how to do the procedure, thank you!
Spaceminer said:
Please let me know if it works!
Click to expand...
Click to collapse
Good night, would I have to do the same unbrick of the moto g5 that uses memory card?

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.

Problems locking the bootloader on a XT1670

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>

Categories

Resources