Factory reset not working in moto z3 (beckham, stock image) - Moto Z3 Play Questions & Answers

I have a moto z3 play (device name beckham) which I can't factory reset now. What happens is when I go to Settings > Advanced > Reset options > Erase all data (factory reset) but the phone simply restart (reboots) back. I also tried going to fastboot mode and running the command from there and the behavior ends up the same. My third attempt was to just do like this post but when I run the `fastboot` commands it fails with the error:
> $ fastboot erase userdata <br>(bootloader) has: not found Erasing<br>
> 'userdata' FAILED (remote: 'unknown<br>
> command') fastboot: error: Command failed<br> $ fastboot erase cache<br>
> (bootloader) partiti: not found Erasing 'cache'<br>
> (bootloader) Invalid partition name cacheiti FAILED (remote: '')<br>
> fastboot: error: Command failed<br>
Click to expand...
Click to collapse
Any idea on that? Thx
**Edit** All attempts were made in both USB 2.0 and 3.0
Tried in another pc (all of them linux) and also with older version (r30 and r25.0.4) of fastboot, the error gets even stranger since each time gives a different output for same input:
[$ platform-tools]$ sudo ./fastboot devices
0048267113 fastboot
[$ platform-tools]$ sudo ./fastboot erase userdata
erasing 'userdata'...
(bootloader) Invalid partition name userdataon-type:us
FAILED (remote failure)
finished. total time: 0.001s
[$ platform-tools]$ sudo ./fastboot erase userdata
(bootloader) slot-co: not found
(bootloader) slot-suffi: not found
(bootloader) partition-typ: not found
erasing 'userdata'...
(bootloader) Invalid partition name userdataon-typ
FAILED (remote failure)
finished. total time: 0.001s
[$ platform-tools]$ sudo ./fastboot erase userdata
(bootloader) slot-counttyp: not found
(bootloader) slot-su: not found
(bootloader) slot-suffi: not found
(bootloader) partition-typ: not found
erasing 'userdata'...
(bootloader) Invalid partition name userdataon-typ
FAILED (remote failure)
finished. total time: 0.001s
[$ platform-tools]$ sudo ./fastboot erase userdata
(bootloader) slot-counttyp: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-su: not found
erasing 'userdata'...
(bootloader) Invalid partition name userdataon-typ
FAILED (remote failure)
finished. total time: 0.001s
[$ platform-tools]$ sudo ./fastboot erase cache
(bootloader) slot-counttyp: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slo: not found
(bootloader) partition-: not found
erasing 'cache'...
FAILED (remote: unknown command)
finished. total time: 0.000s
Click to expand...
Click to collapse

bump

have you tried to do a recovery with the device manager tool through motorola

no because I'm using linux and these are only available in windows

Related

[Q] Bricked moto g xt1068 won't flash anything from fastboot, help!

Hello, my moto g xt1068 was in a bootloop, I've tried to flash back a stock firmware but it always give me an error like this "(bootloader) | Failed to erase partition (bootloader) Failed to flash partition logo | FAILED (remote failure)" and now it has only the "AP fastboot flash mode", no system and no recovery.
Some more info:
- My bootloader is unlocked;
- I can't boot any recovery using fastboot boot command, I got the error "Incomplete boot image for booting" (cwm,twrp, stock)
- My partitions are "raw" I suspect this is the main problem
- I've tried using windows and osx
- I've tried using fastboot and mfastboot
- I'm not able to use RSD lite, it' doesn't recognize my device
- I've tried a lot of stock firmware, no difference
Please help me, there is anything else to try? Is my phone dead (maybe emmc failure)?
Here is the output of fastboot getvar all:
HTML:
(bootloader) version: 0.5
(bootloader) version-bootloader: 4882(*)
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x5
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Samsung S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D223XTZ
(bootloader) cid: 0x0007
(bootloader) channelid: 0x45
(bootloader) uid: 233A12050F000000000000000000
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "flashfail" configured as fastboot
(bootloader) imei: 353321068993768
(bootloader) meid:
(bootloader) date: 09-13-2014
(bootloader) sku: XT1068
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 24 15:41:58 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retde/titan_umtsds:
(bootloader) ro.build.fingerprint[1]: 5.0.2/LXB22.46-28.1/1:user/release
(bootloader) ro.build.fingerprint[2]: -keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.26.1.titan_retde.
(bootloader) ro.build.version.full[1]: retdeall.en.DE
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-gdd242b0 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Fri Jan 23 13:23:41 CST 2015
(bootloader) sdi.git: git=MBM-NG-V48.82-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.82-0-g7e74e90
(bootloader) rpm.git: git=MBM-NG-V48.82-0-g20516c3-dirty
(bootloader) tz.git: git=MBM-NG-V48.82-0-g72f9f12
(bootloader) aboot.git: git=MBM-NG-V48.82-0-ge004609
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D223XTZ
(bootloader) sutinfo:
(bootloader) ro.carrier: retde
all: listed above
finished. total time: 0.085s
This is technically not an answer....
Which ROM where you using when your phone began boot looping (stock or custom). What you should have done was try a complete factory reset(did this a couple of times to my xt1068 when it was in boot loop). Can i ask the names of the stock firmware you used (the full information about them) and the commands you used. Let me see if i can help you
sagar846 said:
Which ROM where you using when your phone began boot looping (stock or custom). What you should have done was try a complete factory reset(did this a couple of times to my xt1068 when it was in boot loop). Can i ask the names of the stock firmware you used (the full information about them) and the commands you used. Let me see if i can help you
Click to expand...
Click to collapse
Thank you for your answer.
I had a stock firmware 5.02 with stock recovery, can't remember the exact version but i guess it was the "retde" one
I tried to wipe cache and userdata but it won't get out of the boot loop (did you mean this by full factory reset?)
I've tried RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml,Retaildsdsall_XT1068_5.0.2_LXB22.99-16_Easy_Installer, RETAILDSDSALL_EU_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml, RETAILDSDSALL_XT1068_4.4.4_KXB21.85-14_cid7_CFC_SVC.xml, XT1068_4.4.4_DSDS_ALL.23_Easy_Installerand and even RETUGLB_XT1063_5.0.2_LXB22.46-28_cid9_CFC.xml
I tried also some variation on the fastboot commands but mainly like this:
HTML:
mfastboot.exe oem fb_mode_set
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe oem fb_mode_clear
mfastboot.exe reboot
kesy85 said:
Thank you for your answer.
I had a stock firmware 5.02 with stock recovery, can't remember the exact version but i guess it was the "retde" one
I tried to wipe cache and userdata but it won't get out of the boot loop (did you mean this by full factory reset?)
I've tried RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml,Retaildsdsall_XT1068_5.0.2_LXB22.99-16_Easy_Installer, RETAILDSDSALL_EU_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml, RETAILDSDSALL_XT1068_4.4.4_KXB21.85-14_cid7_CFC_SVC.xml, XT1068_4.4.4_DSDS_ALL.23_Easy_Installerand and even RETUGLB_XT1063_5.0.2_LXB22.46-28_cid9_CFC.xml
I tried also some variation on the fastboot commands but mainly like this:
HTML:
mfastboot.exe oem fb_mode_set
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe oem fb_mode_clear
mfastboot.exe reboot
Click to expand...
Click to collapse
when you type the fastboot comand: fastboot devices, what's written on the screen?
dani.galla said:
when you type the fastboot comand: fastboot devices, what's written on the screen?
Click to expand...
Click to collapse
Only the serial number followed by fastboot, but I think it's right, no?
ZX1D223XTZ fastboot
kesy85 said:
Only the serial number followed by fastboot, but I think it's right, no?
ZX1D223XTZ fastboot
Click to expand...
Click to collapse
Yes, right, means that the computer recognizes the phone.
When you flash stock via fastboot, gives you errors?
Have you tried with the easy installer tool? (this: http://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612)
dani.galla said:
Yes, right, means that the computer recognizes the phone.
When you flash stock via fastboot, gives you errors?
Have you tried with the easy installer tool? (this: http://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612)
Click to expand...
Click to collapse
yes to both the questions.
I've tried also using easy installer but it's simply a .bat file containing the same commands I manually use.
And i've got this errors while flashing stock firmware:
HTML:
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.027s]
writing 'partition'...
OKAY [ 0.324s]
finished. total time: 0.351s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.101s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash rpm
FAILED (remote failure)
finished. total time: 100.186s
mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.028s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.988s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.325s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.344s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.334s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.358s
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257619 KB)...
OKAY [ 13.069s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.137s
mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256618 KB)...
OKAY [ 13.045s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.140s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
^[[AOKAY [ 13.159s]
writing 'system'...
^[[A(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.237s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
OKAY [ 13.164s]
writing 'system'...
(bootloader) Failed to validate sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.246s
mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (244081 KB)...
OKAY [ 12.647s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.689s
mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (36088 KB)...
OKAY [ 6.149s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.178s
mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.558s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.584s
mfastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.987s
mfastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.992s
mfastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
mfastboot erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
kesy85 said:
yes to both the questions.
I've tried also using easy installer but it's simply a .bat file containing the same commands I manually use.
And i've got this errors while flashing stock firmware:
HTML:
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.027s]
writing 'partition'...
OKAY [ 0.324s]
finished. total time: 0.351s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.101s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash rpm
FAILED (remote failure)
finished. total time: 100.186s
mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.028s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.988s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.325s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.344s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.334s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.358s
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257619 KB)...
OKAY [ 13.069s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.137s
mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256618 KB)...
OKAY [ 13.045s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.140s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
^[[AOKAY [ 13.159s]
writing 'system'...
^[[A(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.237s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
OKAY [ 13.164s]
writing 'system'...
(bootloader) Failed to validate sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.246s
mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (244081 KB)...
OKAY [ 12.647s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.689s
mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (36088 KB)...
OKAY [ 6.149s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.178s
mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.558s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.584s
mfastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.987s
mfastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.992s
mfastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
mfastboot erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
Click to expand...
Click to collapse
Everything failed, very strange.
Try to update your drivers, and the try to flash again.
If you can, try with an other computer, and an other cable data.
dani.galla said:
Everything failed, very strange.
Try to update your drivers, and the try to flash again.
If you can, try with an other computer, and an other cable data.
Click to expand...
Click to collapse
Already did this, 1 windows 8.1 PC, 1 windows 10 PC, 1 virtual windows 7 pc, 1 mac book osx 10.10, drivers from motorola, multiple data cables, single adb and composite adb no difference
Small update, managed to get rsd lite to work but no difference, flash fails anyway.
and there is the full output of easy installer:
HTML:
FIRMWARE Auto Restore Script by Gary J Wright
MOTO G 2nd GEN Lollipop 5.0.2 FIRMWARE Flashe
Plug in USB CABLE and Put Phone in AP FASTBOO
Premere un tasto per continuare . . .
* server not running *
* daemon not running. starting it now on port
* daemon started successfully *
To cancel Unplug and Close program
Press any key to continue
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 99.122s
FLASHING PARTITIONS.
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 4.992s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition tabl
FAILED (remote failure)
finished. total time: 10.265s
FLASHING BOOT LOADER..
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 5.086s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash tz
FAILED (remote failure)
finished. total time: 10.936s
FLASHING LOGO...
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.023s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.999s
FLASHING BOOT....
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.351s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.374s
FLASHING RECOVERY.....
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.335s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recove
FAILED (remote failure)
finished. total time: 10.374s
FLASHING SYSTEM IMAGE IN MULTIPLE SECTIONS...
target max-sparse-size: 256MB
sending 'system' (257587 KB)...
OKAY [ 13.104s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.174s
target max-sparse-size: 256MB
sending 'system' (256626 KB)...
OKAY [ 13.135s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.268s
target max-sparse-size: 256MB
sending 'system' (257136 KB)...
OKAY [ 13.104s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.190s
target max-sparse-size: 256MB
sending 'system' (230052 KB)...
OKAY [ 12.324s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.378s
target max-sparse-size: 256MB
sending 'system' (44584 KB)...
OKAY [ 6.614s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.435s
FLASHING MODEM.......
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 7.067s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 12.106s
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.000s
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.031s
target max-sparse-size: 256MB
sending 'fsg' (651 KB)...
OKAY [ 5.070s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 10.109s
ERASING CACHE ......
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.031s
ERASING USERDATA.......
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.015s
DONE!.........PRESS ANY KEY TO REBOOT
Please help me :crying:
[/QUOTE]Please help me :crying:[/QUOTE]
Unfortunately this is an issue faced by a few users including myself, there is no solution at the moment and it seems that some people who have returned the phone to Motorola had to pay to have the motherboard replaced. Sorry
same problem here too, please Sir give solution
is there a solution yet? I have the same problem
Please help me :crying:[/QUOTE]
Unfortunately this is an issue faced by a few users including myself, there is no solution at the moment and it seems that some people who have returned the phone to Motorola had to pay to have the motherboard replaced. Sorry[/QUOTE]
Is there any solution for this thing till now?
---------- Post added at 11:34 AM ---------- Previous post was at 11:29 AM ----------
kesy85 said:
Hello, my moto g xt1068 was in a bootloop, I've tried to flash back a stock firmware but it always give me an error like this "(bootloader) | Failed to erase partition (bootloader) Failed to flash partition logo | FAILED (remote failure)" and now it has only the "AP fastboot flash mode", no system and no recovery.
Some more info:
- My bootloader is unlocked;
- I can't boot any recovery using fastboot boot command, I got the error "Incomplete boot image for booting" (cwm,twrp, stock)
- My partitions are "raw" I suspect this is the main problem
- I've tried using windows and osx
- I've tried using fastboot and mfastboot
- I'm not able to use RSD lite, it' doesn't recognize my device
- I've tried a lot of stock firmware, no difference
Please help me, there is anything else to try? Is my phone dead (maybe emmc failure)?
Here is the output of fastboot getvar all:
HTML:
(bootloader) version: 0.5
(bootloader) version-bootloader: 4882(*)
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x5
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Samsung S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D223XTZ
(bootloader) cid: 0x0007
(bootloader) channelid: 0x45
(bootloader) uid: 233A12050F000000000000000000
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "flashfail" configured as fastboot
(bootloader) imei: 353321068993768
(bootloader) meid:
(bootloader) date: 09-13-2014
(bootloader) sku: XT1068
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 24 15:41:58 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retde/titan_umtsds:
(bootloader) ro.build.fingerprint[1]: 5.0.2/LXB22.46-28.1/1:user/release
(bootloader) ro.build.fingerprint[2]: -keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.26.1.titan_retde.
(bootloader) ro.build.version.full[1]: retdeall.en.DE
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-gdd242b0 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Fri Jan 23 13:23:41 CST 2015
(bootloader) sdi.git: git=MBM-NG-V48.82-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.82-0-g7e74e90
(bootloader) rpm.git: git=MBM-NG-V48.82-0-g20516c3-dirty
(bootloader) tz.git: git=MBM-NG-V48.82-0-g72f9f12
(bootloader) aboot.git: git=MBM-NG-V48.82-0-ge004609
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D223XTZ
(bootloader) sutinfo:
(bootloader) ro.carrier: retde
all: listed above
finished. total time: 0.085s
Click to expand...
Click to collapse
Any update on this?
I have the same problem. Anybody solved it?
The first error appears, when flashing bootloader (motoboot.img). Your bootloader might prevent to be flashed or maybe downgraded?
Try flashing fastboot files and skip the motoboot.img step. I would recommend to flash in terminal step by step, don' t use this script. Flash files according to the content of Stock Rom folder.
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
RED files should be in your folder, sometimes there are less system.img_sparsechunk files
Go to terminal or power shell (as admin) and flash step by step
I did everything
mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 99.341s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 104.596s
mfastboot.exe format system
formatting 'system' partition...
Formatting is not supported for filesystem with type 'raw'.
FAILED ()
finished. total time: 0.006s
mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.025s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.983s
mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.327s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.717s
mfastboot.exe flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.343s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.741s
mfastboot.exe flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257587 KB)...
OKAY [ 13.378s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 26.916s
mfastboot.exe flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.694s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.725s
mfastboot.exe erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.991s
mfastboot.exe erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.983s
mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (651 KB)...
OKAY [ 5.044s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 10.063s
mfastboot.exe erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.003s
mfastboot.exe erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.989s
But i get everything FAILED
Mayby i have problem with emmc?
please nothing solution? ita a hardware problem? not software problem?
cmcshm said:
please nothing solution? ita a hardware problem? not software problem?
Click to expand...
Click to collapse
If you connect the device to your PC as what is it shown? If not in Windows explorer in the control panel/device manager?
Sent from my Moto G 2014 using XDA Labs

Help unbrick

I have a problem to upgrade my bike ... x is running fastboot command and is buggy. I've tried several ways and unsuccessful.
I would like a help of friends xda
My bootloader is 60.11've used mfastboot and mfastboot v2
Sorry english >> google translate
following the log
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash logo logo.bin
sending 'logo' (467 KB)...
OKAY [ 0.022s]
writing 'logo'...
Failed to erase partition
Failed to flash partition logo
FAILED (remote failure)
finished. total time: 9.975s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash motoboot motoboot.img
sending 'motoboot' (2022 KB)...
OKAY [ 0.080s]
writing 'motoboot'...
flashing tz ...
Failed to erase partition
Failed to flash tz
FAILED (remote failure)
finished. total time: 5.299s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash gpt gpt.bin
sending 'gpt' (32 KB)...
OKAY [ 0.012s]
writing 'gpt'...
Permission denied
FAILED (remote failure)
finished. total time: 0.015s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash recovery recovery.img
sending 'recovery' (10280 KB)...
OKAY [ 0.346s]
writing 'recovery'...
Failed to erase partition
Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.531s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.0
sending 'system' (256890 KB)...
OKAY [ 8.079s]
writing 'system'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 21.761s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.1
sending 'system' (255797 KB)...
OKAY [ 8.041s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.317s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.2
sending 'system' (256647 KB)...
OKAY [ 8.084s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.473s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.3
sending 'system' (256691 KB)...
OKAY [ 8.076s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.490s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.4
sending 'system' (256038 KB)...
OKAY [ 8.067s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.638s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.5
sending 'system' (257976 KB)...
OKAY [ 8.124s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.392s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.6
sending 'system' (257638 KB)...
OKAY [ 8.111s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.471s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.7
sending 'system' (122768 KB)...
OKAY [ 3.895s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 21.256s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.8
error: cannot load 'system.img_sparsechunk.8'
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash modem NON-HLOS.bin
sending 'modem' (62248 KB)...
OKAY [ 1.998s]
writing 'modem'...
Failed to erase partition
Failed to flash partition modem
FAILED (remote failure)
finished. total time: 7.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase modemst1
erasing 'modemst1'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase modemst2
erasing 'modemst2'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash fsg fsg.mbn
sending 'fsg' (870 KB)...
OKAY [ 0.051s]
writing 'fsg'...
Failed to erase partition
Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 5.078s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase cache
erasing 'cache'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase userdata
erasing 'userdata'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
wesley_vbv said:
I have a problem to upgrade my bike ... x is running fastboot command and is buggy. I've tried several ways and unsuccessful.
I would like a help of friends xda
My bootloader is 60.11've used mfastboot and mfastboot v2
Sorry english >> google translate
following the log
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash logo logo.bin
sending 'logo' (467 KB)...
OKAY [ 0.022s]
writing 'logo'...
Failed to erase partition
Failed to flash partition logo
FAILED (remote failure)
finished. total time: 9.975s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash motoboot motoboot.img
sending 'motoboot' (2022 KB)...
OKAY [ 0.080s]
writing 'motoboot'...
flashing tz ...
Failed to erase partition
Failed to flash tz
FAILED (remote failure)
finished. total time: 5.299s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash gpt gpt.bin
sending 'gpt' (32 KB)...
OKAY [ 0.012s]
writing 'gpt'...
Permission denied
FAILED (remote failure)
finished. total time: 0.015s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash recovery recovery.img
sending 'recovery' (10280 KB)...
OKAY [ 0.346s]
writing 'recovery'...
Failed to erase partition
Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.531s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.0
sending 'system' (256890 KB)...
OKAY [ 8.079s]
writing 'system'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 21.761s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.1
sending 'system' (255797 KB)...
OKAY [ 8.041s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.317s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.2
sending 'system' (256647 KB)...
OKAY [ 8.084s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.473s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.3
sending 'system' (256691 KB)...
OKAY [ 8.076s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.490s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.4
sending 'system' (256038 KB)...
OKAY [ 8.067s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.638s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.5
sending 'system' (257976 KB)...
OKAY [ 8.124s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.392s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.6
sending 'system' (257638 KB)...
OKAY [ 8.111s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 16.471s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.7
sending 'system' (122768 KB)...
OKAY [ 3.895s]
writing 'system'...
Failed to flash sparse image
FAILED (remote failure)
finished. total time: 21.256s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash system system.img_sparsechunk.8
error: cannot load 'system.img_sparsechunk.8'
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash modem NON-HLOS.bin
sending 'modem' (62248 KB)...
OKAY [ 1.998s]
writing 'modem'...
Failed to erase partition
Failed to flash partition modem
FAILED (remote failure)
finished. total time: 7.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase modemst1
erasing 'modemst1'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase modemst2
erasing 'modemst2'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe flash fsg fsg.mbn
sending 'fsg' (870 KB)...
OKAY [ 0.051s]
writing 'fsg'...
Failed to erase partition
Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 5.078s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase cache
erasing 'cache'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
C:\Users\Wesley\Desktop\Firmware 5.0 Brasil\Retail\RETBR_XT1097_5.0_LXE22.46-17
cid12_CFC.xml>fastboot.exe erase userdata
erasing 'userdata'...
Failed to erase partition
FAILED (remote failure)
finished. total time: 5.003s
Click to expand...
Click to collapse
You must unlock the bootloader if you are trying to downgrade.
Sent from my XT1095 using Tapatalk
I'm not doing the downgrade ... it is in M motorola screen and then goes out and does not care
wesley_vbv said:
I'm not doing the downgrade ... it is in M motorola screen and then goes out and does not care
Click to expand...
Click to collapse
The directory is your post says 5.0! That is a downgrade and that is why it fails! You must flash same version if you don't unlock the bootloader.
Sent from my XT1095 using Tapatalk
AGISCI said:
The directory is your post says 5.0! That is a downgrade and that is why it fails! You must flash same version if you don't unlock the bootloader.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
How can I find the version? I bought the unit and it was not lit without charge and now looks like this
60.11 (sha-72b218f 10/26/2014 12:07:20)
I already tried it with 5.0 5.1 6.0
0431154900 fastboot
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.003s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
now 5.1
wesley_vbv said:
0431154900 fastboot
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.003s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
now 5.1
Click to expand...
Click to collapse
fastboot getvar all
This command will tell you everything that is needed to flash the right firmware. It will have the android version, and the correct firmware by carrier.
Sent from my XT1095 using Tapatalk
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Nov 6 13:22:59 UTC 2014"
(bootloader) ro.build.fingerprint[0]: motorola/victara_retbr/victara:5.0
(bootloader) ro.build.fingerprint[1]: /LXE22.46-17/18:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.21.17.victara_ret
(bootloader) ro.build.version.full[1]: br.retbr.en.BR
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband[0]: MSM8974BP_4125.184.08.27.01R VICTARA_S
(bootloader) version-baseband[1]: INGLELA_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-g68bc01f ([email protected]
(bootloader) kernel.version[1]: ilclbld28) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Fri Nov 28 03:03:17 CST 2014
(bootloader) sdi.git: sdi.git
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) aboot.git: git=MBM-NG-V60.11-0-g72b218f
(bootloader) qe: qe 0/0
(bootloader) ro.carrier: retbr
all: listed above
5.0 right? still has errors
I could unlock my bootloader that help with something?
wesley_vbv said:
I could unlock my bootloader that help with something?
Click to expand...
Click to collapse
Well the fingerprint is correct. Yes unlock your bootloader and try again. Unlocking the bootloader erases the phone, backup before doing it.
Sent from my XT1095 using Tapatalk
yet unsuccessfully tested 4.4 5.0 5.1 6.0 continues the same mistakes and same with the unlocked bootloader did not succeed what can I do?
Now it turns more after unlock bootloader screen it appears the driver relink hs-usb qdloader 9008 tried some unbrick this without success he has this driver more I can still access the bootloader and now?
wesley_vbv said:
Now it turns more after unlock bootloader screen it appears the driver relink hs-usb qdloader 9008 tried some unbrick this without success he has this driver more I can still access the bootloader and now?
Click to expand...
Click to collapse
Qdloader 9008 is a hard brick. There is no way to fix that. You would have to send it to motorola.
Sent from my XT1095 using Tapatalk
AGISCI said:
Qdloader 9008 is a hard brick. There is no way to fix that. You would have to send it to motorola.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
This so ... it binds there then off the screen appears the Qdloader 9008 restarts and so on ... I can access the bootloader without problems but when I type fastboot commands happens mistakes. there comes a time that is soon caught in motorola and not out of it. I'll have to send for motorola same?
I can access the bootloader ... more can not access the recovery.
It appears the Motorola logo and the screen goes black when the screen goes black before restarting the device appears in PC drivers with qualcomm driver for me would be a hard brick.
Come on I enter the bootloader and tried the unlock command bootloader..Deu right.
I tried an error downgrade remote failure and says it is not possible to make the downgrade..como if the bootloader was still locked.
I try version 5.0 remote error failue the same mistakes for 5.1 and 6.0
All possible forms already tried .... fastboot..mfastboot v1 and v2.
I type fastboot getvar all command it lists informacoes..porém try to flash the same version and does not accept remains the same error. follows log command
(Bootloader) current-time: "Wed Nov 6 13:16:29 UTC 2014"
(Bootloader) ro.build.fingerprint [0]: motorola / victara_retbr / victara: 5.0
(Bootloader) ro.build.fingerprint [1]: /LXE22.46-17/18:user/release-keys
(Bootloader) ro.build.version.full [0]: Blur_Version.22.21.17.victara_ret
(Bootloader) ro.build.version.full [1]: br.retbr.en.BR
(Bootloader) ro.build.version.qcom [0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(Bootloader) ro.build.version.qcom [1]: .04.04.02.048.045
(Bootloader) version-baseband [0]: MSM8974BP_4125.184.08.27.01R VICTARA_S
(Bootloader) version-baseband [1]: INGLELA_CUST
(Bootloader) kernel.version [0]: Linux version 3.4.42-g68bc01f (hudsoncm @
(Bootloader) kernel.version [1]: ilclbld28) (gcc version 4.8 (GCC)) # 1 S
(Bootloader) kernel.version [2]: MP PREEMPT Fri Nov 28 2014 3:03:17 CT
(Bootloader) sdi.git: git = MBM-NG-V60.11-0-g582b967
(Bootloader) sbl1.git: git = MBM-NG-V60.11-0-g0d2c7a3
(Bootloader) rpm.git: git = MBM-NG-V60.11-0-gc54d917
(Bootloader) tz.git: git = MBM-NG-V60.11-0-g1de0fa8
(Bootloader) aboot.git: git = MBM-NG-V60.11-0-g72b218f...
This with hard brick? or Soft brick?
New friends.
I used the command fastboot oem fb_mode_set
And now managed to flash the device can install any version of android
Commands
fastboot oem fb_mode_set
fastboot flash logo logo.bin
fastboot flash motoboot motoboot.img
fastboot flash partition gpt.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase clogo
fastboot oem config carrier vzw
fastboot oem fb_mode_clear
fastboot reboot
I have a similar problem, I cant flash anything :/

[GUIDE] - Relock Bootloader

Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
after finished flashing the stock firmware from LOS14, when I tried to relock the bootloader is says require a signed boot.img..
I'm using the latest April update firmware..
michael50310 said:
after finished flashing the stock firmware from LOS14, when I tried to relock the bootloader is says require a signed boot.img..
I'm using the latest April update firmware..
Click to expand...
Click to collapse
Same here
h3sh11 said:
Same here
Click to expand...
Click to collapse
Use the new June 1 patch to block the bootloader
rssxda said:
Use the new June 1 patch to block the bootloader
Click to expand...
Click to collapse
Link ?
h3sh11 said:
Link ?
Click to expand...
Click to collapse
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Not work again
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.187s]
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.764s]
finished. total time: 0.967s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (2195 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.140s]
finished. total time: 0.234s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 1.108s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.452s]
finished. total time: 1.576s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.936s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.499s]
finished. total time: 1.435s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.562s]
writing 'dsp'...
OKAY [ 0.328s]
finished. total time: 0.905s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (476493 KB)...
OKAY [ 16.474s]
writing 'oem'...
OKAY [ 6.630s]
finished. total time: 23.135s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (513236 KB)...
OKAY [ 26.161s]
writing 'system'...
OKAY [ 7.722s]
finished. total time: 33.899s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (512334 KB)...
OKAY [ 25.756s]
writing 'system'...
OKAY [ 7.238s]
finished. total time: 32.994s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (522567 KB)...
OKAY [ 26.317s]
writing 'system'...
OKAY [ 8.268s]
finished. total time: 34.601s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (521649 KB)...
OKAY [ 26.224s]
writing 'system'...
OKAY [ 7.535s]
finished. total time: 33.774s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (481967 KB)...
OKAY [ 24.336s]
writing 'system'...
OKAY [ 6.880s]
finished. total time: 31.231s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (455792 KB)...
OKAY [ 22.807s]
writing 'system'...
OKAY [ 6.724s]
finished. total time: 29.546s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (66924 KB)...
OKAY [ 4.337s]
writing 'modem'...
OKAY [ 1.108s]
finished. total time: 5.460s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (3120 KB)...
OKAY [ 0.281s]
writing 'fsg'...
OKAY [ 0.140s]
finished. total time: 0.437s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.218s]
finished. total time: 0.218s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.172s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.187s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 1.841s
h3sh11 said:
Not work again
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.187s]
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.764s]
finished. total time: 0.967s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (2195 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.140s]
finished. total time: 0.234s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 1.108s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.452s]
finished. total time: 1.576s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.936s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.499s]
finished. total time: 1.435s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.562s]
writing 'dsp'...
OKAY [ 0.328s]
finished. total time: 0.905s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (476493 KB)...
OKAY [ 16.474s]
writing 'oem'...
OKAY [ 6.630s]
finished. total time: 23.135s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (513236 KB)...
OKAY [ 26.161s]
writing 'system'...
OKAY [ 7.722s]
finished. total time: 33.899s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (512334 KB)...
OKAY [ 25.756s]
writing 'system'...
OKAY [ 7.238s]
finished. total time: 32.994s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (522567 KB)...
OKAY [ 26.317s]
writing 'system'...
OKAY [ 8.268s]
finished. total time: 34.601s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (521649 KB)...
OKAY [ 26.224s]
writing 'system'...
OKAY [ 7.535s]
finished. total time: 33.774s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (481967 KB)...
OKAY [ 24.336s]
writing 'system'...
OKAY [ 6.880s]
finished. total time: 31.231s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (455792 KB)...
OKAY [ 22.807s]
writing 'system'...
OKAY [ 6.724s]
finished. total time: 29.546s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (66924 KB)...
OKAY [ 4.337s]
writing 'modem'...
OKAY [ 1.108s]
finished. total time: 5.460s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (3120 KB)...
OKAY [ 0.281s]
writing 'fsg'...
OKAY [ 0.140s]
finished. total time: 0.437s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.218s]
finished. total time: 0.218s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.172s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.187s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 1.841s
Click to expand...
Click to collapse
Active OEM unlocing...
And flash now
rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
I tried the latest June patch but still no luck...
keep showing this : (bootloader) Image signed with key bad key while flashing boot.img and recovery.img
And when it comes to command "erase customize" and "erase clogo", it giving me this error:
(bootloader) Permission denied
FAILED (remote failure)
Please help me! Thank you so much for the file!
rssxda said:
Active OEM unlocing...
And flash now
Click to expand...
Click to collapse
{
"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"
}
Didn't Work
michael50310 said:
I tried the latest June patch but still no luck...
keep showing this : (bootloader) Image signed with key bad key while flashing boot.img and recovery.img
And when it comes to command "erase customize" and "erase clogo", it giving me this error:
(bootloader) Permission denied
FAILED (remote failure)
Please help me! Thank you so much for the file!
Click to expand...
Click to collapse
erase customize" and "erase clogo", doesn't work and so they show error message what are commands u have used for locking bootloader
rizwan.mahai said:
Didn't Work
Click to expand...
Click to collapse
use this txt file to relock bootloader it surely works, all the best.
rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
This commands doesn't work to relock bootloader
here are the commands that will relock the bootloader
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 system system.img_sparsechunk.5
fastboot flash boot boot.img
fastboot oem lock
Thanks
Talwar sridhar said:
This commands doesn't work to relock bootloader
here are the commands that will relock the bootloader
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 system system.img_sparsechunk.5
fastboot flash boot boot.img
fastboot oem lock
Thanks
Click to expand...
Click to collapse
YES the command WORKS! finally back to stock..
But one question here, in my fastboot it still shows my software status is modified..
Is there any chance to fix it? I've flash the June patch...
If I already relock the bootloader but remain the software status as modified, will it affect my Google Pay/Play Store Protect?
I just really need Google Pay to work on my phone... thanks to EVERYONE who've helped me!
michael50310 said:
YES the command WORKS! finally back to stock..
But one question here, in my fastboot it still shows my software status is modified..
Is there any chance to fix it? I've flash the June patch...
If I already relock the bootloader but remain the software status as modified, will it affect my Google Pay/Play Store Protect?
I just really need Google Pay to work on my phone... thanks to EVERYONE who've helped me!
Click to expand...
Click to collapse
I got the same problem and I have solved it now
This is how I changed my bootloader status to official
https://forum.xda-developers.com/moto-g5s/help/solution-how-to-status-modified-to-t3753757
Won't this reinstall the whole rom once again ?
Talwar sridhar said:
use this txt file to relock bootloader it surely works, all the best.
Click to expand...
Click to collapse
I flashed the stock rom yesterday but the device bootloader is still unlocked. I thought there's no way to relock the bootloader so I copied my backed up photos and apps from pc to phone and started using the device with unlocked bootloader. So if I use your commands won't this reinstall the whole rom once again ?
Rough
I have tried all of these and my bootloader is still unlocked. I run command fastboot reboot and I still get the annoying ass message from motorola telling me I have a bad id key and that the device is unsafe. Any new help?
rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Does this work on the brazilian Xt1792 model?
Can I flash this upon the latest July patch?
Do I need mfastboot or can it be the standard fastboot executable?
freeZbies said:
Does this work on the brazilian Xt1792 model?
Can I flash this upon the latest July patch?
Do I need mfastboot or can it be the standard fastboot executable?
Click to expand...
Click to collapse
essa é a rom stock brasileira, this is the brazilian stock rom.
sim você pode flashear o patch de julho, yes u can flash the july patch
acho que pode usar o fastboot normal, i think u can just use the standard fastboot
---------- Post added at 04:55 PM ---------- Previous post was at 04:52 PM ----------
rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
this commands doesn't work 4 me.. i use that:
fastboot devices
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot flash logo logo.bin
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 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 boot boot.img
fastboot oem lock
fastboot reboot

Bootloader unlock problem

I want to unlock bootloader and I get error :
Code:
C:\adb>fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.013s]
finished. total time: 0.016s
When I use "getvar all" I get
(bootloader) cid: 0xDEAD

Broken fastboot oem unlocking issus on moto g5 plus Hannah. Please help

Hello all so I unlocked my boot loader and then I think something odd happened BC it's saying its locked buy still seems to be unlocked. Anyway I keep done loading firmware and side loading iywand it simply won't work if any of you can makd full tsrp backup I could use twrp to hopefully rescue devjcs
this is when i attemp the unlock again
PS C:\Users\Jack\Desktop\New folder> fastboot.exe oem unlock X46SMX5XO4VBGBTL6XO4
...
(bootloader) invalid boot state
OKAY [ 0.004s]
finished. total time: 0.006s
PS C:\Users\Jack\Desktop\New folder>
this is what happens when attempting flashingfactory image
PS C:\Users\Jack\Desktop\New folder> fastboot.exe oem unlock X46SMX5XO4VBGBTL6XO4
...
(bootloader) invalid boot state
OKAY [ 0.004s]
finished. total time: 0.006s
PS C:\Users\Jack\Desktop\New folder>
PS C:\Users\Jack\Desktop\New folder> 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 bluetooth BTFM.bin
>> fastboot flash dsp dspso.bin
>> fastboot flash boot boot.img
>> fastboot flash system system.img_sparsechunk.# (do this for each numbered variant normally starting with 0)
>> fastboot flash system_b system_b.img_sparsechunk.# (do this for each numbered variant normally starting with 0)
>> fastboot flash oem oem.img
>> fastboot flash oem_b oem_other.img
>> fastboot flash vendor vendor.img_sparsechunk.# (do this for each numbered variant normally starting with 0)
>> fastboot erase carrier
>> fastboot erase userdata
>> fastboot erase DDR
>> fastboot flash logo logo.bin
>> fastboot reboot
< waiting for device >
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.006s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.073s
target reported max download size of 535822336 bytes
sending 'bootloader' (7483 KB)...
OKAY [ 0.244s]
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.522s]
finished. total time: 0.780s
target reported max download size of 535822336 bytes
sending 'modem' (76610 KB)...
OKAY [ 2.414s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 2.440s
target reported max download size of 535822336 bytes
sending 'fsg' (1984 KB)...
OKAY [ 0.065s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.071s
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.018s
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.017s
error: cannot load 'BTFM.bin'
error: cannot load 'dspso.bin'
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.521s]
writing 'boot'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.545s
do : The term 'do' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:10 char:49
+ fastboot flash system system.img_sparsechunk.# (do this for each numb ...
+ ~~
+ CategoryInfo : ObjectNotFound: (do:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
do : The term 'do' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:11 char:53
+ fastboot flash system_b system_b.img_sparsechunk.# (do this for each ...
+ ~~
+ CategoryInfo : ObjectNotFound: (do:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
target reported max download size of 535822336 bytes
sending 'oem' (150840 KB)...
OKAY [ 4.749s]
writing 'oem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 4.774s
error: cannot load 'oem_other.img'
do : The term 'do' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:14 char:49
+ fastboot flash vendor vendor.img_sparsechunk.# (do this for each numb ...
+ ~~
+ CategoryInfo : ObjectNotFound: (do:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
erasing 'carrier'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.006s
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.022s
erasing 'DDR'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.006s
target reported max download size of 535822336 bytes
sending 'logo' (1423 KB)...
OKAY [ 0.055s]
writing 'logo'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.087s
rebooting...
finished. total time: 0.111s
PS C:\Users\Jack\Desktop\New folder> fastboot oem config
...
(bootloader) <UTAG name="battery" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) Battery detection control
(bootloader) ("test" or "no_eprom")
(bootloader) </description>
(bootloader) </UTAG>
(bootloader) <UTAG name="bootmode" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) To force certain bootmode
(bootloader) (valid values are "fastboot", "factory", "bp-tools", "q
(bootloader) com", and "on-device-diag")
(bootloader) </description>
(bootloader) </UTAG>
(bootloader) <UTAG name="carrier" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) Carrier IDs, see http://goo.gl/lojLh3
(bootloader) </description>
(bootloader) </UTAG>
(bootloader) <UTAG name="factory_kill_timeout" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) Timeout to shutdown in factory if usb is disconnected.
(bootloader) By default, this feature is disabled.
(bootloader) 0 - shutdown immediately
(bootloader) n - shutdown phone in n seconds: 1 ~ 100
(bootloader)
(bootloader) </description>
(bootloader) </UTAG>
(bootloader) <UTAG name="fsg-id" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) FSG IDs, see http://goo.gl/gPmhU
(bootloader) </description>
(bootloader) </UTAG>
(bootloader) <UTAG name="enable_dump_gpt" protected="false">
(bootloader) <value>
(bootloader) </value>
(bootloader) <description>
(bootloader) Indicate if the oem command to dump gpt is enabled (tru
(bootloader) e|false)
(bootloader) </description>
(bootloader) </UTAG>
OKAY [ 0.141s]
finished. total time: 0.144s

Categories

Resources