Gapps Crashed- Wrecked Phone - Returning to Stock - Moto G Q&A, Help & Troubleshooting

Hi all, last night I was using my rooted Moto G 4g LTE quite happily, until gapps crashed, I clicked ok, didn't want to send a report and it kept looping itself not allowing me to do anything. I decided to switch my phone off and then on again. When it switched on, the boot splash appeared and after that had finished it just stayed on a black screen, not displaying much at all, but the backlight was on, so I could tell the phone was switched on.
I tried to go into recovery to restore my backups, but it just sat at "Teamwin" for 10 minutes.
I've decided to send me phone off for repair and so I wanted to flash my phone to stock. Following various guides on here, I did the following. Apologies for sometimes missing steps, going back and having to repeat myself. The guide I followed/adapted mildly was this one http://forum.xda-developers.com/moto-g/general/help-moto-g-lte-rebooting-to-bootloader-t2807628
Code:
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# ls
boot.img gpt.bin mfastboot NON-HLOS.bin system.img_sparsechunk.0 system.img_sparsechunk.2 TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml
fsg.mbn logo.bin motoboot.img recovery.img system.img_sparsechunk.1 system.img_sparsechunk.3
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.064s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.450s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (1060 KB)...
OKAY [ 0.100s]
writing 'logo'...
OKAY [ 0.085s]
finished. total time: 0.185s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.139s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.160s]
finished. total time: 1.299s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (1060 KB)...
OKAY [ 0.131s]
writing 'logo'...
OKAY [ 0.047s]
finished. total time: 0.178s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.373s]
writing 'boot'...
OKAY [ 0.718s]
finished. total time: 1.091s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.411s]
writing 'recovery'...
OKAY [ 0.674s]
finished. total time: 1.085s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash system system.img_sparsechunk1
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk1': No such file or directory
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# ls
boot.img gpt.bin mfastboot NON-HLOS.bin system.img_sparsechunk.0 system.img_sparsechunk.2 TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml
fsg.mbn logo.bin motoboot.img recovery.img system.img_sparsechunk.1 system.img_sparsechunk.3
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (260845 KB)...
OKAY [ 8.239s]
writing 'system'...
OKAY [ 9.138s]
finished. total time: 17.377s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (236289 KB)...
OKAY [ 7.477s]
writing 'system'...
OKAY [ 7.056s]
finished. total time: 14.533s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (257395 KB)...
OKAY [ 8.178s]
writing 'system'...
OKAY [ 8.067s]
finished. total time: 16.245s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (26772 KB)...
OKAY [ 0.890s]
writing 'system'...
OKAY [ 13.011s]
finished. total time: 13.902s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (59132 KB)...
OKAY [ 1.905s]
writing 'modem'...
OKAY [ 0.989s]
finished. total time: 2.895s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.011s]
finished. total time: 0.011s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.011s]
finished. total time: 0.011s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (661 KB)...
OKAY [ 0.097s]
writing 'fsg'...
OKAY [ 3.196s]
finished. total time: 3.293s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot erase cache
erasing 'cache'...
OKAY [ 0.015s]
finished. total time: 0.015s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.021s]
finished. total time: 0.021s
:~/Downloads/(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml# sudo ./mfastboot reboot
rebooting...
finished. total time: 0.001s
Nothing changed. When I try and switch the phone on, it displays the boot splash (same as before) and goes into the black screen still. If I try and go into recovery, it still freezes on "Teamwin". I've no idea why since it should be the standard recovery image.
Advise is gratefully received.

Related

S.O.S

Hello guys, this is my first time being officially on the forum as a user, before I was just reading and viewing information, using some of it as well. The reason I post this thread is to see if anyone can help me out or point me in the right direction of an already existing thread for my issue.
My issue is the following. A week ago I was trying to flash a new rom and by accident I deleted the system part on the advanced option on the TWRP. After that when my phone turned on a weird line starting going up and down on the screen and the phone started to work really really slow. I asked a friend and he told me to just reflash the rom, which I did but the line and slowness still appeared after that even my WIFI stopped working (when I tried to turn it on it would turn itself off immediately) I read on a thread about a similar issue and they reinstalled the firmware of the phone and it worked. obviously I tried doing it myself, I replaced the firmware to my phone used an original copy and everything works fine, except the wifi, it still does not turn on.
Can anyone help me out? Has anyone ever hear of this issue before.
And to let you all know. Me cellphones model is Motorola Moto G TX1032
Any and I mean any assistance or information provided will be very helpful.
Thank you!!
Mr.Nomo said:
Hello guys, this is my first time being officially on the forum as a user, before I was just reading and viewing information, using some of it as well. The reason I post this thread is to see if anyone can help me out or point me in the right direction of an already existing thread for my issue.
My issue is the following. A week ago I was trying to flash a new rom and by accident I deleted the system part on the advanced option on the TWRP. After that when my phone turned on a weird line starting going up and down on the screen and the phone started to work really really slow. I asked a friend and he told me to just reflash the rom, which I did but the line and slowness still appeared after that even my WIFI stopped working (when I tried to turn it on it would turn itself off immediately) I read on a thread about a similar issue and they reinstalled the firmware of the phone and it worked. obviously I tried doing it myself, I replaced the firmware to my phone used an original copy and everything works fine, except the wifi, it still does not turn on.
Can anyone help me out? Has anyone ever hear of this issue before.
And to let you all know. Me cellphones model is Motorola Moto G TX1032
Any and I mean any assistance or information provided will be very helpful.
Thank you!!
Click to expand...
Click to collapse
Did you use a fastboot firmware image? If so what commands did you try?
Did u flash the modem,boot and radio correctly?
lost101 said:
Did you use a fastboot firmware image? If so what commands did you try?
Click to expand...
Click to collapse
What I used was "US_retail_XT1032_KXB21.14-L1.32_CFC.xml" its a zip file, I copied the contents on this to a folder where I had the adb tools and the commands I used where:
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
It's would be helpful if you could provide an actual log of using these commands. Fastboot is not user friendly, and it can be the case you think a command has been successful - when it has not.
Log
lost101 said:
It's would be helpful if you could provide an actual log of using these commands. Fastboot is not user friendly, and it can be the case you think a command has been successful - when it has not.
Click to expand...
Click to collapse
Here is the log of the command process, I had to switch commands and firmware because the rest were giving me more problems aside of the wifi, this is the brazilian firmware 5.0.2 :
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.025s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.370s]
finished. total time: 0.399s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot reboo
t-bootloader
rebooting into bootloader...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.091s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.232s]
finished. total time: 1.326s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 0.036s]
writing 'logo'...
OKAY [ 0.084s]
finished. total time: 0.123s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.391s]
writing 'boot'...
OKAY [ 0.760s]
finished. total time: 1.156s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.372s]
writing 'recovery'...
OKAY [ 0.750s]
finished. total time: 1.125s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257883 KB)...
OKAY [ 8.454s]
writing 'system'...
OKAY [ 10.936s]
finished. total time: 19.394s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256754 KB)...
OKAY [ 8.456s]
writing 'system'...
OKAY [ 11.241s]
finished. total time: 19.701s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260090 KB)...
OKAY [ 8.573s]
writing 'system'...
OKAY [ 11.058s]
finished. total time: 19.642s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (165316 KB)...
OKAY [ 5.463s]
writing 'system'...
OKAY [ 7.930s]
finished. total time: 13.401s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 1.694s]
writing 'modem'...
OKAY [ 1.455s]
finished. total time: 3.154s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot erase
modemst1
erasing 'modemst1'...
OKAY [ 0.023s]
finished. total time: 0.025s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot erase
modemst2
erasing 'modemst2'...
OKAY [ 0.022s]
finished. total time: 0.024s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot flash
fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (102 KB)...
OKAY [ 0.072s]
writing 'fsg'...
OKAY [ 5.602s]
finished. total time: 5.679s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot erase
cache
erasing 'cache'...
OKAY [ 0.359s]
finished. total time: 0.361s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot erase
userdata
erasing 'userdata'...
OKAY [ 3.168s]
finished. total time: 3.172s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>mfastboot reboo
t
rebooting...
finished. total time: 0.002s
C:\Users\J\Desktop\BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml>
Now this firmware works fine and all but I still have the issue with the wifi, I have been reading about replacing a file on the /persist folder, and I have done so multiple times, and the issue still remains
Could you try flashing the GPE 5.1 Firmware Image: http://forum.xda-developers.com/showpost.php?p=59930345&postcount=610
Skip the following command for your own safety: mfastboot flash motoboot motoboot.img
Same?
lost101 said:
Could you try flashing the GPE 5.1 Firmware Image: http://forum.xda-developers.com/showpost.php?p=59930345&postcount=610
Skip the following command for your own safety: mfastboot flash motoboot motoboot.img
Click to expand...
Click to collapse
I did the process here is the log:
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.367s]
writing 'boot'...
OKAY [ 0.712s]
finished. total time: 1.092s
on device appeared: hab check failed for boot
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.384s]
writing 'recovery'...
OKAY [ 0.702s]
finished. total time: 1.092s
on device appeared: hab check failed for recovery
Complete log:
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t partition gpt.bin
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-P enable parallel loading for multi-fla
sh if
there is no enough memory on host to
load
whole image
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:
2048
-S <size>[K|M|G] automatically sparse files greater th
an
size. 0 to disable
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.028s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.318s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t reboot bootloader
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-P enable parallel loading for multi-fla
sh if
there is no enough memory on host to
load
whole image
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:
2048
-S <size>[K|M|G] automatically sparse files greater th
an
size. 0 to disable
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t reboot-bootloader
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.004s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (76 KB)...
OKAY [ 0.032s]
writing 'logo'...
OKAY [ 0.081s]
finished. total time: 0.118s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.367s]
writing 'boot'...
OKAY [ 0.712s]
finished. total time: 1.092s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.384s]
writing 'recovery'...
OKAY [ 0.702s]
finished. total time: 1.092s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257288 KB)...
OKAY [ 8.507s]
writing 'system'...
OKAY [ 11.266s]
finished. total time: 19.776s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (260812 KB)...
OKAY [ 8.591s]
writing 'system'...
OKAY [ 10.560s]
finished. total time: 19.154s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (262141 KB)...
OKAY [ 8.624s]
writing 'system'...
OKAY [ 12.751s]
finished. total time: 21.378s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (18680 KB)...
OKAY [ 0.693s]
writing 'system'...
OKAY [ 0.783s]
finished. total time: 1.482s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49368 KB)...
OKAY [ 1.677s]
writing 'modem'...
OKAY [ 1.292s]
finished. total time: 2.975s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t erase modemst1
erasing 'modemst1'...
OKAY [ 0.023s]
finished. total time: 0.025s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t erase modemst2
erasing 'modemst2'...
OKAY [ 0.022s]
finished. total time: 0.024s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (708 KB)...
OKAY [ 0.110s]
writing 'fsg'...
OKAY [ 5.614s]
finished. total time: 5.729s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t erase cache
erasing 'cache'...
OKAY [ 0.344s]
finished. total time: 0.345s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t erase userdata
erasing 'userdata'...
OKAY [ 2.976s]
finished. total time: 2.979s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>mfastboo
t reboot
rebooting...
finished. total time: 0.002s
C:\Users\J\Downloads\Moto G\Firmware\GPE_5.1_XT1032_LMY47M.M001_CFC.xml>
I also included what I believe are errors, if you call it like that which are detailed at the beginning. And now when I turn the wifi on, it turns "on" but no networks are recognized ( I have one at home ) and then when the screen locks or I go back, it will appear as off.
Update
After installing this firmware and installing a file explorer with root permission, I went to /persist to modify the WCNSS file, placing a 0 on it, afterwards tried the WIFI and got my hopes up because it recognized my WIFI and it even displayed a MAC Address which I copied. After trying to connect to my wifi...it stopped working and is back to square one.
@Mr.Nomo - I'll do some more research this evening. Is everything else working for you? Calls / data etc.
UPDATE: Sometimes flashing a CyanogenMOD based custom ROM can get WiFi working again. WiFi in XPerience ROM is different again and might be worth a try: http://forum.xda-developers.com/moto-g/orig-development/rom-xperience-9-0-0-t2952466
lost101 said:
@Mr.Nomo - I'll do some more research this evening. Is everything else working for you? Calls / data etc.
UPDATE: Sometimes flashing a CyanogenMOD based custom ROM can get WiFi working again. WiFi in XPerience ROM is different again and might be worth a try: http://forum.xda-developers.com/moto-g/orig-development/rom-xperience-9-0-0-t2952466
Click to expand...
Click to collapse
Yes! Everything else is working absolutely fine, calls, data, texting, everyhing else is awesome. I tried flashing a CyanoGen rom before, it started giving me issues with the playstore and with the UI, but will definitely try it out and update you with the results.
Thank you very much for all your help. :good:
Update on the XPerience Rom
Flashed properly, no errors and aside from it being a little slow at startup everything else works. Except the WiFi Tried modyfing the WCNSS file, no success with that either. One question, if I were to delete the folder /persist and all its contents, how would that affect the phone?
Mr.Nomo said:
Flashed properly, no errors and aside from it being a little slow at startup everything else works. Except the WiFi Tried modyfing the WCNSS file, no success with that either. One question, if I were to delete the folder /persist and all its contents, how would that affect the phone?
Click to expand...
Click to collapse
I don't know what would happen, but I can say that there are some partitions on Moto G that are unique to each handset. For example, if deleting the contents of that partition / folder caused you to loose IMEI - it might be impossible to undo. Without an IMEI you could no longer make calls.
Update on the XPerience Rom #2
It seems the rest of the rom is working fine up to this point, the only problem that I've encountered aside from the WIFI is the messaging app that comes included on the rom stops working whenever I try to reply to a message or create a new one. But I think I will use hangouts for that issue, by the way if I didnt thank already for the information regarding the possible causes of deleting the /persist file...I thank you again. :good:

