Doesn't worked for me
I'm new to the forum, but here's what happened to me when I tried to flash CyanogenMod and back to Stock ROM.
My solution was to download a Stock ROM.xml.zip and do the following:
1. Verify that you are in a USB 2.0 connection. USB 3.0 ports (blue) do not work.
2. Download the file I posted.
3. ADB Install Tools.
4. Unzip the "mFastBootFilesForADBTools.rar" inside the folder where you installed the ADB Tools. Archive
5. Fetch the files of StockROM.xml.zip and place within the ADB Tools folder.
PS. In my case I used this Stock ROM: "Android 4.4.2
Blur_Version.171.44.31.falcon_umtsds.Brasil.en.BR. "But is BR, download a similar in your area.
6. Hold the SHIFT key and right-click within the ADB Tools folder. Choose the option: Open a command window here.
. 7 Put the following commands:
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe modemst2 erase
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
* If the FAILED error occurs in the first two, ignore and continue:
* Note if the OKAY appear at all after the "logo.bin" (including this one).
* If all goes as planned, the phone will reboot and will take a while to configure the system. And be with the Stock ROM you chose.
* To update OTA, just wait about 2 minutes after connect the Wii-Fi, check the settings and try to update. If error happen, wait about 2 more minutes and try again. With that everything should be OK.
Do not blame me if it goes wrong. Just worked for me. Currently I use the Stock ROM with OTA. Android 4.4.4
--- Translated by Google Translate ---
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.019s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.313s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash motoboot motoboot
.img
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.139s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.399s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.054s]
writing 'logo'...
OKAY [ 0.040s]
finished. total time: 0.097s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.394s]
writing 'boot'...
OKAY [ 0.630s]
finished. total time: 1.027s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash recovery recovery
.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.400s]
writing 'recovery'...
OKAY [ 0.610s]
finished. total time: 1.012s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash system system.img
_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (262142 KB)...
OKAY [ 9.052s]
writing 'system'...
OKAY [ 8.714s]
finished. total time: 17.783s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash system system.img
_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (237949 KB)...
OKAY [ 8.159s]
writing 'system'...
OKAY [ 7.158s]
finished. total time: 15.320s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash system system.img
_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (243326 KB)...
OKAY [ 8.325s]
writing 'system'...
OKAY [ 16.160s]
finished. total time: 24.487s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash modem NON-HLOS.bi
n
target max-sparse-size: 256MB
sending 'modem' (47476 KB)...
OKAY [ 1.677s]
writing 'modem'...
OKAY [ 0.835s]
finished. total time: 2.516s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe erase modemst1
erasing 'modemst1'...
OKAY [ 0.012s]
finished. total time: 0.013s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe erase modemst2
erasing 'modemst2'...
OKAY [ 0.012s]
finished. total time: 0.013s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (102 KB)...
OKAY [ 0.050s]
writing 'fsg'...
OKAY [ 3.182s]
finished. total time: 3.235s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe erase cache
erasing 'cache'...
OKAY [ 0.015s]
finished. total time: 0.016s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe erase userdata
erasing 'userdata'...
OKAY [ 0.020s]
finished. total time: 0.021s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>mfastboot.exe reboot
rebooting...
finished. total time: 0.001s
H:\Official files\MOBILE TOOLS\Moto G XT1033\ADB_Tools_and_mFastBoot_Files\RETAI
L-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml>