[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.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 :

SELinux is permissive

Maybe more ROM specific bugs

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

This is the one of the first builds for cedric(Oreo), so minor bugs are expected.Please report them if any.

Flashing and updating

LineageOS clean install :

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

- (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 (Unlocked Bootloader) :

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

Google Applications (optional) :

OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro or Pico)

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

Recommended Recovery (optional) :

TWRP 3.1.1-0 : https://xdaforums.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737​

About the builds

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

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

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

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.0 Cedric Regular Questions and Answers : Q&A Thread​

Credits :

- The LineageOS Team

- Thanks to @Men_in_black007 @xboxfanj and @erfanoabdi for helping me throughout. Right from the beginning.

- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver 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 and @TeamMex for helping and for contributing

- And also thanks to all the members of Moto G5 (Cedric) Dev Arena Telegram group involving in working and testing

- Let me know if i missed anyone​

XDA:DevDB Information

LineageOS 15.0, ROM for the Moto G5

Contributors

CodeZero, vache, wzedlare

ROM OS Version: 8.x Oreo

Based On: AOSP

Version Information

Status: Alpha

Created 2017-11-25

Last Updated 2017-11-30