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

Warning!!!

BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.

What's working :

Boots

RIL (Calls, SMS, Data)

Fingerprint

Wi-Fi

Bluetooth

Camera

Camcorder

Video Playback

FM Radio

Audio

Sensors

Flash

LED

GPS

Volte

Encryption

Usb tethering

What's not working :

Nothing

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

Downloads Links

LineageOS 16.x arm64(Unlocked Bootloader) :

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

Google Applications (optional) :

Opengapps : Link (Use packages for ARM64, Android 9.0)

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/?fid=11410963190603887243​

About the builds

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

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

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

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed

DO NOT Report bugs if you've modifies system files

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)

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.)

adb logcat > logcat.txt

adb shell dmesg > dmesg.txt

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

adb shell cat /sys/fs/pstore/console-ramoops

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 16.0 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 @infixremix , @m_vaisakh and @AyamDobhal for helping

- Thanks to @DavidKirsch , @robt77, @ADHILR, @Jefe1177, @Robson1000 and everyone else from cedric testing group for testing rom

- Let me know if i missed anyone​

XDA:DevDB Information

LineageOS 16.0, ROM for the Moto G5

Contributors

CodeZero, m_vaisakh

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

Based On: AOSP

Version Information

Status: Stable

Created 2019-01-01

Last Updated 2019-05-22