1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ROM [DISCONTINUED] [7.1.x] Unofficial LineageOS 14.1 (20171014)

Discussion in 'Custom Z2plus Rom releases' started by varotone, Feb 11, 2017.

  1. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    [​IMG]
    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.2, 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


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


    Downloads and changelogs

    PLEASE, DO NOT MIRROR
    Latest: Link
    All releases: Link


    Credits

    Thanks to Fedor, Davide, dd3, cosme, SuperLamic, francesco 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.



    Dev information

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

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.18.x
     
    #1
    Last edited: Aug 23, 2017
  2. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    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.
     
    #2
    Last edited: Apr 21, 2017
    Umut, Magz Heaven, Jalal and 13 others like this.
  3. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    Link posted!
     
    #3
    Magz Heaven, jelennn, SID and 3 others like this.
  4. Moefreak

    Moefreak Member

    Joined:
    Jan 29, 2017
    Messages:
    38
    Likes Received:
    4
    You say, i can dirty flash (after wipe of system, cache and dalvik) over fedors lineage? Would be great!
    Rom supports f2fs? Encryption working?
    Thanks!
     
    #4
    Last edited: Feb 11, 2017
  5. edxmon

    edxmon Member

    Joined:
    Jan 6, 2017
    Messages:
    75
    Likes Received:
    49
    Thank you @varotone

    Donating to you as we speak, I really appreciate devs who support this device. Although some other builds seem to have been abandoned, hope this one is different.
     
    #5
    Karthik Anjanappa likes this.
  6. Bodygard

    Bodygard Active Member

    Joined:
    Dec 12, 2016
    Messages:
    185
    Likes Received:
    101
    Great work, congratulations!

    A quick question, i assume F2Fs is working right? If yes, gonna try it right away.
     
    #6
  7. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    You should be able to dirty flash, but keep a backup just in case.
    Thank you! :) I will try to keep the ROM updated at least for as long as I have the device. Its planned life is about 1 year and a half
     
    #7
    Modest Mind, Rzky, zelos156 and 5 others like this.
  8. João Martinho

    Joined:
    Jan 11, 2017
    Messages:
    88
    Likes Received:
    43
    Amazing work @varotone, I will try it soon.

    Kernel is the same used by davidevinavil on the lastest DU and RR?

    I'm on "baseband_2.0.079". Is it ok, or do you have any suggestions about what firmware is better?

    The root file don't look the same as SuperSU? What are the differences, and what do you recommend?

    Thanks! : )
     
    #8
  9. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    Kernel is davide's n7x branch at the moment.

    I'm using baseband from the latest official ZUI, working fine.
    Edit: turns out I don't have the latest baseband, but it should work fine.

    The root file isn't the same as SuperSU, it is the official opensource su addon from LineageOS. You can flash SuperSU or any other root if you prefer.
     
    #9
    Last edited: Feb 11, 2017
    Bodygard and João Martinho like this.
  10. João Martinho

    Joined:
    Jan 11, 2017
    Messages:
    88
    Likes Received:
    43
    Can you please tell me what baseband is that? Is it "firmware_2.5ST"? Thanks.
     
    #10
  11. Moefreak

    Moefreak Member

    Joined:
    Jan 29, 2017
    Messages:
    38
    Likes Received:
    4
    w.5st is baseband 1.7 ( i use this for now), where i can download baseband 2.0 (and what are the advantages? i ask because baseband flash is not that funny with brick..)
     
    #11
  12. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    Screenshot_20170211_195909.png
    This is the version I have. I checked and it doesn't seem to be the latest, but as long as you're using an official one it should work properly.
     
    #12
    Modest Mind, Basti and João Martinho like this.
  13. João Martinho

    Joined:
    Jan 11, 2017
    Messages:
    88
    Likes Received:
    43
    I've got two files that I can flash with TWRP. Non of them are that version.

    If someone thinks about changing firmware, you can brick you device - it can lock the bootloader!

    "baseband_2.0.079" (I'm currently using this one)

    [​IMG]

    "firmware_2.5ST"

    [​IMG]

    Which is the best? I guess "baseband_2.0.079" , but not sure. I don't need to change anything, or be on the same firmware as you, @varotone, right?
     
    #13
  14. varotone

    varotone Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    236
    Likes Received:
    838
    You shouldn't need to change your baseband version, as long as it works currently, it should work in LOS.
     
    #14
    João Martinho likes this.
  15. Bodygard

    Bodygard Active Member

    Joined:
    Dec 12, 2016
    Messages:
    185
    Likes Received:
    101
    Installed it, everything went fine. Using baseband 1.7 from ZUI 2.5.334ST.
     
    #15
    Modest Mind and João Martinho like this.
  16. vivek0638

    vivek0638 Member

    Joined:
    Feb 8, 2017
    Messages:
    41
    Likes Received:
    1
    Can you check volte is working or not
     
    #16
  17. João Martinho

    Joined:
    Jan 11, 2017
    Messages:
    88
    Likes Received:
    43
    #17
    Modest Mind and varotone like this.
  18. vivek0638

    vivek0638 Member

    Joined:
    Feb 8, 2017
    Messages:
    41
    Likes Received:
    1
    My bad
     
    #18
  19. Bodygard

    Bodygard Active Member

    Joined:
    Dec 12, 2016
    Messages:
    185
    Likes Received:
    101
    My carrier doesn't have that :/
     
    #19
  20. vivek0638

    vivek0638 Member

    Joined:
    Feb 8, 2017
    Messages:
    41
    Likes Received:
    1
    Thnx anyway..
    Do you know which ROM is good for volte support with a good battery life
     
    #20

Share This Page