[Completed] Only posting because I couldn't find any answers elsewhere... - XDA Assist

My issue is a complicated one, I think.
[Moto x 2nd gen (XT1095)] Two days ago, I dropped my phone, and the screen was absolutely destroyed. The touchscreen and the display are still working fine, but the glass front is completely annihilated. :/ I sent a request to Motorola to get it repaired, and wanted to reflash the stock 5.0 system image. (I happen to be stupid and didn't make a nandriod of stock) I've done this before, in order to update to 5.1, so I have the files required to do so. This is where I started running into problems.
It more or less successfully flashed the image, with the output below:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.078s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash motoboot motoboot.img
< waiting for device >
target reported max download size of 536870912 bytes
sending 'motoboot' (2022 KB)...
OKAY [ 0.125s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.187s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash logo logo.bin
sending 'logo' (467 KB)...
FAILED (command write failed (No such device or address))
finished. total time: 0.016s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash boot boot.img
sending 'boot' (10200 KB)...
FAILED (command write failed (No such device or address))
finished. total time: 0.016s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recovery recovery.img
< waiting for device >
target reported max download size of 536870912 bytes
sending 'recovery' (10280 KB)...
OKAY [ 0.380s]
writing 'recovery'...
OKAY [ 0.512s]
finished. total time: 0.892s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash system
system.img
target reported max download size of 536870912 bytes
sending sparse 'system' (512688 KB)...
OKAY [ 23.360s]
writing 'system'...
OKAY [ 8.230s]
sending sparse 'system' (513422 KB)...
OKAY [ 23.414s]
writing 'system'...
OKAY [ 7.258s]
sending sparse 'system' (513796 KB)...
OKAY [ 40.036s]
writing 'system'...
OKAY [ 7.612s]
sending sparse 'system' (322104 KB)...
OKAY [ 15.842s]
writing 'system'...
OKAY [ 4.025s]
finished. total time: 129.798s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.035s]
finished. total time: 0.036s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.008s]
finished. total time: 0.009s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (694 KB)...
OKAY [ 0.062s]
writing 'fsg'...
OKAY [ 0.045s]
finished. total time: 0.109s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (62248 KB)...
OKAY [ 2.083s]
writing 'modem'...
OKAY [ 0.804s]
finished. total time: 2.889s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot erase userdata
erasing 'userdata'...
OKAY [ 4.443s]
finished. total time: 4.444s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.248s]
finished. total time: 0.249s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot reboot
rebooting...
Upon rebooting to insure that everything worked correctly, I was greeted with the dreaded: "Unfortunately, Phone has stopped". Alright, not the worst thing in the world, if anything I can just reflash TWRP and restore the nandroid I had made before hand. I tap "Ok", but only to have "Unfortunately, Nfc Service has stopped" come up immediately afterward. I keep tapping "Ok", but the dialog fail to cease long enough for me to even interact with the phone; therein lies the issue. I can't access settings to enable USB debugging. I boot my phone into fastboot and attempt to flash TWRP, but of course I can't. Now I'm starting to panic and rampantly search Google for the answer. No luck, best I can find is if I could access the setting. The only thing that I could think of doing next is to find someway to use adb side-load, or disable those damned dialogs. I can access storage, and the device's boot-loader is unlocked.
tl;dr: Can't access settings, unlocked boot-loader, stock android stuck at setup screen. Trying to find a way to install TWRP custom recovery.
Please give me some advice!

Thread closed
Please excuse my idiocy. I was too dumb to realize I could use fast-boot to flash that custom recovery... Thread closed, sorry for those whose time I wasted with this.

Related

Downgade from Stock 5.0.2 to Stock 4.4.4

