[Moto E Android Development] lost101:
ROM Release Log:

24/12/15 - Added XT1022 Retail Latin America 5.1 Stock ROM (Optimized) v1.0 (Changelog)

24/12/15 - Added XT1021 Retail Latin America 5.1 Stock ROM (Optimized) v1.0 (Changelog)

08/11/15 - Added XT1022 Retail Latin America 5.1 Stock ROM (Untouched)

08/11/15 - Added XT1021 Retail Latin America 5.1 Stock ROM (Untouched)

28/10/15 - Added XT1021 Retail EU 5.1 (Optimized) v1.0 (Changelog)

28/10/15 - Added XT1021 Retail EU 5.1 Stock ROM (Untouched)

18/09/15 - Added XT1021 Retail US 5.1 ROM (Optimized) v1.0a Non-Deodexed (Changelog)

07/09/15 - Added XT1025 Retail Brazil Digital TV 5.1 Stock ROM (Optimized) v1.1 Non-Deodexed

07/09/15 - Added XT1023 Retail US AWS 5.1 ROM (Optimized) v1.0 Non-Deodexed

07/09/15 - Added XT1021 Retail Brazil 5.1 ROM (Optimized) v1.1 Non-Deodexed

07/09/15 - Added XT1022 Retail Brazil 5.1 ROM (Optimized) v1.1 Non-Deodexed

06/09/15 - Added XT1022 Retail Dual-SIM 5.1 ROM (Optimized) v1.1 Non-Deodexed

04/09/15 - Added XT1021 Retail US 5.1 ROM (Optimized) v1.0 Non-Deodexed

27/08/15 - Added XT1025 Retail Brazil Digital TV 5.1 Stock ROM (Optimized) v1.1 (Changelog)

27/08/15 - Added XT1021 Retail Brazil 5.1 ROM (Optimized) v1.1 (Changelog)

26/08/15 - Added XT1023 Retail US AWS 5.1 Stock ROM (Untouched)

26/08/15 - Added XT1021 Retail US 5.1 Stock ROM (Untouched)

26/08/15 - Added XT1023 Retail US AWS 5.1 ROM (Optimized) v1.0 (Changelog)

26/08/15 - Added XT1021 Retail US 5.1 ROM (Optimized) v1.0 (Changelog)

25/08/15 - Added XT1022 Retail Brazil 5.1 Stock ROM (Optimized) v1.1 (Changelog)

20/08/15 - All Untouched ROMs re-uploaded (Changelog)

18/08/15 - Added XT1022 Retail Dual-SIM 5.1 Stock ROM (Optimized) v1.1 (Changelog)

10/08/15 - Added XT1025 Retail Brazil Digital TV 5.1 Stock ROM (Optimized) v1.0b (Changelog)

30/07/15 - Added XT1021 Retail Brazil 5.1 Stock ROM (Optimized) v1.0b (Changelog)

30/07/15 - Added XT1022 Retail Dual-SIM 5.1 Stock ROM (Optimized) v1.0b (Changelog)

30/07/15 - Added XT1025 Retail Brazil Digital TV 5.1 Stock ROM (Optimized) v1.0 (Changelog)

30/07/15 - Added XT1025 Retail Brazil Digital TV 5.1 Radio Firmware

30/07/15 - Added XT1025 Retail Brazil Digital TV 5.1 Stock ROM (Untouched)

30/07/15 - Added XT1022 Retail Brazil 5.1 Stock ROM (Optimized) v1.0 (Changelog)

30/07/15 - Added XT1022 Retail Brazil 5.1 Radio Firmware

30/07/15 - Added XT1022 Retail Brazil 5.1 Stock ROM (Untouched)

30/07/15 - Added XT1021 Retail Brazil 5.1 Stock ROM (Untouched)

29/07/15 - Added XT1022 Retail Dual-SIM 5.1 Stock ROM (Untouched)

28/07/15 - Added XT1021 Retail Brazil 5.1 Stock ROM (Optimized) v1.0a (Changelog)

28/07/15 - Added XT1022 Retail Dual-SIM 5.1 Stock ROM (Optimized) v1.0a (Changelog)

28/07/15 - Added XT1021 Retail Brazil 5.1 Radio Firmware

28/07/15 - Added XT1021 Retail Brazil 5.1 Stock ROM (Optimized) v1.0

28/07/15 - Added XT1022 Retail Dual-SIM 5.1 Radio Firmware

28/07/15 - Added XT1022 Retail Dual-SIM 5.1 Stock ROM (Optimized) v1.0

Recommended Settings:

All Animations speed: 0.5 (Changed via Developer options - see below)

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: "Error code 7" or "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.

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. Custom stock kernels in the future will hopefully solve this.

My Battery History shows Wi-Fi is constantly in use, even when turned off?

The issue appears to be due to certain apps are keeping Wi-Fi active in Lollipop. Solution here.

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 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.

What is Radio Firmware?

It is the software responsible for your mobile phone signal and on older devices may control wifi, bluetooth, and GPS (on most newer devices, these are handled by the kernel and ROM). Flashing an alternative Radio / Modem firmware may improve (or diminish) battery performance, network signal strength, and roaming capability. Flashing Dual Sim radios onto a Single Sim device or vice versa may result in a permanent brick. Likewise,

CDMA radios are only for those devices

. Be careful.

While Lollipop includes a newer Radio Firmware; it is not essential to install it.

Why are these ROMs so small / missing apps?

Due to limited internal storage on Moto E, I have made the decision to remove many of the Google and Motorola apps. This both saves space and also avoids duplicate apps on your phone. All of these apps are available in Google Play Store.

How do I update to the Lollipop Radio Firmware?

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

Do I need to upgrade to Lollipop before flashing these ROMs?

No. You can go directly from any KitKat ROM. Simply 'factory reset' in custom recovery and flash.

Do I need to downgrade to 4.4.4 before flashing these ROMs?

No.

How do I make Animations in Lollipop faster or turn them off?

Enable Developer options - repeatedly tap 'Build number' in About phone. Change the three 'Animation scale' settings to: .5x or off. "2.5x" is available if you have installed the Xposed Module known as GravityBox.

How to enable 'Battery Saving Mode'?

Go to Settings > Battery > Press the three dots > Battery saver. You can choose to enable immediately or have it automatically turn on at a specified battery percentage. To noticeably improve Battery Life, flash a custom Stock Kernels if and when available here.

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.

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​