FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][OFFICIAL] [Weeklies] LineageOS-14.1 [Athene] [Moto G4/G4 Plus]

965 posts
Thanks Meter: 2,330
 
Post Reply Email Thread
LIneageOS is a free, community built, aftermarket firmware distribution of Android re-branded CyanogeMod, which is designed to increase performance and reliability over stock Android for your device. For official lineage builds and support please make use of this thread.
Code:
#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.
 */
LineageOS is based on the Android Open Source Project and CyanogenMod with extra contributions from many people within the Android community. All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS please visit Gerrit Code Review.

Installation

First time LineageOS installation on your Moto G4 /G4 Plus:
  • Read the official Wiki page ( there isn't one yet)
  • Unlock your bootloader if you haven't done so already
  • Flash a custom recovery via Fastboot
  • Push GApps (arm) and the LineageOS zip to your device
  • Boot into Recovery
  • Perform factory reset
  • Flash the LineageOS zip from SD card
  • Flash GApps from SD card
  • Reboot

Upgrading from earlier version of LineageOS :
  • Push the new LineageOS zip to your SD card
  • Boot into Recovery
  • Flash the LineageOS zip from SD card
  • Flash the most recent GApps for 8.x if you are upgrading from earlier android version
  • Reboot
Downloads

- LineageOS : Weeklies
- Google Apps (arm) : GApps

Reporting bugs
  • DO NOT report bugs if you're running a custom kernel
  • DO NOT report bugs if you've modifies system files
  • DO NOT report bugs if you've installed xposed and/or other mods
  • 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.)
    Code:
    adb logcat > logcat.txt
    Code:
    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)
    Code:
    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

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 or bugs reported in the lastest 5 pages of this thread. Any bug not reported in the bug report format below may be ignored.
Code:
Phone Informations
* LineageOS version
* Gapps version
What you did:
* Wipe data: y/n
* Upgrade from previous official cm build: y/n
* Restore with titanium backup: y/n
You're using (if yes write which one) :
* Task killer
* Phone cleaner / Battery enhancer apps
* Non-stock kernel
* Modified kernel settings
* Other mods
Bug info:
* Last version it worked on
* Repro steps
F.A.Q.
  • ROOT! ROOT! Give me root or i'll die!!! Where root is???
    First of all DO NOT flash any SuperSu/SuperUser/SuperMan zip package to get root. Go to Settings>Developement Settings>Root access and select "Apps Only"
  • Why no nightly today?
    Build failed. Check again tomorrow
  • When do I have to wipe data?
    You must wipe data only when you're switching from another rom or migrating to Snapshot branch from Nightly and vice versa. You don't need to wipe data when you update in the same release channe (this applies to 13.0 -> 14.1 upgrades too)
  • Will you add <insert awesome feature here>?
    I won't. If you write it, submit a commit to gerrit, where it will be reviewed.

The LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Team Athene
- vache
- shreps
- Dreamstar
- Me


XDA:DevDB Information
LineageOS, ROM for the Moto G4 Plus

Contributors
rahulsnair, vache
Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP
Based On: LineageOS

Version Information
Status: Alpha

Created 2016-12-19
Last Updated 2017-09-16
The Following 132 Users Say Thank You to rahulsnair For This Useful Post: [ View ]
 
 
19th December 2016, 04:10 PM |#3  
rahulsnair's Avatar
OP Recognized Developer
Flag Kerala
Thanks Meter: 2,330
 
Donate to Me
More
FAQ & issues

Flashlight and Chop Chop gesture doesn't work

Just reboot your phone, it should work fine after a reboot.

I have some trouble with SIM detection or VoLTE
Be sure to flash the N Firmware & modem before flashing this ROM (with full wipe)

Opening stock gallery trigger a soft reboot
I can't share photos in some apps like What's App


Remove the directory /sdcard/android/data/com.android.gallery3d and every directory related to gallery
Remove the directory /sdcard/DCIM/.thumbnails
Reboot Your phone.
If it's not enough, maybe you will have to wipe/format your internal storage

I have some issues with video recording
Everything should work fine, especially with stock Camera (Snap)
Be sure to be on the N firmware.

I can't access my external SD card in CM File Exmplorer

Use another app for now until CM Team fixes it. (Motorola Explorer, Solid Explorer, ES File Explorer
should do the trick)
BTW, no issue with SD Card formatted and encrypted as Internal Storage.

Thankz @Shreps
The Following 35 Users Say Thank You to rahulsnair For This Useful Post: [ View ]
19th December 2016, 04:46 PM |#4  
EvilHowl's Avatar
Senior Member
Flag Spain
Thanks Meter: 149
 
More
Update: On Nougat everything works just fine
The Following 9 Users Say Thank You to EvilHowl For This Useful Post: [ View ] Gift EvilHowl Ad-Free
19th December 2016, 04:58 PM |#5  
Junior Member
Thanks Meter: 7
 
More
Thank you guys for the great work! Just made a build myself, it looks good
19th December 2016, 06:07 PM |#6  
smitharro's Avatar
Senior Member
Flag Blokker
Thanks Meter: 1,633
 
More
Thanks a lot. Downloading and I will provide feedback after use!

Sent from my XT1642 using Tapatalk on CyanogenMod 14.1 (dualboot)
The Following User Says Thank You to smitharro For This Useful Post: [ View ] Gift smitharro Ad-Free
19th December 2016, 06:16 PM |#7  
Senior Member
Flag Cambridge
Thanks Meter: 49
 
More
Thanks to all involved.... Installed with no issues and working great on xt1622 single sim.
19th December 2016, 06:18 PM |#8  
rahulsnair's Avatar
OP Recognized Developer
Flag Kerala
Thanks Meter: 2,330
 
Donate to Me
More
Quote:
Originally Posted by EvilHowl

I'm going to test it right now. Wait some minutes.

EDIT: ROM isn't working properly after dirty flashing over latest unofficial CM14.1. That's understable, so I'm going to do a clean install and will update.

EDIT 2: ROM is working perfectly, 0 bugs found. I think you can release official CM

PD: The bootanimation is 540p and our device is 1080p.

We scaled down the bootanim res inorder to reduce the boot up time
The Following 19 Users Say Thank You to rahulsnair For This Useful Post: [ View ]
19th December 2016, 07:06 PM |#9  
smitharro's Avatar
Senior Member
Flag Blokker
Thanks Meter: 1,633
 
More
I too tried a dirty flash over the latest 'clean' CM from @Silesh.Nair. So far so good however. First I only had a back button. Home and 'latest apps' we're missing. A reboot restored them! Going to do some further testing. If I run in any other bugs, I'll first do a clean install.

Sent from my XT1642 using Tapatalk on CyanogenMod 14.1 (dualboot)
19th December 2016, 07:46 PM |#10  
123jhoww's Avatar
Member
Flag MaceiĆ³
Thanks Meter: 6
 
More
Theme engine is working?
19th December 2016, 08:02 PM |#11  
smitharro's Avatar
Senior Member
Flag Blokker
Thanks Meter: 1,633
 
More
Quote:
Originally Posted by 123jhoww

Theme engine is working?

Not yet. For questions like this, please don't t consult a development thread! Go to the Q&A thread.

Sent from my XT1642 using Tapatalk on CyanogenMod 14.1 (dualboot)
The Following 5 Users Say Thank You to smitharro For This Useful Post: [ View ] Gift smitharro Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes