Need help to install stock ROM on Moto G 2013 Falcon - Moto G Q&A, Help & Troubleshooting

Hi guys,
Im from the UK and I have a Moto G XT1032 device which was running Cyanogenmod 12 up until yesterday when I decided to re-install the stock rom. Unfortunately, I have well and truly botched it. The current situation is that I have TWRP set up as the recovery image, so I can get into 'AP Fastboot Flash Mode (S)' OR into TWRP.
I accidentally wiped the 'system' via TWRP which seems to have caused most of my problems. I have tried to install the stock rom using a flashable zip (which failed) and I have also tried around 10 times to install the stock rom using the fastboot commands:
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
When I try to do a basic wipe using TWRP, this is what shows up: hxxps://s27.postimg.org/r1dax21mb/falcon.jpg (change xx for tt, I don't yet have 10 posts so I cannot post links)
I just cannot seem to get the stock rom installed and booting no matter what I try. Can someone please work with me to get this sorted?
I would very, very much appreciate the help.
Thank you

Ok so i've managed to fix the 'unable to mount storage' issue via TWRP. I changed 'data' to EXT4 and I don't get any errors now.
But the problem is, for whatever reason, I am just unable to install a stock rom. I've used tutorials and still cannot seem to get a stock rom to load/work.
I used fastboot to install the rom files is this zip: XT1032_FALCON_TESCOGBSL_5.1_LPBS23.13-56-2_cid7_CFC.xml.zip
When I do a normal boot it gets stuck on 'Warning bootloader unlocked'
When I go to 'recovery', it boots up to a dead android which says 'no command'
When I go to factory restore, it gets stuck on the 'Warning bootloader unlocked' screen
What am I doing wrong?
edit: I even tried sideloading cyanogenmod and it said it was successful, but then it boots up to TWRP. Totally confused! In desperate need of help.
EDIT: I have now made progress. Here are my basic instructions:
put all the files from the zip file in a folder
put mfastboot.exe files into the same folder
install TWRP, erase
run bat file (add/remove sparse depending on files)
reboot and wait. Should work
I have managed to install the OS but wifi isn't working. And i'm now learning about a file called persist that I need to look into regarding wifi.

Related

Hanging in bootloop after trying to install 4.4.4

