• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[OFFICIAL][ZS620KL] LineageOS 18.1 (Android 11) for the Asus Zenfone 5z

Search This thread

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
2okPze5.png


LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.



All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.



Code:
#include

/*

* Your warranty is now void.

*

* I am not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at me for messing up your device, I will laugh at you.

*/



SUPPORTED DEVICES

- ZS620KL (Asus Zenfone 5z)

- ZS621KL (Asus Zenfone 5z)


HOW TO INSTALL LINEAGEOS WITH LINEAGE RECOVERY

Please follow the official LineageOS Wiki instructions for our device





HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY

Please follow the official LineageOS Wiki instructions for our device





HOW TO INSTALL LINEAGEOS WITH TWRP

- Unlock the bootloader and install TWRP.

- Download LineageOS. (see Downloads)

- Boot into TWRP.

- Copy the downloaded zip files to the internal SD card.

- Perform a backup of your current ROM. (Optional)

- NOTE! If you're coming from stock ROM? You MUST format data. Wipe > "Format Data" button > type "yes" > keyboard checkbox

- RECOMMENDED: Do a factory reset (clean wipe)! No support if you didn't! (Wipe System, Cache and Data)

- Flash LineageOS zip.

- Flash TWRP installer zip.

- Reboot to TWRP.

- Optional: Install the Google Apps add-on package. (see Downloads)

- Reboot to system.



HOW TO UPDATE LINEAGEOS WITH TWRP

- Download the LineageOS zip(s). (see Downloads)

- Copy the LineageOS zip to the internal SD card.

- Reboot to TWRP.

- Flash LineageOS. (Wiping Cache is optional, but recommended)

- Reboot to TWRP.

- Optional: Install the Google Apps add-on package. (see Downloads)

- Reboot to system.



MAIN DOWNLOADS


Lineage:

- Official:


- Unofficial:

https://osdn.net/projects/lineageos-for-z01r/releases/p17823


TWRP for Z01R: Unofficial:




GOOGLE APPS (GAPPS) DOWNLOADS





GOOGLE CAMERA (GCAM) DOWNLOADS

Google Camera:


5z's configuration can be found in his configs:




DEVELOPER RESOURCES









HOW TO CONTRIBUTE?

Send your patches up for review: https://review.lineageos.org/

Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/

Source Code: https://github.com/LineageOS
 
Last edited:

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Features over Stock
FM Radio, File-Based Encryption (which allows power-off Alarm to actually work and no annoying PIN prompt half-ways through boot), QTI Bluetooth stack

KNOWN BUGS
  • ViLTE does not work
  • 4K UHD Video recording does not work in LineageOS Snap Camera app. (A workaround is to use other camera apps like OpenCamera or Gcam Mods)
  • Touch sometimes doesn't work in Lineage Recovery. The workaround is to use the volume buttons to move around the menu and power to select or to reboot to recovery.
  • SafetyNet does not pass (Unfortunately, this is not possible as your SoC has hardware attestation... the workaround is to use unsupported mods like Magisk which tbh I haven't tried myself as I don't root my devices, but other users said that plus the SafetyNet Magisk mod works)
Frequently Asked Questions
  • Is there a different way to unlock the bootloader than the Asus official method? You can try the unofficial bootloader unlock here
 
Last edited:
  • Like
Reactions: Ajaypadhy90

Spassbremse

New member
Apr 11, 2021
1
0
Hi There,
nice to read we'll get 18.1 on our device !

Is this beta okay to use on my only daily driver phone ? or should i better wait ?
& Which vendor-patch-level is it ?
 

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @Spassbremse from my tests so far she's very stable and I plan to daily drive it for a few days just to be safe. I went through the logcat and already fixed a lot of things just to ensure she's stable. There are a few more minor upgrades I'd want to do later on, but I'm super happy with the result that we currently have. (y)

Tbh vendor patch level is just a suggestion lol... there's no way to check if someone lied or not about it. Technically the vendor security patch level should be based on the device's firmware and the vendor blobs. Ours is based upon stock ROM UL-Z01R-WW-100.10.107.123-user so I set our vendor security patch level to 2021-01-05.

I've seen other people set theirs to whatever date is on for just a few blobs kanged from a different device, but that's technically lying as the device firmware and other parts of the blobs would still be an earlier date... so what I'm saying is? Don't trust vendor security patch level. The most important part anyways is the system security patch level and selinux enforcing and avoid keeping root (like Magisk) on your device as root is a security bypass. I've seen vulnerabilities in the past to gatekeeper and keymaster that could allow an attacker to bypass lockscreen security that could only be achieved if the attacker had access to root... so yeah, I never install Magisk on my Z01R. 🙅‍♂️
 

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo, another new test build is going up! lineage-18.1-20210412-UNOFFICIAL-Z01R contains updates from Nokia 8.1 Android 11 release for GPS, IMS, QMI and RIL. Maybe it's just me, but LTE+ seems to be working better. 👍

