[KERNEL][HLTE/CHN/TMO/KOR] Synergy Beta4 for LineageOS 15.1 based ROMs

Search This thread

gj86

Senior Member
Jul 10, 2015
291
599
Dhaka
Synergy Kernel



Features:
Based on Official LineageOS MSM8974 kernel.
All the Latest Security Patches and Fixes are included.
Safety-Net Check Pass is possible with Magisk v13 or higher.
For root solution use Magisk for best compatibility.

Details
Code:
Added CPU overclock to 2.8Ghz (Disabled by default)
Added GPU overclock to 600Mhz (Disabled by default)
Removed all touch/key press frequency boosting
Adreno optimizations for lower battery consumption
Latest MSM Thermal Control used for better compatibility
Enabled Arch Power for better power savings
Added FastCharge (Chad Froebel/Jean-Pierre Rasquin)
Added Powersuspend (Paul Reioux/Jean-Pierre Rasquin)
Added Asynchronous Fsync (HTC/Paul Reioux)
Added Motorola MSM memcpy enhancements
Added Soundcontrol v3.6 GPL (Paul Reioux)
Added KCal Color Calibration support (savoca/Paul Reioux)
Added Frandom (Eli Billauer)
Added Optimized ARM RWSEM algorithm
Added NEON Optimized SHA (1/224/256/384/512) routines
Added Option to Enable/Disable Gentle Fair Sleepers (Disabled by default)
Added phantom Governor (Ghost)
Added Intelliactive Governor (Mike Chan/Paul Reioux)
Added arteractive Governor (Mike Chan/Park Ju Hyung)
Added Impulse, yankactive Governor (Mike Chan)
Added Smartmaxx and Smartmaxx_eps governors (maxwen/Ícaro Hoff)
Added Alucard, Darkness and Nightmare Governor (Alucard24@XDA)
Added Lionheart Governor used by default (knzo)
Added Adreno Idler (Park Ju Hyung)
Added Simple GPU Algorithm (Paul Reioux)
Added Intelli-plug and used by default (Paul Reioux)
Added MSM Hotplug (Fluxi)
Added Bricked_Hotplug (Pranav Vashi)
Added Thunderplug (Varun Chitre)
Added MSM_Limiter (Dorimanx/Pranav Vashi)
Added Zen IO-Scheduler (Brandon Berhent)
Added FIFO IO-Scheduler (Aaron Carroll)
Added SIO Plus IO-Scheduler (Miguel Boton)
Added Tripandroid IO-Scheduler (TripNRaVeR)
Added FIOPS IO-Scheduler (Jens Axboe, Shaohua Li)
Fixed Camera Switching Delay
Fixed Camera Flickers on light source
Many other fixes and optimizations

Special thanks to:
@lss1977, @6h0st, @mon@diac, @arter97, @topjohnwu, LineageOS, Codeaurora.

Testers:
@svbarbosa and @Chinaboy5216 for testing my kernel.
And the XDA Community for feedback and help.

Warning!
/*
* Your warranty is now void. Knox 0x1.
*
* 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 kernel
*/


Changelog:
See Post 2.

How to flash:
Step0: Clear/Reset any kernel modifying tools ex. Kernel Auditor/LSpeed etc.
Step1: Flash using recovery.
Step2: Restart.

How to remove:
Step1: Dirty flash your ROM.
Step2: Restart.

Note: If you wipe Dalvik-Cache the first boot will take some time.

Download:
Do not mirror/host the current version. Link to this thread.
LineageOS 14.1 based ROMs no longer supported. Use the kernel at your own risk.
Dirty Flash the ROM if coming from other kernels.
Synergy RC19
Only use this version if original version doesn't detect SIM.
Synergy RC19 Unified 06012018

Synergy for Lineage OS 15.1 based ROMs
Very early build so expect problems. Also use kernel tools to set kernel settings.
Change logs
Synergy Oreo Beta4 [HLTE/CHN/TMO/KOR]

Suggestion
If you are using RRN try this guide for a stable working Resurrection Remix Nougat experience.
Link: Resurrection Remix - Rock Stable Setup
Thanks to @svbarbosa for creating this guide.

Current Progress
Synergy Oreo Beta

Testing version
No testing version available currently

