• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[LEGACY SUPPORT][7.1][OFFICIAL] LineageOS-14.1[Athene][MotoG4/G4 Plus]

Status
Not open for further replies.

rahulsnair

Inactive Recognized Developer
May 7, 2013
1,001
2,661
0
Kottarakkara
LIneageOS is a free, community built, aftermarket firmware distribution of Android 7.1.1 (Nougat), re-branded CyanogeMod, which is designed to increase performance and reliability over stock Android for your device. This thread is dedicated for bug reporting and legacy support for lineage 14.1 . For Unoffiicial Lineage 15.0 developement visit here
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 14.1 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 14.1 zip to your device
  • Boot into Recovery
  • Perform factory reset
  • Flash the LineageOS 14.1 zip from SD card
  • Flash GApps from SD card
  • Reboot

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

- LineageOS-14.1 Official Weeklies : https://download.lineageos.org/athene
- Google Apps (7.1-arm): OpenGapps
- SuperSU (download su_arm): here

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!


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

Contributors
rahulsnair
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: Stable

Created 2017-09-13
Last Updated 2017-09-13
 

IronTechmonkey

Recognized Contributor
Feb 12, 2013
7,251
9,324
113
Hi

My only question, after just buying a G4 Plus, is how come this thread has only just been created? I was expecting to see pages in the hundreds, but this was setup yesterday. I did find another thread for the official 14.1 build at https://forum.xda-developers.com/moto-g4/how-to/p-lineageos-14-1-motorola-moto-g4-g4-t3532575 but its only 14 pages long.

What's going on? What's happened here?
To @deepakSP's point, The existing Official LOS 14.1 thread became the Unofficial LOS 15 thread, then this one was created for Official LOS 14.1. It might have been better if LOS 15 unofficial went to a new thread so we had the history of LOS 14.1 in this thread but at least we have something for Official LOS 14.1, and we can always search for things in the other thread because it contains that history.

---------- Post added at 03:20 AM ---------- Previous post was at 02:56 AM ----------

I'm using the latest nightly, and am wondering when the BlueBorne fixes (AOSP September 2017 security fixes) will be integrated into it?

Thank you!

Ehud Gavron
Tucson AZ
XT1625 + XT1644
AFAIK that would be fixed by the Google September security update which was released on September 5 (https://source.android.com/security/bulletin/2017-09-01), and therefore is not in the Sept 4 Athene build that I'm running. I'm not sure about the Sept 11 build (which only had one commit so I skipped it). Can you (or anybody else) specifically confirm which monthly security patch is in the September 11 build with a screenshot of "Settings > About Phone > LineageOS Version & Android security patch level? "

Someone has somewhat misguidedly created a ticket for this in LOS jira (https://jira.lineageos.org/browse/REGRESSION-1110?jql=text ~ "BlueBorne") however the ticket will most likley be rejected because it includes no log, it was filed as a regression instead of a bug (and it may not even be a bug), and the dates for affected and last known good are off. Perhaps the inevitably rejection of that ticket will include more information about the state of the patch (if it is not already in the September 11 build).

---------- Post added at 03:57 AM ---------- Previous post was at 03:37 AM ----------

[EDIT] September 11 build has August security patch. Let's see what happens with the September 18 build.
 
Status
Not open for further replies.