Can't flash stock ROM - G 2014 Q&A, Help & Troubleshooting

Hello guys, so yesterday I got into a bootloop on my Moto G 2014... Then I tried to flash the stock ROM to solve the problem, but every time I execute the command line:
mfastboot.exe flash partition got.bin
I got a message saying:
C:\Users\Magda\Desktop\JV>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.062s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.375s
Does anybody know how to fix it? I've been searching for a solution but I couldn't find...
If anybody could help me I will be very thankful...

Nynsu said:
fastboot flash partition gpt.bin
Click to expand...
Click to collapse
If you already updated the ROM, there are two images that can't be downgraded. The first is gpt.bin and the second is motoboot.img
Just ignore these two and continue flashing.

Thanks
doppelhelix said:
If you already updated the ROM, there are two images that can't be downgraded. The first is gpt.bin and the second is motoboot.img
Just ignore these two and continue flashing.
Click to expand...
Click to collapse
Thanks, Thanks! I just ignored these two and it worked. I never thought it would be that simple lol . Thanks,mate

Related

Will I be forever stuck at 4.2.2 if I cant flash recovery?

I have tried everything I have read on here and I cant seem to flash recovery. I used pwnmymoto to gain root when I first received my moto x. When the camera update came I thought I unrooted and flashed back to stock becasue I was able to get the OTA. Yesterday I could not install the OTA 4.4 because it gave me a error sign. I tried to flash recovery using fastboot but everytime now matter what I do this shows up:
colins-air:Android Tools colinj22$ ./fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.798s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.848s
colins-air:Android Tools colinj22$
Can someone please help me. I am fairly new to fastboot and I am on a Mac and I have read everything in these threads and nothing seems to help. Can I erase everything and somehow start from scratch?
Thank you all!
colinj22 said:
I have tried everything I have read on here and I cant seem to flash recovery. I used pwnmymoto to gain root when I first received my moto x. When the camera update came I thought I unrooted and flashed back to stock becasue I was able to get the OTA. Yesterday I could not install the OTA 4.4 because it gave me a error sign. I tried to flash recovery using fastboot but everytime now matter what I do this shows up:
colins-air:Android Tools colinj22$ ./fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.798s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.848s
colins-air:Android Tools colinj22$
Can someone please help me. I am fairly new to fastboot and I am on a Mac and I have read everything in these threads and nothing seems to help. Can I erase everything and somehow start from scratch?
Thank you all!
Click to expand...
Click to collapse
try using a different fastboot besides the one you are using. also make sure you are trying to flash the right FW version. you can't downgrade FW so it needs to be the FW version that is currently on the device.
try the second link in the OP of this thread for a different fastboot
http://forum.xda-developers.com/showthread.php?t=2489249
Flashing recovery requires a unlocked boot loader, you're obviously on Verizon and unless you have a DE moto you can't flash recovery due to your boot loader being locked
Sent on my Moto X
Incorrect^
Sent from my XT1060 using Tapatalk

Need help ASAP! (fastboot preflash validation failed)

