[Moto Z2 Play  ROMs, Kernels, Recoveries, & Other D] EmaMaker:
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (P), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Known issues:

Moto Mods Projector and Hasselblad Camera are unknown to work.

Moto Mods with Battery do not report the battery

VoLTE and VoWIFI not working

Moto Mods:

Moto Mods Projector and Hasselblad Camera are unknown to work.

All the other Moto Mods work, but Battery Mods do not report the percentage in the status bar

Instructions:

Always have a backup of the EFS partition made with TWRP stored somewhere, as you may lose IMEI. Restore it if you get 0 as IMEI when booted into the ROM.

Before installing, make sure oreo was the last stock ROM you installed. See notes below if you come from Stock Pie

Download Official TWRP from twrp.me

Flash the TWRP via fastboot

Enter TWRP, go to wipe menu and Wipe Dalvik, Cache, Data, System and Internal Storage.

In TWRP Wipe Menu, do Format Data, then reboot into recovery

Flash the latest build

Flash eventual GApps and SU addon

Reboot

Downloads:

Latest Unofficial build: AFH

Google Apps: OpenGapps

SU Addon: LineageOS Extra Downloads

Notes

TWRP

If the touchscreen doesn't work when rebooting into recovery, press the power button twice to turn off and on the screen. The touchscreen will now work just fine.

GSIs

This LineageOS build ships with Project Treble compatibility (lite VNDK), meaning you can flash a GSI as System Image from TWRP. Please don't report GSI bugs here, report them instead to the GSI's maker. A Format Data from TWRP is required after flashing a GSI in order to avoid problems.

Technical details on our Treble implementation:

This device is a community-treble device, meaning other devs before us made it compatible with Project Treble (lite VNDK), using the oem partion as a vendor. GSIs still have some problems regarding cpu frequency scaling and camera. You have been warned.

.

Coming from stock pie?

For the sake of simplicity, I said that coming from stock oreo was needed. In reality you just need to flash the oreo modem files. There's a script that does exactly that, made by @juniorpassos: https://mega.nz/file/IRxjGDjL#vkdvh4JcMy-LuWgQz4rHhgpWV80029X4ql0_zcMpVug. The script will erase your userdata and cache.

Before starting this script, make sure you have a backup of your EFS partition stored somewhere safe, outside phone's internal storage. After the backup is done, you can reboot your phone into fastboot mode and start the script. Now reboot into TWRP, go into "Wipe" menu and Format Data. Now you can reboot into the ROM. If you get 0 as IMEI, or any other problem related to RIL, go into TWRP and restore the EFS backup made previously.

Wanna help?

If you find a problem or a bug, please share a logcat with us, alongside an explanation of the problem and steps to reproduce. We won't accept bug reporting without a logcat. Collect logcat with:

adb logcat -b all > logcat.txt

You can also join our Telegram Channels:

Global: https://t.me/z2play

Ex KVT group: https://t.me/Z2PlayGSI

There's a guide made by a user to install the ROM, written in both Portuguese and English, here it is: https://telegra.ph/Como-instalar-LOs-160-How-to-install-LOs-160-08-04

Thanks

Many thanks to @marcost22 for the pair-working we are doing in this adventure, to @davidsonsjesus for his work on KVT, to @jeferson1979 for his help and teaching. Thanks to all the testers that have helped us testing this ROM.

Sources

Device tree

Vendor tree

Kernel

XDA:DevDB Information

LineageOS 16.0 Motorola Moto Z2 Play (albus), ROM for the Moto Z2 Play

Contributors

EmaMaker, marcost22, rahulsnair, @erfanoabdi @vache @kubersharma @jeferson1979

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

ROM Firmware Required: ALBUS_OPS27.76-12-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC

Version Information

Status: Stable

Current Stable Version: 16.0

Stable Release Date: 2020-09-27

Created 2020-07-31

Last Updated 2020-09-27