• 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

[Z2] Unofficial LineageOS 14.1

varotone

Senior Member
Feb 11, 2014
113
408
63
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 (z2_plus, z2131, z2132).

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.1, including all features from LineageOS.
  • Always updated to the latest upstream sources and security patches
  • Clean builds without any additional bloatware
  • Updated every 1/2 weeks


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


Changelog

You can always find the changelog at the device wiki.


Downloads

Link


Credits

Thanks to Fedor, Davide and all other contributors!

Donations

I'm doing this in my free time and to use myself. Furthermore, both davidenavil and fedor917 have done much, much more work than I to make this ROM possible. If you're feeling like donating you should donate to them first.

If after reading this you still want to donate to me, here's a link:

Note that by donating you are confirming that you're not paying for any service whatsoever, but freely giving away your money without any warranty or right to refund. I take donations as a form of saying thanks, not as payment for my work or the works of others.



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

Contributors
varotone, davidevinavil, fedor917, many others
Source Code: [url]https://github.com/ontherunvaro/android_device_zuk_z2_plus[/URL]

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

Version Information
Status: Nightly

Created 2017-02-11
Last Updated 2017-10-15
 
Last edited:

varotone

Senior Member
Feb 11, 2014
113
408
63
Reserved

FAQ
Does this ROM have OTA updates?
Yep, since release 20170420.

LTE/Calls not working?
Please make sure you're on the latest baseband before reporting these bugs. Also remember that flashing a new baseband will 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 me. I don't know any languages other than Spanish and English, and there's some Russian strings too.
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.

How can I talk to you?
You can find me sometimes on ##z2_plus-dev at irc.freenode.net. You can also post your doubts or suggestions in this thread or the dedicated DevDB pages.
I will not answer any DMs or emails for bugs, feature requests or technical assistance. That's what the forum is for.

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.
 
Last edited:

Karthik9425

Member
Oct 19, 2015
21
1
0
Please start a thread in Zukfans.eu , there is a much better response and discussion there . Thank you for this ROM and your hardwork.

Sent from my Redmi 4 using Tapatalk
 

Ritik17

Senior Member
Jun 4, 2015
603
187
43
IDK
Thanks for the hard work, I would like to report some issues that I have encountered are :
1. There's no way to enable on screen nav bar.
2. Root doesn't work, I have tried flashing LineageOS addonsu and SuperSU but no luck
 

varotone

Senior Member
Feb 11, 2014
113
408
63
Thanks for the hard work, I would like to report some issues that I have encountered are :
1. There's no way to enable on screen nav bar.
2. Root doesn't work, I have tried flashing LineageOS addonsu and SuperSU but no luck
Woops, I forgot to edit this thread. LineageOS addonsu is broken for now (working on it). SuperSU should work though (working on my device). Try it on a clean flash, or use the LOS addonsu remover before flashing SuperSU.

As for the nav bar, it's a missing feature in LineageOS for now iirc.
 

Ritik17

Senior Member
Jun 4, 2015
603
187
43
IDK
Woops, I forgot to edit this thread. LineageOS addonsu is broken for now (working on it). SuperSU should work though (working on my device). Try it on a clean flash, or use the LOS addonsu remover before flashing SuperSU.

As for the nav bar, it's a missing feature in LineageOS for now iirc.
Yeah I tried a clean flash and it works. The build is working good so far, those were the only problems I have seen yet. I will update and let you know how it goes.
 

Ritik17

Senior Member
Jun 4, 2015
603
187
43
IDK
Configuring notification light doesn't work properly and shows this notification until the charger is plugged. Both USB and this are system notifications, it should be hidden.
Edit: The led notification pops up every time configured, but still it should be hidden.
 

Attachments

Last edited: