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

[BETA][ROM][8.1.0][UNOFFICIAL]LineageOS 15.1 [20 Sep 2020]

Search This thread

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6
2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features and my sources linked below.

Bugs:
  • VoLTE (IDK How it broke suddenly, but will be looked at)
  • SELinux

Note:
LineageOS LiveDisplay does work but I recommend keeping it disabled because it causes lags in many cases.
I don't have any proper fix for it. If you want to use the Night Mode, please use a third party app which utilizes the KCAL driver or overlays.
All these builds are 32 bit.
Moto Camera from Google Play doesn't work, so either use a modded moto camera apk or use the camera app built in.



Instructions :
  • Download the latest build and gapps
  • Boot to recovery
  • Flash the latest build
  • Boot to recovery again
  • Flash gapps
  • Reboot

Downloads :
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
 
Did you--
wipe:
restore with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

XDA:DevDB Information
[ROM][UNOFFICIAL][athene][8.1.0] LineageOS 15.1, ROM for the Moto G4/Plus

Contributors
LineageOS Team of course!

Team athene:
rajatgupta1998
Nikit
lcrd512
golden-guy
Jleeblanch

Our former developers:
vache, rahulsnair, SileshNair, Shreps, regalstreak, ashwin007

Other developers: Alberto97, squid2, flar2, oadam11 , LineageOS team and all other contributors whom I might have missed.

All other friends and supporters in the XDA and Motorola Community! :victory:


Source Code:
LineageOS ROM Source

Device specific sources:
Device tree: https://github.com/rajatgupta1998/android_device_motorola_athene
Kernel source: https://github.com/rajatgupta1998/android_kernel_motorola_msm8952
Vendor blobs: https://github.com/rajatgupta1998/vendor_motorola_athene

ROM OS Version: Android 8.1.0 Oreo

Version Information
Status:Beta

XDA:DevDB Information
LineageOS 15.1 Athene, ROM for the Moto G4 Plus

Contributors
rajatgupta1998, @Nikit
Source Code: http://github.com/lineageos

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest Stock firmware
Based On: LineageOS

Version Information
Status: Beta
Beta Release Date: 2020-09-20

Created 2018-03-25
Last Updated 2020-09-20
 
