[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/

About LineageOS

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

Wifi

Bluetooth

Camera and Camcorder(video recorder)

Video Playback

Audio ( Recording and Playback )

Sensors

GPS

VoLTE

What's not working :

Usb tethering function does not work.A Third party app such as pdanet might be a solutiıon.

Flashing and updating

LineageOS clean install :

- Mandatory to flash 64bit recovery

- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)

- Flash the LineageOS ROM zip from the Recovery

- (Optional) Flash the GApps to have the Google Applications

- (Optional) Every additional zip you want to flash

- Reboot

LineageOS update / upgrade :

- Mandatory to flash 64bit recovery

- (Information) Don't wipe anything unless you want to

- Nothing to wipe when switching

- (FUTURE RELEASES) Might need clean, informations will be updated

- Flash the latest LineageOS ROM zip from the Recovery

- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes

- (Optional) Every additional zip you want to flash

- Reboot

For root access :

- (Information) Read the Root section of the Q&A thread
​

Downloads Links

LineageOS 15.x arm64(Unlocked Bootloader) :

Development : https://www.androidfilehost.com/?w=files&flid=236385

Google Applications (optional) :

MindTheGapps : Link (Use packages for ARM64, Android 8.1)

Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recovery Mandatory to flash for 64bits ROM :

Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?w=files&flid=236353​

About the builds

Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-15.1-64

Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-15.1-64

Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-15.1-64
​

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

Bug report should be done in following format provided in code below

What is your
LineageOS version:
LineageOS Download url:
Gapps version:

Did you
wipe:
restored 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:

Q&A - FAQ

LineageOS 15.1 arm64 Cedric Regular Questions and Answers : Q&A Thread​

Credits :

- The LineageOS Team

- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends

- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo

- Thanks to @jobinrjohnson for helping and for contributing

- Thanks to dattebayorob and Renee.Souza for testing rom

- Let me know if i missed anyone​

XDA:DevDB Information

LineageOS 15.1, ROM for the Moto G5

Contributors

CodeZero, vache

ROM OS Version: 8.x Oreo

Based On: AOSP

Version Information

Status: Stable

Created 2017-12-20

Last Updated 2018-05-24