[Q] Fastboot not applying changes - Moto G Q&A, Help & Troubleshooting

Please, I have a XT1033 in which I can't install anything. If I try to flash the stock rom or a custom recovery, nothing happens. When I flash the stock rom, it gives ok for most of the files (except for gpt and motoboot, preflash validation failed), but when I reboot to the system, NOTHING HAPPENED, system and userdata was left untouched. I would appreciate any help. Thanks in advance.

Hi,
Silly question, i know, but is your bootloader unlocked?

Did you try to convert to GPE?

Yes, my bootloader is unlocked and I don't know if someone did try to convert it to GPE because this phone is not mine.

Could be a bad eMMC.
Sent from my XT1031

Just erase recovery, system ,cache and userdata via fastboot and flash twrp.

Try using latest 5.1 Firmware Images and mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
Provide logs, copy and paste command prompt - screen-shots - the more information the better.

Related

[Q] How can I update my rooted XT1032 GPe 4.4.4 to 5.0, since I had to flash non-GPe

Hello,
TL;DR: My question: where can I find a stock 4.4 GPe firmware compatible with XT1032 devices? (cid: 0x00DE
I had a rooted Moto G GPe 4.4, which prompted me yesterday about updating to Lollipop (OTA update, is that right?). Of course, it didn't work. Seriously, for newbies like me reading this, don't accept this, wait for something stable to be available.
So, yesterday, it downloaded everything and started updating. It hanged right in the middle with an error screen. I tried a reboot, same thing (in french it was written "Aucune commande". I guess the proper translation would be no command available or something). I tried a recovery, I had the little android logo lying on the ground with a scary warning on his belly. I tried a factory reset, same thing.
So, I went on this forum, started following this guide, however I was on Linux so I didn't use his .bat script, instead I manually used fastboot and mfastboot.
I downloaded the image named XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip (the CID don't match but it worked) available at this address. For information, the link http://sbf.droid-developers.org/phone.php?device=14 is dead since yesterday at least, which is annoying given the bandwidth of filefactory.
Using mfastboot, I launched these commands:
Code:
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_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot reboot
Everything was fine. My phone booted, prompted me to install the device and download my apps. Aside from the fugly Motorola boot animation and stock apps, great. However, I couldn't get the Lollipop update, since apparently it is only available to 4.4 GPe edition. I thus got even dumber than normally and started to follow this guide. Beware, the sound is very loud on this video, and doing a video for this kind of info is pretty dumb anyway. The process is written down in the description.
I downloaded the 4.4 GPe firmware linked and started to flash it using mfastboot, same process as above. However, upon rebooting I had only a prompt to decrypt my data. WTF? I used my Google Account password to no avail. Rebooted in fastboot mode, tried recovery and factory reset. Nope. So, I flashed again the XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF firmware. I booted fine, and it is currently restoring my system.
Anyone could explain exactly why it did it? Do I have to worry about anything (I don't care about my data, everything is backed up securely. But I critically need my phone and can't afford to brick it).
I am unable to find a stock 4.4 GPe firmware. Anyone got a link? If possible from a reputable source? I'd like to stay on a GPe phone, I hate bloated and ugly designs. And I'd like to update to Lollipop.
Edit: Okay, the flashing did work, however the CID mismatch is more of a problem than I thought. My CID as printed by fastboot is 0x00DE (and NOT 0x000DE as sometimes indicated in some guides). My image CID is 0x0007. I can't speak on the microphone and I don't have any tone when I call. It is a problem. FFS, is there any ROM I can flash working with this CID?
lknr said:
Hello,
TL;DR: My question: where can I find a stock 4.4 GPe firmware compatible with XT1032 devices? (cid: 0x00DE
Anyone could explain exactly why it did it? Do I have to worry about anything (I don't care about my data, everything is backed up securely. But I critically need my phone and can't afford to brick it).
I am unable to find a stock 4.4 GPe firmware. Anyone got a link? If possible from a reputable source? I'd like to stay on a GPe phone, I hate bloated and ugly designs. And I'd like to update to Lollipop.
Click to expand...
Click to collapse
GPE 4.4.x uses ext4 /data partion whereas Retail-XX versions use f2fs. Hence when we restore the /data partition from a different filesystem type it gives that 'enter encryption password' screen. So probably you had restored your /data partition on GPE device from your non-GPE /data backup. Wihout that it should work fine.
nbansal said:
GPE 4.4.x uses ext4 /data partion whereas Retail-XX versions use f2fs. Hence when we restore the /data partition from a different filesystem type it gives that 'enter encryption password' screen. So probably you had restored your /data partition on GPE device from your non-GPE /data backup. Wihout that it should work fine.
Click to expand...
Click to collapse
Okay, that mush be linked indeed. However I didn't restore my backup (I didn't have much files, and by backup I mean my documents were uploaded on the cloud so I don't care about anything on the device. If I launch fastboot erase userdata before flashing the GPE firmware I downloaded, will it still do the enter encryption password screen ? Is there a guide to flash a GPE firmware somewhere?
lknr said:
Okay, that mush be linked indeed. However I didn't restore my backup (I didn't have much files, and by backup I mean my documents were uploaded on the cloud so I don't care about anything on the device. If I launch fastboot erase userdata before flashing the GPE firmware I downloaded, will it still do the enter encryption password screen ? Is there a guide to flash a GPE firmware somewhere?
Click to expand...
Click to collapse
Okay, it seems you didnt wipe data partition when you flashed GPE over Retail version. So when it booted into GPE, GPE cannot interpret f2fs /data partition and thinks its encrypted and prompts for the password. If needs a blank/wiped /data at first boot. In general its a good idea to 'erase userdata' (if via fastboot) or wipe data partition (if using recovery) when flashing any ROM.
nbansal said:
Okay, it seems you didnt wipe data partition when you flashed GPE over Retail version. So when it booted into GPE, GPE cannot interpret f2fs /data partition and thinks its encrypted and prompts for the password. If needs a blank/wiped /data at first boot. In general its a good idea to 'erase userdata' (if via fastboot) or wipe data partition (if using recovery) when flashing any ROM.
Click to expand...
Click to collapse
That was it, simply. Thanks. I followed this guide (incidentally using the very same files I downloaded in my OP), stopped right before the OTA sideload step. It is no downloading the system update on its own, everything seems to be working.

bricked my moto g while downgrading lollipop to kitkat / corrupted data partition?

i was using moto g xt1033 asian retail, i changed it to 4.4.4 brazilian retail and then updated to lollipop 5.0 brazilian following a thread on xda. all worked well. i came across a thread which had an ota update for 5.0 to 5.0.1 it was a 10mb file. i put it in pendrive and flashed it via twrp. since then the phone never went past the warning bootloader unlocked page.
when i power it off, it automatically reopens but gets stuck on the warning bootloader unlocked page.
usb debugging is enabled, i can access bootloader, can use fastboot commands, it recognizes adb commands and can flash recoveries on it.
the only thing that doesnt work is that it doesnt get past the warning page.
so i went to twrp, cleared all- dalvick cache, data, internal storage, cache and system.
it gives wipe complete, FAILED
see image 1.
so i flashed the original 4.4.4 rom and it again gives the same errors and now i get waves on twrp, but still doesnt go past the warning bootloader unlocked screen.
updating partition details-
E : unable to mount '/data'
E : unable to mount '/cache'
E : unable to mount internal storage
see image 2.
basically, every time i try to wipe it or install a new rom it gives problems about partition.
so i wiped it again and installed cm11 snapshot on it.
again the same unmounting problems, but now it goes past the warning bootloader screen but always stays on the arrow rotating about the cm logo.
i searched a lot online , and i think the problem is corrupted partition.
so i followed this thread http://forum.xda-developers.com/showthread.php?t=2683787 .
first he shows a way by using terminal command from trwp . when i goto command terminal, it shows browse to starting folder i chose any folder like sdcard and enter this code
Code:
mke2fs -T ext4 /dev/block/mmcblk0p8
. it gives this
see image 3 and image 4.
i try the next alternative that is using adb and this code
Code:
adb shell
killall -19 recovery
make_ext4fs /dev/block/mmcblk0p8
reboot
and it gives this
see image 5.
please help me to clear this partiton problem. thank you in advance :')
I suggest you be very careful about what you do next.
It sounds like you should fastboot flash the Lollipop gpt.bin (partition table) - I believe the KitKat gpt.bin will cause you serious problems.
lost101 said:
I suggest you be very careful about what you do next.
It sounds like you should fastboot flash the Lollipop gpt.bin (partition table) - I believe the KitKat gpt.bin will cause you serious problems.
Click to expand...
Click to collapse
hey thank you for the quick reply
but could you guide me where to get the appropriate lollipop rom
and sorry for this noob question, but will installing lollipop gpt fix up the partition?
SemiNoob314 said:
hey thank you for the quick reply
but could you guide me where to get the appropriate lollipop rom
and sorry for this noob question, but will installing lollipop gpt fix up the partition?
Click to expand...
Click to collapse
I've attached the gpt.bin included with Lollipop 5.0.2. I am not responsible if this goes wrong, but this seems to me what you should do.
The command is: fastboot flash partition gpt.bin
Don't use any other commands for now.
Afterwards, try flashing the ROM zips you have on the phone, or this: http://forum.xda-developers.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793
Flashing that gpt.bin may wipe internal storage.
lost101 said:
I've attached the gpt.bin included with Lollipop 5.0.2. I am not responsible if this goes wrong, but this seems to me what you should do.
The command is: fastboot flash partition gpt.bin
Don't use any other commands for now.
Afterwards, try flashing the ROM zips you have on the phone, or this: http://forum.xda-developers.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793
Flashing that gpt.bin may wipe internal storage.
Click to expand...
Click to collapse
Thank you!
Will download and proceed as you said, though the download may take some time.
Will reply with the result.
lost101 said:
I've attached the gpt.bin included with Lollipop 5.0.2. I am not responsible if this goes wrong, but this seems to me what you should do.
The command is: fastboot flash partition gpt.bin
Don't use any other commands for now.
Afterwards, try flashing the ROM zips you have on the phone, or this: http://forum.xda-developers.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793
Flashing that gpt.bin may wipe internal storage.
Click to expand...
Click to collapse
Man you are a freaking lifesaver!!
Cannot thank you enough!! everything is working now!!
Thank you again!!
how to restore to lollipop or kitkat
i have bricked my moto g xt1033 asia firmware in a process to downgrade it from lollipop 5.0.2 to kitkat 4.4.4 i was badly struck and as the bootloader is unlocked it only shows the "WARNING bootloader unlocked " can anyone help me with what to do now to make my phone work in lollipop or kitkat any version
i want to say
---------- Post added at 08:36 AM ---------- Previous post was at 08:29 AM ----------
lost101 said:
I've attached the gpt.bin included with Lollipop 5.0.2. I am not responsible if this goes wrong, but this seems to me what you should do.
The command is: fastboot flash partition gpt.bin
Don't use any other commands for now.
Afterwards, try flashing the ROM zips you have on the phone, or this: http://forum.xda-developers.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793
Flashing that gpt.bin may wipe internal storage.
Click to expand...
Click to collapse
https://labs-dl.xda-cdn.com/apks/01e697
---------- Post added at 08:43 AM ---------- Previous post was at 08:36 AM ----------
lost101 said:
I've attached the gpt.bin included with Lollipop 5.0.2. I am not responsible if this goes wrong, but this seems to me what you should do.
The command is: fastboot flash partition gpt.bin
Don't use any other commands for now.
Afterwards, try flashing the ROM zips you have on the phone, or this: http://forum.xda-developers.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793
Flashing that gpt.bin may wipe internal storage.
Click to expand...
Click to collapse
last week i flashed motorola stock rom kitkat 4.4 on falcon using TWRP it flashed sucessfully...but after flashing i m not able to install any other custom rom like mokee,lineage,resurrection...it always stucks at boot... before flashing stock rom i flashed many rom but since the day flashing stock rom not able to flash any other looks like ROM changed the internal storage type as it says sometimes in twrp "unable to mount storage"

"(bootloader) Preflash validation failed FAILED (remote failure)

Hi everyone, I hope you guys can get me a hand with this issue.
My Moto G, is briked. Its with bootloader version 41.18 (Lollipop) and its imposible to downgrade it becouse I get this message
"(bootloader) Preflash validation failed
FAILED (remote failure)ยจ
But is only that command, all others commands to flash the phone work properly (but I dont have any clue why its imposible to make Lollipop works, and I cant make KitKat runs with an 41.18 bootloader)
At this time, I dont care any more upgrade to Lollipop, I just want my phone back :crying:
Please help.
Thanks for you time.
unlock phone
preflash validation fail happens due to the locked bootloader . Either unlock bootloader to skip boot flash validation checks or flash stock factory image without unlockingbootloader in recovery mode . Standard recovery and factory firmware image .
I had this problem, I eventually took it back to the point of purchase after trying EVERYTHING! Have you tried flashing stock ROM ignoring the preflash validation error?
Sent from my XT1039 using XDA Free mobile app
You would have executed the following command when trying to downgrade to KitKat:
fastboot flash motoboot motoboot.img
It should not be done. Nevertheless, try installing paranoid android via a custom recovery.
fastboot flash recovery cwm-*.img
Once you are on 41.18 bootloader, you cannot flash an older motoboot.img over the existing image.
Even with a Lollipop bootloader, you can flash all images and the phone should boot.
I have an xt1032 and flash stock 4.4.4 Retail US with no problem.
ankushv said:
preflash validation fail happens due to the locked bootloader . Either unlock bootloader to skip boot flash validation checks or flash stock factory image without unlockingbootloader in recovery mode . Standard recovery and factory firmware image .
Click to expand...
Click to collapse
My bootloader is unlocked ("Status Code: 3"), but I cant flash the 41.13 bootloader, neverthles, I can re-flash the 41.18 without problem.
jasond567 said:
I had this problem, I eventually took it back to the point of purchase after trying EVERYTHING! Have you tried flashing stock ROM ignoring the preflash validation error?
Click to expand...
Click to collapse
Yes, if I flash my Stock ROM (Retail LATAM) it's never pass the "Warning Bootloader", just keep there until I turn it off. If I flash an 5.0.2 Rom, when I start the phone, takes me back to the bootloader with "Boot up failed" message
layman806 said:
You would have executed the following command when trying to downgrade to KitKat:
fastboot flash motoboot motoboot.img
It should not be done. Nevertheless, try installing paranoid android via a custom recovery.
fastboot flash recovery cwm-*.img
Click to expand...
Click to collapse
The problem is that I cant flash any recovery, I try CWM and TWRP. Always gives me an errero when I try too boot in to Recovery Mode.
Are you flashing the correct recovery? Try the latest Philz for your model of phone. The xt1032 is also known as falcon.
What errors are you getting when trying to flash recovery in fastboot?
audit13 said:
Once you are on 41.18 bootloader, you cannot flash an older motoboot.img over the existing image.
Even with a Lollipop bootloader, you can flash all images and the phone should boot.
I have an xt1032 and flash stock 4.4.4 Retail US with no problem.
Click to expand...
Click to collapse
Yep, I try installing Lollipop firmwares with "fastboot flash ......" but no one work
I have an XT1040, and there isnt an official 5.0.2 for this version of Moto G, but it should works, no?
audit13 said:
Are you flashing the correct recovery? Try the latest Philz for your model of phone. The xt1032 is also known as falcon.
What errors are you getting when trying to flash recovery in fastboot?
Click to expand...
Click to collapse
You were right! I was flashing a wrong recovery, I have XT1040 and for this one the name is "Peregrine", I already installed CWM and TWRP (both works, but no one read the SD Card)
I found an NIGHTLESS CyanogenMOD 12 for XT1040 but when I try to install it. I get this message (installing de *.zip with TWRP and CWM):
Code:
E: Unable to mount "/data"
E: Unable to mount "/cache"
E: Unable to mount "/system"
E: Unable to mount internal storage
Any ideas? :crying:
iyurcic95 said:
Yep, I try installing Lollipop firmwares with "fastboot flash ......" but no one work
I have an XT1040, and there isnt an official 5.0.2 for this version of Moto G, but it should works, no?
You were right! I was flashing a wrong recovery, I have XT1040 and for this one the name is "Peregrine", I already installed CWM and TWRP (both works, but no one read the SD Card)
I found an NIGHTLESS CyanogenMOD 12 for XT1040 but when I try to install it. I get this message (installing de *.zip with TWRP and CWM):
Code:
E: Unable to mount "/data"
E: Unable to mount "/cache"
E: Unable to mount "/system"
E: Unable to mount internal storage
Any ideas? :crying:
Click to expand...
Click to collapse
First, format /data/media
Then, /system
Then, /cache
Then, try to install the ROM.
Are you running GPE version of Lollipop on your xt1040? If you are, you may need to re-install stock 4.4.4, including flashing gpt.bin because the partition sizes may be slightly different between stock Lollipop and GPE Lollipop.
layman806 said:
First, format /data/media
Then, /system
Then, /cache
Then, try to install the ROM.
Click to expand...
Click to collapse
I'll try, but, where I should do that? I'm kind of lost with all this.
audit13 said:
Are you running GPE version of Lollipop on your xt1040? If you are, you may need to re-install stock 4.4.4, including flashing gpt.bin because the partition sizes may be slightly different between stock Lollipop and GPE Lollipop.
Click to expand...
Click to collapse
No, I dont install the GPE in the XT1040. Maybe could be what are you saying. Yesterday, I cant remember what I was trying to install and in fastboot, while I was flashing, said "Image is too large", but in de DOS windows on PC, it says "OK"
The issue is that I cant do a downgrade of gpt and de motoboot.
So, I should install 4.4.4 KitKat, (without flashing those 2 files) and try with the recovery installing CyanogenMOD 12? Or CMod12 not uses 41.18 bootloader?
Edit: I think that I cant install KitKat, bootloader gives me "Image is too large", the DOS windows says "OK", but Im thinking that really its not OK.
I install """succesfully""" an 5.0.2 Retail of Brazil, but for the XT1033 version. Really, I dont know if is GPE, but I was able to install all the files and the fastboot dont showme the "Image is to large" message.
Edit2: Withi is command in Terminal of TWRP
mke2fs -T ext4 /dev/block/mmcblk0p8
Click to expand...
Click to collapse
When I try to install the CyanogenMOD's zip, says "Unable to mount /system". So I think I fix the problem with /data. But if I'm right, now what?
Since your bootloader is unlocked and you never flashed a GPE ROM, go back to the start.
If you want to install a custom ROM, flash the recovery for your phone. If you get an error message in fastboot, write it down and post it here.
If you want to flash back to a stock ROM, are you flashing every partition except motoboot.img? Are you erasing cache and userdata at the end?
audit13 said:
Since your bootloader is unlocked and you never flashed a GPE ROM, go back to the start.
If you want to install a custom ROM, flash the recovery for your phone. If you get an error message in fastboot, write it down and post it here.
If you want to flash back to a stock ROM, are you flashing every partition except motoboot.img? Are you erasing cache and userdata at the end?
Click to expand...
Click to collapse
I cant flash any stock ROM for my phone yet becouse, stocks ROMs are until 4.4.4 KitKat using bootloader 41.13. and y cant downgrade my 41.18 bootloader
I am trying to instal CyanogenMOD 12 from my recovery (CWM and TWRP works properly) but I get this message
Code:
"E: Unable tu mount /system"
Here is a photo of the error
http://imageshack.com/a/img661/1201/n9u9Jy.jpg
Edit: I try "fastboot erase system" and "fastboot format system"... Both are done succesfuly, but I stil geting the same error. (Also, I cant mount /storage/sdcard1)
Where did you get the Lollipop bootloader?
Did you try to use fastboot or mfastboot to flash a stock ROM. I have an xt1032 with 41.18 and I can flash stock 4.4.4 ROM.
audit13 said:
Where did you get the Lollipop bootloader?
Did you try to use fastboot or mfastboot to flash a stock ROM. I have an xt1032 with 41.18 and I can flash stock 4.4.4 ROM.
Click to expand...
Click to collapse
I get it when I flash with fastboot an firmware from Brasil wich have 5.0.2.
I will try installing the firmware you have, could you paste me a link please? Is with Recovery installation or with fastboot?
You need to download the stock 4.4.4 firmware for your phone and follow this guide: http://forum.xda-developers.com/moto-g/general/restore-to-kitkat-lollipop-moto-g-t3011553
Did you install the right recovery? Try using Philz for the peregrine to install custom ROM: http://forum.xda-developers.com/moto-g/4g-development/recovery-unofficial-philz-touch-t2827332
audit13 said:
You need to download the stock 4.4.4 firmware for your phone and follow this guide: http://forum.xda-developers.com/moto-g/general/restore-to-kitkat-lollipop-moto-g-t3011553
Did you install the right recovery? Try using Philz for the peregrine to install custom ROM: http://forum.xda-developers.com/moto-g/4g-development/recovery-unofficial-philz-touch-t2827332
Click to expand...
Click to collapse
I followed the first guide and in the DOS window where you put the commands "fastboot flash...." everything goes "OK", but in the phone, the fastboot says "Image is to large" when is going to flash the "system" so Im thinking that its not flashing really
After reboots, the phones dont go further than "Warning Bootloader Unlocked"
I installed Philz for Peregrine, I try to install 2 customs ROMs differetns for XT1040 and I get
Code:
Opening update package...
Installing update...
detected filesystem ext4 for /dev/block/plataform/msm_sdcc.1/by-name/system at /system: invalid argument
unmount of /system failed; no such volume
detected filesystem f2fs for /dev/block/plataform
E: Error in /tmp/update.zip
(Status 1)
Installation aborted.
I 'm about to give up
After flashing the gpt.bin file, type fastboot reboot-bootloader and continue flashing. Maybe this will help.
did you find a way to fix it yet?
im having the same issue. and not able to do anything, i tried flashing cm12 didnt work.

[Q] Stuck on Bootloader Locked Screen

Hey guys
First of all: I think, I ****ed up.
So I was on a custom 5.0.2 Rom and it was really buggy (forceclose, lowmemory, etc.) and so I decided,
that it would be a good idea to go back to stock and flash Slimrom. As far, as I remember, I did the following:
1. Go into my custom recovery and delete everything (I know, I'm an idiot :crying: )
2. Go into fastboot and flash 4.4.4 via a script on my PC
3. Get problems, which I somehow resolve (pls don't ask me, how. I was pretty drunk last night.)
4. 4.4.4 is up and running. I download the stock 5.0.2 OTA files form XDA and try to flash them with TWM.
5. Everything is super buggy under 5.0.2, so I decide to flash back 4.4.4 and use the stock recovery.
6. 5.0.2 runs just fine and I begin to prepare for the custom Slimrom.
7. Install custom recovery, download Slimrom and GApps.
8. Flash Slimrom and get some weird error, that /system and /date can't be mounted. Everything ****ed up from there on...
9. Try to flash the stock 4.4.4 from before (using the script). Doesn't work, gets stuck on bootloader unlocked messege.
10. Try random **** (literally everything, I can find on the web.)
11. Write this post.
Some information, you could need:
XT1032
Fastboot version: 41.18
Unlocked (Status Code: 3)
Boots into recovery
Recovery is TWM 2.8.6.0
Things, I've tried: Flash the stock 4.4.4 system and then flash a custom rom, using TWM Didn't work
Reflash the stock "Kernel Module", found under /showthread.php?t=2649763 Didn't work
Flash an alternate "bootloader unlocked" Screen Didn't work
Please help me, guys :fingers-crossed:
Did you try manually flashing each partition for the 4.4.4 stock ROM? Since you are on a 41.18 bootloader, you should be able to flash every file except motoboot.
audit13 said:
Did you try manually flashing each partition for the 4.4.4 stock ROM? Since you are on a 41.18 bootloader, you should be able to flash every file except motoboot.
Click to expand...
Click to collapse
First of all, thank you for your quick response!
I was able to flash everything without any errors, but unfortunately, it is still stuck on the Warning screen.
Did you erase cache and userdata in fastboot?
audit13 said:
Did you erase cache and userdata in fastboot?
Click to expand...
Click to collapse
Yes, but it did not help
Edit: it gives me an error, when flashing gpt.bin.
it says:
(bootloader) Preflash validation failed
FAILED (remote failure)
So all files flahed except motoboot and gpt? The motoboot file from the stock 4.4.4 flash won't install becuase the 4.4.4 bootloader is older than the bootloader currently installed on your phone.
Even if the gpt.bin file doesn't flash, it doesn't always prevent the phone from booting a stock ROM.
Was the 5.02 ROM the GPE?
audit13 said:
So all files flahed except motoboot and gpt? The motoboot file from the stock 4.4.4 flash won't install becuase the 4.4.4 bootloader is older than the bootloader currently installed on your phone.
Even if the gpt.bin file doesn't flash, it doesn't always prevent the phone from booting a stock ROM.
Was the 5.02 ROM the GPE?
Click to expand...
Click to collapse
When trying to flash the motoboot.img, it says "permission denied" and when trying to flash the gpt.bin, it says "(bootloader) Preflash validation failed FAILED (remote failure)".
The 5.0.2 ROM was the OTA update, which in my case, is the normal motorola one. I did convert my device to a GPE, when Lollipop for the moto G GPE became availible (arround december),
but went back to the normal ROM to get the 5.0.2 OTA.
Thank you for your help :laugh:
Ok, I have used this: http://forum.xda-developers.com/moto-g/development/rom-4-4-4-stock-eu-1-click-easy-flash-t2879757 and i'm back in Stock 4.4.4. I have got no idea, how that worked but it's done
That's great that it worked.
If you want to get 5.02 OTA update, be sure to update Motorola Update Services app in the Play store before checking for updates.

I give up on life (I tried everything to fix the god forsaken phone and loosing hope)

This is a tangent to the issue I had Situated HERE. I am seriously giving up on hope and want help for the love of god. Semester is approaching and I need a functioning mobile
After "fixing" my isssue and being on Lolipop 5.0.2, I realised that my SU binary wasn't present, So I reboot into recovery to realise that CWM isn't present anymore.
Not a big issue, I plug it in and flash TWRP onto it using fasboot commands.
Now i go into recovery and Install Superuser.zip trough TWRP. Then I decide to make a backup of everything. Afterwards I rebooted
The boot logo (The logo in which it normally mentions that Bootloader is unlocked and blablabla) Apears. But then it closes. Apears again but then closes once more. It keep doing than until I boot it into bootloader and close it once arrived there.
If I try to get into TWRP again it closes and continue the cycle.
So I flashed in CWM recovery with the intention to Flash the Stock lolipop ZIP that I done before (which fixed it).
When I boot CWM however, I am presented with a bunch of command lines at the bottom saying
"E: can't mount cache/logs"
and other lines (If you want the exact command lines say so and I will go get them). I didn't flinched to it (sometimes weird **** happens like that and I got used to it) so I go into the install from sdcard. I get this amazing message:
E: cannot mount sdcard
And all gui is not even present. I close the phone and start panicking
################################################################
In other words I need help. I will be checking this thread all the time looking for any help. I am giving up. faced such a problem in my life. I am scared that I bricked the phone for good.
Here is all I know about said phone:
KITKAT MOTO G 4.4.4 from canada (obtained from WIND mobile) most likely XT1034 (Its a mono sim)
The bootloader is 41.18
I used TWRP 2.8.6.2 for xt1032 (This is probably why everything exploded. I didn't realised it was for xt1032)
And I used CWM touch 6.4.0.7 falcon
MORE INFO WILL BE COMING, But I am extremely stressed right now to the idea that I might killed it.
#######################################################################################
#######################################################################################
Here are the CWM error messages
ClockworkMod Recovery v6.0.4.7
E: Can't mount /cache/recovery/command
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
E: Can't mount /cache/recovery/last_install
E: Can't open /cache/recovery/last_Install
- Install ZIP
- Choose zip from /sdcard
E: can't mount /sdcard
-Choose zip from /sdcard
##CWM gui closes## only the command lines are showing.
################
Update 1. I calmed down. I searched the error message and found out that it could either be an issue with CWM being currupted. I will reflash it and bring details. If it doesn't work I will format cache (Wiping the cache seems to not work)
Formatting the cache seems to fix all the cache error messages. But the mounting of /sdcard still present an obstacle
################
Why not flash stock firmware?
motofirmware.center
Sent from my XT1031
#######################
Update 2
I did some research and found out that my sdcard might be on logical and not primary and a way to fix it is to use mini partition tool on it. I am hesitant to do this so I will search for other possible issues
############################################
ATTACK said:
Why not flash stock firmware?
motofirmware.center
Sent from my XT1031
Click to expand...
Click to collapse
Because I can't find it.
try to find a 4.4.4, xt1034 canada stock firmware, Not easy. I've look for around 3 hours without success.
I however found a flashable zip for it, so I need to make recovery work, Because to my knowledge you can't flash an entire zip from adb/fastboot
The site you provided doesn't contain the right firmware. I highly appreciate the help though.
####################################
update 3
I decided to try and sideload stock rom lolipop. Seems to be working. Will be updating the results.
Here are the result:
ON MOTO G
-Install zip from sideload
nothing unusual happens
ON ADB
- adb sideload "lolipop stock rom".zip
Loads.....
Sends.....
"*failed to write data 'protocolt fault <Coudn't read status: invalid argument'* "
BACK TO MOTO G
- cancel sideload
Restarting adbd....
status 0
finding update package.....
opening update package.....
E: Can't open /tmp/update.zip
(bad)
installation aborted.
Click to expand...
Click to collapse
So it doesn't work but I found that last bit interesting. I feel like things are clearing up even though no ones is helping me (except for ATTACK, thanks but I will need a lot more help than that ) So help is apreciated
######################################
What about this file? -> XT1034_FALCON-RETAIL-CA_5.0.2_LXB22.46-32_31_cid14_CFC_1FF.xml.zip
Taken from the factory image index thread. It's the full Retail Canadian 5.0.2 firmware for XT1034
Here are some links to the 4.4.4 firmware.
http://forum.xda-developers.com/showpost.php?p=54855457&postcount=354
EDIT: Here's another link that's probably faster then FileFactory.
http://yun.baidu.com/s/1eQ6iXR8
Sent from my XT1031
k-kuchen said:
What about this file? -> XT1034_FALCON-RETAIL-CA_5.0.2_LXB22.46-32_31_cid14_CFC_1FF.xml.zip
Taken from the factory image index thread. It's the full Retail Canadian 5.0.2 firmware for XT1034
Click to expand...
Click to collapse
If you look at the top of the thread you'll see a link pointing to the beggining of the file, The one who helped me told me to flash this exact file and made my moto to boot loop. Trust me, it's not the right one.
ATTACK said:
Here are some links to the 4.4.4 firmware.
http://forum.xda-developers.com/showpost.php?p=54855457&postcount=354
EDIT: Here's another link that's probably faster then FileFactory.
http://yun.baidu.com/s/1eQ6iXR8
Sent from my XT1031
Click to expand...
Click to collapse
YES, Omg I didn't knew lost posted Firmwares. Prase the mighty lost god. The first one is exactly it.
I don't mind waiting 1 or 2 hours. as long as I got it nicely set up for september 1 I'm a-ok
If it boots properly I owe you sir.
thegamerchunk1 said:
If you look at the top of the thread you'll see a link pointing to the beggining of the file, The one who helped me told me to flash this exact file and made my moto to boot loop. Trust me, it's not the right one.
Click to expand...
Click to collapse
The 4.4.4 is also in this thread
Edit: Hosted on AFH -> https://www.androidfilehost.com/?fid=24052804347795180
##############################
Update 4
I tried to restore stock firmware. Back to square 1.
Cache issues.... I fixed it
Can't mount /sdcard.... Can't fix it.
The logo is the only thing I see and whenever I try to close it by pressing the power button, it reboots into the logo screen.
The only way I can truly close it is by opening fastboot menu and closing it there.
WHY IS THIS HAPPENING IM LOOSING MY MIND
I beg someone, anyone, Help me...
######################################################################
##################################
Update 5 Final ****ing update ****
I wiped and formatted /sdcard with philz touch recovery.
It seems that I can mount the sdcard now but I can't flash any roms because it
"Failed to set up expected mounts for install"
I am seriously in the most depressed mood ever. I worked for 4 years in computer development and I never had this much trouble ever. I ****ing give up everything. If someone ever encounter this issue:
you are ****ed throw the moto g in the garbage its dead nada done.
If someone thinks the contrary tell me how I am supposed to fix this. I will check it in about 12 hours.
I will do anything that someone thinks is going to fix it.
So - after flashing stock firmware your device still won't boot?
How did you flash stock firmware?
Did you receive any errors while flashing stock firmware?
And you are able to flash a custom recovery (TWRP or similar)?
Sent from my XT1031
kinda urgent
@lost101 can you help him brother. He is in dire need.....
@thegamerchunk1 - You need to try to relax - you are making things more complicated than necessary.
It's an known issue that making a nandroid backup in certain versions of TWRP will cause all this. You need to start again.
Stop trying random fixes and fastboot flash the firmware image for your phone.
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Provide a log of what happens when doing the fastboot commands.
ATTACK said:
So - after flashing stock firmware your device still won't boot?
How did you flash stock firmware?
Did you receive any errors while flashing stock firmware?
And you are able to flash a custom recovery (TWRP or similar)?
Sent from my XT1031
Click to expand...
Click to collapse
I flashed it using fastboot. here are the commands I used
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I recall seeing 3 errors. It was hours ago so I don't remember exactly where but it was before the system flashes. They were all similar error except for the end. Im gonna flash it again and see.
Yes I can flash custom recovery.
However I can't a right TWRP version for the phone. whenever I do flash it (TRWP 2.8.6.0 xt1032) and enter into recovery, the logo boots but closes right after
The only ones I could install were CWM and PHilz touch. But I can't install anything from sdcard because I either miss expected mounts (From formatting /sdcard/) or I can't mount /sdcard/.
lost101 said:
@thegamerchunk1 - You need to try to relax - you are making things more complicated than necessary.
It's an known issue that making a nandroid backup in certain versions of TWRP will cause all this. You need to start again.
Stop trying random fixes and fastboot flash the firmware image for your phone.
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Provide a log of what happens when doing the fastboot commands.
Click to expand...
Click to collapse
Sorry. It was 2 am where I was.
I know how to fastboot flash. I'll try myself again and report myself again.
Also I wasn't expecting to see lost here.
thegamerchunk1 said:
Sorry. It was 2 am where I was.
I know how to fastboot flash. I'll try myself again and report myself again.
Also I wasn't expecting to see lost here.
Click to expand...
Click to collapse
Make sure to include the command: fastboot erase userdata
thegamerchunk1 said:
I flashed it using fastboot. here are the commands I used
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I recall seeing 3 errors. It was hours ago so I don't remember exactly where but it was before the system flashes. They were all similar error except for the end. Im gonna flash it again and see.
Yes I can flash custom recovery.
However I can't a right TWRP version for the phone. whenever I do flash it (TRWP 2.8.6.0 xt1032) and enter into recovery, the logo boots but closes right after
The only ones I could install were CWM and PHilz touch. But I can't install anything from sdcard because I either miss expected mounts (From formatting /sdcard/) or I can't mount /sdcard/.
Click to expand...
Click to collapse
Ok - after you retry flashing, please post those errors. May want to try using mfastboot instead of fastboot as well.
Also you could 'adb push ROM.zip' with a custom recovery, bypassing the sd card altogether, but I think you should get your device to boot first.
Sent from my XT1031

Categories

Resources