Feedback/Bug-report/Problems:
When reporting issues/bugs include your Device Model, ROM name/version, previous kernel name/version and a log (logcat/last_kmsg/dmesg). Otherwise you will be ignored.


Miscellaneous Fixes
LA14.1 based ROMs Notification Light fix (based on AOSP 7.1.2_r2-N2G47E). Link: NotificationLightDelayFix_v1.0.zip

XDA:DevDB Information
Synergy Kernel, Kernel for the Samsung Galaxy Note 3

Contributors
gj86
Source Code: https://github.com/gj86/synergy/tree/lineage-15.1

Kernel Special Features: Based on Official Lineage OS MSM8974 Branch

Version Information
Status: Beta

Created 2017-05-25
Last Updated 2018-07-27
 
Last edited:

gj86

Senior Member
Jul 10, 2015
291
599
Dhaka
Changelogs

RC19
Merged all updates from Lineage OS MSM8974 kernel.
Fixed Simpleondemand and cpubw governor crash on start.
Added tripandroid io scheduler.
Replaced sio with sioplus.
Added state_notifier driver.
Updated intelli_plug hotplug to v5.4.
Updated msm_hotplug.
Backported rbtree from 3.10 kernel.
Backported idr_map from 3.10 kernel.
Updated uksm to v1.2.4.
Added nop cpuidle governor.
Added zpool.
Added cache_bw gpu governor.
Disabled cpu_boost driver.
Lots of other fixes and optimizations.
Detail changelog: Synergy RC19

RC18
Merged all updates from upstream.
Added UKSM, disabled by default.
Added SafetyNet tripping boot flags remover.
Reverted to userdebug boot flag, should fix the random apps crashing.
Lots of other fixes and optimizations.
This installer will remove the power.msm8974.so file. You must dirty flash your ROM if removing or installing other kernels.
Detail changelog: Synergy RC18

RC17
Quickwakeup Added
Battery power consumption in mA added. (this is experimental)
Kernel memory optimizations.
Removed ZCache, ZSwap, VNSwap.
Merged all updates and fixes from upstream
Switched to lionheart governor as default.
Detail changelog: Synergy RC17

RC16
Safetynet Issue fixed.
Syslog monitoring apps (catlog etc.) issue fixed.
I'm lazy to list all the changes, check github.

From now on I'm going to slow down the releases a bit. If you guys want check progress in github.

RC15
Wake up delay/audio streaming issue fixed.
Camera flicker issue fixed.
Uncontrolled memory consumption issue fixed.
Updates from upstream merged.
Check github link for more info.

RC14
Camera switching delay issue fixed.
Flip Cover not detecting issue fixed.
Waking up from sleep mode delay reduced.
Lot's of other fixes and optimizations.
Check github for details.

RC13
Disabled Intelli-Thermal for latency issues. Currently using built-in thermal monitoring.
For more details checkout github.

RC12
Fixed Camera FC.
Removed more unused drivers.
Optimized Smart Manager.
Switched to lzma compression for ramdisk, further reducing kernel size.

RC11
High mode activated. Please Re-Download. Sorry for the inconvenience.
Flashing script updated.
Removed unused device drivers.
Optimized Smart Manager to only use power efficient frequency.
Added option to enforce frequency limit to respective level.
Updated workload detection logic.
From now on there will be 2 edition, one is with VNSwap, another without.

RC10
Flashing script updated. Please Re-download RC10.
Default Hotplug switched to Intelli plug.
Optimized Smart Manager.
Compiled using latest Linaro 5.4.1
New flashing mechanism using Magiskboot.
This will use the stock contexts and sepolicy of the device.
Very Important: Flash the original kernel that came with the ROM, before flashing RC10.
If RC9 working without any trouble. This step is not needed.
Hopefully this will remedy the bootloops and might support ROMs based on 7.1.1
Flash Magisk afterwards to restore ROOT. No reboots needed in between flashing or cleaning Dalvik-Cache.

RC9
Added highly optimized SHA256_ARM and SHA256_ARM_NEON modules
Updated SHA512_NEON module
Backported LZ4, LZO, ZLIB modules from Linaro v4.4 stable branch
Properly fixed VNSwap activation script.
Fixed off-mode charging again (this time permanently I think).
Updated charger binary.
Added GPU Sysfs support. Kernel config utilities can configure the GPU properly now.
Rewrote Smart Manager codes from scratch to make it more clever.
Added Levels (1-10) to modify Smart Manager response.