I haven't had time yet to check into if it's possible to force ViLTE support though
 
  • Like
Reactions: Dragonkind

aLLyC

New member
Sep 7, 2010
4
2
Well done, the phone deserves this. Asus is still insisting on 2 versions android support policy, but thanks to you, hope find more contribution for the project for the bugs.
 
Last edited:
  • Like
Reactions: ThE_MarD

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @aLLyC , thank you for the kind words! I definitely love my Asus Zenfone 5z and our LineageOS 18.1 builds for her are already in better shape than 17.1! Only a matter of time before those official builds will be a thing (y)

One the Hudson promote Z01R to 18.1 gets merged? Our next build will be 18.1 w00t!
 
Last edited:
  • Like
Reactions: aLLyC

aLLyC

New member
Sep 7, 2010
4
2
Do you think that this version supports ethernet tethering ? I am using USB-C Ethernet Adapter, however Zen failed to work with directly routers wan port while sammy gets it is done with Android11.
 

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo, w00t! We were approved! Our next official build for LineageOS will be for 18.1! Meow I only have my Lenovo Z6 Pro left to get official builds hehe (y)

@aLLyC , I'll ask Kailash as he's the Z01R kernel guy as tbh I'm unsure what changes we would need in the kernel to support USB devices (afaik it's the kernel only that needs the adjustments???)
 
  • Like
Reactions: aLLyC

aLLyC

New member
Sep 7, 2010
4
2
Great!! normally it supports ethernet connects an node but not tethering... thanks!
Sammy UI has a seperate option for the feature under tethering menu in note series in Android 11
 
  • Like
Reactions: ThE_MarD

nnmanobala

Member
Jul 3, 2014
30
7
Chennai
Thank you for your development effort towards Zenfone 5Z. I'm interested in installing your ROM as it has encryption enabled.

Does this support copying text from recents(Pixel feature drop)?

Also does it support VoWiFi on Jio(Indian carrier) that was given to stock Zen UI in its penultimate update? I'm on Evo11 (OSS vendor) and it has VoWiFi support for the aforementioned carrier.

Thanks again.

--- Edit ---
VoWiFi works on Jio without problems.
 
Last edited:
  • Like
Reactions: ThE_MarD

ThE_MarD

Senior Member
Dec 10, 2014
2,989
3,504
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @nnmanobala thanks man! Yeah encryption is important to me, so I made sure we support File-Based Encryption as AOSP has depreciated Full-Disk Encryption that our stock ROM used.

Tbh I'm unsure for that feature as I think it requires the launcher support it... So maybe those who use Pixel Launcher could answer this question?

For VoWiFi? I can't test that as I'm in Canada where they block VoLTE, ViLTE and VoWiFi on BYOD as they consider those "premium features... So no idea tbh if it works. Do you know if by chance it worked or not on LineageOS 17.1?
 

tooth fairy

Member
Nov 14, 2018
11
6
Hi !
I just got the new 18.1 lineage running on my phone ! Thanxs a lot for your work !!
Feels faster than the 17.1 .

I just can't figure out how to reactivate the "Screenshot" in the Power-(Button)-Menu.
Can Someone pls help or point me to a good source of Lineage Dokumentation ??
 
  • Like
