FORUMS

[ROM][8.1.0][UNOFFICIAL] LineageOS 15.1 for ZE520KL/ZE552KL

114 posts
Thanks Meter: 504
 
By planet9, Senior Member on 23rd February 2018, 04:52 PM
Post Reply Email Thread
Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * We are 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 us for messing up your device, we will laugh at you.
 *
 */
This is an unofficial port of LineageOS 15.1 for the Zenfone 3 ZE520KL and ZE552KL.
It's a continuation of the great work on LineageOS 14 by @shakalaca.

In this post you'll find anything related to the ROM itself.
The second post is about extensions like Gapps and Asus Camera and the changelog can be found in the third post.

What's working/features:
  • Up to date kernel: Linux 3.18.136, CAF Tag LA.UM.7.6.r1-04300-89xx.0
  • Security patch level: March 5, 2019
  • User build, signed with my release-keys
  • Support for F2FS and EXFAT
  • Flipcover support via FlipFlap.
  • HW acceleration
  • WiFi/Hotspot
  • Bluetooth fully functional, with AptX
  • ANT+
  • GPS (+ Glonass)
  • Camera (Asus Camera mostly working, check the second post.)
  • Flashlight
  • Fingerprint
  • Mobile data and phone
  • Data roaming - read installation instructions!
  • Audio fully functional
  • All sensors working
  • Double tap to wake, Swipe up to wake
  • Touch gestures and on-screen nav bar
  • Notification/Battery LED
  • LiveDisplay
  • FM
  • Gapps
  • Substratum
  • Wireguard support
  • SELinux: Enforcing
Issues:
  • No major issues

Installation instructions:
  1. Your bootloader has to be unlocked!
  2. Update to the latest oreo stock rom.
  3. In stock rom: Enable data roaming
    If you don't do this you'll not be able to use roaming in LineageOS. (This also applies to other custom roms.)
    The LineageOS roaming switch can be used normally afterwards.
  4. Backup your internal storage to an external SD card or a computer. Internal storage should not be wiped but better save than sorry.
  5. Download the LineageOS 15 zip file provided in the downloads section to your phone (or use "adb sideload" with a computer).
  6. Flash the TWRP recovery I provided here.
  7. Reboot to TWRP. Backup everything. I recommend storing the backup on a computer or the external SD Card.
  8. Again in TWRP: Wipe Data, Cache, Dalvik/Art Cache and System.
  9. Finally you can install the LineageOS zip file and optionally Gapps. Reboot when finished.
    (Always flash LineageOS and Gapps without rebooting in between!)
  10. First boot will take a littler longer - If everything went as expected: Welcome to LineageOS 15.1!
  11. For AsusCamera read the post below about extensions.

Download:
LineageOS 15.1 for the ZE520KL and ZE552KL: https://drive.google.com/open?id=15v...nyKFuDKSVgloVc

How to return to build 2018-06-11 or earlier:
The following information only applies if you want to dirty-flash older builds. Factory-resetting the phone would make key migration obsolete.
If you want to return to build 2018-06-11 or earlier and are running 2018-08-11 or later, you have to migrate your data partition back to the test-keys.
Simply flash the "planet9_keys-to-test_keys.zip" from the "Key Migration" folder on my drive share to do so.

Future updates:
I'll keep maintaining this rom until Android P roms are stable enough for daily use.

Additional credits:
@shakalaca
@makorn645
All the LineageOS and Linux devs who put so much time and effort into development!
All the contributors to these mido and potter device trees. These sources proved to be a great reference!
Commit authorship has been preserved so take a look at my device tree for more information.

Sources:
Device tree: https://github.com/Planet-X/android_...e/lineage-15.1
Kernel: https://github.com/Planet-X/android_...e/lineage-16.0
Vendor: https://github.com/Planet-X/propriet...e/lineage-15.1

XDA:DevDB Information
LineageOS 15.1 for ZE520KL/ZE552KL, ROM for the Asus ZenFone 3

Contributors
planet9
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Based On: LineageOS

Version Information
Status: Stable

Created 2018-02-23
Last Updated 2019-03-12
Attached Thumbnails
Click image for larger version

Name:	Home.jpg
Views:	18728
Size:	125.8 KB
ID:	4428710   Click image for larger version

Name:	QS light.jpg
Views:	18736
Size:	67.6 KB
ID:	4428711   Click image for larger version

Name:	QS Expanded light.jpg
Views:	18592
Size:	82.0 KB
ID:	4428712   Click image for larger version

Name:	Settings light.png
Views:	18442
Size:	129.5 KB
ID:	4428713   Click image for larger version

Name:	About phone.png
Views:	18436
Size:	144.5 KB
ID:	4428714   Click image for larger version

Name:	QS dark.jpg
Views:	17952
Size:	69.1 KB
ID:	4428716   Click image for larger version

Name:	QS Expanded dark.jpg
Views:	17412
Size:	84.8 KB
ID:	4428717   Click image for larger version

Name:	Settings dark.png
Views:	16864
Size:	142.0 KB
ID:	4428718  
The Following 63 Users Say Thank You to planet9 For This Useful Post: [ View ] Gift planet9 Ad-Free
23rd February 2018, 04:52 PM |#2  
OP Senior Member
Thanks Meter: 504
 
More
Extensions
Here you'll find information about additional packages.
  • Advanced Kernel:
    An advanced kernel packed with additional features!
    Finally available here: https://forum.xda-developers.com/zen...-15-1-t3760007
  • Asus Camera:
    Asus Camera apk download: https://drive.google.com/open?id=1_4...jWVpFswImiv284
    Important:
    The new, standalone apk file has all the libraries included so it can be installed like any other user app over the package manager: No flashing through twrp is needed anymore and the app will stay installed even after updating the system.
    Before installing the new apk make sure to fully uninstall the old asus camera zip by flashing a rom or the uninstaller zip!
    Bugs:
    Most of the features should finally work with the new apk.
    Still not working:
    - Save to MicroSD
    - HDR Pro
  • Gapps:
    Official Open GApps for android 8.1 are finally available: http://opengapps.org/
The Following 32 Users Say Thank You to planet9 For This Useful Post: [ View ] Gift planet9 Ad-Free
23rd February 2018, 04:52 PM |#3  
OP Senior Member
Thanks Meter: 504
 
More
Changelog
2019-03-12:
  • Update to Android 8.1.0_r52, security patch level March 5, 2019.
  • Updated kernel to Linux 3.18.136, CAF-Tag LA.UM.7.6.r1-04300-89xx.0
2018-10-11:
  • Updated vendor blobs to WW-15.0410.1807.75.
  • Update to Android 8.1.0_r47, security patch level October 5, 2018.
  • Updated kernel to Linux 3.18.123, CAF-Tag LA.UM.6.6.r1-09900-89xx.0
    Thanks to @makorn645:
  • Fixed SafetyNet CTS check.
  • Reduced vibration strength.
  • Updated various blobs.
  • General cleanup.
2018-08-11:
  • First enforcing "user" build, signed with my release-keys.
  • Enabled call recording. (Not available in all regions.)
  • Fixed displayed battery capacity on the ZE552KL.
  • Added more SEPolicy for enforcing SELinux.
  • Fixed wifi stats log spam.
  • Added the ASUS_Z012DC to the model detection list.
  • Added SdFat for FAT and exFAT support.
  • Added updated version of the BFQ I/O scheduler.
  • Removed asusdebug for a lighter kernel.
  • Updated F2FS kernel driver.
  • Imported many more kernel improvements.
  • Updated vendor blobs to WW-15.0410.1806.68.
  • Update to Android 8.1.0_r43, security patch level August 5, 2018.
  • Updated kernel to Linux 3.18.118, CAF-Tag LA.UM.6.6.r1-09500-89xx.0
    Thanks to @makorn645:
  • Updated Vulkan, Adreno and SDM blobs from tissot.
  • Added missing perf and widevine blobs.
  • Updated perf blobs from bardock 2.2.0.
  • Fixed FM radio speaker audio.
  • Even more SEPolicy.
  • Optimized shutdown time.
  • Added "Swipe up to wake".
  • Added support for power-off alarms.
  • Switched default I/O scheduler to BFQ.
  • Added the ASUS_Z017D to the model detection list.
  • Updated build fingerprint to WW_15.0410.1806.68.
  • Misc improvements of the kernel defconfig for more performance.
  • Many more misc improvements...