Hello, I registered, hoping that somone maybe could help here.
Yesterday I wanted to get the latest 5.1 update for my moto g, running 5.0.2. Because I rooted the device amd modified some things like uninstalling system apps and replacing system apps with their updates; I wanted to flash a clean system first. I tried to find a german 5.0.2 rom and couldn't find one, so I decided the 4.4.4 version I got should do the same. So I tried to install it via fastboot. For doing this I used these fastboot commands:
Code:
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I got these three errors: version downgraded primary_gp, version downgraded for tz, version downgraded for boot.
On reboot the phone get's stuck on bootloader unlocked screen and won't boot. I can reset by long pressing power, I can also enter fastboot menu.
After searching for two hours I could find this firmware XT1032_FALCON-RETDE_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml (can't post link) and tried to install, I used the same commands as above and finished without any error. But there's still the bootloop. I tried to install several times and tried also to wipe data and cache. Can anyone help or is the phone bricked forever?
Dont flash motoboot, i had this same problem when flashing motoboot
I tried it again without flashing motoboot, with the same result. I think the problem is, that I flashed it once, so I think I could only fix it by undoing the motoboot flash.
Edit: Seems like the problem is only with stock rom. I tried to install CM12 and it is running fine, except it refuses a wifi connection. If CM would run that would also be ok, but without wifi,...so I just need stock.
Meanwhile I'm using a custom rom as a workaraound.
Try on this order @piet85
logo
boot
recovery
system.img1
system.img2
system.img3
nhlos
erase midem set 1
erase modem set 2
fsg
erase user data
and cache
Mind that the commands are not written on the right way just because im lazy :-
Thank you a lot, don't get me wrong, but for the moment I'm very glad having a running system on my phone and it runs very good for a custom rom. So there is no real need to flash again. Maybe I will do so, when there are major bugs or when I have more time, but for the moment the custom rom does it's job.

[BOOTLOOP] Flashed stock rom after OEM unlocking ten bootloop

hello fellas
I just unlocked my bootloader, flashed aokp and used a little bit.
every Gapps i install stayed buggy, so I decided to install the original firmware than root it.
So I downloaded the original stuff
then:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.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 system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
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
Then it keep showing boot logo then android robot with deleting (something like that) on screen
and keep rebooting and doing this stuff for ever
Yes, I downloaded the right files for my phone
xt1544
I can still flash custom recovery and flash custom roms and boot them, but no stock roms
Could anyone help me?
Steps are looking correct... Is the file got currupted or what? I mean did u paused the file during downloads?
sagar27691 said:
Steps are looking correct... Is the file got currupted or what? I mean did u paused the file during downloads?
Click to expand...
Click to collapse
Nope :/
and it installs everything with no errors
OtavioMalzone said:
Nope :/
and it installs everything with no errors
Click to expand...
Click to collapse
Then u need to ask any dev. Or try steps again...
I've found my error. very stupid acctualy haha
my xt1544 has 6 system.img_sparsechunk parts, and all tutorials went only util .5
That's why it was not booting correclty!
anyway, tnx

Stuck at Motorola Bootlogo after Security update

Device: XT1031 converted to XT1028 for use on Page Plus. Bootloader unlocked. Rooted with SuperSU 2.46 Running Stock Verizon 5.1 ROM 221.26.7.falcon_cdma.Verizon.en.US
Recovery: TWRP 2.8.7.0
I accepted the new security update - http://forum.xda-developers.com/moto-g/general/moto-g-1st-gen-actually-security-update-t3362323
and when it tried to install the update, the phone just rebooted into TWRP Recovery.
So I flashed stock recovery from the Verizon 5.1 ROM and then tried the update again. This time it completed the update and rebooted but is now stuck at the Motorola bootlogo.
I'm able to reboot into fastboot.
I tried flashing system.img_sparsechunk.0, .1, .2, and .3, and rebooted but there is no change.
What can I try to get past this?
Before starting this I made a backup using TWRP Recovery, can I reinstall TWRP and restore that backup?
it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
If the TWRP backup is still on phone, it might be worth transferring it to a PC / external OTG usb drive, as using the following fastboot command will erase it, along with everything else on internal storage:
fastboot command erase userdata​
lost101 said:
it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
If the TWRP backup is still on phone, it might be worth transferring it to a PC / external OTG usb drive, as using the following fastboot command will erase it, along with everything else on internal storage:
fastboot command erase userdata​
Click to expand...
Click to collapse
The TWRP backup was saved to an external OTG USB drive, so that's safe.
I was originally going to do the same as I did for the last update - http://forum.xda-developers.com/showpost.php?p=63976723&postcount=109 but tried it first and when it went straight to recovery, I figured I needed to flash stock recovery. I also figured I needed to flash system also, but it through me off when the sparsechunks were numbered 0 - 3 instead of 1 - 4.
I didn't see any errors when I did the flashes.
Right now my battery is drained all the way to 0%. Hopefully it charges back up.
I appreciate the response. Thanks.
Do all fastboot commands including erase userdata. Change sparsechunk names to match the files in the firmware folder you have downloaded. Phone should charge on fastboot screen, but probably not if at a very low percentage.
lost101 said:
Do all fastboot commands including erase userdata. Change sparsechunk names to match the files in the firmware folder you have downloaded. Phone should charge on fastboot screen, but probably not if at a very low percentage.
Click to expand...
Click to collapse
I'm using this stock ROM: XT1028_FALCON_VERIZON_5.1_LPB23.13-33.7_cid2_CFC.xml.zip
The sparsechunk files in that zip are named:
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
and I need to rename them:
system.img_sparsechunk1
system.img_sparsechunk2
system.img_sparsechunk3
system.img_sparsechunk4
Correct?
Then I would run the following commands one at a time and checking for an OK on each, correct?
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_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
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
After that I can check that I can boot into the OS and then I can flash TWRP and restore my saved backup.
Does that sound right?
Thanks.
Don't rename the sparsechunk files. I said change the name when doing the fastboot commands.
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3​
Edit: Use mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
lost101 said:
Don't rename the sparsechunk files. I said change the name when doing the fastboot commands.
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3​
Edit: Use mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
Click to expand...
Click to collapse
OK, I got an error on the first one I tried:
C:\Moto G Flashing\MotoG_Verizon_5.1_ROM>mfastboot devices
TA965000I5 fastboot
C:\Moto G Flashing\MotoG_Verizon_5.1_ROM>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.029s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.318s
C:\Moto G Flashing\MotoG_Verizon_5.1_ROM>
And on the Moto G's screen:
cmd: getvar:max-sparse-size
cmd: download:00008000
cmd: flashartition
version downgraded for primary_gpt
Is that a problem?
Try flashing the latest available XT1028 Verizon 5.1 Factory Firmware Image:
XT1028_FALCON_VERIZON_5.1_LPBS23.13-33.7-2_cid2​
lost101 said:
Try flashing the latest available XT1028 Verizon 5.1 Factory Firmware Image:
XT1028_FALCON_VERIZON_5.1_LPBS23.13-33.7-2_cid2​
Click to expand...
Click to collapse
OK, that worked. I was able to flash back to the stock ROM.
I'm wondering if there would be any issue if I were to flash TWRP recovery and restore my saved backup?
Thanks for your help.
bw 1 said:
I'm wondering if there would be any issue if I were to flash TWRP recovery and restore my saved backup?
Click to expand...
Click to collapse
I don't personally restore TWRP backups because of bad experiences, but as long as you are using the latest available TWRP you should be okay.
lost101 said:
I don't personally restore TWRP backups because of bad experiences, but as long as you are using the latest available TWRP you should be okay.
Click to expand...
Click to collapse
I decided to start over and not try to recover from the saved file. I don't think there was anything on there that I really needed anyway. All my pictures and stuff was synced to Google.
I'm guessing that I ran into a problem by not flashing the 4 system sparsechunks from the stock ROM to remove root and I wasn't able to flash the same 5.1 that I had on there since it was updated. Flashing the latest newer build Verizon ROM worked because it was the same as what was contained in the update.
I didn't receive another OTA update and system update shows my phone as up to date with:
Android version: 5.1
Android security patch level: 2016-03-01
System version: 221.201.2.falcon_cdma.Verizon.en.US
Build number: LPBS23.13-33.7-2
I'm back to having a working phone. Thanks for your help. Hopefully this will help others too.

Motorola Moto G 4G (XT1040) Bootloop Problem

Hi, this is my first time making a post, ok here's the thing, a couple of days ago my phone run out of battery, when i come back to charge the phone, this just get stuck in the Motorola logo and don´t turn on, i never make nothing like root or flashing roms, the phone os was all stock Android 5.1; so i look in the internet for possible cause and i find that it was a bootloop, i try to get in to the fastboot flash mode to make a reset with the factory option but just get directly to the motorola logo and dont do nothing, so a try with the recovery option and gets in to the android system recovery <3e> and try the wipe data/factory reset but doesn´t work. I try even via computer using the minimal adb and fastboot to erase the cache and the userdata with the commands and doesn't work, still appearing the motorola logo. so i found that i have to install the original rom again but first ill have to unlock the bootloader for my device, so i did it, i unlock the bootloader and now appear <Device is UNLOCKED. Status Code: 3> and now appear the poster WARNING BOOTLOADER UNLOCKED instead of the motorola logo; then i search for the stock rom for my device and i find this one XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml.zip (i know that my device is peregrine because i remember saw it before in the settings but not remeber the hole name), so i make the installation with adb tools like the post say and make this commands:
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
when its over i press fastboot reboot, but then appears again the WARNING BOOTLOADER UNLOCKED poster, i try to make it again, bus still appearing, i try more than 10 times, but still appearing.
sorry if the post is too large but i try to explain everything so you guys can help me because im desesperate with this, thanks.
HanSolo97 said:
Hi, this is my first time making a post, ok here's the thing, a couple of days ago my phone run out of battery, when i come back to charge the phone, this just get stuck in the Motorola logo and don´t turn on, i never make nothing like root or flashing roms, the phone os was all stock Android 5.1; so i look in the internet for possible cause and i find that it was a bootloop, i try to get in to the fastboot flash mode to make a reset with the factory option but just get directly to the motorola logo and dont do nothing, so a try with the recovery option and gets in to the android system recovery <3e> and try the wipe data/factory reset but doesn´t work. I try even via computer using the minimal adb and fastboot to erase the cache and the userdata with the commands and doesn't work, still appearing the motorola logo. so i found that i have to install the original rom again but first ill have to unlock the bootloader for my device, so i did it, i unlock the bootloader and now appear <Device is UNLOCKED. Status Code: 3> and now appear the poster WARNING BOOTLOADER UNLOCKED instead of the motorola logo; then i search for the stock rom for my device and i find this one XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml.zip (i know that my device is peregrine because i remember saw it before in the settings but not remeber the hole name), so i make the installation with adb tools like the post say and make this commands:
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
when its over i press fastboot reboot, but then appears again the WARNING BOOTLOADER UNLOCKED poster, i try to make it again, bus still appearing, i try more than 10 times, but still appearing.
sorry if the post is too large but i try to explain everything so you guys can help me because im desesperate with this, thanks.
Click to expand...
Click to collapse
If your goal is to re-lock the bootloader: try the command: fastboot oem lock
However, I don't see that solving your problem and may compromise your ability to restore to stock. Instead check this link and follow the install directions EXACTLY:
http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816
eg. for Canada choose: XT1040 (Note: for Rogers/Fido - confirmed)
Retail Canada 5.1 ROM (Untouched) (531mb) [Download]
i.e., you want the untouched version for your specific region.
Good luck. S

Flash went bad, how to flash anything working?

Hi, I've flashed my Moto G and I messed up real bad, multiple flashes and so... I can still get into fastboot, but trying to power up normally just gives me the warning about unlocked bootloader, which hangs indefinitely.
The phone is Moto G 8GB XT1032, Retail DE, originally 4.4.2.
-> What can be done about this? Is there a way to reformat the partitions and flash them all fresh and new?
Just so you know, I've been flashing with this batch below. Whatever I flash with it now, doesn't help.
Code:
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
Btw, I know I probably made a lot of stupid mistakes, but in the past I've succesfully flashed dozens of phones and I never messed up like this... Feel free to mock me
Updated: I installed TWRP and found out I am unable to mount or repair system and cache. Also, both partitions show 0 MB size.
The restore to stock should work. Make sure you have mfastboot, the exact factory firmware images for your device, and that each file flashes successfully. Maybe you could post the cmd output if it doesn't flash correctly.
Swamp_cz said:
Hi, I've flashed my Moto G and I messed up real bad, multiple flashes and so... I can still get into fastboot, but trying to power up normally just gives me the warning about unlocked bootloader, which hangs indefinitely.
The phone is Moto G 8GB XT1032, Retail DE, originally 4.4.2.
-> What can be done about this? Is there a way to reformat the partitions and flash them all fresh and new?
Just so you know, I've been flashing with this batch below. Whatever I flash with it now, doesn't help.
Code:
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
Btw, I know I probably made a lot of stupid mistakes, but in the past I've succesfully flashed dozens of phones and I never messed up like this... Feel free to mock me
Click to expand...
Click to collapse
Use this tool: http://forum.xda-developers.com/moto-g/general/gpe-lollipop-5-1-1click-installer-t3075522
SLATE21&MOTOG said:
Use this tool: http://forum.xda-developers.com/moto-g/general/gpe-lollipop-5-1-1click-installer-t3075522
Click to expand...
Click to collapse
It initially worked, the phone booted up fine, but after I switched it off, it came back up in recovery mode. Now it only boots up in recovery.
Swamp_cz said:
It initially worked, the phone booted up fine, but after I switched it off, it came back up in recovery mode. Now it only boots up in recovery.
Click to expand...
Click to collapse
so you can't boot into system?
Finally, I solved it.
I couldn't, but then I found many people have this issue and the solution was to somehow repair the misc directory through ADB in TWRP (instructions are somewhere here at xda-dev). Now works well.

Categories

Resources