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

Search This thread
G

GuestD0097

Guest
LineageOS-Cover.png

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
708
162
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.
 
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
708
162
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
 
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
708
162
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
36
2
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
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
708
162
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
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
78
9
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?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Go to settings then scroll down to BUTTONS and change u-touch and home button to your liking.



    It is not necessary to do that look above.

    Thank you @cosmedd as always great work the phone is smooth and very stable I have not encountered blue light of death since first November build
    Yes you have various options to configure home button and U-Touch within the menu, but there is NO option to have home on long touch.

    Gesendet von meinem ZUK Z2121 mit Tapatalk
    2
    this was my suggestion from the start of these issues, at the time @pech2sav was reluctant to do this (b/c loss of all settings and userdata).
    At this point, there is not really any other way forward.
    The phone needs to get into a clean state, after that, if the IMEI still disappears, there are a few guides that can be followed.

    Please take a twrp / nandroid backup, as described a few posts back.
    be meticulous.
    follow the guides to flash stock ZUI,
    and follow the guides to get to the latest ZUI (at least 2.5) - or wait for OTA update, which might never come, so might as well update manually.
    unlock, and install TWRP
    install LOS14
    check the imei situation


    Also, perhaps a new thread should be started, since this has nothing to do with the OP. It is not a LOS issue.
    Ok but I think I did everything fine before (exept backup) and I had the 4G problem, so I prefer now because it is working. Hopping just a solution coming for random "no sim" problem. My imeis are ok. Thank you for your interest.

    ---------- Post added at 02:30 PM ---------- Previous post was at 01:47 PM ----------

    It looks like "no sim" happened a few time after closing wifi connection. Sad but now reboot doesn't bring back service anymore:crying:
    EDIT:but changing sim slot yes. Weard isn't it ?
    2
    Edit: I realize this doesn't have to do with LOS development particularly, and I'm working on a recovery guide, but I wanted to help a brother out asap.
    _

    Okay, so, wow that sucks. Yeah for some reason, the standard "connectivity problem" troubleshooting step of erasing what's supposed to be a rebuildable cache in modemst1 & modemst2 ends up wiping nvram with your IMEIs, wifi MAC, and Bluetooth hardware adapter addresses on the ZUK Z2 Plus and Pro.

    A QPST flash won't fix this, that didn't know how to set your individual hardware adapter addresses. This is not trivial to fix, unless you happened to backup your QCN with the QPST tool or backed up the EFS partition with TWRP.

    Check ANY/ALL TWRP backups you have of your phone to see if maybe you did back up that EFS partition... If so, just restore it and reboot.

    If you saved your QCN with the Qualcomm tools, you can restore it (be sure to enable multi-sim) and get things back.

    If not... I'll try to find the post I made on ZUK fans about what it took to actually restore this on my wife's Z2 Plus when that happened. Long story short, I just ended up making up IMEIs/hardware addresses for her a few digits different than my Z2 Pro, and hoping the next handset off the production line is somewhere in China where it's not going to collide with her on a network here.
    2
    So after a few days of testing (from the day of release until today) i can tell that battery life is not that great... In fact I've got better one on mokee. Here i can get 4-4:30h SOT with mu usual tasks (YT, a few games, messengers, social networks and so on). However this ROM is really smoth, i didn't expect that with UC, and gaming performance is pretty good. Also - heart beat sensor is great! So i hope this become official and the whole pack of available frequencies will be available too :p Thanks for your work!
    2
    first flashing the baseband 2.5.435 from here : https://zukfans.eu/community/threads/radiomodem-basebands-z2-pro-only.7342/
    seems to do the trick.