Moto g 4g dead :(

Hi was wondering if anyone could help me, i unlocked the bootloader and tried to root and install CWM recovery, now my phone boots up to the logo then fades out and there are lines flashing on the screen
I have tried to install the stock rom with mfastboot using this procedure...
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 erase userdata
mfastboot reboot
I do each line one by one and this is my log file....
I:\Moto G\mfastboot-v2>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.061s
I:\Moto G\mfastboot-v2>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.100s]
writing 'motoboot'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.136s
I:\Moto G\mfastboot-v2>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.072s]
writing 'logo'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.113s
I:\Moto G\mfastboot-v2>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.378s]
writing 'boot'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.397s
I:\Moto G\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.389s]
writing 'recovery'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.437s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (252700 KB)...
OKAY [ 7.946s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 7.963s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (247709 KB)...
OKAY [ 7.790s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 7.820s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (110360 KB)...
OKAY [ 3.498s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 3.546s
I:\Moto G\mfastboot-v2>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (47996 KB)...
OKAY [ 1.567s]
writing 'modem'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 1.581s
I:\Moto G\mfastboot-v2>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.035s]
finished. total time: 0.035s
I:\Moto G\mfastboot-v2>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.021s]
finished. total time: 0.022s
I:\Moto G\mfastboot-v2>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (102 KB)...
OKAY [ 0.092s]
writing 'fsg'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.148s
I:\Moto G\mfastboot-v2>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.302s]
finished. total time: 0.303s
I:\Moto G\mfastboot-v2>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 2.339s]
finished. total time: 2.340s
I:\Moto G\mfastboot-v2>mfastboot reboot
rebooting...
finished. total time: 0.001s
I:\Moto G\mfastboot-v2>
Now when it reboots it goes to the boot logo then the screen goes black and white lines start flickering and it stops like that
Leave phone fastboot screen - charge battery until at least 50% - then try again.
ok will try that
still not working
mimicuk said:
still not working
Click to expand...
Click to collapse
What Model / Firmware is that phone? Could you provide a new fastboot log?
this is the stock rom i am using RETAIL-GB_4.3_14.10.0Q3.X-76-LGG-8_cid7_CFC_1FF_svc.xml.modaco.r3
I have the 1st gen moto g 4G one not the 2nd gen
This is the Mfastboot log.......
I:\Moto G\mfastboot-v2>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.027s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.330s
I:\Moto G\mfastboot-v2>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.096s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.377s
I:\Moto G\mfastboot-v2>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.075s]
writing 'logo'...
OKAY [ 0.125s]
finished. total time: 0.204s
I:\Moto G\mfastboot-v2>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.368s]
writing 'boot'...
OKAY [ 0.734s]
finished. total time: 1.111s
I:\Moto G\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.374s]
writing 'recovery'...
OKAY [ 0.729s]
finished. total time: 1.104s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (252700 KB)...
OKAY [ 7.963s]
writing 'system'...
OKAY [ 11.125s]
finished. total time: 19.096s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (247709 KB)...
OKAY [ 7.794s]
writing 'system'...
OKAY [ 9.566s]
finished. total time: 17.367s
I:\Moto G\mfastboot-v2>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (110360 KB)...
OKAY [ 3.498s]
writing 'system'...
OKAY [ 18.411s]
finished. total time: 21.915s
I:\Moto G\mfastboot-v2>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (47996 KB)...
OKAY [ 1.550s]
writing 'modem'...
OKAY [ 1.262s]
finished. total time: 2.818s
I:\Moto G\mfastboot-v2>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.023s]
finished. total time: 0.026s
I:\Moto G\mfastboot-v2>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.023s]
finished. total time: 0.025s
I:\Moto G\mfastboot-v2>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (102 KB)...
OKAY [ 0.084s]
writing 'fsg'...
OKAY [ 5.612s]
finished. total time: 5.702s
I:\Moto G\mfastboot-v2>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.280s]
finished. total time: 0.281s
I:\Moto G\mfastboot-v2>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 2.382s]
finished. total time: 2.384s
I:\Moto G\mfastboot-v2>mfastboot reboot
rebooting...
finished. total time: 0.003s
I:\Moto G\mfastboot-v2>
The firmware image you are using is too old. Your current Bootloader will not accept it.
I suggest you try one of the newer XT1039 Retail UK/GB firmware images from here:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795​
It may be the case that only the 5.1 firmware image will flash correctly for you.
lost101 said:
The firmware image you are using is too old. Your current Bootloader will not accept it.
I suggest you try one of the newer XT1039 Retail UK/GB firmware images from here:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795​
It may be the case that only the 5.1 firmware image will flash correctly for you.
Click to expand...
Click to collapse
will this work on a xt1045 with the same problem??
hecmarrufo said:
will this work on a xt1045 with the same problem??
Click to expand...
Click to collapse
The XT1045 5.1 firmware image is not yet available. Hopefully that will change soon. Flashing a different models firmware is a very bad idea.