2018-06-11:
  • Added FlipFlap.
  • Tweaked graphics performance.
  • Enabled the third QS row for the ZE520KL.
  • Updated vendor blobs to WW_15.0410.1804.62.
  • Update to Android 8.1.0_r30, security patch level June 5, 2018.
  • Updated kernel to Linux 3.18.112, CAF-Tag LA.UM.6.6.r1-08600-89xx.0
    Thanks to @makorn645:
  • Added icons to AsusParts.
  • Moved AsusParts to system settings.
  • Updated build fingerprint to WW_15.0410.1804.62.
  • More SEPolicy rules.
2018-05-21:
  • Added ANT+ support.
  • Enabled WiFi Passpoint support.
  • Fixed 4K recording with Asus Camera.
  • Updated GPS HAL.
  • Updated GPS configs from WW_15.0410.1804.60.
  • Updated vendor blobs to WW_15.0410.1804.60.
  • Updated build fingerprint.
  • Updated kernel to Linux 3.18.109, CAF-Tag LA.UM.6.6.r1-08500-89xx.0
    Thanks to @makorn645:
  • Added missing proprietary files.
  • Improved audio configs.
  • Updated media and bluetooth configs.
2018-05-10:
  • Improved speakerphone sound quality.
  • Doubled wifi performance on 40MHz wide 2.4GHz networks and enabled TDLS.
  • Removed KCal. (LiveDisplay now offers this functionality.)
  • Properly enabled the Vulkan API.
  • Fixed 5GHz hotspot option sometimes not selectable.
  • MTP should now report the proper phone model.
  • Updated vendor blobs to WW_15.0410.1803.55.
  • Update to Android 8.1.0_r26, security patch level May 5, 2018.
  • Rebased and cleaned up the kernel.
  • Updated kernel to Linux 3.18.108, CAF-Tag LA.UM.6.6.r1-08300-89xx.0
    Thanks to @makorn645:
  • Improved model detection.
  • Updated media configs from mido.
  • Improved wifi battery savings.
  • Defined gmsclient-id.
  • Properly detect single-sim devices.
  • Added modem build date assertion.
  • More SEPolicy rules. (Still permissive due to some missig rules.)
  • Updated build fingerprint.
2018-04-25:
  • Improved fingerprint service.
  • Improved DT2W performance and fixed "Prevent accidental wake-up" switch.
  • New LiveDisplay implementation with more features.
  • KCAL is now built-in. (It may be removed again due to new LiveDisplay features making it obsolete.)
  • Updated vendor blobs to WW_15.0410.1803.53.
  • Updated kernel to Linux 3.18.106, CAF-Tag LA.UM.6.6.r1-07400-89xx.0
    Thanks to @makorn645:
  • Fixed serial number detection.
  • Added a built-in app to set vibration strength and KCAL values.
  • Improved SEPolicy. (SELinux still permissive due to missig rules.)
  • Updated configs and build fingerprint.
2018-04-06:
  • Fixed crash when switching mobile data sim card.
  • Added vibration intensity control: Currently not available within LineageOS settings.
    Intensity can be adjusted using "Kernel Adiutor" or other kernel management apps - Advanced Kernel is not needed for that.
  • Imported many kernel improvements.
  • Update to Android 8.1.0_r20, security patch level April 5, 2018.
  • Updated kernel to CAF Tag LA.UM.6.6.r1-07200-89xx.0.
    Thanks to @makorn645:
  • Updated audio configs. (Speakerphone still buggy)
  • Updated way of setting the build fingerprint.
