[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
​

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

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.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Instructions:

Download the latest build, recovery image and GApps (if you need them)

Flash the downloaded recovery image via fastboot

Boot to recovery

Format system and perform a factory reset

Reboot to recovery

Flash the latest build

Flash GApps and any other necessary add-ons

What's working:

WiFi

Camera and Camcorder

Bluetooth

NFC

Fingerprint - Oreo firmware required

GPS

OTG

Video Playback

Audio

RIL

VoLTE/VoWiFi

USB tethering/audio

SELinux: Enforcing

Known issues:

You tell me

Downloads:

Official builds: Here

Recovery: Here

Google Apps: Here

Reporting Bugs

All bugs should be reported here: Issue Tracker

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 /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--
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:

Thanks to:

@GivFNZ for testing my builds

@wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources

LineageOS team

Changelogs:

2021-04-08:
Initial build.

Source code:

Common device tree: https://github.com/LineageOS/android_device_motorola_msm8937-common

Device tree: https://github.com/LineageOS/android_device_motorola_cedric

Kernel: https://github.com/LineageOS/android_kernel_motorola_msm8953