Reactions: ThE_MarD

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Heyyo @h1ghn3zZ I'm super glad you're enjoying this! This is just a fun hobby for me since I have a family and I don't have time to sit down and play video games for hours on end lol... but achieving things on AOSP is definitely more rewarding as others get to enjoy the result of my hobby too. :)

    Tbh vendor security patch number is fluff lol... technically? It encompasses device firmware as well, but there isn't a good way to test vendor security patch level like there is for system security patch level as a lot of vendor portions have proprietary code (especially the bootloader), so there's no way to determine if vendors are outright lying about their vendor security patch level and missing security patches. o_O

    The only serious security flaw I remember with vendor was long ago where qseecomd could be exploited if a rogue apk was granted root permissions and it could bypass security passwords... but our device is so new that it doesn't apply to us... but still, root is a major security flaw anyways, as the whole idea behind it is administrative access and bypassing selinux (Security Enhanced Linux), so not having root on your device and keeping up to date on system security patches and proper selinux enforcing are great ways to keep your device secure, afterwards? It's pretty much avoiding sketchy downloads and apk's (as sometimes pirate modded apks can carry the risk of security exploits too). That's why all I do with my devices is LineageOS and GApps. If I need root for testing changes to my devices? I only use adb root from my PC and then when I'm done I reboot my device.
    1
    Heyyo @tartutic07 , it was confirmed working here by decentguy49

    1
    He was saying it was working for him both banking and GPay. If by chance GPay isn't working for you? You might need to use Magisk and mods, but decentguy49 said he never had to though

    Cool. I will check it out when I install the OS.
    1
    Thanks to @ThE_MarD for continuing this wonderful work. I was on the 17.1 ROM and was about to give up using this phone at the beginning of the year when Asus stopped giving out vendor security patches. Then, this ROM gives new life to my phone.

    So far, i did not experience any problems. Banking apps (where i have accounts) and Gpay are also working fine.

    I use Gcam which is also working fine. Battery drain is minimal.
    1
    Thanks for the reply and comments @ThE_MarD , specially the in-depth info on security.

    In my previous years, i was naïve and foolishly install pirate modded apk's. Of course, in those days, i used my phone for gaming, mostly, so security was of little concern.

    But now, i use my phone for important business work as well as financial matters. So, security is a top priority. That is why, i never root my phone even if i use custom roms. Although i test different roms, i always decided to use LOS for my daily driver, as soon as it becomes Official. I made sure that the phones i bought receive LOS and never settle for those high-specs, but low cost devices which flooded the market nowadays.
  • 10
    2okPze5.png


    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.



    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.



    Code:
    #include
    
    /*
    
    * Your warranty is now void.
    
    *
    
    * I am not responsible for bricked devices, dead SD cards,
    
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    
    * do some research if you have any concerns about features included in this ROM
    
    * before flashing it! YOU are choosing to make these modifications, and if
    
    * you point the finger at me for messing up your device, I will laugh at you.
    
    */



    SUPPORTED DEVICES

    - ZS620KL (Asus Zenfone 5z)

    - ZS621KL (Asus Zenfone 5z)


    HOW TO INSTALL LINEAGEOS WITH LINEAGE RECOVERY

    Please follow the official LineageOS Wiki instructions for our device





    HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY

    Please follow the official LineageOS Wiki instructions for our device





    HOW TO INSTALL LINEAGEOS WITH TWRP

    - Unlock the bootloader and install TWRP.

    - Download LineageOS. (see Downloads)

    - Boot into TWRP.

    - Copy the downloaded zip files to the internal SD card.

    - Perform a backup of your current ROM. (Optional)

    - NOTE! If you're coming from stock ROM? You MUST format data. Wipe > "Format Data" button > type "yes" > keyboard checkbox

    - RECOMMENDED: Do a factory reset (clean wipe)! No support if you didn't! (Wipe System, Cache and Data)

    - Flash LineageOS zip.

    - Flash TWRP installer zip.

    - Reboot to TWRP.

    - Optional: Install the Google Apps add-on package. (see Downloads)

    - Reboot to system.



    HOW TO UPDATE LINEAGEOS WITH TWRP

    - Download the LineageOS zip(s). (see Downloads)

    - Copy the LineageOS zip to the internal SD card.

    - Reboot to TWRP.

    - Flash LineageOS. (Wiping Cache is optional, but recommended)

    - Reboot to TWRP.

    - Optional: Install the Google Apps add-on package. (see Downloads)

    - Reboot to system.



    MAIN DOWNLOADS


    Lineage:

    - Official:


    - Unofficial:

    https://osdn.net/projects/lineageos-for-z01r/releases/p17823


    TWRP for Z01R: Unofficial:




    GOOGLE APPS (GAPPS) DOWNLOADS





    GOOGLE CAMERA (GCAM) DOWNLOADS

    Google Camera:


    5z's configuration can be found in his configs:




    DEVELOPER RESOURCES









    HOW TO CONTRIBUTE?

    Send your patches up for review: https://review.lineageos.org/

    Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/

    Source Code: https://github.com/LineageOS
    6
    Heyyo, I just realized that the first official build of LineageOS 18.1 is up for Z01R! w00t! Thread updated (y)
    2
    Heyyo, a new test build is going up! Link as always for test builds are in the first post. lineage-18.1-20210814-UNOFFICIAL-Z01R contains some changes to hopefully get WiFi Calling working on all Indian carriers that support it, but since I can't test it? I cannot guarantee it works... so I need people to test and please report back

    @whatever271 that is a system ROM change which tbh is something I don't touch since I don't know enough about that lol... I only modify the device/vendor trees and sometimes kernel
    2
    Heyyo, so the latest official build includes a fix I merged for those who were on LinwageOS 18.1 then downgraded to stock Oreo ZenUI then came back to LOS 18.1, as there was an issue with sehash of persist partition which didn't exist in pre-Android 10 ROMs so meow all sensors (including fingerprint) will guaranteed work.

    Also, I'm requesting a new official build of TWRP for our device that has support for FBE decryption and is rebased on Android 10 as our current TWRP is only Android 9. (y)
    2
    I'm using my banking app no problems.

    Google pay is NOT working though. YMMV, I guess if your bank is as strict as google pay is it will not work

    Ah well I guess have to use online banking if it doesnt workout :)
    Thanks for the reply


    Hey i am using Banking apps and Google Pay, all work pretty much fine and i dont have any issue with any of them