Phone:MOTO G Turbo Edition (Indian)
I had been using a custom rom for quite sometime but now i want to return stock rom
I downloaded the firmware.
Guide im using is https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
but when i flash gpt.bin it says
Code:
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.366s
can anyone help?
this is my only working device.
https://android.stackexchange.com/q...-2015-due-to-preflash-validation-failed-error
Check this and see if it helps.
Related
I have a bootloader unlocked XT1032 MOTO G on UK EE network. I have been trying to flash stock 4.4.4 (so that I can upgrade to OTA lollipop) but am getting a 'Preflash validation failed error'.
I've tried various things to get it to flash the images but nothing has worked.
Can anyone suggest how I might get this work?
Code:
C:\motog>mfastboot oem lock begin
...
(bootloader) Ready to flash signed images
OKAY [ 1.660s]
finished. total time: 1.660s
C:\motog>mfastboot oem lock begin
...
(bootloader) Ready to flash signed images
OKAY [ 1.646s]
finished. total time: 1.647s
C:\motog>mfastboot flash partition gpt.bin
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.374s
Just skip flashing the gpt.bin and motoboot.img but flash the rest. The phone should still work.
audit13 said:
Just skip flashing the gpt.bin and motoboot.img but flash the rest. The phone should still work.
Click to expand...
Click to collapse
Thanks for the suggestion, however there's others that fail too:
boot.img won't flash
Recovery does flash but I get the broken android with 'No command' message when trying to boot to recovery
System images won't flash
Code:
C:\motog>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.372s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.840s
C:\motog>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.372s]
writing 'recovery'...
OKAY [ 0.966s]
finished. total time: 1.645s
C:\motog>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (259277 KB)...
OKAY [ 8.643s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.082s
It will still boot normally after that. Any ideas?
Crazy question but are you sure you are flashing the correct rom for your phone? Was it on gpe before?
audit13 said:
Crazy question but are you sure you are flashing the correct rom for your phone? Was it on gpe before?
Click to expand...
Click to collapse
I'm pretty sure I am. I did try and convert to GPE using the AIO tool (when trying to resolve the issues) but I've seen nothing to suggest this has actually worked.
The phone has previously been rooted, but isn't currently.
System version is showing as:
210.12.40.falcon_umts.EESL.en.GB
Build number:
KXB21.14-L1.40
Kernel version:
3.4.42-gb89c9dd
[email protected] #1
Fri Jun 20 07:09:11 CDT 2014
Thanks for the help, it's very much appreciated!
@audit13
Update for lollipop in moto G Don´t work, ota Says "Updated"
HELP..
Same problem here preflash validation failed for Logo, GPT and Motoboot
(Downgrade from Lollipop 5.1 (XD1039 RETBR) To Kitkat 4.4.4
BOOOTLOADER is Unlocked.
Unlock The Motorola G (Moto G) Bootloader! doesnt work. Flash doesnt work.
ok This is what I did.
Go Motorola Moto G 3rd Gen. Android 5.0.1, than I download the KingRoot App, to uninstall some bloadware apps. was fine. than few days ago, I updated Motorola to Android 6. Next day I watched some youtube videos and it went to hard reset mode. Since than I can do nothing. Cant unlock the boot loader even with the code from Motorola. Cant flash it just nothing. Im out of ideas. Would like to take a hammer and just smash it. Please someone help me. And I cant turn on the developer mode. take a look on the error which I get, over and over and over again.
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>adb reboot-bootloader
error: device '(null)' not found
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot devices
ZY2225JZ7Z fastboot
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>adb reboot-bootloader
error: device '(null)' not found
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot oem fb_mode_set
...
OKAY [ 0.130s]
finished. total time: 0.140s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash partition gp
t.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.090s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.600s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash bootloader b
ootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.270s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.850s]
finished. total time: 2.130s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash bootloader b
ootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.250s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.890s]
finished. total time: 2.150s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash logo logo.bi
n
target reported max download size of 268435456 bytes
sending 'logo' (917 KB)...
OKAY [ 0.220s]
writing 'logo'...
OKAY [ 0.180s]
finished. total time: 0.410s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash boot boot.im
g
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.680s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.350s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash recovery rec
overy.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.670s]
writing 'recovery'...
OKAY [ 1.410s]
finished. total time: 2.090s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.0
target reported max download size of 268435456 bytes
sending 'system' (261561 KB)...
OKAY [ 8.290s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.970s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.1
target reported max download size of 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.310s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.440s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.2
target reported max download size of 268435456 bytes
sending 'system' (262140 KB)...
OKAY [ 8.310s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.470s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.3
target reported max download size of 268435456 bytes
sending 'system' (240126 KB)...
OKAY [ 7.620s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 7.710s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.4
target reported max download size of 268435456 bytes
sending 'system' (242526 KB)...
OKAY [ 7.700s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 7.820s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.5
target reported max download size of 268435456 bytes
sending 'system' (121656 KB)...
OKAY [ 3.910s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.030s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash modem NON-HL
OS.bin
< waiting for device >
target reported max download size of 268435456 bytes
sending 'modem' (36932 KB)...
OKAY [ 1.170s]
writing 'modem'...
OKAY [ 2.430s]
finished. total time: 3.620s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.060s]
finished. total time: 0.070s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.030s]
finished. total time: 0.030s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash fsg fsg.mbn
target reported max download size of 268435456 bytes
sending 'fsg' (1923 KB)...
OKAY [ 0.250s]
writing 'fsg'...
OKAY [ 0.170s]
finished. total time: 0.420s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase cache
erasing 'cache'...
OKAY [ 0.130s]
finished. total time: 0.140s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot reboot
rebooting...
Please someone help
plz tell me you didnt flash an android 5.0 bootloader.img on a device that has been previously updated to 6.0 .. . If you did then you may have hard bricked it. Try downloading 6.0 firmware
therealduff1 said:
plz tell me you didnt flash an android 5.0 bootloader.img on a device that has been previously updated to 6.0 .. . If you did then you may have hard bricked it. Try downloading 6.0 firmware
Click to expand...
Click to collapse
Thank you for your Info. never thought that it would be so quick here. So yesterday I downloaded android 6, did the flashing again. and it works fine now.
So for all the other Motorola Moto G 3rd generations users.
When you root the phone in Android 5, and you update it with official OTA Android 6, don't root the phone again with some App like KingRoot, as the phone OS might be bricked. Also to flash the Motorola, in that status which I got. You don't need the boot loader unlocking code from Motorola, eather you don't need to activate developer mode. Just download Android 6, and flash it. FASTBOOT DEVICES - code to be sure your phone is recognize it by your PC.
Thanks again to the XDA people and (therealduff1) which help me very quick
OK I HAVE A MOTO G3 , SKU=XT1541 , VER=P2B , BUILD MP.124.107.55 , SYS VERS=24.61.55OSPREY
It is an unlocked euro version with 1gb ram , i.e not locked to any carrier or ever has been.
I was able to unlock the bootloader , I then followed very carefully the instructions on this site to get the image , usb drivers and everthing required.
However once ono entering the commands at the dos window to start flashing a new rom it comes back with an error , I think I have the incorrect image or there is not one on this site.
I am a complete nuubie can anyone help me please.
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.417s
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>
I get this after entering fastboot flash partition gpt.bin
some progress
robin red said:
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.417s
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>
I get this after entering fastboot flash partition gpt.bin
Click to expand...
Click to collapse
ok I managed to get to the part when I load the sparse files 0-5 , it send them all but reports failure on them all every other command on the list executes correctly.
After this it locked for a while a rebooted in version 6 marshmellow.!!!!! well I guess I am learning.
Anyone any ideas , guess I am lucky I did not brick the thing.
here is what I am getting after entering the third command
C:\Users\Robin L\Desktop\roby>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.470s
Hello Guys,
New to forum.
I have a moto g 2nd gen xt1038 which froze and i have to flash stock rom but getting these error.
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 5.003s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.279s
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.939s
FLASHING LOGO...
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.043s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 20.012s
FLASHING BOOT....
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.433s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.837soutu.be/laU6NQ0LxR0
Do u have custom recovery?
Hi There,
I hope someone can advise and possibly provide help resolving this problem.
The Moto G4 XT1622 is not able to boot to OS, It only boots into bootloader, cannot go into recovery and cannot go into Factory Mode etc.
The error i get on the phone is....
"Start Up Failed"
Failed to verify hab image boot
Failed to verify boot image
ERROR: Failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
I have tried to clear fb_mode and tried to unlock the bootloader without success.
I have tried various stock roms to get this fixed. The phone has never been unlocked and not been rooted.
C:\adb>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.319s
C:\adb>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1848 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.172s
C:\adb>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.687s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.891s
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.664s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.883s
C:\adb>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (257278 KB)...
OKAY [ 9.982s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.097s
C:\adb>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (258607 KB)...
OKAY [ 10.125s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.157s
C:\adb>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (258384 KB)...
OKAY [ 10.076s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.107s
C:\adb>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (252313 KB)...
OKAY [ 9.973s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.004s
C:\adb>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (254404 KB)...
OKAY [ 10.017s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.064s
C:\adb>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (258060 KB)...
OKAY [ 10.114s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.161s
C:\adb>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76857 KB)...
OKAY [ 3.038s]
writing 'modem'...
OKAY [ 2.036s]
finished. total time: 5.075s
C:\adb>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.062s]
finished. total time: 0.062s
C:\adb>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (1864 KB)...
OKAY [ 0.100s]
writing 'fsg'...
OKAY [ 0.109s]
finished. total time: 0.210s
C:\adb>fastboot erase cache
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.031s
C:\adb>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.078s]
finished. total time: 0.078s
C:\adb>fastboot erase customize
erasing 'customize'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\adb>fastboot erase clogo
erasing 'clogo'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot oem fb_mode_clear
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.016s
Click to expand...
Click to collapse
Phatzy said:
Hi There,
I hope someone can advise and possibly provide help resolving this problem.
The Moto G4 XT1622 is not able to boot to OS, It only boots into bootloader, cannot go into recovery and cannot go into Factory Mode etc.
The error i get on the phone is....
"Start Up Failed"
Failed to verify hab image boot
Failed to verify boot image
ERROR: Failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
I have tried to clear fb_mode and tried to unlock the bootloader without success.
I have tried various stock roms to get this fixed. The phone has never been unlocked and not been rooted.
Click to expand...
Click to collapse
It looks to me like you're trying to flash a firmware that is a downgrade from what was already on the device. It's probably blocking you because it won't allow a downgrade. Flash the version that the device already had on it or flash a newer version.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
I throught that would be the case but i have tried the 4 roms available for this device and even the 7.0 OTA rom but nothing if able to flash. I cannot even unlock the bootloader.
Thanks
Phatzy said:
I throught that would be the case but i have tried the 4 roms available for this device and even the 7.0 OTA rom but nothing if able to flash. I cannot even unlock the bootloader.
Thanks
Click to expand...
Click to collapse
You may have to faatboot flash the individual .img(boot, system, cache, recovery, etc..) files by themselves.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Yeah I tried that too. I just get the same errors as this.....
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
Click to expand...
Click to collapse
Phatzy said:
Yeah I tried that too. I just get the same errors as this.....
Click to expand...
Click to collapse
Do you have USB debugging enabled?
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Hi,
I dont think so as I cannot check due to the phone not able to get pass bootloader. I tried to use the fb_mode command but still goes back to bootloader saying filed to start.
Thanks..
Droidriven said:
Do you have USB debugging enabled?
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse