I have a Motorola Moto G 4G (2nd gen)
So I'm trying to install my stock 6.0 rom on my phone, I have fastboot, adb and the drivers installed my rom(i think its the correct one)
(XT1072_THEA_RETGB_6.0_MPB24.65-34_cid7_subsidy-DEFAULT_CFC.xml.zip)
I have all the software needed installed but whenever I try to flash someing it says this:
C:\Recover\XT1072_THEA_RETGB_6.0_MPB24.65-34_cid7_subsidy-DEFAULT_CFC.xml>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.113s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.483s
My bootlocker is unlocked:
fastboot oem unlock
(bootloader) fastboot oem unlock [ unlock code ]
OKAY [ 0.033s]
finished. total time: 0.035s
I have no I dea what to do atm I tried different guides but I just keeps getting stuck at the "Your bootloader unlocked......" screen you get when you unlock your bootloader.
I followed serveral guides but nothing seems to work and I'm to the poin that I dont even wanna root just a working phone..
If any of you guys could help me out that would be great because I've been trying thiis for 5 hours and no succes
If you have any questions feel free to ask me, I'm available on discord and ts if needed!
THanks I advance
Have you flashed the rest of the firmware. You can ignore that bootloader message.
Related
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 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.
Hello Guys im attempting to install TWRP 3.0.2 on my Moto X 2nd Gen 2014 with Android 6.0 Official but im getting an error in my command prompt. I have already attempt to request and an unlock code for unlocking the bootloader but motorolas site state my phone is not authorize for unlocking it. Does my phone need to have boot loader unlocked to be able to follow this step? Im pretty much attempting to install this recover to be able to root following this method: http://forum.xda-developers.com/moto-x-2014/development/root-root-moto-x-2014-android-t3249105
C:\Users\****\AppData\Local\Android\sdk\platform-tools>fastboot flash recovery C:\Users\****\AppData\Local\Android\sdk\platform-tools\twrp-3.0.2-1-victara.img
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (9160 KB)...
OKAY [ 0.329s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.356s
Click to expand...
Click to collapse
Yes, the bootloader needs to be unlocked to install a custom recovery (which is stated prior to the first step in the thread you mentioned). At one time there was an"unofficial" bootloader unlock that you might look into.
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.
Every time I try to lock my bootloader again on my Moto G6 XT1925-3 through the rom stock I get this error:
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
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.075s
C:\Minimal ADB and Fastboot (Stock Rom)>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) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.456s
Would anyone help me?
MacaldS said:
Every time I try to lock my bootloader again on my Moto G6 XT1925-3 through the rom stock I get this error:
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
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.075s
C:\Minimal ADB and Fastboot (Stock Rom)>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) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.456s
Would anyone help me?
Click to expand...
Click to collapse
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed
madbat99 said:
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed
Click to expand...
Click to collapse
Could you tell me where I can find firmwares that are the same or newer than mine?
MacaldS said:
Could you tell me where I can find firmwares that are the same or newer than mine?
Click to expand...
Click to collapse
Flashing stock will not re lock bootloader. But you can find some stock firmwares here
You'll have to see which one you need. I don't know what region your phone is or what firmware is on it.
madbat99 said:
Flashing stock will not re lock bootloader. But you can find some stock firmwares here
You'll have to see which one you need. I don't know what region your phone is or what firmware is on it.
Click to expand...
Click to collapse
Can I make these updates through TWRP or should they be made by fastboot?
MacaldS said:
Can I make these updates through TWRP or should they be made by fastboot?
Click to expand...
Click to collapse
Not TWRP. These are stock firmware, so fastboot or RSDlite.
I Bricked Moto g6 Xt 1925-6
madbat99 said:
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed
Click to expand...
Click to collapse
This happened to me i Need to unbrick it but the bootloader is locked by the Android Device Manager as well as seen here https://forum.xda-developers.com/mo...android-aosp-9-0-pie-android-9-0-0r1-t3847354 Someone Please Tell me how I Can unlock my BootLoader Now?
It's almost inpossible to relock your bootloader because you need to have signed that not bad boot.img and ect. As long that you don't have those files you will be unable to relock the bootloader. I have noticed the same thing when i was trying to relock mine bootloader on my moto g6.
I Bricked Moto g6 Xt 1925-6
outsideracer said:
It's almost inpossible to relock your bootloader because you need to have signed that not bad boot.img and ect. As long that you don't have those files you will be unable to relock the bootloader. I have noticed the same thing when i was trying to relock mine bootloader on my moto g6.
Click to expand...
Click to collapse
no i did relock no i cant unlock again and phone is bricked its like 2 bootloaders weird I Need all the help i can get. it is a moto g6 xt-1925-6
2 boorloaders ?? Are they both locked than? And can you get in your recovery mode?
outsideracer said:
2 boorloaders ?? Are they both locked than? And can you get in your recovery mode?
Click to expand...
Click to collapse
yrs one has a red warning at boot up the other is yellow i get in revcovery mode on yellow loader but get code 21 error when trying to adb sideload
chrisp68 said:
yrs one has a red warning at boot up the other is yellow i get in revcovery mode on yellow loader but get code 21 error when trying to adb sideload
Click to expand...
Click to collapse
Did you try flashing twrp and doing a full format on twrp?