[Moto G 4G Android Development] lost101:
Recommended Settings:

All Animations speed: 0.5 (Changed via Developer options - see FAQ 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 - i.e Viber​

Frequently Asked Questions:

When flashing, I get: "E:Error executing updater binary in zip" or "Updater process ended with ERROR: 7"

This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to format /data (userdata) in Custom Recovery. Note: This will delete anything on internal storage - photos, music, videos etc.

What is the difference between 'Pure' and 'Deviant' ROMs?

There is a slight low-brightness screen-flicker issue with this ROM in it's original form. Some people don't mind it. In order to fix it, system (framework) files have to be modified. However, there is some debate as to what affect such changes have on the smoothness of the ROM. I have done my best to research and modify the ROM in way that has no impact on performance at all.

Regardless, I've made two versions of this ROM: Pure and Deviant.

'Pure' retains the original unmodified system files is unrooted. 'Deviant' has the low-brightness screen-flicker problem corrected, along with a few other fixes that are only possible via modifying the system files and is rooted. Otherwise, the two ROMs are optimized and essentially the same.

The choice is yours.​

How to enable 'Google Now on tap'?

Install Google App. Set 'Google App' as default app for Assist app in System Settings.

Settings > Apps > Settings Gear Icon (top right) > Default Apps > Assist and voice input​

Explain Marshmallow and it's 'Default Apps' feature?

Google 'Now on Tap' | Search | "OK Google" and Google Dialer will not function correctly, or at all - if you do not set them as default apps. This also applies to any custom replacement apps for handling search, calls or sms.

Settings > Apps > Settings Gear Icon (top right) > Default Apps​

Stock Kernel vs Custom Kernel?

The Kernel included in this ROM is essentially as Motorola created it. However, if you seek something with better performance and to improve Battery-life - consider: KaminariKernel v2.0.

Can you add "X" feature to this ROM?

No. This ROM will always remain as close to Stock as possible. Any modifications made are only done so to make Android fully functional.

Motorola Assist is not working?

You also need to install Motorola Contextual Services.

Wi-Fi very slow to re-connect using quick settings tile?

This is a known bug in Android 6.0. Perhaps a future version of Android will resolve it. For now, a workaround is to enable 'Wi-Fi Scanning.'

Settings > Location > Tap three dots (top right) > Scanning > Wi-Fi Scanning​

GPS Optimization and issues with Google Maps

Firstly GPS on any ROM is not optimized for speed and accuracy. In addition, the service 'GoogleLocationManager' present in this ROM appears to cause issues with Google Maps.

This is how the ROM was designed to work by Motorola

. You have the option of disabling this service yourself, but the effect on other apps is unknown. More on this subject here.

To greatly improve the speed and accuracy of GPS in this ROM, it is recommended you install GPS Status & Toolbox and follow this tutorial to configure it correctly.

What is System UI Tuner and how do I enable it?

System UI Tuner lets you change certain UI aspects without the need for any extra software. You can remove, or change the order items appear in the Quick Settings (pulldown menu) and in status bar. Also it can add Percentage to the status bar battery icon. To enable: swipe down status bar and long press the settings gear icon for a few seconds - it will start to spin.

Internal Storage not accessible from PC?

With Marshmallow, the default USB connection type is 'Charging only' mode. You can change USB mode to 'MTP' via the pull-down notification option. Alternatively, install the Xposed Module: USB for Marshmallow

How do I enable native Multi-window support?

Add the following line to your /system/build.prop and reboot: (screenshots)

persist.sys.debug.multi_window=true​

How do I make Animations in Marshmallow 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 turn off Lock-screen rotation?

This setting is a built.prop edit. Use a text editor with root access to open: /system/build.prop - scroll down to last section "#Additional Tweaks" and remove the following line, or change to 'false': (Reboot after editing and saving)

lockscreen.rot_override=true​