Failed to validate system image - G 2014 Q&A, Help & Troubleshooting

Dear friend of mine had a problem with his Moto G2 XT1068 and I'm trying to help him. I'm stuck on this screen and i don't know what to do:
AP Fastboot Flash Mode (S)
...
Battery OK
Devis is UNLOCKED. Status Code: 3
Connect USB Data Cable
...
failet to validate system image
Fastboot Reason: Fall-through from not charger-boot mode..
I was tried to flash msfastboot type it's showing errors as below:. I was tried 5.0.2 & 6.0 vesrion same error.
Kindly help me
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>fastboot devices
ZX1D63B672 fastboot
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash r
ecovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.319s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.338s
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash b
oot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.329s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.345s
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash s
ystem system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256626 KB)...
OKAY [ 13.055s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.118s
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash s
ystem system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256626 KB)...
OKAY [ 13.054s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.179s
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash s
ystem system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (257136 KB)...
OKAY [ 13.088s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.135s
E:\MOTO-G2\RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml>mfastboot flash f
sg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (651 KB)...
OKAY [ 5.039s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 10.057s

Related

[Q] Need help downgrading from lollipop back to kitkat

hi guys i have installed lollipop on my retgb xt1092 and am not 100% happy with it and am trying to put it back to 4.4.4 im having trouble as the flash is failing can someone help
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.087s
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2022 KB)...
OKAY [ 0.078s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.141s
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (487 KB)...
OKAY [ 0.020s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.098s
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.344s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.568s
C:\Users\Nathan_2\Desktop\mfastboot-v2>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.354s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.573s
C:\Users\Nathan_2\Desktop\mfastboot-v2>
Is your bootloader locked or unlocked?
Sent from my XT1095 using Tapatalk
hi
my bootloader is locked... i originally was on retgball firmware for the phone and i converted to reteuall 4.4.4 and the flashed lollipop ota which went thru fine... i now want to just put it back to reteuall as i have seen there is no firware for retgb
thanks
anyone?
anyone?

Please Help ! - Moto G 2nd Gen XT 1072 Can't flash back to STOCK!

I usually don't call for help but i've been here all day trying to solve this but i wan't able to.
I was trying to help a friend who bricked his XT1063 by flashing stock firmware to his phone, and between flashes, i ended up flashing my own phone (XT1072) by mistake with XT1063 firmware. The phone worked barely, i couldn't even pass the wifi connection screen. After that i tried flashing my phone back to XT1072 firmware but with no lock, i just keep getting (bootloader) Preflash validation failed. Strangely, i don't get these errors if i flash XT1063 firmware again.
I already unlocked my bootloader and managed to install TWRP recovery, tried CyanogenMod 13 but no signal/sim card.
I've trying flashing several ROMs i got from here:
firmware . center/firmware/Motorola/Moto%20G%20%282nd%20gen-2014%29/Stock/XT1072/
But with no luck.
Here is the log when trying to flash XT1072 firmware:
adb reboot bootloader
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 reboot
Restore to Original Stock Motorola Firmware for Motorola
Moto G 2014 Titan(XT1068) Provided with lock Bootloader
Please Do press Thanks Button If u really liked My Work @bhu999
error: device not found
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.030s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.302s
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.111s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.141s]
finished. total time: 1.252s
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 0.084s]
writing 'logo'...
OKAY [ 0.318s]
finished. total time: 0.403s
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.387s]
writing 'boot'...
OKAY [ 0.554s]
finished. total time: 0.943s
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.388s]
writing 'recovery'...
OKAY [ 0.356s]
finished. total time: 0.746s
target max-sparse-size: 256MB
sending 'system' (256869 KB)...
OKAY [ 8.078s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.187s
target max-sparse-size: 256MB
sending 'system' (257186 KB)...
OKAY [ 8.091s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.194s
target max-sparse-size: 256MB
sending 'system' (258517 KB)...
OKAY [ 8.130s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.233s
target max-sparse-size: 256MB
sending 'system' (261373 KB)...
OKAY [ 8.218s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.358s
target max-sparse-size: 256MB
sending 'system' (67668 KB)...
OKAY [ 2.167s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.218s
target max-sparse-size: 256MB
sending 'modem' (60992 KB)...
OKAY [ 1.958s]
writing 'modem'...
OKAY [ 1.569s]
finished. total time: 3.528s
erasing 'modemst1'...
OKAY [ 0.021s]
finished. total time: 0.021s
erasing 'modemst2'...
OKAY [ 0.044s]
finished. total time: 0.045s
target max-sparse-size: 256MB
sending 'fsg' (320 KB)...
OKAY [ 0.101s]
writing 'fsg'...
OKAY [ 0.085s]
finished. total time: 0.187s
erasing 'cache'...
OKAY [ 0.356s]
finished. total time: 0.357s
erasing 'userdata'...
OKAY [ 2.493s]
finished. total time: 2.494s
rebooting...
finished. total time: 0.002s
Press any key to Exit
Press any key to continue . . .
Help would be greatly appreciated.
Thank you!

Error flashing 6.0 rom. (bootloader) invalid signed image - preflash verification

Hi! I have a Moto G XT1072 and my stock rom (6.0 August security patch) was buggy so I decided to reinstal the stock firmware. But during the process, some lines have bootloader error. Like this:
Flasheando gpt...
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.328s
Flasheando boot.img (kernel)...
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.391s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.828s
Flasheando recovery...
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.406s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.844s
Flasheando system (sparsechunk.0)...
target max-sparse-size: 256MB
sending 'system' (256869 KB)...
OKAY [ 8.079s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.470s
Flasheando system (sparsechunk.1)...
target max-sparse-size: 256MB
sending 'system' (257186 KB)...
OKAY [ 8.095s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.173s
Flasheando system (sparsechunk.2)...
target max-sparse-size: 256MB
sending 'system' (258793 KB)...
OKAY [ 8.141s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.204s
Flasheando system (sparsechunk.3)...
target max-sparse-size: 256MB
sending 'system' (260733 KB)...
OKAY [ 8.204s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.313s
Flasheando system (sparsechunk.4)...
target max-sparse-size: 256MB
sending 'system' (68300 KB)...
OKAY [ 2.217s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.287s
Click to expand...
Click to collapse
I have locked bootloader and no root. I was searching in XDA and Google and found that this error appears when you try to flash and invalid firmware or trying to do a downgrade (not my case). I tried two differents firmwares (EU Release and LATAM Release) but I have the same problem. So what's happening and how to fix it? Thanks and sorry for my bad english!
Factory Firmware Images are not designed for casual flashing. They are intended for flashing once, and as an upgrade. This is why you can get a 'Preflash validation' error when downgrading, and even when flashing a system version already on the phone.

Bricked XT1072 Moto G2 LTE

Hi, I bricked my XT1072 (Thea) while I want to put lieneage OS on it.
Tried to restore with a wrong rom, should be for xt1068.
What ever it do not work now.
It just shows "warning bootloader onlocked" until the battery is empty.
I made a hard reset, but after that I only have lost TWRP.
I tried different stock roms but nothing works.
Looks like that:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\abd\mfastboot-v2(1)>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.046s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.332s
C:\abd\mfastboot-v2(1)>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.126s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.386s
C:\abd\mfastboot-v2(1)>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 0.088s]
writing 'logo'...
OKAY [ 0.105s]
finished. total time: 0.196s
C:\abd\mfastboot-v2(1)>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.433s]
writing 'boot'...
OKAY [ 0.379s]
finished. total time: 0.815s
C:\abd\mfastboot-v2(1)>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.450s]
writing 'recovery'...
OKAY [ 0.411s]
finished. total time: 0.863s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (261758 KB)...
OKAY [ 9.571s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.685s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (253000 KB)...
OKAY [ 9.201s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.223s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (255972 KB)...
OKAY [ 9.235s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.363s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (256969 KB)...
OKAY [ 9.383s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.424s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (259819 KB)...
OKAY [ 9.446s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.541s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.5
target max-sparse-size: 256MB
sending 'system' (74868 KB)...
OKAY [ 2.780s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.878s
C:\abd\mfastboot-v2(1)>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (59916 KB)...
OKAY [ 2.200s]
writing 'modem'...
OKAY [ 2.039s]
finished. total time: 4.242s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\abd\mfastboot-v2(1)>
C:\abd\mfastboot-v2(1)>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.023s]
finished. total time: 0.023s
C:\abd\mfastboot-v2(1)>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (319 KB)...
OKAY [ 0.104s]
writing 'fsg'...
OKAY [ 0.072s]
finished. total time: 0.177s
C:\abd\mfastboot-v2(1)>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.148s]
finished. total time: 0.149s
C:\abd\mfastboot-v2(1)>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.445s]
finished. total time: 0.446s
C:\abd\mfastboot-v2(1)>mfastboot reboot
rebooting...
finished. total time: 0.001s
Ok guys, maybe I´m just to dumb and somebody will be able to help me.
Kind regards Marc
PS. Wipe with twrp was not possible.
https://forum.xda-developers.com/moto-g-lte/general/stock-6-0-marshmallow-europe-reteu-t3338075
Next try does not work:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\abd\mfastboot-v2(1)>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.042s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.329s
C:\abd\mfastboot-v2(1)>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.113s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.057s]
finished. total time: 1.174s
C:\abd\mfastboot-v2(1)>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 0.067s]
writing 'logo'...
OKAY [ 0.085s]
finished. total time: 0.154s
C:\abd\mfastboot-v2(1)>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.434s]
writing 'boot'...
OKAY [ 0.393s]
finished. total time: 0.829s
C:\abd\mfastboot-v2(1)>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.439s]
writing 'recovery'...
OKAY [ 0.386s]
finished. total time: 0.828s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (256869 KB)...
OKAY [ 9.667s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.738s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (257163 KB)...
OKAY [ 9.658s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.727s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (261045 KB)...
OKAY [ 9.868s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.899s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (248543 KB)...
OKAY [ 9.392s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.506s
C:\abd\mfastboot-v2(1)>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (83796 KB)...
OKAY [ 3.203s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.277s
C:\abd\mfastboot-v2(1)>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (60992 KB)...
OKAY [ 2.291s]
writing 'modem'...
OKAY [ 2.061s]
finished. total time: 4.354s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\abd\mfastboot-v2(1)>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.022s]
finished. total time: 0.023s
C:\abd\mfastboot-v2(1)>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (320 KB)...
OKAY [ 0.101s]
writing 'fsg'...
OKAY [ 0.067s]
finished. total time: 0.170s
C:\abd\mfastboot-v2(1)>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.124s]
finished. total time: 0.126s
C:\abd\mfastboot-v2(1)>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.448s]
finished. total time: 0.450s
C:\abd\mfastboot-v2(1)>mfastboot reboot
rebooting...
finished. total time: 0.002s
Hi, wipe with twrp was succesfull. Tried to flash linage with twrp got error. meta-inf/com/google/android/update-binary not found in zip
Can anybody help? Not sure what I can do... Kind regards Marc

Product variant ali 000000000000000 and imei 000000000000000 too

Hi I think I screwed somthing up when I was trying to restore the stock firmware of mt phone, now I can't do anything with fastboot I always got an error whatever command I try.
I.e:
-mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (22528 KB)...
OKAY [ 0.536s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.558s
-fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.004s
fastboot flash system system.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (259637 KB)...
OKAY [ 6.249s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.253s
and the list goes like this...
another thing is that my device doesn't show on "adb devices" this worked two days ago and now isn't working.
And I think the most important thing is that when I go to barcodes the imei and sku are all "0" and in the fastboot on "product/variant" where it shows the model number in this case was xt1925-1 shows all 0 too...
The phone can't boot on android it only boots on "AP Fastboot Flash Mode (Secure)
the ERROR that shows is "no bootimage found. Skip to fastboot"
the phone wasn't unlocked and oem is locked too.
there is any way to solve this?
Please help me to resurrect my phone.
It seems that there's s.th. wrong with the partition table. Beside your problem you always start flashing a FW by executing the following first fastboot command and you must keep this order:
Code:
#!/system/bin/sh
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
By flashing gpt.bin you create your partition layout and this should fix your problem.
fastboot oem fb_mode_set doesn't work either
oh thanks for giving me some hope
But fastboot oem fb_mode_set doesn't work either, i'm working and I don't remember the error. I will update the reply when I can try it again.
I think there's some problem in the connection. I installed the motorola drivers and the device manager and the adb devices returns nothing. Maybe the reason for this it's the faulty partition?
edit** this is what I get when use fb mode set
E:\Moto g6 quirofano\ADB>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.032s
the commands I wrote on the Original post are an example I didn't enter them in that order.
I will put an step by step with the errors it gives me (I took the commands and the order from the xml that came with the firmware I downloaded):
fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.003s
fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.001s
fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.075s
fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.244s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.353s
fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (62672 KB)...
OKAY [ 1.527s]
writing 'modem'...
(bootloader) Invalid partition name modem
FAILED (remote failure)
finished. total time: 1.536s
fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (7972 KB)...
OKAY [ 0.223s]
writing 'fsg'...
(bootloader) Invalid partition name fsg
FAILED (remote failure)
finished. total time: 0.230s
fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.033s
fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.037s
fastboot flash dsp adspso.bin
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.422s]
writing 'dsp'...
(bootloader) Invalid partition name dsp
FAILED (remote failure)
finished. total time: 0.447s
fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2182 KB)...
OKAY [ 0.069s]
writing 'logo'...
(bootloader) Invalid partition name logo
FAILED (remote failure)
finished. total time: 0.092s
fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (22528 KB)...
OKAY [ 0.612s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.635s
fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
sending 'recovery' (22628 KB)...
OKAY [ 0.603s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.631s
fastboot flash system system.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (259637 KB)...
OKAY [ 6.313s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.335s
fastboot flash system system.img_sparsechunk.1
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 6.464s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.486s
fastboot flash system system.img_sparsechunk.2
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.027s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.048s
fastboot flash system system.img_sparsechunk.3
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [ 6.444s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.463s
fastboot flash system system.img_sparsechunk.4
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 6.419s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.442s
fastboot flash system system.img_sparsechunk.5
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [ 6.468s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.477s
fastboot flash system system.img_sparsechunk.6
target reported max download size of 534773760 bytes
sending 'system' (261193 KB)...
OKAY [ 6.411s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.433s
fastboot flash system system.img_sparsechunk.7
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.454s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.461s
fastboot flash system system.img_sparsechunk.8
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.446s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 6.478s
fastboot flash system system.img_sparsechunk.9
target reported max download size of 534773760 bytes
sending 'system' (187636 KB)...
OKAY [ 4.657s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 4.679s
fastboot flash vendor vendor.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'vendor' (253727 KB)...
OKAY [ 6.229s]
writing 'vendor'...
(bootloader) Invalid partition name vendor
FAILED (remote failure)
finished. total time: 6.269s
fastboot flash vendor vendor.img_sparsechunk.1
target reported max download size of 534773760 bytes
sending 'vendor' (196061 KB)...
OKAY [ 4.847s]
writing 'vendor'...
(bootloader) Invalid partition name vendor
FAILED (remote failure)
finished. total time: 4.868s
fastboot flash oem oem.img
target reported max download size of 534773760 bytes
sending 'oem' (153177 KB)...
OKAY [ 3.787s]
writing 'oem'...
(bootloader) Invalid partition name oem
FAILED (remote failure)
finished. total time: 3.797s
fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.033s
fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.036s
fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.018s
fastboot reboot
rebooting...
finished. total time: 0.017s
Click to expand...
Click to collapse
I'm thinking there might be a hardware problem now... it started to fail without any reason I never tried to flash or root or anything one day worked and the other doesn't

Categories

Resources