[Moto G General] deej_roamer:
I am Starting this with a very simple reason that the filefactory link for the Firmware which is the only link currently available right now is a crapy link. The download failed six times before i could finally download it. So After all the hassle I went through, I am uploading the firmware with a dropbox link and hence a lot more trustworthy.

I am changing to google docs and dev-host, hoping this link would survive a lot longer, and i'll be putting more mirrors soon.

4.4.4 is not Pre-installed on any Moto G, hence Restoring to stock is only possible via first falling back to 4.4.2 and then updating the system to 4.4.4.

LOLLIPOP is out. KITKAT is moved into Legacy Section
​

UPDATE: 4.4.4 is now available out-of-the box hence it is not mandatory anymore to revert back to 4.4.2 if somebody wants to restore Moto G to stock. Direct restore to 4.4.4 is possible All KitKat Roms are moved into Optional section. I still love kitkat and I am not ready to move to 5.0.2. I will wait for it to mature

UPDATE: 5.0.2 is now available out-of-the-box hence it is possible to revert back to it directly! Sorry, I have been little late in uploading because of my exams

Thread is little messy, I might organize a bit more.

When Can I Use This?:

1. Your phone is soft-bricked

2. Your phone is hard-bricked but goes to bootloader

3. You want to update your phone to 5.0.2 and OTA is not working.

4. You want to downgrade from 5.0.2 to 4.4.4 or 4.4.2

5. You just want a factory reset

6. You want to come back to ASIA Retails after wondering in GPE or GB firmware

Pre-Requisite:

Installed Motorola Drivers.

Instructions:

1. Download 5.0.2 firmware (updated Link) and Extract it to a folder (More Links and mirrors in Downloads section at the end of the post)

2. Download mfastboot-v2 and Extract it into the same folder

3. Reboot the phone into Bootloader

4. Step 4 can be done two ways Method 1 is manually typing commands and teaches you how a bit about android Method 2 is more automatic and easier

Method 1:Run Following commands from the Command Prompt after cd-ing to the folder, one by one

If you do not wish to lock bootloader skip 4.1 and 4.3

4.1

mfastboot.exe oem lock begin

4.2

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 system system.img_sparsechunk.3
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata

4.3

mfastboot.exe oem lock

4.4

mfastboot.exe reboot

OR

Method 2: Download Retail_AS.bat/Retail_AS+LockBootLoader.bat from Attachments, Extract it to the same folder and just run

5. And there you go! Phone is booting Lollipop

Legacy ::: Restore to 4.4.4 / 4.4.2:

4.4.2 Firmware link is for:

Model number: Moto G
Android version: 4.4.2
Baseband version: MSM8626BP_1032.355.66.00R
Kernel version: 3.4.0-g9f5dcdc hudsoncm@ilclbld27 #1 Thu Jan 23 22:02:58 CST 2014
System version: 171.44.31.falcon_umtsds.AsiaRetail.en.03
Build number: KXB20.25-1.31

4.4.4 Firmware link is for:

Model number: Moto G
Android version: 4.4.4
Baseband version: MSM8626BP_1032.390.81.01P
Kernel version: 3.4.42-gb2383d6 hudsoncm@ilclbld52 #1 Fri Jun 20 00:05:34 CDT 2014
System version: 210.12.40.falcon_umtsds.AsiaRetail.en.03
Build number: KXB21.14-L1.40

Instructions

1. Download 4.4.4 or 4.4.2 and Extract it to a folder

2. Download mfastboot-v2 and Extract it into the same folder

3. Reboot the phone into Bootloader

4. Run Following commands from the Command Prompt after cd-ing to the folder, one by one

If you do not wish to lock bootloader skip 4.1 and 4.3

4.1

mfastboot.exe oem lock begin

4.2

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 erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata

4.3

mfastboot.exe oem lock

4.4

mfastboot.exe reboot

OR

4. Download Retail_AS.bat/Retail_AS+LockBootLoader.bat from Attachments, Extract it to the same folder and just run.

And the Phone is as good as new for Asian Phones!

Optional ::: Upgrade from 4.4.2 to 4.4.4:

In most cases this method will not be needed but in case if someone is on 4.4.2 and wants to upgrade to 4.4.4 without loosing data then this method should be used.

