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

[KERNEL][TW & AOSP] PRIME-Kernel v2.1.2

Search This thread

Hyunwoo AHN

Senior Member
Dec 18, 2015
172
413
Changwon
Updated to v2.0.1
  • Reuse AutoASV
  • Over clock limit relaxed
  • Removing the State Notifier Driver & Using the FB Driver
  • Fixed a bug where two big cores could not be used(v2.0)
  • Corrected the overclock value to actually apply when boosting the big core
  • Synapse: Memory: Z-Swap compression algorithm selection option removed
  • Synapse: Labs: gms drain patch removed
 

Hyunwoo AHN

Senior Member
Dec 18, 2015
172
413
Changwon
Updated to v2.0.1
  • Reuse AutoASV
  • Over clock limit relaxed
  • Removing the State Notifier Driver & Using the FB Driver
  • Fixed a bug where two big cores could not be used(v2.0)
  • Corrected the overclock value to actually apply when boosting the big core
  • Synapse: Memory: Z-Swap compression algorithm selection option removed
  • Synapse: Labs: gms drain patch removed
 

DaanNL

Senior Member
Aug 17, 2009
151
291
Hi.... Using your kernel a.t.m... works great! Do you think it's possible to add smartmax_eps governor? Used it on my note 3 before with synergy kernel... Gave me a lot of battery life....
 

siredux

Senior Member
Oct 22, 2012
213
41
Barranquilla
Thanks for the kernel. By the way, the switch between normal and fast charge (in settings > battery) does not seem to have any effect. Ex. You turn fast charge on and it shows normal charge or viceversa

Sent from my Samsung Galaxy S7 using XDA Labs
 

spezl

Senior Member
Feb 16, 2013
137
55
May I have the link to the Telegram Group for Prime? Can't find it anymore..

For whatever reason synapse doesn't show the "global voltage control" slider for th GPU. When i use Mtweaks app, the slider appears.
Furthermore, the totally used times for CPU will be displayed only for the time synapse was running in foreground. Mtweaks shows the time since last boot. Anyone else with this behaviour?
G930F, Superman 2.80, Prime 2.0.1

Can somebody explain the additional HPM settings (sb_down_threshold + sb_up_threshold) and what's their benefit apart from the main HMP settings? Had no luck at Google..
Thanks in advance!


Sent from my [device_name] using XDA-Developers Legacy app
 
Last edited:

iOrpheus06

Senior Member
Feb 3, 2017
1,529
684
May I have the link to the Telegram Group for Prime? Can't find it anymore..

For whatever reason synapse doesn't show the "global voltage control" slider for th GPU. When i use Mtweaks app, the slider appears.
Furthermore, the totally used times for CPU will be displayed only for the time synapse was running in foreground. Mtweaks shows the time since last boot. Anyone else with this behaviour?
G930F, Superman 2.80, Prime 2.0.1

Can somebody explain the additional HPM settings (sb_down_threshold + sb_up_threshold) and what's their benefit apart from the main HMP settings? Had no luck at Google..
Thanks in advance!
1. There are no global voltage sliders in synapse for reasons ?. Mtweaks has it maybe because it was designed to be noob-friendly (despite the fact that the limit is -/+100 freaking mV)

2. Cpu run time stats start from boot for me without synapse in the background (dont greenify or set it to always sleeping apps)
 

tech927

Senior Member
Dec 5, 2012
181
12
prime kernel, enabling fast charging

I'm using prime kernel on nougat on my s7. I've got a fast wired charger, and fast usb cable. I am however not getting fast wireless support. Is there a configuration setting in android I'm using the CrDroid rom, or in prime kernel that I have to enable?
Thanks.
DAve.
 

sstrong00

Member
Apr 2, 2014
30
3
Manchester
Heavily affects phone performance, constant reboots and freezing. Battery life is terrible.
SM-G930F on RR v5.8.5.

Battery life:
ddG2Kb
 

Hyunwoo AHN

Senior Member
Dec 18, 2015
172
413
Changwon
Updated to v2.1.0
  • Linux upstream to 3.18.87
  • Add Android O (8.0) support
  • Add new commit for AOSP support
  • Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
  • Fixed WiFi-Hotspot issue for N8 porting ROM
  • Fixed an issue where the charge state switching notification did not work
  • Note-FE GPU driver (r15p0) build droped
  • r12p1 GPU driver is built back into the package
  • Minor bug fixes
 

Hyunwoo AHN

Senior Member
Dec 18, 2015
172
413
Changwon
Bootloop when flash with Lineage os 14.1 06.12.2017 ...

If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel for all kinds of AOSP ROM support.
 
Last edited:

Hyunwoo AHN

Senior Member
Dec 18, 2015
172
413
Changwon
Heavily affects phone performance, constant reboots and freezing. Battery life is terrible.
SM-G930F on RR v5.8.5.

Battery life:
ddG2Kb

If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel for all kinds of AOSP ROM support.
 
Last edited:

sstrong00

Member
Apr 2, 2014
30
3
Manchester
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel for all kinds of AOSP ROM support.
I flashed over the built in kernel of my rom, I was using prime kernel when I had these issues, not another Devs custom kernel.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22

    PrimeLogoXDA.png



    List of Supported

    Variants
    • SM-G930S/K/L/F/FD/W8
    • SM-G935S/K/L/F/FD/W8
    ROMs
    • TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
    • AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)


    Main Features
    • OSRC's latest Note-FE & S7 source code base.
    • Using the AnyKernel2(Flashing Tool).
    • Synapse support.
    • SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
    • Linux-stable 3.18.y upstream.
    • Compile with UBERTC 6.4.1 toolchain.
    • F2FS support (/data, /cache only).
    • Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
    • Gametuner-Mod
      • Game Booster Mode
      • intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
    • Fake KNOX.
    • chacha20 to random (entropy).
    • Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
      • EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
      • Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
    • Linaro v3.18/topic/OPPv2 branch merge.
    • Lazytime mount options
      • improved storage performance and longevity.
      • Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
    • CPU/GPU UC & OC.
    • Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
    • CPU/GPU/BUS voltage control.
    • GPU Performance Tuning.
    • Performance/balance/battery separated DVFS user settings.
    • Thunder Hotplug driver port.
    • HMP tuning Interface.
    • Detail charging circuit control allows faster charging.
    • Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
    • Enable Westwood tcp/ip congestion control (not default).
    • LED FADE control.
    • PWM Flicker free.
    • boeffla's generic wakelock blocker driver.
    • Qualcomm interactive (renamed cafactive) cpu governor porting.
    • Added battery-friendly 'relaxed' governors, and more.
    • Provides an add-on that keep kernel settings on unrooted devices.
    • Synapse: System Tweak add-on available.
    • Synapse: Provides configuration profile separated by performance/battery/stability.
    • Many other optimization applications.


    How many users are there in this kernel and what is it with custom ROM?
    * Go to User Statistics.

    With this kernel, the following information is sent once to the developer's server at boot time.
    variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
    * This information is Android apps can see without any special permissions.
    * If you suspect other information transfer, open the '/res/synapse/actions/addon' file.



    Description for AOSP ROMs
    If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
    If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
    This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.


    Download
    Latest Version | Older Version

    Community
    Telegram Group: https://t.me/primekernel
    Naver Cafe (for Korean): http://cafe.naver.com/primeusers



    Credit (Thanks. to)
    @AndreiLux - Perseus8890 kernel.
    @tkkg1994 - refer to some Commits.
    @arter97 - cafactive & more.
    @osm0sis - AnyKernel2.
    @jesec - AOSP kernel source.
    @Wootever - PWM Flicker Free.
    All members of the PRIME-Kernel NaverCafe.
    And all of commited in sources & all of xda developers.


    XDA:DevDB Information
    PRIME-Kernel, Kernel for the Samsung Galaxy S7

    Contributors
    Hyunwoo AHN
    Source Code: https://github.com/dwander/Linaro-base/tree/herolte

    Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance

    Version Information
    Status: Stable
    Current Stable Version: 2.1.2
    Stable Release Date: 2017-12-17

    Created 2017-09-23
    Last Updated 2017-12-17
    9
    Updated to v2.0.0
    • base: Re-based on Note-FE source code
    • linux: upstream to v3.18.83
    • f2fs: Updated latest from f2fs-stable branch
    • init: Fixed video playback delay issues reported by some N8 porting users
    • tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
    • Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
    • GPU: Remove unnecessary ipa update code
    • exynos: Separate AutoASV in 5 steps
    • exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
    • mm: Change Z-Swap compression algorithm default to lzo(stock value)
    • Synapse: Memory: Added Z-Swap compression algorithm selection option
    • Synapse: Add Labs tab
    • Synapse: Storage: Resolve compatibility issues with DualSIM models
    • installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
    • installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
    6
    Updated to v1.8.2
    v1.8.2
    • Linux upstream to v3.18.78
    • Merge G935F DQJ1 firmware sources
    • Merge Note-FE AQI4 firmware sources
    • Fix SafetyNet bypass issue.
    • f2fs: fix potential panic during fstrim
    • selinux: Apply Fake-Enforcing mode
      • In Enforcing mode, it actually works in Permissive mode.
      • Thanks to @jesec
    • Synapse: minor bug fix
    6
    Updated to v2.0.1
    • Reuse AutoASV
    • Over clock limit relaxed
    • Removing the State Notifier Driver & Using the FB Driver
    • Fixed a bug where two big cores could not be used(v2.0)
    • Corrected the overclock value to actually apply when boosting the big core
    • Synapse: Memory: Z-Swap compression algorithm selection option removed
    • Synapse: Labs: gms drain patch removed
    4

    How do enable donation-only add-on features?

    I only receive donations from your heart.
    Do not donate if you intend to unlock synapses.
    If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.

    How to request synapse unlock
    Please tell [email protected] the following:
    - A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
    - The first five letters or screenshots of the KeyCode on the Synapse's first screen.