Hi there,
I want to downgrade my Moto G, so I've download the Stock 4.4.4 Firm and run this commands:
Code:
[email protected]:~/stock4# fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.024s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.315s
[email protected]:~/stock4# fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.151s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.421s
[email protected]:~/stock4# fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.103s]
writing 'logo'...
OKAY [ 0.150s]
finished. total time: 0.254s
[email protected]:~/stock4# fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.641s]
writing 'boot'...
OKAY [ 0.957s]
finished. total time: 1.598s
[email protected]:~/stock4# fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.682s]
writing 'recovery'...
OKAY [ 0.952s]
finished. total time: 1.635s
[email protected]:~/stock4# 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.293s]
sending 'system' (261001 KB)...
OKAY [ 12.886s]
writing 'system'...
OKAY [ 16.901s]
finished. total time: 30.081s
[email protected]:~/stock4# 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.289s]
sending 'system' (251184 KB)...
OKAY [ 12.618s]
writing 'system'...
OKAY [ 14.800s]
finished. total time: 27.707s
[email protected]:~/stock4# 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.316s]
sending 'system' (232703 KB)...
OKAY [ 11.492s]
writing 'system'...
OKAY [ 23.038s]
finished. total time: 34.847s
[email protected]:~/stock4# fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47152 KB)...
OKAY [ 2.487s]
writing 'modem'...
OKAY [ 2.265s]
finished. total time: 4.753s
[email protected]:~/stock4# fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.067s]
finished. total time: 0.067s
[email protected]:~/stock4# fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.087s]
finished. total time: 0.087s
[email protected]:~/stock4# fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.087s]
writing 'fsg'...
OKAY [ 5.156s]
finished. total time: 5.243s
[email protected]:~/stock4# fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.116s]
finished. total time: 0.116s
[email protected]:~/stock4# fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.256s]
finished. total time: 0.256s
[email protected]:~/stock4# fastboot reboot
rebooting...
finished. total time: 0.001s
[email protected]:~/stock4#
After restarts, it stucks at "WARNING BOOTLOADER UNLOCKED" logo.
Could anyone help me?
jochy2525 said:
Hi there,
I want to downgrade my Moto G, so I've download the Stock 4.4.4 Firm and run this commands:
Code:
[email protected]:~/stock4# fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.024s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.315s
[email protected]:~/stock4# fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.151s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.421s
[email protected]:~/stock4# fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.103s]
writing 'logo'...
OKAY [ 0.150s]
finished. total time: 0.254s
[email protected]:~/stock4# fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.641s]
writing 'boot'...
OKAY [ 0.957s]
finished. total time: 1.598s
[email protected]:~/stock4# fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.682s]
writing 'recovery'...
OKAY [ 0.952s]
finished. total time: 1.635s
[email protected]:~/stock4# 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.293s]
sending 'system' (261001 KB)...
OKAY [ 12.886s]
writing 'system'...
OKAY [ 16.901s]
finished. total time: 30.081s
[email protected]:~/stock4# 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.289s]
sending 'system' (251184 KB)...
OKAY [ 12.618s]
writing 'system'...
OKAY [ 14.800s]
finished. total time: 27.707s
[email protected]:~/stock4# 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.316s]
sending 'system' (232703 KB)...
OKAY [ 11.492s]
writing 'system'...
OKAY [ 23.038s]
finished. total time: 34.847s
[email protected]:~/stock4# fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47152 KB)...
OKAY [ 2.487s]
writing 'modem'...
OKAY [ 2.265s]
finished. total time: 4.753s
[email protected]:~/stock4# fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.067s]
finished. total time: 0.067s
[email protected]:~/stock4# fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.087s]
finished. total time: 0.087s
[email protected]:~/stock4# fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.087s]
writing 'fsg'...
OKAY [ 5.156s]
finished. total time: 5.243s
[email protected]:~/stock4# fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.116s]
finished. total time: 0.116s
[email protected]:~/stock4# fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.256s]
finished. total time: 0.256s
[email protected]:~/stock4# fastboot reboot
rebooting...
finished. total time: 0.001s
[email protected]:~/stock4#
After restarts, it stucks at "WARNING BOOTLOADER UNLOCKED" logo.
Could anyone help me?
Click to expand...
Click to collapse
Don't flash the bootloader & partition tables(motoboot.img & gpt.bin). Try flashing the rest. Just edit the .bat file & remove these two lines:
1.) fastboot flash partition gpt.bin
2.) fastboot flash motoboot motoboot.img
Or better you can run the commands individually(excluding motoboot.img & gpt.bin) to see the output at each step
legolas06 said:
Don't flash the bootloader & partition tables(motoboot.img & gpt.bin). Try flashing the rest. Just edit the .bat file & remove these two lines:
1.) fastboot flash partition gpt.bin
2.) fastboot flash motoboot motoboot.img
Or better you can run the commands individually(excluding motoboot.img & gpt.bin) to see the output at each step
Click to expand...
Click to collapse
Thanks for the solution!