EDIT 3: Okay, just flashed a new kernel and the WiFi is working now. Must have been the stock kernel for some reason.
So all problems solved now
EDIT 2: Succesfully flashed the ROM, but unable to connect to Wifi. When I press the on button, it switches on for a second and then switches off again. Any idea guys why?
I've been trying to flash the stock ROM, but can't because as soon as I begin with the first step i.e fastboot flash partition gpt.bin, the following error is displayed- fastboot preflash validation failed.
Now I've been reading up on the forums here and a some have said that this error occurs when someone tries to downgrade. But I'm on the latest build and I don't know why this is happening?
Just so everyone knows, I'm unlocked and rooted.
Please, I need help since the ROM I'm on, which by itself is stock, is pretty much not working.
EDIT: The full message on fastboot is as follows
PHP:
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.036s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.397s
And on the bootloader
PHP:
version downgraded for primary_gpt
mahendru1992 said:
I've been trying to flash the stock ROM, but can't because as soon as I begin with the first step i.e fastboot flash partition gpt.bin, the following error is displayed- fastboot preflash validation failed.
Now I've been reading up on the forums here and a some have said that this error occurs when someone tries to downgrade. But I'm on the latest build and I don't know why this is happening?
Just so everyone knows, I'm unlocked and rooted.
Please, I need help since the ROM I'm on, which by itself is stock, is pretty much not working.
EDIT: The full message on fastboot is as follows
PHP:
target reported max download size of 536870912 bytessending 'partition' (32 KB)...OKAY [ 0.036s]writing 'partition'...(bootloader) Preflash validation failedFAILED (remote failure)finished. total time: 0.397s
And on the bootloader
PHP:
version downgraded for primary_gpt
Click to expand...
Click to collapse
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
doppelhelix said:
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
Click to expand...
Click to collapse
Okay, thanks man, I successfully flashed the ROM. But now I have another problem. I'm not able to switch on my Wifi. When press the on button, it switches on for a micro sec and then switches off. Any idea why?
Don't know. Maybe a reboot. After that I would wipe dalvic, cache and data?
doppelhelix said:
Don't know. Maybe a reboot. After that I would wipe dalvic, cache and data?
Click to expand...
Click to collapse
I did better, a factory reset. Nada.
Would flashing a different kernel help?
Did you do a
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
This is a wififix for the kernel
doppelhelix said:
Did you do a
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
This is a wififix for the kernel
Click to expand...
Click to collapse
Oh I didn't know that this was a wifi fix, but yes I did perform the above steps as well.
But anyhow, I flashed a new kernel and it did solve the problem.
Thanks
doppelhelix said:
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
Click to expand...
Click to collapse
Thanks 4 Your Help i been stuck whit that errors all night and now i have back on 4.4.4.
C:\Users\Raghavendra\Documents\RETAIL-BR-DS_4.4.4_KXB21.14-L1.40_38_cid12_CFC_1F
F_SVC.xml>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.133s]
writing 'motoboot'...
(bootloader) Motoboot: Unknown partition name
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.192s
pl help me i have the same problem..... but idk how to fix it...... plz help me asap... i have just unbricked my phone and tried to flash the brazillian 4.4.4....... i was already on this firmware before but when i tried to update to brazilian ota 5.0 my phone was bricked... now i have successfully unbricked it but i cant flash it to any rom cause of this problem...... if it the files prob?? should i get another rom?? pl help asap:crying::crying::crying::crying::crying::crying:
Raghavendra2k14 said:
C:\Users\Raghavendra\Documents\RETAIL-BR-DS_4.4.4_KXB21.14-L1.40_38_cid12_CFC_1F
F_SVC.xml>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.133s]
writing 'motoboot'...
(bootloader) Motoboot: Unknown partition name
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.192s
Click to expand...
Click to collapse
As you pointed out here: http://forum.xda-developers.com/showpost.php?p=57483947&postcount=115, your bootloader is locked. Please don't double-post. Forum Rules
pl help
doppelhelix said:
As you pointed out here: http://forum.xda-developers.com/showpost.php?p=57483947&postcount=115, your bootloader is locked. Please don't double-post. Forum Rules
Click to expand...
Click to collapse
when i try unlocking bootloader again it gives me me a error
C:\Users\Raghavendra\Desktop\platform-tools>fastboot oem get_unlock_data
...
(bootloader) Could not get unlock data!
OKAY [ 0.016s]
finished. total time: 0.016s
even if i put my old code it doesnt work... pl help..... but in this forum it tells us to flash the two files gpt.bin and motoboot.img but when i try to flash these they give me preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
my bootloader is locked because it got hard bricked and i recently unbricked it.... the next step was to flash these two files but i get this preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
pl help me
Raghavendra2k14 said:
when i try unlocking bootloader again it gives me me a error
C:\Users\Raghavendra\Desktop\platform-tools>fastboot oem get_unlock_data
...
(bootloader) Could not get unlock data!
OKAY [ 0.016s]
finished. total time: 0.016s
even if i put my old code it doesnt work... pl help..... but in this forum it tells us to flash the two files gpt.bin and motoboot.img but when i try to flash these they give me preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
my bootloader is locked because it got hard bricked and i recently unbricked it.... the next step was to flash these two files but i get this preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
pl help me
Click to expand...
Click to collapse
Didn't you read anything of the previous posts?
If you've unlocked your bootloader, and getting these errors, you can safely ignore them. Just carry on flashing the other files.
Carried on
I did carried on with the fastboot steps but I get this "UTAG "flashfail" is configured as fastboot" and I'm still stuck in Bootloader.
How do I change the Kernel?
Oh yeah, I updated to Lollipop about 20 days ago, worked fine until a few days back and suddenly I get these strange errors. What could be the cause though?

[Q] Some fastboot commands not working when downgrading

