• 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

[ROM] [7.1.2] Unofficial LineageOS 14.1 (20171210)

G

GuestD0097

Guest

Disclaimer

Code:
/**
*  You flash this ROM at your own risk and responsibility.
*  This ROM is provided without ANY WARRANTY WHATSOEVER, not even the warranty that it works.
*  None of the developers of this ROM will be held accountable for any damages, complaints or thermonuclear war.
**/
Introduction

This is LineageOS 14.1 for our ZUK Z2 Pro (z2_row, z2121).

This ROM is mainly an adaptation of fedor917 and davidevinavil's superb work on this device. My sources are continuously being updated to their changes and improved to better work for LineageOS.

Features
  • LineageOS 14.1 with Android 7.1.2, including all features from LineageOS.
  • Always updated to the latest upstream sources and security patches
  • Clean builds without any additional bloatware
  • Updated every 2/4 weeks
Known Issues

You can view a list of the currently open known issues at the Github issue page for the device sources.

Requirements
  • Unlocked bootloader
  • Latest TWRP (Link)
  • Reading this whole post. If you don't read the post, it's important that you read at least the FAQ. If you don't read it and then ask stupid questions, I reserve my right to make fun of you.
  • Your Z2 Pro and your brains :D
Installation instructions
  1. Wipe system, cache and dalvik
  2. If not flashing over a LineageOS 14.1 build, wipe data
  3. Flash the ROM
  4. Flash root if you want (Link)
  5. Flash GAPPS if wanted (Link, select arm64, android 7.1. Also I recommend pico variant)
  6. Reboot
Downloads and changelogs

PLEASE, DO NOT MIRROR
All releases: Link

Credits

Thanks to Fedor, Davide, dd3, varontone, SuperLamic, francesco and all other contributors!

Dev information

Contributors
varotone, davidevinavil, fedor917, CallMESuper, SuperLamic, IronColeman, cosmedd, many others
Source Code: https://github.com/z2-dev/

(pull request welcome ;))

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

XDA:DevDB Information
LineageOS, ROM for the Lenovo Zuk Z2 Pro

Contributors
cosmedd
ROM OS Version: 7.x Nougat

Version Information
Status: No Longer Updated

Created 2017-10-18
Last Updated 2018-03-04
 
Last edited:
G

GuestD0097

Guest
FAQ

Does this ROM have OTA updates?
Yes.

WiFi not working?
Please make sure you're on the latest baseband before reporting these bugs. Also remember that flashing a new baseband may re-lock your bootloader and you'll have to unlock it again. Search the forum for more info.

LTE/Calls not working?
Please make sure you're on the latest baseband before reporting these bugs. Also remember that flashing a new baseband may re-lock your bootloader and you'll have to unlock it again. Search the forum for more info.

The U-Touch settings are not in my language?
Some of the U-Touch strings were added by Fedor and others by varotone. I don't know any languages other than Spanish and English.
If you want to translate the settings, send me a DM with this file translated to your language, plus which language it is and from which country. You can also send pull requests - do NOT open issues for this.

What's with the root in this ROM?
LineageOS have dropped prerooted roms in favor of a separate root addon. It is the one linked in the first post. This is managed in "Developer options" after you've flashed it.
You can also flash other root options (SuperSU, Magisk, etc.) if you prefer.

How can I contribute to this ROM?
You can contribute to my sources on GitHub by doing pull requests or issues. If you're serious about it, contact me and we can setup an organization.
You can also contributing by reporting bugs and errors, always accompanied by a logcat and a sufficient description of the bug. Please check it's not a known bug first.

Can you add PIE controls / Omniswitch / this app...?
No. I only build clean, bloatware-free LineageOS ROMs, without any extras.

You're running late on your updates!
This is not my job, and I actually have one. I will try to update frequently but I cannot promise anything.

Reporting bugs
Should I report this bug?

If you find a bug you want to report, please check these things first:
  • It's actually a bug:
    Missing functionalities generally are not bugs. Bugs are things that are there, are supposed to work, but don't work. For example: camera crashes are bugs, but "there isn't a navbar option" isn't.
    As stated in the FAQ, I only build clean LineageOS, so only things in base LineageOS will make it to the rom.
    If some functionality is missing, wait until LineageOS includes it, do not ask me. This includes: navbar options, more quicksettings tiles, theme engine, etc.
  • It's not already been reported:
    Check the "Known Issues" list in the first post, and see if your bug is there before reporting it.
  • It's related to the ROM itself:
    I will only accept bug reports related to the ROM. That means I won't accept bugs related to DivineBeats, Xposed, Atmos or any other addons. Those addons have their own support threads in xda or similar forums.

How do I report this bug?
Once you confirm you've got a bug and it's not been reported yet, you shall do the following:
  1. Capture a log.
    There are plenty of tutorials on using logcat on the internet. You should reboot the phone, reproduce the bug and capture the logcat then. Do not send me logcats when the phone it's been on for hours.
  2. Send the bug report.
    Either make a post here, or open an issue in the github page. Make sure to write a sufficient description of the bug and instructions to reproduce it, and attach (attach, NOT paste) the relevant logs.
