• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Z2] Unofficial LineageOS 14.1

Search This thread

varotone

Senior Member
Feb 11, 2014
113
408
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
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
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
604
187
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
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
604
187
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
604
187
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

  • Screenshot_20170220-122230.png
    Screenshot_20170220-122230.png
    83.2 KB · Views: 970
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    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
    33
    IMPORTANT ANNOUNCEMENT

    Because of real-life reasons, at the end of this month/beginning of October I will stop giving support to this ROM. This will also mean the OTA server will be taken down.

    I am sorry for the disappointment to users, and those who have collaborated in development, but I cannot mantain it properly for probably at least half a year and it would be irresponsible to keep development, both for me and you users. I may return in the future but I cannot say for sure.

    I want to thank you all for your support and help, be it appreciative comments, donations, issues, pull requests or other. It has been an amazing experience over the 6 months I have been publishing my builds.

    In the following weeks before support is discontinued, I plan to release one or two final builds in which I will try to get most important stuff fixed, so as to provide an stable build for whichever users decide to continue using LOS. Keep watching this thread for them because as I said before, they won't be available via OTA. I will let you know which build is the last, and I will change this thread's title to "DISCONTINUED".

    At the same time, this is also a call for devs who may be qualified to continue development of this ROM, and willing to do it, to step up and take over. If you already are an Android ROM developer and are interested, please PM me, here or on Telegram.
    33
    New release uploaded.
    This is my last release for now. Farewell and thank you all!
    23
    Surprise release!

    Note: I'm not back to development, just a one-time build to get up to date with Cosme's work and security patches. The ROM is still discontinued.