I have a Moto G 2014 LTE XT1079 ASIAN Model (purchased in India)
Okay so i have no OS installed as of now as i unlocked the bootloader and somehow the OS got deleted.
I have TWRP recovery installed though. Whenever i try to install a custom rom like CM or Resurrection Remix, it shows be an error that this package i compatible for bootloader 0x4886 and 2 or 3 other bootloaders. it says that i have bootloader 0x4226. I want to change my bootloader so that i could install custom ROMS.
Does anyone have any idea about how i could do this.
PLEASE PLEASE PLEASE HELP.
Try flashing this Stock Firmware. Just follow the instructions given..
https://forum.xda-developers.com/moto-g-lte/general/update-stock-6-0-marshmallow-firmware-t3535380
Preflash Validation Error
ERROR : Pre flash validation failed. On the phone screen its showing 'version downgraded for primary_gpt'
i used it in mfastboot also. but same error.
Please, i could use help real bad.
C:\Users\Nikhil\Desktop\AndroidSDKSlim\android-sdk-windows\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.032s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.325s
RaviWL said:
Try flashing this Stock Firmware. Just follow the instructions given..
https://forum.xda-developers.com/moto-g-lte/general/update-stock-6-0-marshmallow-firmware-t3535380
Click to expand...
Click to collapse
Keep flashing the rest of the files..
System files : Preflash validation Error
Ravi bro, its giving the same error when i flash the system.img sparesechunk img...and on the fone it says that 'image is too large'
i think i have an old bootloader. thats why it wont let me flash CM through TWRP also. it says that CM firmware is for bootloader 4886 while mine is 4226
also i have seen people flash bootloader.img also...but there is no such file here.
I have only 2 options left-
1. Get rid of the preflash validation errors
2. Update my bootloader.
i would be lovely if you could provide me with an updated bootlader.img file.
Ravi bro i will be very grateful to you if you could help me through this problem
RaviWL said:
Keep flashing the rest of the files..
Click to expand...
Click to collapse
preflash validation errror
nklrwt said:
Ravi bro, its giving the same error when i flash the system.img sparesechunk img...and on the fone it says that 'image is too large'
i think i have an old bootloader. thats why it wont let me flash CM through TWRP also. it says that CM firmware is for bootloader 4886 while mine is 4226
also i have seen people flash bootloader.img also...but there is no such file here.
I have only 2 options left-
1. Get rid of the preflash validation errors
2. Update my bootloader.
i would be lovely if you could provide me with an updated bootlader.img file.
Ravi bro i will be very grateful to you if you could help me through this problem
Click to expand...
Click to collapse
same problem i am also having. tell mehow to fix it if possible
Try flashing a modern motoboot.img for thea (I have 0x4821) using:
mfastboot flash motoboot motoboot.img
Click to expand...
Click to collapse
You can take one from an OTA package for your phone. It's strange. My XT1072 came with a recent bootloader preinstalled, but try.
Note, it must be for thea, not titan or you will cripple or hardbrick your device.
Related
Unfortunately I loaded the leaked Lollipop build to my PE and it was working great, but I wanted to get on the soak test build. I downloaded the stock KK 4.4.4 system image from Motorola in order to restore before updated to soak test. All but one of the files flashes fine, the exception being motoboot.img. I get Preflash validation failed error for that file.
The phone boots and runs but the missing file means the update won't install. Does anyone have any thoughts on how to restore this file?
TMO_21.21.42.victara_tmo.tmo.en.US>mfastboot flash boot motoboot.img
target max-sparse-size: 256MB
sending 'boot' (2022 KB)...
OKAY [ 0.089s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.109s
samabuelsamid said:
Unfortunately I loaded the leaked Lollipop build to my PE and it was working great, but I wanted to get on the soak test build. I downloaded the stock KK 4.4.4 system image from Motorola in order to restore before updated to soak test. All but one of the files flashes fine, the exception being motoboot.img. I get Preflash validation failed error for that file.
The phone boots and runs but the missing file means the update won't install. Does anyone have any thoughts on how to restore this file?
TMO_21.21.42.victara_tmo.tmo.en.US>mfastboot flash boot motoboot.img
target max-sparse-size: 256MB
sending 'boot' (2022 KB)...
OKAY [ 0.089s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.109s
Click to expand...
Click to collapse
try:
Code:
mfastboot flash motoboot motoboot.img
holtenc said:
try:
Code:
mfastboot flash motoboot motoboot.img
Click to expand...
Click to collapse
Sorry, copy/paste error there.
I actually tried the motoboot motoboot.img too and get the same error.
well I'm not sure then man. I guess all I can suggest is follow THESE instructions to a T.
also if you have flashed any of the radios floating around these forums insert "fastboot flash modem radio.img" in there somewhere.
And of course make sure your bootloader is unlocked.
holtenc said:
well I'm not sure then man. I guess all I can suggest is follow THESE instructions to a T.
also if you have flashed any of the radios floating around these forums insert "fastboot flash modem radio.img" in there somewhere.
And of course make sure your bootloader is unlocked.
Click to expand...
Click to collapse
Thanks, those are precisely the instructions I used. I haven't done anything with the radios. I flashed the leaked lollipop rom and then used the official image files to try to go back. The bootloader was initially not unlocked, I unlocked it only in an attempt to get the motoboot file to flash. Now I can't relock it because this part of the image is missing.
Have you tried re-doing all those instructions from the top with your bootloader unocked? instead of just trying to reflash motoboot?
I'm surprised it let your flash somethings while your bootloader was still locked.
holtenc said:
Have you tried re-doing all those instructions from the top with your bootloader unocked? instead of just trying to reflash motoboot?
I'm surprised it let your flash somethings while your bootloader was still locked.
Click to expand...
Click to collapse
Only thing I did with bootloader locked was the partition. As soon as I got to the motoboot and it failed, I figured I would need to unlock and did that. Since then, I've tried the whole process a couple of times with the same result. I will however, give it another shot.
You don't need motoboot to update. Go use the script and it will do everything for you.
tw1tch175 said:
You don't need motoboot to update. Go use the script and it will do everything for you.
Click to expand...
Click to collapse
Which script is that?
samabuelsamid said:
Which script is that?
Click to expand...
Click to collapse
My multitool in development section has stock restore included
holtenc said:
Have you tried re-doing all those instructions from the top with your bootloader unocked? instead of just trying to reflash motoboot?
I'm surprised it let your flash somethings while your bootloader was still locked.
Click to expand...
Click to collapse
bhp090808 said:
My multitool in development section has stock restore included
Click to expand...
Click to collapse
Downloading V4.1 now, thanks
bhp090808 said:
My multitool in development section has stock restore included
Click to expand...
Click to collapse
I flashed with the multitool and was able to get back where I started with the leaked PE lollipop version but something is still missing because I can't relock the bootloader.
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?
I have a motorola X 2014 Pure Edition that a while ago i side loaded the Lollipop Soak test image, however since it wasn't the final, it appears that I was instructed to downgrade back to 4.4.4 and then I would be able to upgrade to 5.0-11. I downloaded the Factory image from Motorola and re-flashed the images onto my phone. However when I attempted to refresh the motoboot.img it failed with the error below. However all the other parts flashed alright without issues. I then booted my phone and it booted into Kit Kat. I then attempted to do the OTA upgrade for Lollipop but it fails and puts the phone into a endless reboot phase. When I try to go into Recovery Mode it doesn't work, i get to the broken android screen however I cannot get to the Recovery Menu at all.
I reached out to Motorola support and they said: "We can not help you with this issue. I recommend you post this on forums dedicated to this (aka XDA), it should be fairly easy to find someone to help you there. here is not issue with the Moto X 444 BL. it seems to me it is related to the "stock Android 4.4.4" you flashed on your phone. It looks like you have a mismatch somewhere between TZ, GPT and the version of the BL on this device; it might have been cause by what you flashed on the device before having to return to stock.. .. "
I'm at a loss right now other than trying to send my phone back to Motorola to see if they can fix it. Hoping someone might have an idea of what i can do to fix my issue??
% ./fastboot flash motoboot motoboot.img
14-12-04 - 14:25:59
target max-sparse-size: 256MB
sending 'motoboot' (2022 KB)...
OKAY [ 0.073s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.143s
Any help would be appreciated.
hey bro seems like the image might be corrupted. Try finding another motoboot.img. Or Lock and Unlock your bootloader again. And best of all try to get in fastboot and go back kitkat and keep it that way. Because i don't think you want to be in a brick again. Consult a person here on XDA that knows more about it. Thats my advice.
Sending it back won't work, your warranty is gone. Clearly stated in the page where you unlocked the bootloader. Sorry bro.
And btw next time please post this in the Moto X section.
Thank you! Greetz ErixGamer
Good evening guys...
I have a Moto X 2nd gen (XT1097) with Stock Retail BR Rom and it was working like a charm till this morning.
I received a notification of an OTA Update (security patch) and I wanted to patch the phone...
I know a rooted phone (like mine) could not receive OTA Updates, so I flashed stock rom again with RDSLite like I always do.
The problem occured when I try to root it... I picked a wrong file to flash with the TWRP and cel got stucked in the boot logo.
When I try to flash the Firmware stock 6.0 in the RDSLite, It returns a error like that:
Code:
fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.083s
I asked a friend of mine that have the same device and the version of his bootloader is 60.18 (sha-3b3b501 ... )
my bootloader, after I fuc*ed the device is 60.00 (sha-130760b ... )...
I can still turn on device, can flash the firmware if I erase gpt and motoboot lines from flashfile.xml but I cannot OTA and root, got some errors!
Anyone knows something about that? Can I try to downgrade to solve? Anyone knows this bootloader version???
Sorry about english...
I tried every ROM (4.4.4, 5.0, 5.1 and 6.0) and all of them returns the message "version downgraded for primary_gpt"... FU*K this SH*T!!!!
My bootloader is at 60.00 version and I really need to put the 60.18 version... How to do that?
First let me start by saying, I KNOW...
This all started when her signal started to jump around. She was unable to access 4g or anything. I had Pixel Perfect (or something like that) on it. I was going back to stock so it just 'worked.' Stupidly I grabbed the G5's firmware, no G5S. Strangely I was able to flash everything (ugh!). This has result in a lot of pain for me. I am now unable to flash the proper firmware, no matter how hard I try.
I can reflash bootloader, boot, recovery. But i am unable to flash system, oem or GPT (which I think is required here).
Flashing GPT gives me:
HTML:
target max-sparse-size: 256MB
sending 'partition' (45 KB)...
OKAY [ 0.034s]
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.122s
Flashing oem gives me a failed validation, but a "image is too large" on the screen. Booting into recovery works but I'm unable to do anything as there is no file system. The SD Card also isn't working.
If anyone has some ideas, I'd appreciate it. I'm thinking I could possibly put a external SD card in but since I'm unable to write gpt, I think I'm screwed.
Please...anyone got an idea?
natalic said:
First let me start by saying, I KNOW...
This all started when her signal started to jump around. She was unable to access 4g or anything. I had Pixel Perfect (or something like that) on it. I was going back to stock so it just 'worked.' Stupidly I grabbed the G5's firmware, no G5S. Strangely I was able to flash everything (ugh!). This has result in a lot of pain for me. I am now unable to flash the proper firmware, no matter how hard I try.
I can reflash bootloader, boot, recovery. But i am unable to flash system, oem or GPT (which I think is required here).
Flashing GPT gives me:
target max-sparse-size: 256MBsending 'partition' (45 KB)...OKAY [ 0.034s]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.122s
Flashing oem gives me a failed validation, but a "image is too large" on the screen. Booting into recovery works but I'm unable to do anything as there is no file system. The SD Card also isn't working.
If anyone has some ideas, I'd appreciate it. I'm thinking I could possibly put a external SD card in but since I'm unable to write gpt, I think I'm screwed.
Please...anyone got an idea?
Click to expand...
Click to collapse
Flash newest software version
61-5
Adi5 said:
Flash newest software version
61-5
Click to expand...
Click to collapse
Got a link? I'm using:
NPSS26.116-45-5_cid50
I'm panicing here
https://androidfilehost.com/?fid=673956719939831738
Adi5 said:
https://androidfilehost.com/?fid=673956719939831738
Click to expand...
Click to collapse
This will be new enough to supercede the one from the G5's firmware since that is 137 vs 116?
natalic said:
This will be new enough to supercede the one from the G5's firmware since that is 137 vs 116?
Click to expand...
Click to collapse
Flash this one from afh should be flashed without error
Adi5 said:
Flash this one from afh should be flashed without error
Click to expand...
Click to collapse
I REALLY hope so
adi5 said:
flash this one from afh should be flashed without error
Click to expand...
Click to collapse
you saved me man...i am so thankful! It worked!!!
Hey, I have exactly the same problem but no luck with flashing 61-5. I can access fastboot from a PC but unfortunately nothing showing on the screen.