[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Note: Development for LineageOS 16.0 Pie has been paused until I get LineageOS 15.1 Oreo fully working. Once Oreo is done, I will do Pie for sure, but I am in no mood of hurrying like this. If you really want to use Pie ROMs, better try using OmniROM. Given that, I do not recommend flashing the available LineageOS 16.0 builds, use LineageOS 15.1 instead.

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (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.

Instructions :

Note: This is a 64 bit ROM so it requires 64 bit twrp. Please use micro gapps. Pico seems to create a problem with RIL.

Download the latest build and gapps

Boot to recovery

Flash the latest build

Boot to recovery again

Flash gapps

Reboot

Downloads :

Builds :

Sourceforge

64-bit TWRP :

twrp-3.2.3-r1

Root addon :

Latest Stable Magisk Zip

List of Known Issues

Camera is broken

Flashlight toggle is not working

Random Reboots to Recovery at times for dual sim users.

SE Linux is permissive

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (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--
LineageOS version:
LineageOS 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:
other modifications:

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

XDA:DevDB Information

[ROM][UNOFFICIAL][athene][8.1.0] LineageOS 15.1, ROM for the Moto G4/Plus

Contributors

LineageOS Team of course!

Team athene:

rajatgupta1998

Nikit

lcrd512

golden-guy

Jleeblanch

Our former developers:

vache, rahulsnair, SileshNair, Shreps, regalstreak, ashwin007

Other developers: Alberto97, squid2, flar2, oadam11 and all other contributors whom I might have missed.

Source Code:

LineageOS ROM Source

Device specific sources:

Device tree: https://github.com/rajatgupta1998/android_device_motorola_athene

Kernel source: https://github.com/rajatgupta1998/android_kernel_motorola_msm8952

Vendor blobs: https://github.com/rajatgupta1998/android_vendor_motorola_athene

ROM OS Version: Android 8.1.0 Oreo

Version Information

Status:Beta

XDA:DevDB Information

LineageOS 15.1 Athene, ROM for the Moto G4 Plus

XDA:DevDB Information

LineageOS 16.x, ROM for the Moto G4 Plus

Contributors

rajatgupta1998

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Latest Stock N Firmware

Based On: LineageOS

Version Information

Status: Alpha

Beta Release Date: 2019-01-19

Created 2018-10-30

Last Updated 2019-06-27