[Moto G 4G Android Development] lost101:
ROM Release Log:

02/02/16 - Added Stock 5.1 Dialer | Messenger flashable zips (All models)

31/01/16 - Added XT1040 Retail Latin America 5.1 (Optimized) v1.0a (Changelog)

10/01/16 - Added XT1040 Retail Latin America 5.1 (Optimized) v1.0 (Changelog)

09/01/16 - Added XT1040 Retail Latin America 5.1 (Untouched)

09/01/16 - Added XT1042 US Cellular 5.1 (Optimized) v1.0

08/11/15 - Added XT1042 US Cellular 5.1 Radio Firmware

08/11/15 - Added XT1042 US Cellular 5.1 (Untouched)

11/10/15 - Added XT1039 Retail Spain 5.1 (Untouched) with Stagefright Patch

11/10/15 - Added XT1039 Retail Germany 5.1 (Untouched) with Stagefright Patch

11/10/15 - Added XT1039 Retail EU 5.1 (Untouched) with Stagefright Patch

01/09/15 - Added XT1045 Retail US Radio Firmware (custom Recovery flashable)

01/09/15 - Added XT1039 Retail Spain Radio Firmware (custom Recovery flashable)

30/08/15 - Added XT1045 Retail US 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.1 (Changelog)

30/08/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.1 (Changelog)

01/08/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.0a (Changelog)

01/08/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0c (Changelog)

31/07/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.0a (Changelog)

31/07/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0c (Changelog)

31/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0b (Changelog)

31/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0b (Changelog)

31/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0b (Changelog)

27/07/15 - Added XT1040 Retail Brazil Radio Firmware (custom Recovery flashable)

27/07/15 - Added XT1039 Retail EU Radio Firmware (custom Recovery flashable)

23/07/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.0

23/07/15 - Added XT1040 Retail Canada 5.1 (Untouched)

23/07/15 - Added XT1040 Retail Canada 5.1 Radio

23/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0a (Changelog)

23/07/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0b (Changelog)

23/07/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0b (Changelog)

23/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0a (Changelog)

23/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0a (Changelog)

23/07/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.0

22/07/15 - Added XT1039 Retail Brazil 5.1 (Untouched)

22/07/15 - Added XT1039 Retail Brazil 5.1 Radio

22/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0

22/07/15 - Added XT1045 Retail US 5.1 Radio

22/07/15 - Added XT1045 Retail US 5.1 (Untouched)

06/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0

06/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0

06/07/15 - Added XT1039 Retail Germany 5.1 (Untouched)

06/07/15 - Added XT1039 Retail EU 5.1 (Untouched)

06/07/15 - Added XT1039 Retail Germany 5.1 Radio

06/07/15 - Added XT1039 Retail EU 5.1 Radio

28/06/16 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0a (Changelog)

28/06/16 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0a (Changelog)

25/06/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0

25/06/15 - Added XT1039 Retail Spain 5.1 (Untouched)

24/06/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0

24/06/15 - Added XT1040 Retail Brazil 5.1 (Untouched)

Recommended Settings:

All Animations speed: 0.5x (Changed via Developer options)

Wi-Fi Sleep policy: Never. (Changed via Settings > Wi-Fi > Advanced) - Check Battery stats occasionally | some Apps will force Wi-Fi to be always on​

Bugs:

When flashing, I get the following: "E:Error executing updater binary in zip"

This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to:

TWRP > Wipe > Format Data > Yes​

Note: This will delete anything on internal storage - photos, music, videos etc.

Calls, Data or WiFi not working?

These ROMs require the latest Radio Firmware included with Lollipop. See instructions in FAQ below and OP for new Radio files.

Xposed Framework and Android 5.1

I cannot provide support for the use of Xposed Framework. It is still a highly experimental work-in-progress MOD with no official release.

The thread for reporting issues related to Xposed is here: [UNOFFICIAL] Xposed for Android 5.1​

Frequently Asked Questions:

What is this Collection?

All of these ROMs are created from the Motorola 4G Factory Firmware images. A pure source, unlike a dump of an OTA Updated system; the upgrading process patches, moves or deletes system files. The result is possibly bugs being introduced, and files being left over. These ROMs are completely clean, and any bugs you find are genuine Android issues.

Why does my screen ripple | flicker?

This is due to compatibility issues between KitKat Bootloader and the Lollipop Kernel. Turn screen off once to fix. Upgrade Bootloader easily with: Bootloader Upgrader Tool

How do I update to the Lollipop Radio Firmware?

Note: Phone must be in Bootloader mode.

Update your current Radio Firmware by downloading and extracting the correct file from OP, and using the following mFastboot commands: (Simply put all files together in same folder - SDK not required) (USB Drivers (Windows))

mfastboot flash modem NON-HLOS.bin

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash fsg fsg.mbn​

Related: Minimal ADB and Fastboot

How to hide the Network | Carrier name in the status bar?

Settings > More > Mobile network > Show mobile network​

How to turn off Lock-screen rotation?

This setting is a built.prop edit. Use a text editor with root access to open: /system/build.prop - remove the last line, or change to 'false':

lockscreen.rot_override=true​

What is 'Zipaligining' | Post-install zipaligning?

Zipaligining

It makes app use less RAM. Longer answer.

Post-install zipaligning

Newly installed apps are zip-aligned after reboot. This process occurs only once per app, as a database exists in /system/usr. When an app is updated, the new apk will also be zip-aligned and added to the database.​