I have a UK XT1068 and have upgraded to Lollipop.
I've been trying to go back to stock so I can catch the stock OTA upgrade but the first two commands in the list don't seem to be working right i.e.
mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.109s]
writing 'partition'...
(bootloader) Preflash validation faile
FAILED (remote failure)
finished. total time: 0.422s
mfastboot.exe flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.172s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.469s
I'm using the stock ROM - RETGBALL_XT1068_4.4.4_KXB21.85-23_cid7_CFC.xml.
The rest of the commands do seem to work OK and the ROM seems to flash but I'm not sure everything is OK.
Also, I can't relock the boot loader, I get the following error:
mfastboot.exe oem lock
...
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
OKAY [ 0.013s]
finished. total time: 0.014s
mfastboot.exe oem lock begin
...
(bootloader) Ready to flash signed images
OKAY [ 0.043s]
finished. total time: 0.044s
mfastboot.exe oem lock
...
(bootloader) sst lock failure!
OKAY [ 0.011s]
finished. total time: 0.012s
Any assistance would be greatly appreciated
Don't worry about it. Carry on with the rest of the commands. This is a pretty common error that has no effect.
Oh and you don't need to relock your bootloader to get an OTA.
mahendru1992 said:
Don't worry about it. Carry on with the rest of the commands. This is a pretty common error that has no effect.
Oh and you don't need to relock your bootloader to get an OTA.
Click to expand...
Click to collapse
Thanks for the info.
What does stop an OTA? I thought it was the unlocked bootloader?
podge3 said:
Thanks for the info.
What does stop an OTA? I thought it was the unlocked bootloader?
Click to expand...
Click to collapse
Anything not stock, for instance, a custom recovery or kernel.
If you've modified your system files, or disabled or uninstalled system apps, even that can prevent you from receiving an update.
mahendru1992 said:
Anything not stock, for instance, a custom recovery or kernel.
If you've modified your system files, or disabled or uninstalled system apps, even that can prevent you from receiving an update.
Click to expand...
Click to collapse
OK, thanks again.

Help with unbricking

Hi,
My friend's Moto G 2nd Gen (XT1068) stopped working all of a sudden couple of days back. When she tried to boot it, it went to bootloader screen (AP Fastboot Flash Mode) and none of the options work in the menu there. The phone had locked bootloader with stock firmware, so no customizations there. I thought may be something got corrupt in the firmware so I tried flashing stock firmware today, followed the instructions from 2 different posts -
1) https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-t3018682
2) https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612
However, both of them gave me errors like below for all steps:
Code:
>fastboot devices
ZX1D63BLC6 fastboot
>mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 5.007s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.277s
Irrespective of what and how I try, I get failed error every time. Can someone please help me here?
Thanks.
https://youtu.be/hDSpYALP_80 try this
If it doesn't work unlock bootloader https://youtu.be/isVFgZmfirg
---------- Post added at 05:13 AM ---------- Previous post was at 05:06 AM ----------
What is the status code ??
Just unlock bootloader, and try restarting to system
crypticlight said:
Hi,
My friend's Moto G 2nd Gen (XT1068) stopped working all of a sudden couple of days back. When she tried to boot it, it went to bootloader screen (AP Fastboot Flash Mode) and none of the options work in the menu there. The phone had locked bootloader with stock firmware, so no customizations there. I thought may be something got corrupt in the firmware so I tried flashing stock firmware today, followed the instructions from 2 different posts -
1) https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-t3018682
2) https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612
However, both of them gave me errors like below for all steps:
Code:
>fastboot devices
ZX1D63BLC6 fastboot
>mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 5.007s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.277s
Irrespective of what and how I try, I get failed error every time. Can someone please help me here?
Thanks.
Click to expand...
Click to collapse
Hey bro i had a similar error when trying to relock my phone after trying some customs roms.
I think it's same problem, it's the firmware version.
Recently Moto G 2014 had an update and if you use old firmware you had these errors, i suggest not to continue.
Some days ago new firmware has been published here: http://www.filefactory.com/folder/c6cdedc45a775d27/
XT1068_TITAN_RETAILDSDS_6.0_MPB24.65-34-3_cid7_CFC.xml.zip
http://www.filefactory.com/file/3lc...RETAILDSDS_6.0_MPB24.65-34-3_cid7_CFC.xml.zip
If you look, firmware is 24.65-34-3 and it's that "-3" that makes the difference!
Try to reflash with this firmware.

Firmware request XT1900-1-PAYTON-AMZ_OPWS27.57-25-6-3-6/7

Hi all...I am looking for this amazon firmware for the xt1900-1. I have a corrupted phone and the bootloader can not be unlocked, my only choice afaik is to fastboot with the identical or newer firmware, and I have been unable to find either. Thanks in advance!
Bigbird521 said:
Hi all...I am looking for this amazon firmware for the xt1900-1. I have a corrupted phone and the bootloader can not be unlocked, my only choice afaik is to fastboot with the identical or newer firmware, and I have been unable to find either. Thanks in advance!
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmware/moto/payton/official/AMZ/
Here's my error:
fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (22253 KB)...
OKAY [ 0.484s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.956s

Categories

Resources