2018-03-25:
Doing a clean flash is recommended.
  • New AsusCamera apk: Read the "Extensions" post above for instructions. The old one isn't supported anymore.
  • Restored default battery led behavior to mitigate flickering. You can change the brightness in the system settings.
  • Updated vendor blobs to WW_15.0410.1802.44.
  • Updated kernel to Linux 3.18.102, CAF Tag LA.UM.6.6.r1-06700-89xx.0.
  • Additional minor updates.
    Adopted from XenonHD by @makorn645:
  • Misc fixes for Amplifier.
  • Drop hacked up audiohal.
  • Enabled VoLTE.
  • Removed forceencrypt from fstab.
  • Renamed Z017 to zenfone3.
  • Built SEPolicy. (SELinux still permissive due to missig rules.)
2018-03-11:
  • Improved spectrum support.
  • Enabled camera api v2 in Snap. It now features manual mode.
  • Pulsing low battery light is now toggleable in the settings.
  • Updated kernel to Linux 3.18.99.
    Adopted from XenonHD by @makorn645:
  • MTP now uses functionfs.
  • Switched back to OSS bluetooth hal with fixed mac.
2018-03-06:
  • Improved bluetooth performance and fixed mac issues.
  • Brand-new notification LED controller.
  • Fixed battery light for offline charging.
  • Update to Android 8.1.0_r15, security patch level March 5, 2018.
2018-03-04:
  • Much newer Lineage sources.
  • FM, Battery LED and LiveDisplay fixed.
  • Improved micro-lag at animation beginnings.
  • Updated kernel to Linux 3.18.98.
  • Multiple minor improvements/fixes.
2018-03-01:
  • Hotfix for dialer audio.
2018-02-28:
  • Regression: Dialer audio stopped working!
  • Headphone detection finally fixed!
  • Fixed dialer crash when using in-call keypad.
  • Touch screen gestures added.
  • Optional on-screen nav bar added.
  • Updated kernel to Linux 3.18.97, CAF-Tag LA.UM.6.6.r1-06500-89xx.0
2018-02-24:
  • All sensors finally working. Thanks to @Harry8242 !
  • External sd card should behave properly now.
2018-02-23:
  • Initial release of alpha version.
The Following 18 Users Say Thank You to planet9 For This Useful Post: [ View ] Gift planet9 Ad-Free
23rd February 2018, 05:25 PM |#4  
Account currently disabled
Flag Kuala Lumpur
Thanks Meter: 239
 
Donate to Me
More
Nice. Thanks bro. I really appreciate it

God bless you !
23rd February 2018, 05:30 PM |#5  
Senior Member
Thanks Meter: 149
 
More
Great work buddy !!!!
I'll test this out after my semester exams :lol:
23rd February 2018, 05:31 PM |#6  
Member
Thanks Meter: 19
 
More
great job, i will test it and give u some feedback....
23rd February 2018, 05:39 PM |#8  
Account currently disabled
Flag Kuala Lumpur
Thanks Meter: 239
 
Donate to Me
More
Quote:
Originally Posted by iamROOTX

Im using los14 and never been able to update to stock oreo. Will it work? Or need to go back to stock to install oreo 1st then this?

Just flash it via TWRP. Don't forget to flash GApps too.
23rd February 2018, 06:41 PM |#10  
Senior Member
Thanks Meter: 287
 
More
I'm editing this post because the copy/paste text messed everything up.
@planet9
Haris from the Telegram channel sent the below message.

https://github.com/bhi768/msm8953/co...fca8a34d5f38e2 ask him to try this, so that he can confirm if asus's mdss changes already has live display capability

also https://github.com/Planet-X/android_...ifest.xml#L226 ask him to try pass through method for sensors like in here https://github.com/harry8242/device_...ifest.xml#L155
The Following 3 Users Say Thank You to CygnusBlack For This Useful Post: [ View ] Gift CygnusBlack Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes