[Moto G 4G Android Development] Allstargaurav:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's working :

Boots

RIL (Calls, SMS, Data)

Dual-SIM

Wi-Fi

Camera

Video Recording

Video Playback

Audio ( Record and Playback )

Sensors

Flash

Led

Offline Charging

What's not working :

You tell me

Instructions :

Download the latest build and gapps

Reboot to recovery

Flash the latest build and gapps

Reboot

Downloads :

Builds : https://www.androidfilehost.com/?w=files&flid=281400

Root addon : https://download.lineageos.org/extras (Still not available for Lineage 16.0, use Magisk 18.1 or newer instead!)

Google Apps : https://builds.nezorfla.me/?dir=opengapps/pie/arm

Reporting Bugs

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
Phone model:
Lineage version:
Lineage Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
LineageSettings/Performance settings (other than stock):
Dual SIM:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Credits :

[MENTION=5075128]Luk1337[/MENTION]

[MENTION=5778309]luca020400[/MENTION]

[MENTION=4802051]Somcom3X[/MENTION]

[MENTION=6294469]kaustubh88[/MENTION] and [MENTION=3857343]crpalmer[/MENTION]

[MENTION=5083850]Thecrazyskull[/MENTION]

[MENTION=6331811]Carlos Arriaga[/MENTION]

[MENTION=7344859]RenanQueiroz[/MENTION]

Motorola : For providing the Kernel Source Code

LineageOS Team

Donations :

You don't have to but if you want so...

Allstargaurav: http://xdaforums.com/donatetome.php?u=7751333

RenanQueiroz: https://xdaforums.com/donatetome.php?u=7344859

LuK1337: http://xdaforums.com/donatetome.php?u=5075128

luca020400: http://xdaforums.com/donatetome.php?u=5778309

XDA:DevDB Information

Pie For Peregrine, ROM for the Moto G

Contributors

Allstargaurav

Source Code: https://github.com/MotoDevelopment

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.4.x

Based On: AOSP

Version Information

Status: Stable

Stable Release Date: 2019-04-21

Created 2018-08-28

Last Updated 2019-04-21