Bonus - dmesg: There's another type of log apart from logcat which is also useful called the dmesg. Again, there are tutorials on the internet on how to capture one. If you can also provide a dmesg, besides the logcat, that would be great! But remember, logcat is essential, I can't do anything without a logcat.

Bonus 2 - ramoops: If the phone hangs (black screen with led) you can get the logs by rebooting and getting the console ramoops:
Code:
adb shell cat /sys/fs/pstore/console-ramoops > ramoops.txt
Run this code on your computer after a reboot to get your ramoops log.

My bug is already reported, how can I help?
You can read the relevant GitHub issue and provide any missing relevant information via comments. If you see a bug with the needs-logs tag, that means no logs are available, so you can contribute by providing them.
NOTE: "I also have this bug" is NOT relevant information if the bug is already verified. Such comments will be deleted, and their author shamed. You've been warned.

Based on varotone FAQ for z2_plus.
 
Last edited:

Bryandu13

Senior Member
Mar 12, 2013
702
160
0
For those who don't know this ROM have the best smoothness of all ZUK Z2 Pro custom ROMs. Even AEX with OC void Kernel is not fast as this ROM.
 

kingracer

Senior Member
Feb 11, 2012
477
97
28
Kyiv
For those who don't know this ROM have the best smoothness of all ZUK Z2 Pro custom ROMs. Even AEX with OC void Kernel is not fast as this ROM.
So i've installed it just now and it's pretty slow in setupwizard, i'll see what it'll show next, but for first moments of usage it's worse than regular mokee with same gapps package and magisk, even animations feels like lagged somehow
 

Bryandu13

Senior Member
Mar 12, 2013
702
160
0
So i've installed it just now and it's pretty slow in setupwizard, i'll see what it'll show next, but for first moments of usage it's worse than regular mokee with same gapps package and magisk, even animations feels like lagged somehow
Strange, the mine didn't needed time too be smooth. Try another clean flash

Envoyé de mon ZUK Z2121 en utilisant Tapatalk
 

kingracer

Senior Member
Feb 11, 2012
477
97
28
Kyiv
Strange, the mine didn't needed time too be smooth. Try another clean flash

Envoyé de mon ZUK Z2121 en utilisant Tapatalk
But this was clean too... And i've used stock gapps package btw, but i've used it before in any rom which i've tried

Upd. Now when i'm trying to get into twrp it just stucks with blue led...
Upd.2. After 3 forced reboots it finally booted into twrp... For now i'll come back to my regular rom... IDK what happened, but any LOS on my device is pretty laggy...
 
Last edited:
  • Like
Reactions: dtbogor

Bryandu13

Senior Member
Mar 12, 2013
702
160
0
But this was clean too... And i've used stock gapps package btw, but i've used it before in any rom which i've tried

Upd. Now when i'm trying to get into twrp it just stucks with blue led...
Upd.2. After 3 forced reboots it finally booted into twrp... For now i'll come back to my regular rom... IDK what happened, but any LOS on my device is pretty laggy...
Very unlucky :/

For me it will be my definive ROM untill very stable 8.0 ROM be released.

Envoyé de mon ZUK Z2121 en utilisant Tapatalk
 

runapp

Member
Dec 4, 2012
35
2
0
Hello, I wonder if file-based-encryption works(with the twrp link in OP) . You know test with it means a full wipe of /data, so it would be very appreciative if you can confirm it. AFAIK it won't work on davidevinavil's twrp 3.1.1 (with AEX 4.6)
 

gdtv

Member
Nov 18, 2010
12
4
0
bug:
first boot up, the color temperature is normal, but after locked the screen and unlocked the screen, the color temperature become warm color temperature, the screen is a little yellow.
 

Bryandu13

Senior Member
Mar 12, 2013
702
160
0
bug:
first boot up, the color temperature is normal, but after locked the screen and unlocked the screen, the color temperature become warm color temperature, the screen is a little yellow.
Maybe the live Display.

Envoyé de mon ZUK Z2121 en utilisant Tapatalk
 

ZeZ6

Member
Mar 26, 2011
28
9
0
I very much happy with the ROM thank you Cosmedd.

Zhealth works great but it force closes by it self after a while also when I change the language of the device other than English Zhealth changes to Chinese I hope there is a way to force it to English or translate it.

Here how I installed it:
1- Back up your data.
2- flash latest stock ZUI, boot up, then install TWRP by Cosmedd.
3-wipe data and internal storage then copy and flash the ROM, gapps and root if you prefer.
 
  • Like
Reactions: angekcc

bluexp

Senior Member
Nov 9, 2011
58
6
0
I very much happy with the ROM thank you Cosmedd.

Zhealth works great but it force closes by it self after a while also when I change the language of the device other than English Zhealth changes to Chinese I hope there is a way to force it to English or translate it.

Here how I installed it:
1- Back up your data.
2- flash latest stock ZUI, boot up, then install TWRP by Cosmedd.
3-wipe data and internal storage then copy and flash the ROM, gapps and root if you prefer.
Are u serious? you're telling this ROM has Zhealth app and it is working?