Downloads 4.4.4 Update File:

1.here (GDrive) Updated Link here

2.here (Torrent) by @archies20 :: Rename the Downloaded File(If Downloaded From Torrent) to

Blur_Version.210.12.40.falcon_umtsds.AsiaRetail.en.03.zip

Instructions 4.4.2 to 4.4.4 Update:

IF you are restoring to complete stock prefer the above method to go 4.4.4 method below is obsolete

1. Download The Firmware. Updated Link

2. Copy this file into the root of directory of Internal SD (i.e Internal SD itself, no subfolders)

3. Reboot to Stock Recovery using Holding down VolumeDown+Power button to go to Bootloader, Then VolumeDown=>VolumeUp to recovery

or using ADB

adb reboot recovery

4. Apply update from SD and choose the downloaded package.

5. TaDa, Stock 4.4.4

4.4.4 Update Doesn't wipe Internal Memory

Downloads ::: 5.0.2 / 4.4.4 / 4.4.2 :

Downloads 5.0.2:

No Dev-Host link because of their limit of 512 MB

1.GDrive Updated Link

2.Mega

3.Mega by @jHonth0r

md5: a8d9706d96e37f4b9d380785fc1a8356
sha1: 480f9101933c5f2d36f1706f2ad81c00b5534a68
sha256: 6ea5dcd2714bfebfd4d22167c377b388f06112bee154797171b7f651e8e96ab4

Downloads 4.4.4:

1.GDrive Updated Link

2.Dev-Host by @jri3

3.Torrent (No seeds)

md5: 63bca5272165931c0142cf886d15545c
sha1: acfaa787599e95d18cf2a54657066d7eb7f500bb
sha256: 9c7a4ac0bb6cb3d2b8e606668346d270d3f958d7000e98393844a654912b936a

Downloads 4.4.2:

1.GDrive Updated Link or

2.Dev-Host or

3.MediaFire by @mmk.dr //Corruption reports on this mirror, download at your own risk!

4.Mega by @BaghiXDA

md5: 5da249d254055b28c0f34785242c1e5d
sha1: cd9399074af79148360db2f18c4f28dc3f6a005c
sha256: 0626cbeee200d0fc570f96d406dcda8f0f52c2a5990cbd1836b3847ac7e68f0e

Downloads mfastboot-v2:

Gdrive is showing me violation of terms if i share that file so other sources are mentioned

1.here (dev-host)

2.here (OneDrive) by @nirmalbalaji

3.here (ZippyShare)

Remedy ::: Flashing Failed

Thanks @sw33ty4ppu for asking this question.

Critical Commands (Absolutely Necessary Commands, which if failed will hard brick)

mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash boot boot.img

Non-Critical (If these failed, It will still allow you to go to bootloader and start flashing again)

mfastboot.exe flash logo logo.bin
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 erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata

First check which command gave you an error in flashing.

Any of the non-critical command fails to flash, You can start flashing again and hope it might work, you can also check if the downloaded files are proper or their extraction from zip is proper. You can ask for help here on XDA in Q&A section as well.

Any of the critical command fails to flash, it is absolutely necessary that you do not exit bootloader. Because when device is in bootloader mode, bootloader is loaded into RAM and is still the original copy, you can still take the phone which is already in bootloader mode to a friend's place and get the flashing done there. But if you reboot bootloader somehow(knowingly/unknowingly). Man, You're screwed. Morale of the story, don't turn off/ reboot your phone until correct flashing is performed.

This also is another reason that experienced users prefer to enter commands manually than rely on an automated .bat or .sh script.

OTA update instructions

There are two things necessary for OTA

1. Stock ROM (so you get notification)

2. Stock Recovery (so the update is automatically installed)

FAQ:: Does having root affect the OTA update? ANS:: No

FAQ:: Can I retain root after OTA? ANS:: No, root is lost

If you are looking for a Flashable Zip for stock ROM, Then you can go here by @Sk.D.

This version however is pre rooted and does not flash stock recovery!

I do not appreciate my Noob Friendly Instructions being copied! I really put hours into making it simple. Least I expect is a link to my thread

Anyone willing to mirror the link is welcome!

If it helped, Hit thanks​