Facing issue while downgrading CyanogenMod ROM(marshmallow) to stock ROM on XT1033

Hi,
I have Moto G XT1033(Dual SIM).
Recently I have installed custom CyanogenMod 13 ROM(marshmallow) which is working fine but I want to get back to stock ROM
whenever I tried to flash, after rebooting It is getting stuck at "Warning, Device is unlocked" screen
Also if I tried to upgrade/install CyanogenMod 13, Its booting fine and also working fine
Please help me to resolve this....
FYI.... I'm using below step to downgrade and getting failed at 1st 2 steps(Output attached below)
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.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
==================================================================================================================
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.047s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.328s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.094s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.391s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.109s]
writing 'logo'...
OKAY [ 0.109s]
finished. total time: 0.219s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.391s]
writing 'boot'...
OKAY [ 0.781s]
finished. total time: 1.172s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.406s]
writing 'recovery'...
OKAY [ 0.766s]
finished. total time: 1.172s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.609s]
sending 'system' (260949 KB)...
OKAY [ 8.248s]
writing 'system'...
OKAY [ 12.748s]
finished. total time: 21.605s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.641s]
sending 'system' (248721 KB)...
OKAY [ 7.875s]
writing 'system'...
OKAY [ 10.216s]
finished. total time: 18.732s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.672s]
sending 'system' (254187 KB)...
OKAY [ 8.026s]
writing 'system'...
OKAY [ 18.983s]
finished. total time: 27.681s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash system system.img_sparsechunk.3
error: cannot load 'system.img_sparsechunk.3'
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47152 KB)...
OKAY [ 1.531s]
writing 'modem'...
OKAY [ 1.391s]
finished. total time: 2.938s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.062s]
finished. total time: 0.062s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.062s]
finished. total time: 0.062s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 5.641s]
finished. total time: 5.750s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.437s]
finished. total time: 0.437s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot erase userdata
erasing 'userdata'...
OKAY [ 6.394s]
finished. total time: 6.394s
C:\Users\padma\Downloads\Compressed\adb-tools_treiber\adb-tools_treiber\adb-tools>fastboot reboot
rebooting...
finished. total time: 0.016s
=========================================================================================================================

