[ROM][addison] Official LineageOS 14.1

Alberto97

Recognized Developer
Feb 6, 2012
976
7,827
0
23

Code:
/*
 * 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.
 */
Moto Mods are not supported

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

Working
  • Boots
  • RIL (Calls, SMS, Data)
  • Wifi
  • Bluetooth
  • Video Playback
  • LED Notifications
  • NFC

Not Working/Bugs
  • -

Installation
Make sure you have a nougat bootloader and modem else TWRP denies the installation by throwing a message about the wrong bootloader. Further details and a guide to upgrade what you need without losing data here.
Requires Unlocked Bootloader & a custom recovery

  1. Place ROM & Gapps in your virtual SD
  2. Reboot in Bootloader Mode
  3. Go to "Recovery" (Vol +/Vol -) and confirm (power)
  4. Wipe Data/Factory Reset
  5. Wipe Dalvik cache
  6. Install the ROM zip
  7. Install su for root (get it here, you have to enable it from developer settings) [optional]
  8. DO NOT REBOOT
  9. Install the Gapps zip
  10. Reboot

Downloads
download.lineageos.org/addison
AndroidFileHost

Sources
Device Tree
Kernel

XDA:DevDB Information
LineageOS 14.1, ROM for the Moto Z Play

Contributors
Alberto97
Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x

Version Information
Status: Beta

Created 2016-11-07
Last Updated 2017-10-08
 

Attachments

Alberto97

Recognized Developer
Feb 6, 2012
976
7,827
0
23
Device Specific Changelog

02/04/2017
  • Switched back to Snap Camera
  • Now Moto Camera camcorder is fully working
  • Fixed call recording

25/03/2017
  • Switched back to QCamera2 HAL
  • 3.18.48 kernel
  • Fixed some background, probably irrelevant, kernel crashes

16/03/2017
  • 24 bit playback through headphones fixed
  • Switched to XML audio policy
  • Added back "comfort" (astronomy/night mode) color profile

09/03/2017
  • March Security patches
  • Reverted a patch that caused frequent high latency of wifi packets

25/02/2017
  • February Security patches
  • Enforcing SELinux
  • Switched to the fully working Snap Camera
  • Improved stability
  • Updated Adreno blobs
  • aptX support? (not tested)

18/02/2017
  • Camera is now working, more or less
  • SELinux is almost ready
  • Now using Nougat blobs (thanks a lot @felipevsw for his efforts)

18/01/2017
  • January security patches
  • QCOM Color Modes Support
  • Vulkan support
  • Fixed GLONASS (Satellites fixing time seems slower though)
  • Wlan drivers update

CyanogenMod Releases:

24/12/2016
  • Many CVE(s) have been fixed (kernel side)
  • Wlan drivers update (should improve the stability with Android 7.1.1 releases)

10/12/2016
  • Android 7.1.1 and December Security Patches
  • Switched back to 3.18.24 kernel
  • Blobs updated to the latest Marshmallow release (MPNS24.104-44-7)

03/12/2016
  • Fixed Fingerprint sensor
  • Kernel upgraded to v3.18.45 (just a test, I'll probably switch back to the previous one)

19/11/2016
  • Introduced the ability of using fingerprint sensor as Home Button (available under Settings -> Gestures)
  • LiveDisplay has been implemented (kernel side)
  • Added qcom IPA (Internet Protocol Accelerator)
  • All the kernel side Android security patches have been merged
  • Removed some camera hacks
  • Ramdisk cleanup

07/11/2016
  • Initial release
 
Last edited:

Alberto97

Recognized Developer
Feb 6, 2012
976
7,827
0
23
For those are wondering, yes I've built the CM13 too but I have a weird and annoying bug there. For some reason Google's Location Provider causes random memory corruptions which lead to many random reboots when you're connected to a wifi network. Without a WiFi connection presence the device bootloops endlessly (we actually had a similar issue with moto msm8916 family but the problem was explicit there, here it's not). Nougat isn't affected by this bug, so that's why I'm directly publishing CM14.1 and skipping CM13
 

MuyKurioso

Senior Member
Mar 17, 2015
199
34
0
What about encryption, does CM 14.1 Will encrypt when I set up the fingerprint scanner? Because I don't want encryption in my phone, I want to get the most of the SD625. Thanks.
 

Alberto97

Recognized Developer
Feb 6, 2012
976
7,827
0
23
Does this work for the dual sim model? ("retla release channel")?
This is actually tested only on my dual sim device and it works fine
What about encryption, does CM 14.1 Will encrypt when I set up the fingerprint scanner? Because I don't want encryption in my phone, I want to get the most of the SD625. Thanks.
No, I've disabled forced encryption on cm but you have to erase userdata through fastboot to get rid of encryption. Wipe data from TWRP isn't enough.
 

MuyKurioso

Senior Member
Mar 17, 2015
199
34
0
This is actually tested only on my dual sim device and it works fine

No, I've disabled forced encryption on cm but you have to erase userdata through fastboot to get rid of encryption. Wipe data from TWRP isn't enough.
Thanks for the reply. Do we need source code from Nougat to get camera working?
 

Alberto97

Recognized Developer
Feb 6, 2012
976
7,827
0
23
Thanks for the reply. Do we need source code from Nougat to get camera working?
Camera stack is closed source on most of devices, motos included. On Nougat Google has done a lot of changes to the camera sources, so our prebuilt files find a new "unknown evnironment" while they expect the Marshmallow one.
There currently are some workarounds for this but nothing changes on this device; probably because of some changes made in our stack for the hasselblad camera module.
 
  • Like
Reactions: jeprox

jon7701

Senior Member
Aug 4, 2012
653
198
0
Do you think it will be possible to get moto mods working on custom roms? Is it something like the camera where we just need the blobs for 7.0 and integrate them into the kernel and all that or would it be a complicated mess to get them working at all?
 

MuyKurioso

Senior Member
Mar 17, 2015
199
34
0
Perhaps I'll be flashing this, how stable is it beside the camera and torch bugs? Are you using it as your daily driver?
Also, what gapps should I download? 64bit?
 
Last edited:
  • Like
Reactions: AxlAndr3

jon7701

Senior Member
Aug 4, 2012
653
198
0
The Snapdragon 625 that's in our devices is 32-bit, so you wouldn't use the 64-bit GApps.
Im pretty sure our snapdragon 625 is not 32-bit, it is definitely built on aarch64. I think they just built the stock rom for armv7 or aarch32 which our processor is still compatible with. Probably because there isnt much of a reason to compile for aarch64. Taking a guess, I would think that this rom is 32-bit as well because the kernel source for our device would be based off of stock, I can easily be wrong about this though.
 
  • Like
Reactions: Kresimirmat

dipsup

Member
Apr 9, 2015
32
4
0
Thank u so much man for working on this rom. Was regularly checking everyday for any Nougat rom and saw this. Very Happy. But I use my camera a lot so can't flash it right now. Hope the bugs get resolved pretty soon. Thanks for the rom again :)
 

FreedFromDeath

Senior Member
Aug 23, 2014
260
129
43
This is for Build Number MPN24.104-44 ? Indian Dual Sim.
It doesn't matter.

---------- Post added at 01:39 AM ---------- Previous post was at 12:55 AM ----------

I tested it and everything works (except for the camera for reasons already stated). In order for me to get a similar experience to Moto Display I found this app and it works almost as good on CM.
https://play.google.com/store/apps/details?id=com.compass.ambiturner
The only bad thing is that you have to purchase Pro to get Wave to Wake, but it is worth it in my opinion.