[Q] C Spire XT1031 Moto G Bootloader

I flashed the XT1031 Boost Mobile bootloader on my C Spire phone and can't get service on my carrier anymore. Does anyone know how to fix it?
@Matthew931 - I'm assuming you mean you flashed the XT1031 Firmware Image. The only other firmware image for XT1031 is Republic Wireless US. I suspect C-Spire and Republic Wireless are the same.
Download and Tutorial available here:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795​
I recommend you do the fastboot commands manually, one at a time, and report back here with a log if you have problems. I also suggest you leave your current Bootloader alone, and therefore do not include the following fastboot command:
fastboot flash motoboot motoboot.img​
I flashed the Boost Mobile lollipop bootloader thinking it wouldn't hurt they are the same model but i cant get service anymore so im guessing its trying to connect to boost and they don't have service in my area. I will try this thank you.
It didn't work my WIFI stopped working
Matthew931 said:
It didn't work my WIFI stopped working
Click to expand...
Click to collapse
Please provide a full and complete log of you doing the mfastboot commands.
I got it working sorta it only connects to boost towers now do you know how to change the system to connect to C Spire I have the APN information for them but I don't know how to make android use it
http://ian.mcxa.org/2015/01/03/manually-configure-sprint-apns-lollipop.html
I can't access the APN setting do you know a way to open then I don't have voice dialer and the ADB command just brings up help unless im using it wrong
Matthew931 said:
I can't access the APN setting do you know a way to open then I don't have voice dialer and the ADB command just brings up help unless im using it wrong
Click to expand...
Click to collapse
It would be helpful if you would describe more clearly what you mean. Is the setting listed, but grayed out?
QuickShortcutMaker is one way to directly access settings - In the app, change 'Incremental search' to 'Normal Search' - now search for: APN
The app worked I open the settings but they do not save
Matthew931 said:
The app worked I open the settings but they do not save
Click to expand...
Click to collapse
Are you running a Stock ROM or custom ROM? You really should reconsider flashing the Republic Wireless US factory firmware image, as it is probably an essential step.
I am on AOSP Android 5.1.1 I have a backup of the software that was on it when I bought it but it doesn't get service either. Do you want me to try using that?
Matthew931 said:
I am on AOSP Android 5.1.1 I have a backup of the software that was on it when I bought it but it doesn't get service either. Do you want me to try using that?
Click to expand...
Click to collapse
I want you to provide a log of what happens when you use fastboot to flash the Republic Wireless US factory firmware image.
lost101 said:
I want you to provide a log of what happens when you use fastboot to flash the Republic Wireless US factory firmware image.
Click to expand...
Click to collapse
ok will do that now
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash partition gpt.bin
'mfastboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.029s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.322s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (619 KB)...
OKAY [ 0.074s]
writing 'logo'...
OKAY [ 0.101s]
finished. total time: 0.178s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.382s]
writing 'boot'...
OKAY [ 0.817s]
finished. total time: 1.200s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.391s]
writing 'recovery'...
OKAY [ 0.808s]
finished. total time: 1.202s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash system system.img_sparse
chunk1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.255s]
sending 'system' (248502 KB)...
OKAY [ 8.223s]
writing 'system'...
OKAY [ 12.726s]
finished. total time: 21.211s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash system system.img_sparse
chunk2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.252s]
sending 'system' (251514 KB)...
OKAY [ 8.306s]
writing 'system'...
OKAY [ 12.078s]
finished. total time: 20.639s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash system system.img_sparse
chunk3
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.261s]
sending 'system' (237909 KB)...
OKAY [ 7.870s]
writing 'system'...
OKAY [ 20.285s]
finished. total time: 28.418s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47484 KB)...
OKAY [ 1.611s]
writing 'modem'...
OKAY [ 1.626s]
finished. total time: 3.239s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.068s]
finished. total time: 0.069s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.067s]
finished. total time: 0.068s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (255 KB)...
OKAY [ 0.105s]
writing 'fsg'...
OKAY [ 5.270s]
finished. total time: 5.376s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.193s]
finished. total time: 0.194s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.506s]
finished. total time: 0.507s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>
it won't go past bootloader unlocked now
Matthew931 said:
it won't go past bootloader unlocked now
Click to expand...
Click to collapse
You are not flashing the firmware image correctly.
Please mfastboot only. Do the commands manually, one at a time. Provide a new log.
https://www.androidfilehost.com/?fid=23578570567719065​
It's starting now
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.026s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.314s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.050s]
writing 'logo'...
OKAY [ 0.094s]
finished. total time: 0.145s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.378s]
writing 'boot'...
OKAY [ 0.791s]
finished. total time: 1.171s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.379s]
writing 'recovery'...
OKAY [ 0.795s]
finished. total time: 1.176s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash system system.img_spars
echunk1
target max-sparse-size: 256MB
sending 'system' (248502 KB)...
OKAY [ 8.329s]
writing 'system'...
OKAY [ 12.768s]
finished. total time: 21.100s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash system system.img_spars
echunk2
target max-sparse-size: 256MB
sending 'system' (251514 KB)...
OKAY [ 8.475s]
writing 'system'...
OKAY [ 12.103s]
finished. total time: 20.581s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash system system.img_spars
echunk3
target max-sparse-size: 256MB
sending 'system' (237909 KB)...
OKAY [ 8.369s]
writing 'system'...
OKAY [ 20.263s]
finished. total time: 28.634s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (47484 KB)...
OKAY [ 1.629s]
writing 'modem'...
OKAY [ 1.627s]
finished. total time: 3.258s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.026s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.053s]
finished. total time: 0.054s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (255 KB)...
OKAY [ 0.058s]
writing 'fsg'...
OKAY [ 5.257s]
finished. total time: 5.316s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.153s]
finished. total time: 0.154s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 0.487s]
finished. total time: 0.488s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>mfastboot reboot
rebooting...
finished. total time: 0.002s
C:\Users\Matthew\Downloads\ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml\ACG_XT
1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml>
It crashed
Matthew931 said:
It crashed
Click to expand...
Click to collapse
Why are you using the 4.4.2 ACG firmware image and not the 4.4.4 Republic Wireless image?
http://www.filefactory.com/file/4hz...4.4_KXB21.14-L2.4_5_release-keys-cid6.xml.zip​

