Related
Hello to all,
I have a motorola G, 1st gen. XT1032. Android 4.4.4
I don't succeed in flashing the original french firmware. I get the following message : preflash validation failed.
I tell you a little bit more about my mistakes:
1) After having installed superuser, I wanted to flash the original stock because the super su didn't install properly (super user found. No acess)
2) I installed the CWM recovery in my phone, but it didn't appear in the recovery menu. After that the recovery menu was not working anymore
3) I flashed the wrong firmware: Android 4.4.4 Blur_Version.210.12.41.falcon_cdma.Verizon.en.US instead of the french one. I flashed with this method :
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
But as I didn't put mfastboot in the firware file, it was impossible for me to type mfastboot at each line of code. So I typed fastboot instead of mfastboot. It said Okay at the end of each line. At the end, the phone rebooted
But it rebooted as a boot loop showing the white motorola G unlocked sentence.
I can still access to the fastboot mode and the recovery mode after that
Finally, I tried to install the french firmware :Android 4.4.2 Blur_Version.176.44.1.falcon_umts.Retail.en.FR
with RSD lite but the device was not recognized.
Though, I downloaded the SDK android and the motorola drivers.
I retried to install the french firmware with the mfastboot method but at the first line of code ( mfastboot flash partition gpt.bin) it says PRE FLASH VALIDATION FAILED.
Can someone help me please.
Thankyou
[email protected]
Skype: charles.lemaire9
AFAIK preflash verification is done by moto's bootloader when it is in locked state. And the error was due to downgrading the firmware (4.4.4 to 4.4.2). I would suggest you to check whether your bootloader is unlocked or not. If locked, unlock it and try again.
My bootloader has been unlocked from the beginning. The message: "your device is unlocked "appears each time I power the phone.
I tried to install the 4.4.2 french firmware because there is no 4.4.4 french firmware.
For information, I bought my phone 6 months ago with the 4.4.2 firmware and I updated to 4.4.4 two months ago.
chlemaire said:
My bootloader has been unlocked from the beginning. The message: "your device is unlocked "appears each time I power the phone.
I tried to install the 4.4.2 french firmware because there is no 4.4.4 french firmware.
For information, I bought my phone 6 months ago with the 4.4.2 firmware and I updated to 4.4.4 two months ago.
Click to expand...
Click to collapse
Just download for example UK 4.4.4 and see if it works. Always use mfastboot.
Actually for my motorola g XT 1032, there is only the US rom verizon available on sbf droid developer website for XT1032 : Android 4.4.4 Blur_Version.210.12.41.falcon_cdma.Verizon.en.US.
This is the one I first tried to install with no success making mistakes and that gave me a soft brick.
Should I retry with this one with the mfastboot method, even though my phone is a french one?
chlemaire said:
Actually for my motorola g XT 1032, there is only the US rom verizon available on sbf droid developer website for XT1032 : Android 4.4.4 Blur_Version.210.12.41.falcon_cdma.Verizon.en.US.
This is the one I first tried to install with no success making mistakes and that gave me a soft brick.
Should I retry with this one with the mfastboot method, even though my phone is a french one?
Click to expand...
Click to collapse
The Firmware you mention is for XT1028 (CDMA Verizon, as the filename states). I wouldn't flash this on a XT1032
So can someone indicates me exactly which firmware I should flash on my phone please.
k-kuchen, for information, I unfortunately flashed the falcon cdma verizon firmware on my phone. This is this action who brought to soft brick on my phone
Can you please explain me how do you see which firmware version is for XT1032 on the sbf droid developer website please.
chlemaire said:
So can someone indicates me exactly which firmware I should flash on my phone please.
k-kuchen, for information, I unfortunately flashed the falcon cdma verizon firmware on my phone. This is this action who brought to soft brick on my phone
Can you please explain me how do you see which firmware version is for XT1032 on the sbf droid developer website please.
Click to expand...
Click to collapse
I don't think they are labeled on this site. Any XT1032 (i.e. falcon_umts) Firmware should be fine for you. EU, UK, US, DE, FR.
To avoid problems, use the Android Version that matches your bootloader.
Thank you for your quick answer. But I already tried to flash this one Android 4.4.2 Blur_Version.176.44.1.falcon_umts.Retail.en.FR with no success. And I get the following message: pre flash validation failed.
I don't find any 4.4.4 original firmware (US, UK, EU, FR, DE) on the net. Can indicate where I can find one please.
I remind that my phone was updated to 4.4.4 two months ago.
What should I do?
I am on the same page, there are no 4.4.4 images and i'm stuck with a black screen after the bootloader unlocked warning
chlemaire said:
Thank you for your quick answer. But I already tried to flash this one Android 4.4.2 Blur_Version.176.44.1.falcon_umts.Retail.en.FR with no success. And I get the following message: pre flash validation failed.
I don't find any 4.4.4 original firmware (US, UK, EU, FR, DE) on the net. Can indicate where I can find one please.
I remind that my phone was updated to 4.4.4 two months ago.
What should I do?
Click to expand...
Click to collapse
Ah, OK. I didn't know that 4.4.4 aren't available, yet. lost101 is the expert for stock ROMs. Maybe he can help you two out
I found the brasilian retail 4.4.4 but since I'm still new I can't post a link :/ hopefully it works
edit: sent op the link through a message
rodemic said:
I found the brasilian retail 4.4.4 but since I'm still new I can't post a link :/ hopefully it works
Click to expand...
Click to collapse
Make sure it's not for XT1033 aka falcon_umtsds
I found all the 4.4.4 stock firmware in this thread : http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688
@k-kuchen : do I have to install the 4.4.4 firmware one even though I bought the phone with the 4.4.2 firmware and then updated 2 months ago with 4.4.4?
Because I installed the wrong firmware (US verizon cdma 4.4.4) in a wrong way in my XT1032 moto G that resulted in a softbrick (but still acess to the fastboot mode and the recovery mode after that), is it still possible to flash 4.4.4 firmware (the good one this time) or is the phone dead? Should I use mfastboot method again?
chlemaire said:
I found all the 4.4.4 stock firmware in this thread : http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688
@k-kuchen : do I have to install the 4.4.4 firmware one even though I bought the phone with the 4.4.2 firmware and then updated 2 months ago with 4.4.4?
Because I installed the wrong firmware (US verizon cdma 4.4.4) in a wrong way in my XT1032 moto G that resulted in a softbrick (but still acess to the fastboot mode and the recovery mode after that), is it still possible to flash 4.4.4 firmware (the good one this time) or is the phone dead? Should I use mfastboot method again?
Click to expand...
Click to collapse
oooh I didn't find that post, thanks I think you can still flash the firmware but don't rely on me since I'm clearly not an expert
chlemaire said:
I found all the 4.4.4 stock firmware in this thread : http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688
@k-kuchen : do I have to install the 4.4.4 firmware one even though I bought the phone with the 4.4.2 firmware and then updated 2 months ago with 4.4.4?
Because I installed the wrong firmware (US verizon cdma 4.4.4) in a wrong way in my XT1032 moto G that resulted in a softbrick (but still acess to the fastboot mode and the recovery mode after that), is it still possible to flash 4.4.4 firmware (the good one this time) or is the phone dead? Should I use mfastboot method again?
Click to expand...
Click to collapse
As far as I understand you need 4.4.4 because your bootloader is also updated now. You can try mfastboot, but there is nothing to flash as we found out earlier.
The thread you linked are ROMs for flashing with a custom recovery. That won't help you with unbricking I guess. Because you need a fastboot flashable factory image.
Like I said earlier... lost101 can probably answer these questions better than me
k-kuchen said:
As far as I understand you need 4.4.4 because your bootloader is also updated now. You can try mfastboot, but there is nothing to flash as we found out earlier.
The thread you linked are ROMs for flashing with a custom recovery. That won't help you with unbricking I guess. Because you need a fastboot flashable factory image.
Like I said earlier... lost101 can probably answer these questions better than me
Click to expand...
Click to collapse
I have unbricked my device, I installed a custom recovery using moto tools. good luck
(bootloader) Preflash validation failed
----------------------------------------------------
The user has updated to Android 4.4.4 via firmware image or OTA update. They would now also have the latest version of the Bootloader.
The user will encounter 'Preflash validation failed' when attempting to flash a 4.4.2 firmware image. If the error still occurs, even with a 4.4.4 firmware image, then unlocking bootloader will be necessary.
Thank you k-kuchen and lost101 for jour help. Indeed my pre flash validation failed problem came from the fact that I tried to flash 4.4.2 firmware although my phone was updated to 4.4.4. As a consequence, I recover from soft brick while flashing the right firmware with mfastboot method.
I tried to downgrade my moto g from GPE (converted it) to stock rom like it was before, and now it is stuck on bootloader screen with the "warning bootloader unlocked..." sign. Every rom I try to install has now the same problem, even the GPE rom. What should i do now?
GiorgosCyprus said:
I tried to downgrade my moto g from GPE (converted it) to stock rom like it was before, and now it is stuck on bootloader screen with the "warning bootloader unlocked..." sign. Every rom I try to install has now the same problem, even the GPE rom. What should i do now?
Click to expand...
Click to collapse
Are you on the 41.18 bootloader? If you are, don't flash the motoboot.img file as you can't downgrade the Lollipop bootloader (41.18).
Did you flash all img files including gpt?
audit13 said:
Are you on the 41.18 bootloader? If you are, don't flash the motoboot.img file as you can't downgrade the Lollipop bootloader (41.18).
Did you flash all img files including gpt?
Click to expand...
Click to collapse
yes i flashed all img files including gpt
GiorgosCyprus said:
yes i flashed all img files including gpt
Click to expand...
Click to collapse
Try flashing the 5.0.2 fastboot firmware image for your model:
http://forum.xda-developers.com/showpost.php?p=58534609&postcount=519
Try re-installing GPE 4.4.4 using fastboot and then install stock 4.4.4 using fastboot.
There seem to be contradictory opinions regarding the downgrading procedure from 5.0.1 GPE(or other 5.0.x variants) to Motorola 4.4.4 KK .
So the question is: does flashing motoboot.img brick the device?
Examples:
http://forum.xda-developers.com/showpost.php?p=59286611&postcount=4
http://forum.xda-developers.com/moto-g/general/restore-to-kitkat-lollipop-moto-g-t3011553
http://forum.xda-developers.com/showpost.php?p=59135235&postcount=6
http://forum.xda-developers.com/moto-g/general/how-to-koodo-telus-downgrade-upgrade-lp-t3042110
Did I miss something or there is indeed a contradiction?
You cannot downgrade the 41.18 LP bootloader. If you try, you will receive a validation error.
So the worst case scenario for flashing motoboot.img is an validation error, but it will not brick the phone? I'm confused because here @LeopardSurd says that the phone can not boot if you do not flash motoboot.img.
sigma95 said:
So the worst case scenario for flashing motoboot.img is an validation error, but it will not brick the phone? I'm confused because here @LeopardSurd says that the phone can not boot if you do not flash motoboot.img.
Click to expand...
Click to collapse
This was simple my experience: flashed 4.4.4 without motoboot => the phone don't boot. Flashed only motoboot.img => phone don't boot. Flashed all the commands including motoboot.img => phone boots.
LeopardSurd said:
This was simple my experience: flashed 4.4.4 without motoboot => the phone don't boot. Flashed only motoboot.img => phone don't boot. Flashed all the commands including motoboot.img => phone boots.
Click to expand...
Click to collapse
Thanks for answering.
Did you get a validation error when you flashed motoboot.img?
It strange that some people could boot 4.4.4 without flashing motoboot.
I have not seen any posts where a person was able to downgrade from the LP 41.18 bootloader to a KK bootloader. I'd like to know how they did it because I would like to do the same.
I have searched the forum and I reached the following conclusion:
Flashing 4.4.4 motoboot.img does not brick your phone, but it gives a validation error.(But in some cases you can not boot without flashing it(see above))
(Has anyone bricked their phone by flashing 4.4.4 motoboot?)
The problem seems to appear only when upgrading from 4.4.2 to 4.4.4.
The validation error will stop the flash process.
I have a KitKat nandroid and 41.18 bootloader (right now I'm with Lollipop), it will brick my phone if I restore the nandroid to go back to KitKat?
The nandroid should not touch the bootloader.
Which version of LP is on your phone? Restoring may cause a bootloop.
audit13 said:
The validation error will stop the flash process.
Click to expand...
Click to collapse
As I understand it, the flashing process of the motoboot.img will be stopped(remote error), but you can continue flashing other files.
Several users reported that this method works(and it implies flashing motoboot.img), so I'm inclined to say that 4.4.4 motoboot does not cause loosing access to fastboot(hardbrick). The only side-effect should be the "line bug", which can be solved by turning the screen on&off.
Am I missing something?
I meant to say the validation error will stop the flash process for motoboot.img.
The line bug remains after downgrading from LP because everything is being downgraded to KK with the except of the bootloader which remains on LP. If there was a way to downgrade the bootloader to KK, the line issue would disappear.
audit13 said:
The nandroid should not touch the bootloader.
Which version of LP is on your phone? Restoring may cause a bootloop.
Click to expand...
Click to collapse
I am on stock 5.0.2 Lollipop :fingers-crossed:
@Feche, let us know what happens and best of luck:good:
audit13 said:
@Feche, let us know what happens and best of luck:good:
Click to expand...
Click to collapse
Hey, I managed to go back to KitKat and restore my nandroid but I had to do some things first:
Restore from Lollipop to KitKat is not possible since when restoring the data partition phone will freeze around 30mb~ mark and reboot.. so what I did was downgrade to stock 4.4.4 (via mfastboot) and then restore the nandroid.
The only problem is that if you want to go again to Lollipop you can't becouse when restoring the data partition the phone will reboot when reaching 99%.. what you can only restore is system partition, so you will end up with a fresh stock Lollipop.. I bet this is due to the repartitioning of Lollipop, we have to wait for a recovery (TWRP, CWM) with Lollipop support.
I think i t has something to do with the gtp.bin having to be flashed via fastboot before restoring a KK nandroid.
Great that it worked.
Feche said:
Hey, I managed to go back to KitKat and restore my nandroid but I had to do some things first:
Restore from Lollipop to KitKat is not possible since when restoring the data partition phone will freeze around 30mb~ mark and reboot.. so what I did was downgrade to stock 4.4.4 (via mfastboot) and then restore the nandroid.
The only problem is that if you want to go again to Lollipop you can't becouse when restoring the data partition the phone will reboot when reaching 99%.. what you can only restore is system partition, so you will end up with a fresh stock Lollipop.. I bet this is due to the repartitioning of Lollipop, we have to wait for a recovery (TWRP, CWM) with Lollipop support.
Click to expand...
Click to collapse
This is not related to your problem, but did you flash motoboot.img when you downgraded to 4.4.4?
sigma95 said:
This is not related to your problem, but did you flash motoboot.img when you downgraded to 4.4.4?
Click to expand...
Click to collapse
motoboot.img and gpt.bin won't flash since it gives validation error, the rest is the same
I first restore to stock 4.4.4 from CM11 by manually flashing falcon_boost_user_4.4.4_KXB21.14-L1.57_57_release-keys-cid9.xml.zip. Everything worked.
After that, I try to upgrade to stock 5.1 by manually flashing XT1031_FALCON_BOOST_5.1_LPB23.13-56_cid9_CFC.xml.zip with mfastboot. Every part seemed to flashed successfully, but when it is finished, it won't boot and stuck at bootloader unlocked screen.
Now I cannot downgrade to 4.4.4 since the gpt.bin and motoboot.bin all failed preflash verification. I guess the bootloader won't allow downgrade. Even with all other parts successfully flashed, it is still stuck at booloader unlocked screen.
I also tried to flash twrp 2.8.7.0, but it also failed due to partition size different. (Is it because twrp can only be flashed under 4.4.4 bootloader?)
So I am stuck now. Please help me. How do I flash stock 5.1 and later CM12.1? Thanks in advance.
Try flashing the firmware with RSD Lite and see what happens.
Sent from my XT1031
Fixed. I found a stock rom 4.4.4 downgrade package from here.
https://www.reddit.com/r/MotoG/comments/3omnox/moto_g_xt1031_boost_lollipop_stock_rom/
It has same contents as the 4.4.4 stock rom package I downloaded from filefactory, except there is a fastboot.exe boundled in this package (dated 6/25/2014) that is newer than the one I was using (dated 3/20/2013). This one successfully restored my XT1031 to 4.4.4 stock.
Flashed of twrp and also flashed stock 5.1 optimized from twrp. Both went well.
kzqc said:
I first restore to stock 4.4.4 from CM11 by manually flashing falcon_boost_user_4.4.4_KXB21.14-L1.57_57_release-keys-cid9.xml.zip. Everything worked.
After that, I try to upgrade to stock 5.1 by manually flashing XT1031_FALCON_BOOST_5.1_LPB23.13-56_cid9_CFC.xml.zip with mfastboot. Every part seemed to flashed successfully, but when it is finished, it won't boot and stuck at bootloader unlocked screen.
Now I cannot downgrade to 4.4.4 since the gpt.bin and motoboot.bin all failed preflash verification. I guess the bootloader won't allow downgrade. Even with all other parts successfully flashed, it is still stuck at booloader unlocked screen.
I also tried to flash twrp 2.8.7.0, but it also failed due to partition size different. (Is it because twrp can only be flashed under 4.4.4 bootloader?)
So I am stuck now. Please help me. How do I flash stock 5.1 and later CM12.1? Thanks in advance.
Click to expand...
Click to collapse
Just install latest TWRP it is compatible with Lollipop or CWM then flash CM12.1
Paradox♀ said:
Just install latest TWRP it is compatible with Lollipop or CWM then flash CM12.1
Click to expand...
Click to collapse
Thanks.
Hello, I am new to custom rom flashing, I understand that I can relock the bootloader if I want to and also can restore the stock rom but every tutorial I have seen shows me to lock the bootloader after flashing the stock rom, so my questions are,
1. Can I keep the bootloader unlocked and still install the stock rom using fastboot and use it?
2. If it is okay then will I loose twrp after flashing the stock rom?
3. If the twrp stays even after flashing the stock rom then how to uninstall twrp?
4. If I decide to relock the bootloader can I unlock it again with the same unique code by motorola?
Thank you soo much.
1. Yes, just refer to the fastboot factory firmware flashing guide by lost101.
2. Yes. Specifically this command replaces existing recovery-
Code:
fastboot flash recovery recovery.img
3. Make sure you include the above command when flashing stock firmware. Recoveries can't be uninstalled, they are overwritten (replaced) directly by flashing a new one from fastboot.
Just FYI, to temporarily boot a recovery without flashing it permanently, use-
Code:
fastboot boot recovery.img
where recovery.img is the file name. It is useful to load up TWRP without disturbing existing stock recovery, for example.
Broadcasted from Zeta Reticuli
Can I unlock and relock bootloader however many times as I wish? and also
I am running on marshmallow so will I get prevalidation error when I install a custom rom 7.0 and try to flash the 6.0 stock firmware because I got this message when I updated to marshmallow and wanted to downgrade to lollipop using fastboot.?
Thanks for your answers and also for the temporary recovery tip.
1. You shouldn't be locking and unlocking it repeatedly, it is a risky procedure involving full firmware flash. Some have got unlock errors while re-unlocking right after their 1st lock, some had their unlocked successfully.
2. You can use 7.x custom ROMs and still flash STOCK 6.0/6.0.1 firmware without errors. Preflash Validation occurs only when the target firmware is newer than the one to be flashed. It occurs mostly in partition table file (gpt.bin) and bootloader (bootloader.img). AFAIK Custom ROMs do not modify these and are immune to this error.
But if you accept an OTA for the stock ROM, you'll most likely get this error. Note that STOCK OTA will most likely update the bootloader and other important partitions too which the custom ROMs do not touch.
So even if you are on 7.x, the phone has an underlying 6.0.1 firmware (almost, except for the ROM itself, obviously). Hence, you'll get preflash validation error only when fastboot flashing an earlier 6.0.1/6.0/5.x STOCK build. You can use older custom ROMs without any problems though.
Broadcasted from Zeta Reticuli
thanks a lot