[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] DD3Boh:
/*
* 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 a free, community built, aftermarket firmware distribution of Android 9 (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.

Bugs :

None

Instructions :

Download the latest build, system-as-root recovery and gapps

Reboot to recovery

Flash TWRP-3.3.0-z2_plus-SAR-signed.img

Flash the latest build, (magisk) and gapps

Reboot

Downloads :

TWRP, Lineage system-as-root and Permissiver_v3 (for GSIs): here

Gapps : OpenGapps

Notes :

Using this build you'll be able to boot A/B system images on our z2_plus (A-only device)

Only Clean Installation Please

Bug Report Without logs means nothing

This build is mainly for GSIs flashing, it won't be updated very frequently. For anything else use the official build here

Do not report here in case any GSI doesn't boot, but report it to the ROM author

On this build you'll only be able to flash A/B system images, A-only ones won't work

To go back to a non system-as-root ROM you just need to flash the official TWRP and do a clean installation of a normal A-only build

Check https://source.android.com/devices/bootloader/system-as-root for a proper system-as-root documentation

Reporting Bugs :

DO NOT Report bugs if you installed Xposed

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

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

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. Any bug not reported in the bug report format below may be ignored.

Sources :

Device tree (common): https://github.com/zuk-devs/android_device_zuk_msm8996-common/tree/staging/system-as-root

Device tree (z2_plus): https://github.com/zuk-devs/android_device_zuk_z2_plus/tree/staging/system-as-root

Kernel : https://github.com/DD3Boh/android_kernel_zuk_msm8996/tree/staging/system-as-root

TWRP device tree: https://github.com/DD3Boh/twrp_device_zuk_z2_plus/tree/android-9.0-sar

In case you want to build with system-as-root, make sure to pick this

If you appreciate my work on Z2 and my effort to keep this device active and alive you can donate to me via paypal

here

XDA:DevDB Information

A-only system-as-root, ROM for the Lenovo ZUK Z2 (Plus)

Contributors

DD3Boh, davidevinavil, kubersharma, kenny3fcb, YaroST12

Source Code: [url]https://github.com/LineageOS/[/URL]

ROM OS Version: 9.x Pie

ROM Kernel: Linux 4.x

ROM Firmware Required: ZUI 3.5 bootloader

Based On: AOSP

Version Information

Status: Beta

Beta Release Date: 2019-05-05

Created 2019-05-05

Last Updated 2019-05-05