Last edited:

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6
Changelog Timeline
Major items to be concerned about. Can say the HIGHLIGHTS. Check the commits on my Github for more details.
  • 16 Aug 2020

    • 05 Aug 2020 Security Patch
    • Bluetooth stack update from Stock O 8.1
    • Add Qcom ANT+ Blobs
    • Update aptX, aptX HD Blobs
    • Update power profile from stock O 8.1
    • Update few overlays from stock O 8.1
  • 07 April 2020

    • 05 April 2020 Security Patch
    • Enable some missing kernel configs
    • Regenerate proprietary-files.txt and follow it
    • Update ADSP
    • Build Health HAL
    • Update Alarm and Health blobs
    • Fix audio callibration files loading
    • Update Audio blobs and configs
    • Remove unnecessary code
  • 05 Jan 2020
    • Camera delays are fixed upto an extent
    • LiveDisplay is back but still lags. Since few people tend to use it, enabled it anyway. But if you get irritated by the lags, keep it disabled.
    • December 2019 Security Patches are here
  • 12 Oct 2019
    • October Security Patches are here
  • 08 Sep 2019

    • 05 September 2019 Security Patch
  • 25 Aug 2019

    • Kill LiveDisplay (Only Outdoor mode will work from now on, removed the night mode color shift because it causes severe lags in many cases)
    • Switch to QTI perf stack from stock O
    • Also add QTI I/O Prefetcher.
    • Switch back to Motorola's stock kernel for now with basic driver functionality like KCAL Support and fingerprint as home button.
  • 08 Aug 2019

    • August Security Patch
    • Fix loading of IMS Shim
    • Minor code cleanup
  • 04 Aug 2019

    • Fix video recording and QS Flash light toggle finally.
  • 07 July 2019

    • July Security Patch merged
    • Disabled some useless logging
  • 30 June 2019

    • Update and fix the DRM HAL for playing like Netflix
  • 24 June 2019

    • Use a binderized biometric HAL
    • Update fingerprint blobs and JARs from stock O
    • Update keylayout for FPC1020 Touch fingerprint sensor driver from stock O
    • Add a custom trim value from stock O
    • Use CAF QTI Power HAL now
    • Update Media DRM HAL and QSEECOM
    • Update ADSP Blobs from stock O, hence the ROM now uses updated Qualcomm's Hexagon DSP blobs for Oreo.
    • Enable and update Media CAS HAL, Gatekeeper and Keymaster HAL
    • Update the blobs for the above mentioned HALs
    • Enable Pinner service: Pins key files into memory to prevent having to fetch from flash after boot. Improves system performance by preventing page cache thrash.
    • Switch to the Motorola's stock O kernel source (No, Video Camera doesn't work right now :3 )
    • Merge latest sources from CAF: LA.BR.1.3.7-05010-8976.0
    • Merge all the relevant patches from AOSP (Google's kernel/common for linux-3.10)
    • Linux upstream on top of this with msm-3.10 as 3.10.108
    • All updates to various drivers like cpufreq, mdss, audio and more and more.
    • Various fixes and updates to the Wifi drivers from CAF Pie sources for Qualcomm Atheros Prima/Pronto WLAN module.
    • Various patches to the memory subsystem and updates to stuff like ZRAM, ZSWAP, VNSWAP
    • Updates for Pie's ext O_TMPFILE support
    • Enable support of SDFAT driver v2.1.8
    • Multiple changes to the binder interface, kernel functions and other upstream patches.
  • 16 June 2019

    • June 05 2019 Security Patches
    • LineageOS upstream
20 April 2019
* Update audio, display, graphics and actuator blobs from stock O
25 March 2018: Initial Changes from Nikit's build

* Merge 5 March 2018 security patch with AOSP 8.1.0_r18 release
* Increase ZRAM to 1 GB
* Disable Speaker Protection
* Disable Auto Brightness and Live Display on first boot
* Fix Safetynet temporarily : Use walleye's (Google Pixel 2) build fingerprint.
* Enable Spectrum Support and port Lightning Blade to Oreo
* Add sound control (maybe broken)
* Allow home button to be changed for various actions.
* Add more CPU frequencies.
* Disable Wakelocks by default
* TCP Congestion Avoidance controls ( not tested )
* Update VoLTE properties
* Use LZMA Compression for Recovery Ramdisk
* Disable add_random from kernel. Not required on SSDs. (eMMCs in our case)
* Enable Arch Power
* Adreno idler ramps down more aggressively now
* Enhance linux topology for multicore decision making
* Enable Arch Power
* Some speed and time efficient changes :3 hard to explain here.
* LineageOS upstream
* Use latest HALs from CAF release LA.BR.1.3.7-03810-8976.0
 
Last edited:

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6
Reserved

Screenshots
 

Attachments

  • photo_2018-03-25_17-35-10.jpg
    photo_2018-03-25_17-35-10.jpg
    65.2 KB · Views: 9,648
  • photo_2018-03-25_17-35-05.jpg
    photo_2018-03-25_17-35-05.jpg
    88.1 KB · Views: 9,609
  • photo_2018-03-25_17-35-44.jpg
    photo_2018-03-25_17-35-44.jpg
    73.2 KB · Views: 9,544
  • photo_2018-03-25_17-34-46.jpg
    photo_2018-03-25_17-34-46.jpg
    122.3 KB · Views: 9,774
  • photo_2018-03-25_17-35-13.jpg
    photo_2018-03-25_17-35-13.jpg
    46.1 KB · Views: 9,331
  • photo_2018-03-25_17-35-21.jpg
    photo_2018-03-25_17-35-21.jpg
    60.4 KB · Views: 9,101
  • photo_2018-03-25_17-35-18.jpg
    photo_2018-03-25_17-35-18.jpg
    41.7 KB · Views: 8,798
Last edited:

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6
@Nikit Just to confirm, this is correct?
And @rajatgupta1998 when you say "take over" do you mean that nikit is stopping? And can I help out? I have got much of the selinux going on my thread.

Sent from my athene using XDA Labs
Yep I have his permission to continue! Also, SE Linux is not on the top most priority right now for me. But yes, surely SELinux will be set to Enforcing soon. Omni and probably your build got it to boot, so yeah; I'll look over it. Hit me up on telegram or email :good:
 

hackintosh5

Senior Member
Sep 15, 2017
1,246
950
Ok, thanks for the confirmation!

Sent from my athene using XDA Labs

---------- Post added at 12:20 PM ---------- Previous post was at 12:11 PM ----------

What is "lightning blade / spectrum"

Sent from my athene using XDA Labs
 
  • Like
Reactions: TLastPrism

hackintosh5

Senior Member
Sep 15, 2017
1,246
950

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6

champagne66601

Senior Member
May 1, 2016
235
71
24
I'm too tempted, is it daily driver capable?

Based on other 8.1 ROMs this one Is pretty good. Same flashlight issue that is on the other ROMs and you can fix the memory leak by making a reboot when its neccesary. Also, the implementation of Spectrum Is helpful.

Any other doubts, ask me, im on it and i will till tomorrow.
 

Attachments

  • Screenshot_Action_Launcher_20180327-000803.jpg
    Screenshot_Action_Launcher_20180327-000803.jpg
    101.1 KB · Views: 1,007
  • Screenshot_Settings_20180327-000813.png
    Screenshot_Settings_20180327-000813.png
    137.3 KB · Views: 1,009
  • Screenshot_Settings_20180327-000833.png
    Screenshot_Settings_20180327-000833.png
    72.8 KB · Views: 1,007

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features and my sources linked below.

    Bugs:
    • VoLTE (IDK How it broke suddenly, but will be looked at)
    • SELinux

    Note:
    LineageOS LiveDisplay does work but I recommend keeping it disabled because it causes lags in many cases.
    I don't have any proper fix for it. If you want to use the Night Mode, please use a third party app which utilizes the KCAL driver or overlays.
    All these builds are 32 bit.
    Moto Camera from Google Play doesn't work, so either use a modded moto camera apk or use the camera app built in.



    Instructions :
    • Download the latest build and gapps
    • Boot to recovery
    • Flash the latest build
    • Boot to recovery again
    • Flash gapps
    • Reboot

    Downloads :
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
     
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
     
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
     
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    XDA:DevDB Information
    [ROM][UNOFFICIAL][athene][8.1.0] LineageOS 15.1, ROM for the Moto G4/Plus

    Contributors
    LineageOS Team of course!

    Team athene:
    rajatgupta1998
    Nikit
    lcrd512
    golden-guy
    Jleeblanch

    Our former developers:
    vache, rahulsnair, SileshNair, Shreps, regalstreak, ashwin007

    Other developers: Alberto97, squid2, flar2, oadam11 , LineageOS team and all other contributors whom I might have missed.

    All other friends and supporters in the XDA and Motorola Community! :victory:


    Source Code:
    LineageOS ROM Source

    Device specific sources:
    Device tree: https://github.com/rajatgupta1998/android_device_motorola_athene
    Kernel source: https://github.com/rajatgupta1998/android_kernel_motorola_msm8952
    Vendor blobs: https://github.com/rajatgupta1998/vendor_motorola_athene

    ROM OS Version: Android 8.1.0 Oreo

    Version Information
    Status:Beta

    XDA:DevDB Information
    LineageOS 15.1 Athene, ROM for the Moto G4 Plus

    Contributors
    rajatgupta1998, @Nikit
    Source Code: http://github.com/lineageos

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Latest Stock firmware
    Based On: LineageOS

    Version Information
    Status: Beta
    Beta Release Date: 2020-09-20

    Created 2018-03-25
    Last Updated 2020-09-20
    22
    After much time, finally camera/video recording and QS Flashlight Toggle has been fixed on my LineageOS 15.1.

    Here's a video to demonstrate the working of the same. Please ignore the lag as Live Display was enabled and it causes slow downs.

    https://vimeo.com/351451259

    A newer build has been released, please check in the next few posts or rather download it from the first page.

    Link to a test build, more releases will come in the future.

    https://drive.google.com/file/d/1iHEn6YFw-zu9-9CVdgxym_7jm8W43m_9/view?usp=drivesdk


    Sent from my OnePlus6 using XDA Labs
    20
    Update 14 April 2019
    (Build date is 13th April)

    Changelog:
    • Update Display/Graphics Blobs from stock oreo 8.1
    • Fix imsvt shim not loading completely
    • Use basic USB HIDL service (since no C-Type)
    • Thermal and some other blobs also updated


    Still using the legacy HWC1 right now, will test HWC2 and the new Live Display HIDL for next builds. :confused: :eek:

    Note: Clean flash needed.

    Download:
    ROM: lineage-15.1-20190413-UNOFFICIAL-athene.zip
    MD5: 2552df02b9c90e40e61e66b8382e0047
    SHA1: b74a8e19bfba990bac1f6d3a639b7203e3d7bbdc
    19
    Changelog Timeline
    Major items to be concerned about. Can say the HIGHLIGHTS. Check the commits on my Github for more details.
    • 16 Aug 2020

      • 05 Aug 2020 Security Patch
      • Bluetooth stack update from Stock O 8.1
      • Add Qcom ANT+ Blobs
      • Update aptX, aptX HD Blobs
      • Update power profile from stock O 8.1
      • Update few overlays from stock O 8.1
    • 07 April 2020

      • 05 April 2020 Security Patch
      • Enable some missing kernel configs
      • Regenerate proprietary-files.txt and follow it
      • Update ADSP
      • Build Health HAL
      • Update Alarm and Health blobs
      • Fix audio callibration files loading
      • Update Audio blobs and configs
      • Remove unnecessary code
    • 05 Jan 2020
      • Camera delays are fixed upto an extent
      • LiveDisplay is back but still lags. Since few people tend to use it, enabled it anyway. But if you get irritated by the lags, keep it disabled.
      • December 2019 Security Patches are here
    • 12 Oct 2019
      • October Security Patches are here
    • 08 Sep 2019

      • 05 September 2019 Security Patch
    • 25 Aug 2019

      • Kill LiveDisplay (Only Outdoor mode will work from now on, removed the night mode color shift because it causes severe lags in many cases)
      • Switch to QTI perf stack from stock O
      • Also add QTI I/O Prefetcher.
      • Switch back to Motorola's stock kernel for now with basic driver functionality like KCAL Support and fingerprint as home button.
    • 08 Aug 2019

      • August Security Patch
      • Fix loading of IMS Shim
      • Minor code cleanup
    • 04 Aug 2019

      • Fix video recording and QS Flash light toggle finally.
    • 07 July 2019

      • July Security Patch merged
      • Disabled some useless logging
    • 30 June 2019

      • Update and fix the DRM HAL for playing like Netflix
    • 24 June 2019

      • Use a binderized biometric HAL
      • Update fingerprint blobs and JARs from stock O
      • Update keylayout for FPC1020 Touch fingerprint sensor driver from stock O
      • Add a custom trim value from stock O
      • Use CAF QTI Power HAL now
      • Update Media DRM HAL and QSEECOM
      • Update ADSP Blobs from stock O, hence the ROM now uses updated Qualcomm's Hexagon DSP blobs for Oreo.
      • Enable and update Media CAS HAL, Gatekeeper and Keymaster HAL
      • Update the blobs for the above mentioned HALs
      • Enable Pinner service: Pins key files into memory to prevent having to fetch from flash after boot. Improves system performance by preventing page cache thrash.
      • Switch to the Motorola's stock O kernel source (No, Video Camera doesn't work right now :3 )
      • Merge latest sources from CAF: LA.BR.1.3.7-05010-8976.0
      • Merge all the relevant patches from AOSP (Google's kernel/common for linux-3.10)
      • Linux upstream on top of this with msm-3.10 as 3.10.108
      • All updates to various drivers like cpufreq, mdss, audio and more and more.
      • Various fixes and updates to the Wifi drivers from CAF Pie sources for Qualcomm Atheros Prima/Pronto WLAN module.
      • Various patches to the memory subsystem and updates to stuff like ZRAM, ZSWAP, VNSWAP
      • Updates for Pie's ext O_TMPFILE support
      • Enable support of SDFAT driver v2.1.8
      • Multiple changes to the binder interface, kernel functions and other upstream patches.
    • 16 June 2019

      • June 05 2019 Security Patches
      • LineageOS upstream
    20 April 2019
    * Update audio, display, graphics and actuator blobs from stock O
    25 March 2018: Initial Changes from Nikit's build

    * Merge 5 March 2018 security patch with AOSP 8.1.0_r18 release
    * Increase ZRAM to 1 GB
    * Disable Speaker Protection
    * Disable Auto Brightness and Live Display on first boot
    * Fix Safetynet temporarily : Use walleye's (Google Pixel 2) build fingerprint.
    * Enable Spectrum Support and port Lightning Blade to Oreo
    * Add sound control (maybe broken)
    * Allow home button to be changed for various actions.
    * Add more CPU frequencies.
    * Disable Wakelocks by default
    * TCP Congestion Avoidance controls ( not tested )
    * Update VoLTE properties
    * Use LZMA Compression for Recovery Ramdisk
    * Disable add_random from kernel. Not required on SSDs. (eMMCs in our case)
    * Enable Arch Power
    * Adreno idler ramps down more aggressively now
    * Enhance linux topology for multicore decision making
    * Enable Arch Power
    * Some speed and time efficient changes :3 hard to explain here.
    * LineageOS upstream
    * Use latest HALs from CAF release LA.BR.1.3.7-03810-8976.0
    19
    A big update after a while for LineageOS 15.1

    Changelog:
    • Use a binderized biometric HAL
    • Update fingerprint blobs and JARs from stock O
    • Update keylayout for FPC1020 Touch fingerprint sensor driver from stock O
    • Add a custom trim value from stock O
    • Use CAF QTI Power HAL now
    • Update Media DRM HAL and QSEECOM
    • Update ADSP Blobs from stock O, hence the ROM now uses updated Qualcomm's Hexagon DSP blobs for Oreo.
    • Enable and update Media CAS HAL, Gatekeeper and Keymaster HAL
    • Update the blobs for the above mentioned HALs
    • Enable Pinner service: Pins key files into memory to prevent having to fetch from flash after boot. Improves system performance by preventing page cache thrash.
    • Switch to the Motorola's stock O kernel source (No, Video Camera doesn't work right now :3 )
    • Merge latest sources from CAF: LA.BR.1.3.7-05010-8976.0
    • Merge all the relevant patches from AOSP (Google's kernel/common for linux-3.10)
    • Linux upstream on top of this with msm-3.10 as 3.10.108
    • All updates to various drivers like cpufreq, mdss, audio and more and more.
    • Various fixes and updates to the Wifi drivers from CAF Pie sources for Qualcomm Atheros Prima/Pronto WLAN module.
    • Various patches to the memory subsystem and updates to stuff like ZRAM, ZSWAP, VNSWAP
    • Updates for Pie's ext O_TMPFILE support
    • Enable support of SDFAT driver v2.1.8
    • Multiple changes to the binder interface, kernel functions and other upstream patches.
    • Fix use of OpenGApps Pico

    Clean flash is a must!

    Download:
    ROM: lineage-15.1-20190624-UNOFFICIAL-athene.zip
    MD5: 66224fb5bf185fc55ab43fc94f61d2a6
    SHA1: d84dc30331e9915a638146872a1498a522a2582e



    Thanks to @lCrD512 for his great work on the loony kernel. Thanks to @golden-guy for his fix for the GApps pico issue.