Bootloop to Recovery

Hi,
I have a problem whit my device after a flash a rom the device is stuck on bootloop and boot only to the twrp recovery
i tried to flash the stock rom and no seccss the device is still boot to the stock recovery
what shold i do :\ ?
my device i x1032 google play edition
Which ROM are you flashing?
While in fastboot mode enter :
mfastboot oem fb_mode_clear
That will solve that boot to recovery issue.
I do not know if it matters
When I tried to fix the problem so I changed the File system in the twrp
WIPE-ADVANCED WIPE- REPAIR OR CHANGE FILE SYSTEM
cache is in ext4
date is in f2fs
system is in ext4
any help ?
the problem is still exists
upload a video of the problem
https://www.youtube.com/watch?v=AoxwrfIEZQw
blior32017 said:
any help ?
the problem is still exists
Click to expand...
Click to collapse
Flash the latest XT1032 Factory Firmware Image using mFastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
mFastboot download: https://www.androidfilehost.com/?fid=24052804347778493
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
lost101 said:
Flash the latest XT1032 Factory Firmware Image using mFastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
mFastboot download: https://www.androidfilehost.com/?fid=24052804347778493
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
this is the log
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.328s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.094s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.344s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (76 KB)...
OKAY [ 0.063s]
writing 'logo'...
OKAY [ 0.094s]
finished. total time: 0.156s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.350s]
writing 'boot'...
OKAY [ 0.766s]
finished. total time: 1.116s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.359s]
writing 'recovery'...
OKAY [ 0.771s]
finished. total time: 1.130s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257288 KB)...
OKAY [ 8.092s]
writing 'system'...
OKAY [ 12.700s]
finished. total time: 20.791s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (260792 KB)...
OKAY [ 8.192s]
writing 'system'...
OKAY [ 11.742s]
finished. total time: 19.949s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (262141 KB)...
OKAY [ 8.243s]
writing 'system'...
OKAY [ 13.915s]
finished. total time: 22.158s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (18704 KB)...
OKAY [ 0.628s]
writing 'system'...
OKAY [ 0.853s]
finished. total time: 1.512s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49368 KB)...
OKAY [ 1.605s]
writing 'modem'...
OKAY [ 1.459s]
finished. total time: 3.064s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.016s]
finished. total time: 0.016s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.063s]
finished. total time: 0.063s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (708 KB)...
OKAY [ 0.109s]
writing 'fsg'...
OKAY [ 5.602s]
finished. total time: 5.712s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.359s]
finished. total time: 0.359s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 5.993s]
finished. total time: 5.993s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot reboot
rebooting...
finished. total time: 0.016s
D:\minimal_adb_fastboot_1.4.1_portable>
@blior32017 - Which firmware image - state the zip filename - did you flash?
lost101 said:
@blior32017 - Which firmware image - state the zip filename - did you flash?
Click to expand...
Click to collapse
I have the GPE version so I flash "GPE_5.1_XT1032_LMY47M.M005"
blior32017 said:
I have the GPE version so I flash "GPE_5.1_XT1032_LMY47M.M005"
Click to expand...
Click to collapse
Try the following firmware image instead:
Retail US - XT1032_FALCON_RETUGLB_5.1_LPBS23.13-58-2_cid9 (Newer Build)​

xt1039, mfastboot error, can't reboot, bootloop 41.1A

Hello
I really hopes one of you brilliand guys can help me. I'm at a loss (sorry in advance for bad english).
I have a xt1039 with an unlocked BL 41.1A which I can't get back to stock or flash any other ROM.
In mfastboot, my phone is recognized as TA4750I1SK, and the device is UNLOCKED and my CID is 7.
I tried flashing different stock version from here
https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/"]https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/
trying both 4.4.4 and 5.1 but without success:
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.090s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.430s
(version downgraded for primary gpt)
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.170s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.020s]
finished. total time: 1.200s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 0.100s]
writing 'logo'...
OKAY [ 0.090s]
finished. total time: 0.190s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.520s]
writing 'boot'...
OKAY [ 0.810s]
finished. total time: 1.330s
(This sometimes fails as well, preflash validation, and on mobile says "version downgraded for boot")
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash recovery recovery.i
mg
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.520s]
writing 'recovery'...
OKAY [ 0.810s]
finished. total time: 1.330s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257451 KB)...
OKAY [ 10.715s]
writing 'system'...
OKAY [ 13.060s]
finished. total time: 23.776s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (257661 KB)...
OKAY [ 10.383s]
writing 'system'...
OKAY [ 12.192s]
finished. total time: 22.580s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (261552 KB)...
OKAY [ 10.710s]
writing 'system'...
OKAY [ 17.881s]
finished. total time: 28.606s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (60232 KB)...
OKAY [ 2.527s]
writing 'modem'...
OKAY [ 2.090s]
finished. total time: 4.627s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase modemst1
erasing 'modemst1'...
OKAY [ 0.030s]
finished. total time: 0.030s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase modemst2
erasing 'modemst2'...
OKAY [ 0.064s]
finished. total time: 0.066s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (517 KB)...
OKAY [ 0.080s]
writing 'fsg'...
OKAY [ 5.272s]
finished. total time: 5.362s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase cache
erasing 'cache'...
OKAY [ 0.140s]
finished. total time: 0.140s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase userdata
erasing 'userdata'...
OKAY [ 0.440s]
finished. total time: 0.440s
I managed to flash twrp, but the phone will hang on Bootloader logo when rebooting, and I don't know what to do next.
Any good ideas?
visit here https://forum.xda-developers.com/showthread.php?t=2317790
and download version 1.4.2
then visit this https://forum.xda-developers.com/attachment.php?attachmentid=3476163&d=1442444179 (direct download link for mfastboot)
now copy mfastboot.exe to adb folder (created from version 1.4.2 .exe)
and try to install 5.1 lollipop stock rom with mfastboot commands thats it everything will works fine
dont download adb file from google website always use version 1.4.2
enjoy
Thank you for your reply. That made no difference. Same error messages. Also when I reboot in the end, it still shows unlocked bootloader message, continues straight to periodically blinking the "no command" and then just hangs.
I tried to flash XT1039_PEREGRINE_RETEU_5.1_LPB23.13-17_cid7_CFC.xml.
Also, when I go to twrp and try to make a wipe, it shows 'unable to mount /data' and 'unable to mount internal storage'.
Any new ideas?
SunilSuni said:
visit here https://forum.xda-developers.com/showthread.php?t=2317790
and download version 1.4.2
then visit this https://forum.xda-developers.com/attachment.php?attachmentid=3476163&d=1442444179 (direct download link for mfastboot)
now copy mfastboot.exe to adb folder (created from version 1.4.2 .exe)
and try to install 5.1 lollipop stock rom with mfastboot commands thats it everything will works fine
dont download adb file from google website always use version 1.4.2
enjoy
Click to expand...
Click to collapse
Powerleech said:
Hello
I really hopes one of you brilliand guys can help me. I'm at a loss (sorry in advance for bad english).
I have a xt1039 with an unlocked BL 41.1A which I can't get back to stock or flash any other ROM.
In mfastboot, my phone is recognized as TA4750I1SK, and the device is UNLOCKED and my CID is 7.
I tried flashing different stock version from here
https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/"]https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/
trying both 4.4.4 and 5.1 but without success:
I managed to flash twrp, but the phone will hang on Bootloader logo when rebooting, and I don't know what to do next.
Any good ideas?
Click to expand...
Click to collapse
Flashing twrp 3.1 or high in bootloader .
Wipe "system" "data" and "cache" in twrp .
Dont flash "partition" and "motoboot" when you flashing stock firmware .

Categories

Resources