RC8:
Fixed Off-Mode charging.
Optimized Smart Manager.

RC7:
Fixed VNSwap service.
Added Smart Manager to better handle ongoing task.
Governor parameters will be modified at run-time depending on the load.
Modified Smart Manager to be less aggressive.
Note: You can deactivate smart manager with any kernel config tools.

RC6:
Added Lionheart Governor
Reduced default CPU frequency stock frequency


In future instead of adding more governors, I will concentrate on smart manager and phantom governor to better
optimize to balance performance and battery consumption.
 
Last edited:

simonk206

Senior Member

Attachments

  • Screenshot_20170525-170653.png
    Screenshot_20170525-170653.png
    90.4 KB · Views: 736
  • Screenshot_20170525-170713.png
    Screenshot_20170525-170713.png
    165.3 KB · Views: 732

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    Synergy Kernel



    Features:
    Based on Official LineageOS MSM8974 kernel.
    All the Latest Security Patches and Fixes are included.
    Safety-Net Check Pass is possible with Magisk v13 or higher.
    For root solution use Magisk for best compatibility.

    Details
    Code:
    Added CPU overclock to 2.8Ghz (Disabled by default)
    Added GPU overclock to 600Mhz (Disabled by default)
    Removed all touch/key press frequency boosting
    Adreno optimizations for lower battery consumption
    Latest MSM Thermal Control used for better compatibility
    Enabled Arch Power for better power savings
    Added FastCharge (Chad Froebel/Jean-Pierre Rasquin)
    Added Powersuspend (Paul Reioux/Jean-Pierre Rasquin)
    Added Asynchronous Fsync (HTC/Paul Reioux)
    Added Motorola MSM memcpy enhancements
    Added Soundcontrol v3.6 GPL (Paul Reioux)
    Added KCal Color Calibration support (savoca/Paul Reioux)
    Added Frandom (Eli Billauer)
    Added Optimized ARM RWSEM algorithm
    Added NEON Optimized SHA (1/224/256/384/512) routines
    Added Option to Enable/Disable Gentle Fair Sleepers (Disabled by default)
    Added phantom Governor (Ghost)
    Added Intelliactive Governor (Mike Chan/Paul Reioux)
    Added arteractive Governor (Mike Chan/Park Ju Hyung)
    Added Impulse, yankactive Governor (Mike Chan)
    Added Smartmaxx and Smartmaxx_eps governors (maxwen/Ícaro Hoff)
    Added Alucard, Darkness and Nightmare Governor (Alucard24@XDA)
    Added Lionheart Governor used by default (knzo)
    Added Adreno Idler (Park Ju Hyung)
    Added Simple GPU Algorithm (Paul Reioux)
    Added Intelli-plug and used by default (Paul Reioux)
    Added MSM Hotplug (Fluxi)
    Added Bricked_Hotplug (Pranav Vashi)
    Added Thunderplug (Varun Chitre)
    Added MSM_Limiter (Dorimanx/Pranav Vashi)
    Added Zen IO-Scheduler (Brandon Berhent)
    Added FIFO IO-Scheduler (Aaron Carroll)
    Added SIO Plus IO-Scheduler (Miguel Boton)
    Added Tripandroid IO-Scheduler (TripNRaVeR)
    Added FIOPS IO-Scheduler (Jens Axboe, Shaohua Li)
    Fixed Camera Switching Delay
    Fixed Camera Flickers on light source
    Many other fixes and optimizations

    Special thanks to:
    @lss1977, @6h0st, @mon@diac, @arter97, @topjohnwu, LineageOS, Codeaurora.

    Testers:
    @svbarbosa and @Chinaboy5216 for testing my kernel.
    And the XDA Community for feedback and help.

    Warning!
    /*
    * Your warranty is now void. Knox 0x1.
    *
    * 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 kernel
    */


    Changelog:
    See Post 2.

    How to flash:
    Step0: Clear/Reset any kernel modifying tools ex. Kernel Auditor/LSpeed etc.
    Step1: Flash using recovery.
    Step2: Restart.

    How to remove:
    Step1: Dirty flash your ROM.
    Step2: Restart.

    Note: If you wipe Dalvik-Cache the first boot will take some time.

    Download:
    Do not mirror/host the current version. Link to this thread.
    LineageOS 14.1 based ROMs no longer supported. Use the kernel at your own risk.
    Dirty Flash the ROM if coming from other kernels.
    Synergy RC19
    Only use this version if original version doesn't detect SIM.
    Synergy RC19 Unified 06012018

    Synergy for Lineage OS 15.1 based ROMs
    Very early build so expect problems. Also use kernel tools to set kernel settings.
    Change logs
    Synergy Oreo Beta4 [HLTE/CHN/TMO/KOR]

    Suggestion
    If you are using RRN try this guide for a stable working Resurrection Remix Nougat experience.
    Link: Resurrection Remix - Rock Stable Setup
    Thanks to @svbarbosa for creating this guide.

    Current Progress
    Synergy Oreo Beta

    Testing version
    No testing version available currently

    Feedback/Bug-report/Problems:
    When reporting issues/bugs include your Device Model, ROM name/version, previous kernel name/version and a log (logcat/last_kmsg/dmesg). Otherwise you will be ignored.


    Miscellaneous Fixes
    LA14.1 based ROMs Notification Light fix (based on AOSP 7.1.2_r2-N2G47E). Link: NotificationLightDelayFix_v1.0.zip

    XDA:DevDB Information
    Synergy Kernel, Kernel for the Samsung Galaxy Note 3

    Contributors
    gj86
    Source Code: https://github.com/gj86/synergy/tree/lineage-15.1

    Kernel Special Features: Based on Official Lineage OS MSM8974 Branch

    Version Information
    Status: Beta

    Created 2017-05-25
    Last Updated 2018-07-27
    26
    Changelogs

    RC19
    Merged all updates from Lineage OS MSM8974 kernel.
    Fixed Simpleondemand and cpubw governor crash on start.
    Added tripandroid io scheduler.
    Replaced sio with sioplus.
    Added state_notifier driver.
    Updated intelli_plug hotplug to v5.4.
    Updated msm_hotplug.
    Backported rbtree from 3.10 kernel.
    Backported idr_map from 3.10 kernel.
    Updated uksm to v1.2.4.
    Added nop cpuidle governor.
    Added zpool.
    Added cache_bw gpu governor.
    Disabled cpu_boost driver.
    Lots of other fixes and optimizations.
    Detail changelog: Synergy RC19

    RC18
    Merged all updates from upstream.
    Added UKSM, disabled by default.
    Added SafetyNet tripping boot flags remover.
    Reverted to userdebug boot flag, should fix the random apps crashing.
    Lots of other fixes and optimizations.
    This installer will remove the power.msm8974.so file. You must dirty flash your ROM if removing or installing other kernels.
    Detail changelog: Synergy RC18

    RC17
    Quickwakeup Added
    Battery power consumption in mA added. (this is experimental)
    Kernel memory optimizations.
    Removed ZCache, ZSwap, VNSwap.
    Merged all updates and fixes from upstream
    Switched to lionheart governor as default.
    Detail changelog: Synergy RC17

    RC16
    Safetynet Issue fixed.
    Syslog monitoring apps (catlog etc.) issue fixed.
    I'm lazy to list all the changes, check github.

    From now on I'm going to slow down the releases a bit. If you guys want check progress in github.

    RC15
    Wake up delay/audio streaming issue fixed.
    Camera flicker issue fixed.
    Uncontrolled memory consumption issue fixed.
    Updates from upstream merged.
    Check github link for more info.

    RC14
    Camera switching delay issue fixed.
    Flip Cover not detecting issue fixed.
    Waking up from sleep mode delay reduced.
    Lot's of other fixes and optimizations.
    Check github for details.

    RC13
    Disabled Intelli-Thermal for latency issues. Currently using built-in thermal monitoring.
    For more details checkout github.

    RC12
    Fixed Camera FC.
    Removed more unused drivers.
    Optimized Smart Manager.
    Switched to lzma compression for ramdisk, further reducing kernel size.

    RC11
    High mode activated. Please Re-Download. Sorry for the inconvenience.
    Flashing script updated.
    Removed unused device drivers.
    Optimized Smart Manager to only use power efficient frequency.
    Added option to enforce frequency limit to respective level.
    Updated workload detection logic.
    From now on there will be 2 edition, one is with VNSwap, another without.

    RC10
    Flashing script updated. Please Re-download RC10.
    Default Hotplug switched to Intelli plug.
    Optimized Smart Manager.
    Compiled using latest Linaro 5.4.1
    New flashing mechanism using Magiskboot.
    This will use the stock contexts and sepolicy of the device.
    Very Important: Flash the original kernel that came with the ROM, before flashing RC10.
    If RC9 working without any trouble. This step is not needed.
    Hopefully this will remedy the bootloops and might support ROMs based on 7.1.1
    Flash Magisk afterwards to restore ROOT. No reboots needed in between flashing or cleaning Dalvik-Cache.

    RC9
    Added highly optimized SHA256_ARM and SHA256_ARM_NEON modules
    Updated SHA512_NEON module
    Backported LZ4, LZO, ZLIB modules from Linaro v4.4 stable branch
    Properly fixed VNSwap activation script.
    Fixed off-mode charging again (this time permanently I think).
    Updated charger binary.
    Added GPU Sysfs support. Kernel config utilities can configure the GPU properly now.
    Rewrote Smart Manager codes from scratch to make it more clever.
    Added Levels (1-10) to modify Smart Manager response.

    RC8:
    Fixed Off-Mode charging.
    Optimized Smart Manager.

    RC7:
    Fixed VNSwap service.
    Added Smart Manager to better handle ongoing task.
    Governor parameters will be modified at run-time depending on the load.
    Modified Smart Manager to be less aggressive.
    Note: You can deactivate smart manager with any kernel config tools.

    RC6:
    Added Lionheart Governor
    Reduced default CPU frequency stock frequency


    In future instead of adding more governors, I will concentrate on smart manager and phantom governor to better
    optimize to balance performance and battery consumption.
    21
    Thank you all for showing interest in this project.

    First thing first, there is a modified RC19 posted that should fix the NO-SIM detected issue. Use only if original version doesn't work.
    Synergy RC19 Unified

    Now about the future of Synergy, I think I will continue the development as long as I have the device and also have interest in the project. Also off course as my free time permits me.
    For the curious minds, I work in a software development field and own a IT company. Which sometimes bless me with lots of free time, however that's becoming very rare.

    So, I think I have to end the active support of Synergy. The project will live on GitHub (Synergy) from now on. If you are interested check the progress there.

    Thank you all for support and good wishes.
    19
    Synergy RC13 Progress

    Just to let you guys know, I'm rebasing Synergy using Official Lineage HLTE kernel source. Good news is, this includes all the latest fix and security patches. Also in future including latest fix and patches will take less time and effort so more time can be spend on optimizing the kernel. However the bad news is, this will take considerable amount of time to release RC13. Stay tuned....
    18
    Synergy Kernel and the future

    First of all here is a test build of the Synergy including all the updates from upstream (Lineage OS msm8974) branch: Synergy test19

    Note: To flash this kernel use Recovery and chose IMG as type to flash. Must flash Magisk/SuperSU after flashing kernel to regain Root access.

    Warning: If you do not know how to flash IMG file, DO NOT USE this kernel with latest RRN/LineageOS build. Support will not be provided. Flash it at your own risk.

    Details: Lineage OS merged hlte with other Samsung MSM8974 variants. Since Synergy is based on HLTE branch, this merge caused a rebase and in addition all Synergy related updates/commits had to be reconsidered according to the new codebase. This is NOT just a bluetooth/alarmtimer fix.

    Moving on, Synergy will continue to receive updates from upstream as before. However, since this rebase happened I will have to wait before releasing the RC19.

    If you want to be a part of the testing you can use this kernel and provide feedback. Otherwise I suggest you stick to the stock kernel.

    If you do not have any issue with RC18 continue using that and ignore this post.

    Important: Do not mirror this and the current Synergy RC18 build, link to this post/thread. If you are hosting a modified version of RC18 clearly mention it as a repack or modified in file name.

    Thanks.