Moto G Boot up failed Recovery

Good day everyone, I got a moto g bricked I assume because whenever y restart it when it gets past the moto logo yt just stays in a black screen, tried to use recovery but whenever y do it says boot up failed. Read somewhere that this can only be used when the phone is unlocked, tried to do it following moto's homepage instructions but after I use the key they provide me it doesnt unlock it, on fastboot it keeps saying its locked eventhough on the terminal it says succesfully unlocked.
Was thinking to flash a stock rom but I dont know wich model this moto g is and what android version it was, any suggestions are appreciated, really new with dealing with moto so I dont even know if theres a flashing tool for this tried searching for it and didnt find it.
Thanks a lot, regards.
Edit: I just found how to flash images , used a us stock rom and when Im trying to use fastboot it gives me several errors
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash partiti
on gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.324s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash modem N
ON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47476 KB)...
OKAY [ 1.528s]
writing 'modem'...
OKAY [ 0.762s]
finished. total time: 2.306s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash fsg fsg
.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.073s]
writing 'fsg'...
OKAY [ 3.172s]
finished. total time: 3.245s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst
1
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.062s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst
2
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash logo lo
go.bin
target reported max download size of 536870912 bytes
sending 'logo' (619 KB)...
OKAY [ 0.109s]
writing 'logo'...
OKAY [ 0.062s]
finished. total time: 0.172s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash boot bo
ot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.389s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.858s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash recover
y recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.374s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.831s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.063s]
finished. total time: 0.063s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase userdat
a
erasing 'userdata'...
OKAY [ 0.063s]
finished. total time: 0.063s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot reboot
rebooting...
Can anyone point me in the correct direction?
Bump

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)​

Categories

Resources