[KERNEL][9] A2N Kernel [10h SOT][Easy Guide Step by Step][2021.03.24]

Search This thread

ace2nutzer

Recognized Developer
Apr 28, 2014
4,210
4,858
36
Cologne
The kernel is fantastic, very fast....

The CPU and probably GPU as well are stable and safe up to 110 - 115 °C That's the real max.
But some miscalculations are to expected when it runs over 110 °C. At 120 °C it'll freeze and (dirty) reboot.
Now i'm trying to issue an clean reboot at 110 °C in order to not damage filesystem for every reboot caused by overheat since it also comes with some (minimal) data loss, unfortunately.
65 °C is too low, it'll throttle a lot when you run more than 1 thread at full load.
You can't damage the battery with high CPU/GPU temp as the battery is isolated from the heatsink.
Samsung is not that stupid. ;)
Best for the battery is: keep charge temp to the default of 40 °C and maybe you can increase current somewhat to + 300 mA. Use the battery between 5 - 95 % and don't charge over night without to make sure that you are able to stop charging at 95 %.
Most batteries in phones die so quickly because almost all people charges over night with fast charging enabled. The problem is after 1,5 hour it's fully charged and the battery keeps 100 % for further 6 hours. In that 6 hours for every night the battery will loose the most capacity since Li-Ion batteries really don't like to be for too long at 100 % or 0 %.
That's all, if you understand this u'll enjoy your phone for many years.
 

rtyuakatsuki

Senior Member
May 18, 2020
104
47
Samsung Galaxy S8+
Yesterday i have opened all backcover i turned it on when the phone reboot i touch the part of the motherboard other side of Soc i feel hot almost same like the position of Soc
Screenshot_20210303-083918_MEGA.jpg

And i try to think to modified it to make it direct touch with backcover
Are that okey ? When high temp DVFS i scare that will got melted😂😂😂
Edit:
For the soc position i have been add some thermal pad and thermal paste i got 20 - 40% up performance
 

ace2nutzer

Recognized Developer
Apr 28, 2014
4,210
4,858
36
Cologne
But never ever turn the phone on when the heatsink is been removed from the CPU/GPU as it will overheat (damage) already in the first 2 secs !
Other than that, yes you can do that but make sure to not transport the heat to the battery otherwise it can be very dangerous.
 

predict9

Senior Member
Aug 13, 2020
118
44
Yesterday i have opened all backcover i turned it on when the phone reboot i touch the part of the motherboard other side of Soc i feel hot almost same like the position of SocView attachment 5238215
And i try to think to modified it to make it direct touch with backcover
Are that okey ? When high temp DVFS i scare that will got melted😂😂😂
Edit:
For the soc position i have been add some thermal pad and thermal paste i got 20 - 40% up performance
i bought a fan cooler for mobile is thermal pad better?
 

rtyuakatsuki

Senior Member
May 18, 2020
104
47
Samsung Galaxy S8+
But never ever turn the phone on when the heatsink is been removed from the CPU/GPU as it will overheat (damage) already in the first 2 secs !
Other than that, yes you can do that but make sure to not transport the heat to the battery otherwise it can be very dangerous.
Ouh okey i was think like that because look like pocophone F1 thx for the warn
 
  • Like
Reactions: predict9
Sep 22, 2020
5
0
Hello everyone from the XDA Group, a noob user writes about modifications, I was interested in this post because I wanted to make the Call of dutty mobile run much better on me with an Exynos processor. What I would like as a favor is that if you can recommend a kernel configuration but without root, please know beforehand, thank you very much
 

rtyuakatsuki

Senior Member
May 18, 2020
104
47
Samsung Galaxy S8+
Hello everyone from the XDA Group, a noob user writes about modifications, I was interested in this post because I wanted to make the Call of dutty mobile run much better on me with an Exynos processor. What I would like as a favor is that if you can recommend a kernel configuration but without root, please know beforehand, thank you very much
Fo better performamce without root that just a dream i think you must have root of course
 

Devil90

Senior Member
Jan 11, 2021
111
88
31
Roma
Hello everyone from the XDA Group, a noob user writes about modifications, I was interested in this post because I wanted to make the Call of dutty mobile run much better on me with an Exynos processor. What I would like as a favor is that if you can recommend a kernel configuration but without root, please know beforehand, thank you very much
However the already stock kernel is more performing than the stock one. If you want more performance and you are not practical to use the init.d commands you need at least the complete control app, where you can without root increase the gpu frequency to 572 mhz and Cpu Big / little 2.6 / 1.9 ghz. In addition to decreasing up_threshold and increasing the temperature of the dvfs for CPU/GPU. You will get a big boost in orestations!
 
  • Like
Reactions: ace2nutzer

moreformusic

Senior Member
Jul 3, 2020
66
26
Piatra Neamț
So what exactly are the advantages of increasing little cpu frequency? Better day to day use performance? Like I understand that increasing big cpu frec is just for gaming or hardcore using, but for daily activities what are the best settings? (Assuming that I'm on the iddle charging, so battery isn't a problem)
 

Devil90

Senior Member
Jan 11, 2021
111
88
31
Roma
So what exactly are the advantages of increasing little cpu frequency? Better day to day use performance? Like I understand that increasing big cpu frec is just for gaming or hardcore using, but for daily activities what are the best settings? (Assuming that I'm on the iddle charging, so battery isn't a problem)
As we have already said and written, increasing the frequency of the little cpu makes sense since it only works at half of its real frequency, and therefore increases the execution speed of all background activities, with a power consumption lower than the Big Cpu.

Different speech for the big cpu, I think that if you are not a gamer or use the phone for editing activities, increasing over 2.3ghz does not serve if not to increase energy consumption and overheat the device, for basic activities 2.3 are more than enough and consider that you can also override the thermal throttling, it's a great thing!

I personally am with these settings:
Big 2.3ghz
Little 2.0ghz
Disable boost on
Up_threshold 75
Dvfs 85
 
Last edited:
  • Like
Reactions: ace2nutzer

ace2nutzer

Recognized Developer
Apr 28, 2014
4,210
4,858
36
Cologne
You guys are really great ! I like the way how you discuss and try to undestand how things works.

"Disable Boost on" so you want more battery. But what about "touch boost duration" ?
This also very important for smoothness and battery life.

Unfortunately there is no universal answer to your questions, as it highly depends on how you use your phone.

If you watch a lot of YouTube videos, without to touch the screen too much then you can stay wit the default kernel / app settings.

Anyway if you switch a lot between apps like "whatsapp" "chrome" and other messengers, then it's probably better to increase speed. It simply makes more fun to have a snappie phone.

If you read a lot of PDFs and you have to scroll often, then it's better to turn on:
Disable Boost (checked)
touch booster duration --> 0 ms
The other settings can you leave by default, this will make the scrolling lag... but will save a lot of battery, because every time you touch the screen both CPUs will not switch to the max Freq.

Or for reading PFDs / e-books you can also enable the "power save" profile, in additon you could also check "disable boost" and "touch booster duration" to 0 ms.
But it's not mandatory because the Freq settings from "power save" profile are already so low that they have very low power consumption.

As for DVFS Temps: probably only useful for gaming, but maybe i'm wrong here.

If you use always the latest kernel & App, then both are synchronized and will have the same default settings. This is because when i change a setting in kernel, then i'll merge that setting in manger app too into next update.
But be aware: if you have the full version and you have customized all settings in the app and let me say you flash latest kernel & app with completely new default settings, then it'll not override your custom settings. To make use of the new defaults, you could do wipe data of the manager and then re-configure your settings, (or simply uninstall the app and re-install it again) at the same time you'll notice new defaults.

So once again for the better understanding:

Settings are applied in this order ...

  1. Kernel defaults ....
  2. A2N App defaults or custom settings (all settings, and on top the performance profiles)
  3. user init.d scripts ...

Problematic is if there are more kernel manager than this one, then it's just a race condition on boot .... the last one will win and will override settings.

But like i said before i don't recommend to use it with other universal kernel manager apps.
It's like having more than one Antivirus / Firewall installed on your Windows PC.
It's just a mess and many things will not work properly, even not to mention about the performance losses.
 
Last edited:

moreformusic

Senior Member
Jul 3, 2020
66
26
Piatra Neamț
Is it normal that my device is getting warmer when I set Iddle Charging? Like I tried every kernel settings (from power saving to default) even if I set battery max charging temp to 35°, anyways it gets like +10°C at least. (Mention that charging current is at max) Ain't iddle charging main purpose to reduce heating?
 

ace2nutzer

Recognized Developer
Apr 28, 2014
4,210
4,858
36
Cologne
Better to check bofore / after the batt_temp over A2N App. To determine a temp with your hands is a bad idea.
If your hands are cold and you touch the phone that has just 30 °C then it really feels like touching 40 °C. I say that because i've already noticed many times.

As for "battery idle" feature: yes it's normal, at least for "input voltage" > 5 V.
And probably the heat is higher near the USB-port right ? because there is the chip that converts 9 V to usable 5 V for the phone.

The heat could be reduced by adding a dynamic converter or maybe even to try to do that in software, but i can't immagine that it would ever work stable.

Batt IDLE works best for low-load workloads ... then you can set lower current without the risk to discharge the battery.
 
Last edited:

Devil90

Senior Member
Jan 11, 2021
111
88
31
Roma
You guys are really great ! I like the way how you discuss and try to undestand how things works.

"Disable Boost on" so you want more battery. But what about "touch boost duration" ?
This also very important for smoothness and battery life.

Unfortunately there is no universal answer to your questions, as it highly depends on how you use your phone.

If you watch a lot of YouTube videos, without to touch the screen too much then you can stay wit the default kernel / app settings.

Anyway if you switch a lot between apps like "whatsapp" "chrome" and other messengers, then it's probably better to increase speed. It simply makes more fun to have a snappie phone.

If you read a lot of PDFs and you have to scroll often, then it's better to turn on:
Disable Boost (checked)
touch booster duration --> 0 ms
The other settings can you leave by default, this will make the scrolling lag... but will save a lot of battery, because every time you touch the screen both CPUs will not switch to the max Freq.

Or for reading PFDs / e-books you can also enable the "power save" profile, in additon you could also check "disable boost" and "touch booster duration" to 0 ms.
But it's not mandatory because the Freq settings from "power save" profile are already so low that they have very low power consumption.

As for DVFS Temps: probably only useful for gaming, but maybe i'm wrong here.

If you use always the latest kernel & App, then both are synchronized and will have the same default settings. This is because when i change a setting in kernel, then i'll merge that setting in manger app too into next update.
But be aware: if you have the full version and you have customized all settings in the app and let me say you flash latest kernel & app with completely new default settings, then it'll not override your custom settings. To make use of the new defaults, you could do wipe data of the manager and then re-configure your settings, (or simply uninstall the app and re-install it again) at the same time you'll notice new defaults.

So once again for the better understanding:

Settings are applied in this order ...

  1. Kernel defaults ....
  2. A2N App defaults or custom settings (all settings, and on top the performance profiles)
  3. user init.d scripts ...

Problematic is if there are more kernel manager than this one, then it's just a race condition on boot .... the last one will win and will override settings.

But like i said before i don't recommend to use it with other universal kernel manager apps.
It's like having more than one Antivirus / Firewall installed on your Windows PC.
It's just a mess and many things will not work properly, even not to mention about the performance losses.
it's nice to exchange views and try to learn from knowledgeable people like you dev!
Thanks to you and this community we can get the most out of our devices.

As for it touch boost duration, I find it a very useful function for those looking for maximum performance, but currently I keep it disabled because I find it a waste to have the maximum CPU speed when I touch the screen that I am writing to WatshApp for example.
Maybe it would be nice to have a maximum settable frequency, so as to find the right compromise, it would be nice if it is introduced soon, if I'm not mistaken reading old posts you had put this function and then removed?
 
  • Like
Reactions: ace2nutzer

Top Liked Posts

  • 2
    Report reboot when open facebook ,menu marketplace
    I was think because of my settings
    Big cpu 2.7
    Little cpu 1.8
    Gpu min max 572
    Dvfs 95 all
    Zram 75%
    But i report it to sure because of my settings is too extreme or else reason
    You have filesystem error on /data partition.
    Sometimes such errors are autofixed on boot.
    Anyway if the driver can't repair it on boot, then it's likely that it'll reboot again.
    If so, the only way to fix it is to format /data.
    If reboot still occour even after formatting then it's likely that your eMMC is broken.
    Note: filesystem errors only happens if one of the 2 situation will happen:

    1. After a dirty shutdown/reboot, mostly caused by too high/unstable OC.
    or
    2. if the eMMC is simply at his end of lifespan.

    @Devil90
    i've tried a lot of things, but it's a hard to find issue.
    Anyway, it's related to the mess caused with our buggy HMP implementation.
    It's already much better than the Samsung version, but the drawback is this bootscreen glitch.
    I believe it's caused by the init process, it's loaded at first for executing ramdisk (bootscripts).
    And the problem is that the cpuset stuff is mounted too late and even if i move the init process from "0-7" (all cores) to "0-3" (little) it's possible that it has then some child processes that will again run on all cores and this causes the glitch. Now i'll try if i can manage it anyway, it's like impossible mission lol.
    2
    @Devil90
    i've tried a lot of things, but it's a hard to find issue.
    Anyway, it's related to the mess caused with our buggy HMP implementation.
    It's already much better than the Samsung version, but the drawback is this bootscreen glitch.
    I believe it's caused by the init process, it's loaded at first for executing ramdisk (bootscripts).
    And the problem is that the cpuset stuff is mounted too late and even if i move the init process from "0-7" (all cores) to "0-3" (little) it's possible that it has then some child processes that will again run on all cores and this causes the glitch. Now i'll try if i can manage it anyway, it's like impossible mission lol.
    Dev, it was absolutely not to press to solve, indeed you are doing a great job ultimately to listen to us all and we are happy with it. ;)(y)

    However I agree, in the end it is just a nuisance (at least for me who often restart the device) and in any case it does not imply errors, let's not talk about having that Samsung hmp setting that is really worth it.
    However, I have noticed in some tests that with zram disabled it happens rarely or almost never, perhaps due to the less weight in loading the zram driver? Obviously it's just a guess.
    2
    Dev, it was absolutely not to press to solve, indeed you are doing a great job ultimately to listen to us all and we are happy with it. ;)(y)

    However I agree, in the end it is just a nuisance (at least for me who often restart the device) and in any case it does not imply errors, let's not talk about having that Samsung hmp setting that is really worth it.
    However, I have noticed in some tests that with zram disabled it happens rarely or almost never, perhaps due to the less weight in loading the zram driver? Obviously it's just a guess.

    Yes, all right ! - I'd also hate this annoying issue, but in my case i'd only reboot the phone if i've to reboot to TWRP in order to test fresh compiled kernel you know ?
    Why do you need to reboot often ? - With my old phone running my custom kernel i was online for 1 month without having slow downs.
    No, the zRam driver is loaded and enabled at "property:sys.boot_completed=1"
    This is the case when the "SMS Services" app appears in app menu.

    Ouh 2 days ago i clean install alexis rom format data too
    Thx for sure me my reboot is caused by me thx dev 😄😄😄

    Edit: and how about LMK that has fixed? Can i change it?

    No problem.
    LMK wasn't buggy at all, but it's considered to be unstable if it's tuned too tight.
    The Android system needs a certain amount of free RAM to work properly.
    by default it was set to 64 MB, that means there's almost always at least 64 MB free RAM to make space for new memory allocations like opening a new app that wasn't actually in RAM.
    If this value is too low it can cause severe lags and freezes and in the worst case scenario it could even freeze the whole system for long time, so that you've to reboot.
    According to my experience this happened quite often in old Android devices with low amount of RAM and moreover with too old unstable kernel.
    Now maybe such extreme behaviour will never happen again, but who knows.
    As i said default was 64 MB and i've changed to 128 MB because the smallest app has around 150 MB. (required RAM size)
    And some bigger apps have 200 - 300 MB RAM requirement.
    So if you don't care about multitasking and want always a snappier phone, then set 256 MB.
    Otherwise for multitasking set 64 - 32 MB. 16 MB maybe works as well, i didn't test it so far, but i guess that you'll face some latencies once the RAM is completely full.

    Also how you want to set it ? - Do you have the full version ?
    2
    Hi all, good morning.

    Test in car with AA are definitely OK !!!! Thanks again to DEV.

    But 5 hours later, while navigating thruough APP menu to search clock APP, mobile rebooted. On the SIM card PIN input screen it rebooted again!

    I have balanced profile enabled, disable boost activated on both CPU/GPU and both Suspend Maximum Frequency set to the hint values. Apart from reboot event, could someone comment on the meaning/impact of such frequencies?

    Here is the log: I have read in the thread it could depend on data partition corruption, could'nt i?

    thank you.
    Hi, no FS-erros detected.
    The reboot was caused by the ROM, which ROM are you using ?

    To be precise, RescueParty was triggered:

    You could also provide this log:
    /data/system/uiderrors.txt
    according to the android source website.
    1
    Hi, no FS-erros detected.
    The reboot was caused by the ROM, which ROM are you using ?

    To be precise, RescueParty was triggered:

    You could also provide this log:
    /data/system/uiderrors.txt
    according to the android source website.
    100% stock ROM by Samsung
  • 7
    Changelog

    Kernel V. 2021.03.24
    • Fixed audio call recording - thanks @rostifaner for help
    • Charger Control: added support for USB-CDP (used in cars) - thanks @traversone for report and log
    • Thermal Throttling: driver update and allow up tp 95 °C stable CPU/GPU Temp (adjustable over the app or script) and add a proper overheat protection
    • Added more TCP congestions algorithm
    • lib/lz4: updated to LK 4.11.12 (for zRam stability and performance)
    • zRam: decreased overhead and reduced memory usage
    • I/O: increased read_ahead_kb for max speed
    • mm/zsmalloc: removed all samsung changes
    • Enable WQ_POWER_EFFICIENT_DEFAULT & MALI_DMA_FENCE
    • Custom HMP: update

    A2N Kernel Control V. 3.4
    • Charger Control: added USB-CDP ( for USB charging in cars)
    • CPU/GPU: optimized DVFS
    • Profiles: Performance Plus: allow custom Freqs
    • Network: added more TCP congestions algorithm
    • Advanced Power Menu: updated
    6
    Another test kernel, in the hope to fix some leftover issues !

    a2n_kernel_g950x_9.x_test4.zip

    a2n_kernel_g955x_9.x_test4.zip

    Tip:
    if you need to change zRam size then i do recommend to reboot instead to wait, because new zRam driver is quite slower when it comes to change the size, but it's quite faster at normal operation.
    Next A2N app version will inform you to reboot after changing zRam size.

    So now let's hope that it finally works properly !

    Changelog: check my GitHub or wait till i'll write it (once it works 100 %)

    @traversone
    now it's your turn !
    6
    How to keep phone all the time cool (max 40°C) without underclocking it too much, but maintaining a balance somehow? I've noticed that doesn't matter if I'm on powersave mode or performance, phone gets hot when opening some apps or doing some multitasking. (Without too much thermal throttling of course)

    With power save profile shouldn't go over 40 °C at least not from cpu gpu caused heat. What you feel over 40 °C is likely the heat caused from other hardware parts like screen backlight, battery (charging) or mobile networking.

    As for update: it should be usually already online but itsn't.
    Still working on 2 new cool features for the new app version.
    You will love it !
    I go to sleep now, later when i wake up i'll try to finish and upload.
    Sunday is the only day where i don't work on my projects here.
    6
    Pre-release version 2021.04.02

    • Source code update: DTF1 -> DUA3 - thanks @ Samsung
    • HMP_CUSTOM: update - should fix several bugs e.g. with BT
    • MM*: disabled samsungs aggressive force_reclaim patch - should reduce freezes
    • zRam: updated driver for higher efficiency in MM and higher security (encryption) - thanks @ minchank
    • zRam: improved performance and compression ratio
    • MM: optimized CMA*/RBIN* usage - for the better memory allocation
    • MM: saved around 100 MB of a wasted RAM from RBIN - zRam driver will use it now
    • Debug: reverted some debug log buffers sizes to stock - probably it caused some instabilities

    *MM = Memory Management
    *CMA = Contiguous Memory Allocator
    *RBIN = recyclable reserved RAM for camera (228 MB)

    If random reboots are now fixed with this build, then we can considering this as our next official release !

    a2n_kernel_g950x_9.x_2021.04.02.zip

    a2n_kernel_g955x_9.x_2021.04.02.zip

    Note: after flashing kernel and magisk then instead to directly reboot to system, power off and start with power button, required for the updated RAM layout.
    5
    I'm getting 4-5 soft reboots daily even without zRam, and with Balanced profile, and after that reboot, phone is almost unusable, very laggy, I have to reboot it manually again.. here is last_kmsg file. (I hope it's atached)

    Nope, but nevermind ... let's see how it goes with new build later ... since i've changed a lot of things, an log from older source version, likely will be not very helpful.
    But thanks anyway.
  • 55
    A2N Kernel for the Galaxy S8 / S8+ Plus Exynos Chip

    Supported Devices
    • G950F
    • G950FD
    • G950N
    • G955F
    • G955FD
    • G955N

    This Kernel aims are to
    • reduce the power consumption
    • improve the Performance
    • make it more smooth
    • reduce RAM usage
    • improve RAM Management
    • increase the Security
    • extend Device Features
    • and many more ...

    A2N Kernel Special Features

    • FULL Android 9 Pie SAMSUNG Stock ROM Support
    • Added Charger Control by me - Allows to configure custom max input current for S8 between 200 - 3000 mA and for S8+ Plus between 200 - 3500 mA in 100 mA Steps separately for AC / USB-PD / Wireless / USB 3.0 / USB 2.0 - that means real Fast Charging even with Screen ON (see Ampere Screenshot charging with 3000 mA) - Allows even to charge at max current possible with 3rd-party Chargers !! (if they can handle the current, otherwise it'll step down to a stable current)
    • Support for battery IDLE and battery care (see Ampere Screenshot IDLE with 0 mA)
    • AUTO AFC: the AFC Setting in Android --> Battery --> Settings will have no effect with this Kernel
    • More accurate remaining time to full charged battery
    • Added Flashlight Torch Control - You can adjust Brightness of your Torch from 1 - 15 - Default/Stock Kernel is just 5 :p
    • Wireguard Support - always latest Version
    • Dex with any HDMI Adapter - thanks @ Barna Keresztes from GitHub
    • Higher SOT (10h) even with Kernel defaults
    • Based on latest Stock Source from SAMSUNG
    • Ramdisk always latest
    • Compiled with OFFICIAL ARM/Linaro GCC-8.3 Toolchain
    • Optimized Memory Managent for better multitasking even with swap disabled
    • Improved Performance
    • Improved Battery Life
    • Reduced Device heat
    • More Responsive and smooth
    • Fixed Laggs (especially for some 2D Games)
    • Increased Efficiency
    • RAM: 3485 @ 3710 MB
    • Unlocked higher CPU Freq Steps - Thanks @Noxxxious for initial CPU OC
    • SELinux in permissive mode - Thanks @Noxxxious
    • Disabled SSWAP
    • Added zRam Support with fast LZ4 Compressor
    • Added KSM Support - patched for Android by me
    • Configurable Touch Booster Freq and time
    • Fixed very bad CPU IDLE
    • CPU: Interactive @ conservative gov - for higher efficiency
    • SELinux: Removed Audit dependency - Thanks @ kerneltoast && arter97
    • Added Support for F2FS (requires F2FS capable ROM)
    • Kernel Modules for CIFS and NFS
    • VoLTE + Wifi-Calling works fine on all Android 9 ROMs
    • TCP Congestion Control: cubic by default, new reno, bic, westwood+
    • Fully working optional device encryption
    • init.d Support
    • Partially enabled HMP Driver for proper handle of both CPU's
    • LED-RGB: ability to adjust blink delays for missed notifications / low battery
    • LED-RGB: added sysfs interfaces to disable low-power-mode for RED GREEN BLUE LED (higher brightness in the darkness)
    • Power: USB: ability to disable water detection
    • Drivers: enabled support for Xbox / Sony PS / Nintendo Wii / Gamepads
    • CPUSETS: moved some tasks and services (e.g. Audio encoder) to the little CPU in order to relieve the big CPU, improving performance for foreground Apps !
    • Optimized some system clocks for higher powersaving !
    • Interface for custom suspend cpu max_freq
    • And many more Kernel Tweaks - i can't list them all here ... :eek:

    A2N Kernel Control

    For full Control over Performance, Battery, RAM Management and many new cool features like "Torch brightness tuning", LED blink delays adjustment and many more !
    (3rd-party Kernel Manager Apps will not work properly with this Kernel, use only genuine A2N Kernel Control)

    ### App features ###
    # Power
    --> Charger Control: Adjust AC / USB-PD / Wireless / USB 3.0 / USB 2.0 / max Input Current in 100 mA Steps, Range: 200 - 3000/3500 mA (S8/S8+)
    --> Fast (Wireless) Charging even with Screen ON (make sure to use an active cooling pad for Wireless)
    --> Shows the actual,
    accepted Charging (input) Current
    input Voltage
    Battery Temp in °C / °F
    --> Battery care support (e.g. stop charging at 95 % to reduce battery capacity loss)
    --> Battery idle feature (power supply your S8 over cable or wireless without to use the battery - useful for DeX or Gaming)
    --> Ability to disable water detection if needed

    # Audio
    --> Volume + / - over the App - useful if the Hardware Buttons are broken

    # Screen
    --> Turn the Screen OFF over the App

    # CPU
    --> OC Control:
    --> BIG CPU: 741 - 2808 MHz
    --> LITTLE CPU: 455 - 2002 MHz
    --> Set max_freq for Screen OFF for both CPUs
    --> BIG CPU Cool Freq (DVFS) - Ability to set higher Max Freq limit when the device is hot and should cool down, i.e. stock is 1469 MHz but you can set it to 1807 MHz or higher in order to avoid too big performance drops from thermal throttling
    --> Check if BIG CPU Max Freq is actually throttled from thermal driver
    --> CPUSET Control for both CPUs - allows you to disable unstable cores in order to get higher stable OC rate !

    # GPU
    --> Freq Control:
    --> Ability to reduce max_freq - Range 260 - 572 MHz
    --> Ability to fully disable DVFS, i.e. no GPU performance drops at all while the device is getting hot (fail-safe)

    # Hardcoded Performance Profiles
    --> Powersave (UC)
    --> Balanced (UC)
    --> Performance (Kernel default)
    --> Performance Plus / Gaming (OC)

    # RAM
    --> Memory Management Control:
    --> LMK - very easy and fail-safe method to adjust the amount of Free RAM - improving Multitasking. Range: 16 - 256 MB | Default: 64 MB
    --> zRam - LZ4 compressed swap block-device in RAM (Multitasking) (25 %, 50 % or 75 % of the RAM Size)
    --> Ability to drop all caches and buffers (to free some RAM)

    # Network
    --> Enable Kernel Support for Network File Systems: CIFS and NFS
    --> TCP Congestion Algorithm (cubic, new reno, bic, westwood+)

    # Misc
    --> Flashlight Brightness Control - up to 3 times brighter than with Stock Kernel ! Range: 1 - 15 | Default: 5
    --> Adjust LED-RGB blink delays (for missed notifications / low battery)
    --> LED-RGB: Optimize RED GREEN and BLUE LED separately (higher brightness in the darkness)
    --> Accelerometer Calibration

    # Debug (in-App-menu)
    --> Disable restoring of te settings on reboot - if you are not sure whether the settings are stable

    For more details, please check the Screenshots.

    How to force Android 9 update

    STEP 1
    Download latest Android 9 for your Phone Model and save it to your PC or Laptop.
    To find out your Phone Model, open the "Phone" app and type "*#1234#"

    Now on the PC, open your Web Browser and copy and paste one of the following Links: (adjust the Link to your needs of course ! )

    Examples:

    Link for S8+ SM-G955F DTB Germany:

    Link for S8 SM-G950F DTB Germany:

    STEP 2
    After the download is done, unpack the *.zip package to a Folder with the same name like the *.zip but without ".zip" in the folder name.
    Now you should have a folder with Files *.tar.md5. If so, then it's correct !

    STEP 3
    Now download ODIN v3.13.1 Click! and save it to your PC.

    STEP 4
    Unzip the Odin3_v3.13.1.zip File and go into the unpacked Folder and execute the Program file: "Odin3 v3.13.1.exe"
    Click "OK" and the ODIN Offline-flasher is ready for use now.
    Click on "options" and make sure that only "Auto Reboot" is checked.

    STEP 5
    Now click on "BL" and navigate to the unpacked Android 9 Firmaware Folder with the *.tar.md5 Files inside, there you just choose the File that starts with "BL_..." and click "open"
    Same way for "CP" and "AP".
    But for "CSC" you use "CSC_..."
    Tip: I suggest to add "AP" as the last one ... because it's biggest one and needs longer to check MD5 sum. ;)

    STEP 6
    Phone: Backup all the data from internal sdcard to your PC / micro-sd card or USB Stick, because installing a new firmware will wipe /data, which contains also the internal sdcard data !

    STEP 7
    On the Phone: Settings --> Phone Info ---> Software Informations --> Tap 7 times on "Buildnumber", now go 2 x back and you will see new Menu:
    "Developer Options" --> enable "OEM-Unlocking"
    If you can't find it, (it's usually the third Button) then you can't unlock the Bootloader for now. In this case, it can be helpful to just log-in into your Google Play Account,..
    Wait some minutes and check again, usually it should appear now. If not, then let Phone up (without to reboot) for exactly 7 Days, then it should appear.

    STEP 8
    Shutdown the Phone.

    STEP 9
    Then press and hold "Volume down" + "Bixby" + "Power button" till you see the Warning message.
    Press "Volume Up" for "Continue" and now you can connect the Phone with the USB Cable to your PC.

    On some older Windows systems like Win xp, you will need to download and install the "SAMSUNG USB Drivers" Click! yourself, otherwise the System will install them automatically once you connect your Device to your PC. To unpack this *.rar File you may need to download Winrar, Click for 64-bit or Click for 32-bit

    Anyway wait till "ID:COM" the box below will be blue ... then the Phone was successfully recognized and you are ready to flash.

    STEP 10
    ODIN: Now click "Start" .. wait till you see "PASS!"
    Unplug the USB Cable.
    Close ODIN.
    Wait till you see the Setup Wizard
    DONE !

    Installation for normal People

    Requirements:


    • Since this Kernel requires Samsung Stock ROM Android 9, make sure you have Android 9 installed, to check this, open the "Settings" App on your phone, then "Phone Info" ---> "Software Informations" --> Android-Version = 9 ?, If not start first with "How to force Android 9 update" then perform "installation for normal People" here.
    • Who is able to peform this installation? - Everyone who has already downloaded and installed any Windows Programs
    • Time: 40 - 60 Minutes
    • Windows PC or Laptop with Win XP or higher
    • USB Cable - for connecting your Device with PC
    • Micro-sd Card or USB Stick with adapter that fits to your Device

    Short Summary:

    • Backing up all the data from internal sdcard to your PC / micro-sd card or USB Stick
    • Unlocking bootloader
    • Installing with ODIN the new "TWRP Recovery" to your Device
    • Installing A2N Kernel with TWRP
    • Installing Magisk* with TWRP - this will ROOT your Device, e.g. you can use all the A2N Kernel Control features.
    • Optional but very recommended: buy A2N Kernel Control for best control over Battery usage, Performance and charging speed
    * = Magisk will ROOT your Phone in a very safe way, that means, SafetyNet will still be OK after flashing Magisk Root Solution.

    INFO:
    If your Device Model is S8, then choose always the packages for "...g950x...", otherwise
    if it's S8+ Model, then choose always "...g955x...".

    STEP 1
    Download latest patched TWRP Click! from Folder "General" choose *.tar File and ODIN v3.13.1 Click! and save them to your PC.

    STEP 2
    Download latest A2N Kernel Click! choose "Android 9" and the *.zip File and
    Download Magisk Click ! and scroll down to "Downloads" and click on "Latest Stable" and save both files to your micro-sd card or USB Stick.

    STEP 3
    Unzip the Odin3_v3.13.1.zip File and go into the unpacked Folder and execute the Program file: "Odin3 v3.13.1.exe"
    Click "OK" and the ODIN Offline-flasher is ready for use now.
    Click on "options" and untick everything.
    Now click on "AP" and load the TWRP recovery *.tar file into it.

    STEP 4
    Backup all the data from internal sdcard to your PC / micro-sd card or USB Stick, because installing any Custom Kernel for the first time will require to wipe /data, which contains also the internal sdcard data !

    STEP 5
    On the Phone: Settings --> Phone Info ---> Software Informations --> Tap 7 times on "Buildnumber", now go 2 x back and you will see new Menu:
    "Developer Options" --> enable "OEM-Unlocking"
    If you can't find it, (it's usually the third Button) then you can't unlock the Bootloader for now. In this case, it can be helpful to just log-in into your Google Play Account,..
    Wait some minutes and check again, usually it should appear now. If not, then let Phone up (without to reboot) for exactly 7 Days, then it should appear.

    STEP 6
    Shutdown the Phone.

    STEP 7
    Then press and hold "Volume down" + "Bixby" + "Power button" till you see the Warning message.
    Press "Volume Up" for "Continue" and now you can connect the Phone with the USB Cable to your PC.

    On some older Windows systems like Win xp, you will need to download and install the "SAMSUNG USB Drivers" Click! yourself, otherwise the System will install them automatically once you connect your Device to your PC. To unpack this *.rar File you may need to download Winrar, Click for 64-bit or Click for 32-bit

    STEP 8
    ODIN: Now click "Start" .. wait till you see "PASS!"
    Unplug the USB Cable.
    Close ODIN.
    Press and hold "Volume down" + "Power button" till the Download menu disappear.
    Now press and hold immediately "Volume Up" + "Bixby" + "Power button" .. till the SAMSUNG Logo appear.

    STEP 9
    In TWRP Recovery: Tap on "Wipe" --> "Format Data" and Type "yes" and tap on the Blue button.
    Now go several times back and tap on "Reboot" ---> "Recovery" ---> "Do Not Install"
    Wait till TWRP rebooted again to TWRP
    Check "Never show this screen during boot again" and
    Swipe the big blue button to allow Modification.

    STEP 10
    insert micro-sd card or the USB Stick where you have stored the A2N Kernel and Magisk *.zip Files to your phone.
    Press "Install" ---> "Select Storage" --> and choose the inserted Media (Micro SD card or USB OTG) and then "OK"
    Now choose a2n_kernel_****.zip and "Swipe to confirm Flash"
    go back and install the same way: Magisk-v***.zip.
    Go back to the main menu of TWRP
    Press "Mount" and uncheck your Storage in order to unmount it and remove the USB Stick. (if it was the micro-sd card, then keep it inside the Phone)
    Go back to the main menu
    Press "Reboot" --> "System" (SAMSUNG Boot Logo may appear 2 times .. this is normal for first boot)

    STEP 11
    Be patient for at least 10 minutes.. then the Setup Wizard should appear.
    Follow the Setup Wizard and once you are done you will find in the App Menu a red App "A2N Kernel Control" ..
    Open this App and try to change any Settings, an Alert Dialog Box will appear where you can click OK and it will you redirect to the Full Version of the A2N Kernel Control on Google Play Store. Finally it's your decision to buy the App or not.

    DONE !
    Enjoy your A2N Kernel with full control over A2N Kernel Control App !!
    :)

    Installation for power users / developers

    • Backup all your Files from internal sdcard to your sdcard or PC
    • Unlock bootloader (enable OEM in developer options)
    • Install with ODIN my patched TWRP Version you will find it in Folder "General" (in options uncheck everything, especially "Auto Reboot")
    • Boot directly to TWRP
    • Wipe ---> format data ---> type "yes"
    • reboot to recovery
    • Install A2N Kernel
    • Install Magisk
    • reboot to system (SAMSUNG Boot Logo may appear 2 times .. this is normal for first boot)
    • Be patient for at least 10 minutes.. then the Setup Wizard should appear.
    • Done
    • Optional but very recommended: buy A2N Kernel Control App for best control over Battery usage and Performance

    How to keep this Kernel Up-To-Date and how to install it if you have already TWRP installed
    • Download latest A2N Kernel and save it to your (internal) sdcard
    • Reboot to recovery
    • Install latest A2N Kernel
    • Install latest Magisk
    • Reboot to System and enjoy the new Kernel Version :)


    Big Thanks @ Mobile Tech Point for making this Awesome Video ! :good:​


    FAQ

    Disclaimer

    I am not responsible for anything that happends after flashing the work provided here.

    Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work, otherwise i'll report you and your Thread will be removed.

    Credits

    Linus Torvalds the creator of Linux kernel
    Linux upstream for the root kernel base
    Google for Android Kernel patches
    SAMSUNG for opening Kernel source
    @corsicanu for TWRP Recovery - Original Thread
    @ All users whose have tested this Kernel and direct the development along the right path
    @ All those users, who I forgot to mention (PM me if so)
    Thanks @S.AMU for providing FTP-Server
    Thanks @ Noxxxious for the nice Disclaimer Text

    XDA:DevDB Information
    [KERNEL][9] A2N Kernel [STABLE][10h SOT][Easy Guide Step by Step], Kernel for the Samsung Galaxy S8

    Contributors
    ace2nutzer
    Source Code: https://github.com/ace2nutzer/Samsung_dreamlte_Kernel

    Kernel Special Features: Efficiency, Performance, Powersaving, Smooth, responsiveness, Charger Control, Fast Charging even with Screen ON, Lite Kernel, Performance Profiles, Flashlight Brightness Control, CPU/GPU OC Control, unique Features

    Version Information
    Status: Stable
    Current Stable Version: 2020-11-06
    Stable Release Date: 2020-11-06
    Current Beta Version: 2019-10-19
    Beta Release Date: 2019-10-16

    Created 2018-12-04
    Last Updated 2020-11-05
    23
    Bugs and Issues Kernel 2021.03.24
    • You tell me :)

    Changelog

    Kernel V. 2021.03.24
    • Fixed audio call recording - thanks @rostifaner for help
    • Charger Control: added support for USB-CDP (used in cars) - thanks @traversone for report and log
    • Thermal Throttling: driver update and allow up tp 95 °C stable CPU/GPU Temp (adjustable over the app or script) and add a proper overheat protection
    • Added more TCP congestions algorithm
    • lib/lz4: updated to LK 4.11.12 (for zRam stability and performance)
    • zRam: decreased overhead and reduced memory usage
    • I/O: increased read_ahead_kb for max speed
    • mm/zsmalloc: removed all samsung changes
    • Enable WQ_POWER_EFFICIENT_DEFAULT & MALI_DMA_FENCE
    • Custom HMP: update

    A2N Kernel Control V. 3.4
    • Charger Control: added USB-CDP ( for USB charging in cars)
    • CPU/GPU: optimized DVFS
    • Profiles: Performance Plus: allow custom Freqs
    • Network: added more TCP congestions algorithm
    • Advanced Power Menu: updated

    Kernel V. 2021.02.06
    • Fixed device heating up - this time for real ;)
    • CPU/GPU: added my custom (DVFS) thermal throttling driver
      range: 45 - 85 °C
      default: 65 °C**
      adjustable temperature separately for CPU/GPU !
      STABLE OC up to 2.8 GHz !! ***
    • Fixed random reboots - thanks @rostifaner for the hint !
    • Swap: added more optimizations for zRam
    ** Max possible performance only @ 85 °C for CPU/GPU !
    *** I was able to pass Geekbench + 3DMark @ CPU 2.8 GHz / GPU 572 MHz with DVFS 85 °C

    A2N Kernel Control V. 3.3
    • CPU/GPU: replaced "Cool Freq" (DVFS) with "Max Temperature"
    • Profiles: updated "Performance Plus" BIG-CPU 2.5 @ 2.8 GHz :cool:
    • Optimized reboot routine

    Older Changelogs

    Kernel V. 2021.01.26
    • Fixed device heating up
    • CPU/GPU: optimized thermal throttling (performance)

    A2N Kernel Control V. 3.2
    • CPU/GPU: updated "Cool Freq" (DVFS)

    Kernel V. 2021.01.20
    • Optimized system clocks
    • Fixed stability issues with/without zRam from previous release
    • Charger Control: added battery volt & battery (charge) max_temp interface
      Reverted all temperature settings to stock
      HACK: allow to reset battery capacity without JIG :cool:
      FIX: fast charging in LPM and any issues with fast charging, likely with wireless fast charging
    • CPU: updated ondemand governor
    • GPU: added a simple ondemand governor ;)
    • Source code cleanups
    • Reduced log buffer to the Min
    • Reenabled touch booster driver
    • Swap: improved zRam performance (page-cluster reset to stock)
    • Wi-Fi: allow to disable 5 GHz or 2.4 GHz band (this will fix severe issues with Wi-Fi routers that doesn't allow to use different SSID for 2.4 GHz / 5 GHz band)
      Extended driver
    • RAM: 3724 MB

    A2N Kernel Control V. 3.1
    • Power: added "Battery Voltage Check"
      fixed 3500 mA current for S8+
      added "Battery Cycles" & "Real Battery Capacity" and allow to reset it
      added "Max Charging Temperature"
    • CPU/GPU: readded "up_threshold" & "Disable Boost"
      added "Increase Sampling Rate"
    • Added more dialogs / checks
    • RAM: optimized "Drop Caches / Buffers"
    • Screen: readd "Input Boost Duration"
    • Added a quick 3-way reboot menu
    • Network: added "Wi-Fi Band Set"
    • Stability fix
    • Grammar fixes
    • Updated defaults
    A2N Kernel Control V. 3.0

    • Improved stability

    Kernel 2020.11.06
    • Fixed graphical screen glitches at resolutions > 1080
    • Optimized system clocks
    • RAM: Allowed to use higher RAM Freq - 1794 @ 2093 MHz (if Supported by binning)
    • CPU: updated cool freq logic - by default it uses system default (depending on binning)
    • GPU: improved stability, performance and readded OC up to 839 MHz
    • GPU: added "Cool Freq" Interface as well like on CPU for better handling of the higher Freqs > 572 MHz (since fully disabling DVFS would overheat the Phone)
    • CPU: Fixed Suspend Max Freqs feature
    • Power: Updated Charger Control to V. 2.6
    • Charger Control 2.6: increased default charging current to:
      AC/USB-PD: 1500 @ 2200 mA(S8) / 1800 @ 2600mA (S8+)
      Wireless: 900 @ 1200 mA
    • Disabled a lot of excessive debugging / log spamming / tracing
    • RAM: 3710 @ 3727 MB (with latest stock kernel it's 3679 MB) :cowboy:
    • Source cleanup
    • Fully disabled INPUT_BOOSTER to avoid painfully battery draining even when it's not needed e.g, if you just keep your finger on the Screen
    • CPU: switched from conservative gov to ondemand (conservative gov was cool but it's time for the new sh!t !)
    • SWAP: improved zRam Stability (disabled PGTABLE_MAPPING ... caused freezes and random reboots for me)
    • Patched system binary "dex2oat" to run only on big CPU - faster Apps optimization after wiping dalvik-cache and in general also it speeds up usual app installation and updating time from Play Store :cool:
    • More responsive, smoother and better performance ..... better battery life as well ?? - Let me know as i didn't test it yet :D

    A2N Kernel Control V. 2.9
    • GPU: re-added OC up to 839 MHz
    • GPU: added GPU Cool Freq
    • Power: added Battery Cycle Info
    • Apply settings earlier on boot
    • Updated defaults / text
    • Fixed crashes
    Kernel 2020.09.27
    • RAM: Optimized memory management - higher memory pressure for better multitasking even without swap
    • Charger Control V.2.5: increased max allowed batt temp to 45 °C - faster charging for Wireless and Cable
    • LED-RGB: allowed also to disable lowpower-mode for RED and GREEN LED
    • BIG CPU: enabled BOOST by default
    • CPU: enabled touch booster by default with 500 ms duration
    • Charger Control V.2.5: fixed battery level wrongly increasement when battery level is high at around 95 % and battery idle mode is active
    • Fixed all bugs with Battery iDLE, Battery Care and the mess with RGB-LED (now it finally works properly)
    • GPU: Removed Freq steps > 572 MHz since it doesn't work stable
    • GPU: added some useful sysfs interfaces to /sys/kernel/gpu (for debugging)
    • More responsive and smoother

    A2N Kernel Control V. 2.8
    • RAM: added very easy and fail-safe control over Low-Memory-Killer
    • CPU: added CPUSET Control - ability to disable some unstable cores in order to get higher stable overclock rate
    • CPU: added ability to set a custom max_freq for Screen OFF
    • Misc: added ability to optimize also GREEN and RED LED
    • Reworked App layout
    • Updated defaults / Profiles
    • Removed unnecessary features
    • Simplified usage
    Kernel 2020.08.27
    • Charger Control: increased high_temp_recover from 40 @ 43 °C (faster charging)
    • Battery Care: Fixed Blue LED / Non-Charging randomly

    A2N Kernel Control V. 2.7
    • Compiled with SDK 29 (Google Play requirement)
    • Power: fixed "Battery IDLE mode" description

    Kernel 2020.08.24
    • Improved Performance - also more smoother
    • LED-RGB: Proper handling of BLUE LED for Battery Care / Battery IDLE :D
    • Extended Input Support for mouse, keyboard, joysticks and touchscreen panels

    A2N Kernel Control V. 2.6
    • Misc: LED-RGB: replaced "disable low-power-mode" with "Optimize Blue LED" (higher brightness in the darkness)*
    * Since only the Blue LED needs an increasement

    Kernel 2020.08.11
    • Fixed Call Audio

    Kernel 2020.08.06
    • Source update DTC6 --> DTF1
    • Ramdisk Update DTEA --> DTF1
    • Partially enabled HMP Driver for proper handle of both CPU's
    • Updated Charger Control to V. 2.4: added support for battery idle* and battery care
    • LED-RGB: added ability to adjust blink delays for missed notifications
    • LED-RGB: added ability to disable low_power_mode - higher LED brightness in the darkness
    • Power: USB: ability to disable water detection
    • Drivers: enabled support for Xbox / Sony PS / Nintendo Wii / Gamepads
    • CPUSETS: moved some tasks and services (e.g. Audio encoder) to the little CPU in order to relieve the big CPU, improving performance for foreground Apps !
    • Optimized some system clocks
    *= when battery is in idle, the LED will light up BLUE :D

    A2N Kernel Control V. 2.5
    • Power: added battery care support (e.g. stop charging at 95 %)
    • Power: added battery idle feature (power your phone over cable-only)
    • Power: added ability to disable water detection (to deal with wrong water detection)
    • Misc: added ability to adjust LED-RGB blink delays (for missed notifications)
    • Misc: LED-RGB: added ability to disable low-power-mode (higher LED brightness in the darkness)
    • RAM: added ability to drop all caches and buffers (to free some RAM)
    Kernel 2020.06.03

    • Ramdisk Update DTC1 -> DTEA
    • defconfigs: switched back to EXT4_FS_ENCRYPTION *
    • Build.prop tweaks (dalvik-heap)
    * if you are using device encryption and your device can't boot with this release, then flash previous release

    A2N Kernel Control V. 2.4

    • CPU: DVFS: unlocked all Frequencies - allows to disable CPU DVFS entirely
    • GPU: DVFS Fix

    Kernel 20200519

    • Source Update DTA6 -> DTC6
    • Charger Control: allowed higher chg_temp - should charger faster, especially for 3000+ mA
    • defconfigs: re-enable Gear VR related drivers
    Kernel 20200513

    • Memory Management: reverted to stock minfree values - slightly optimized
    • Dex with any HDMI Adapter - thanks @ Barna Keresztes from GitHub
    • zRam: stability Fix
    • init.d Fix
    • Improved Demo App auto installation - stability fix
    Kernel 20200509

    • Memory Management: decreased memory pressure since it caused hangs
    • init.d Fix
    • Improved Demo App auto installation

    Kernel 20200507

    • FIXED: VoLTE and Wi-Fi Calling for all ROMs and SIM Cards (especially Jio 4G VoLTE) - thanks @Orangelelo for testing
    • Charger Control: AFC Fix
    • enabled CONFIG_IP_NF_TARGET_TTL
    • FIXED: random reboots from previous version
    • FIXED: Lags from previous Version
    • Wi-Fi: Driver bug fix
    • Improved Demo App auto installation
    Kernel 20200427

    • Charger Control: Driver update to V. 2.2
    • Charger Control: Auto AFC - user friendly
    • Charger Control: Fixed Wireless Charging overheat issue - thanks @Ranbir7878 for testing
    • Charger Control: Reduced heat when charging with > 5 V (AFC aka fast charging)
    • Charger Control: Fixed S8+ max charging current 3000 -> 3500 mA
    • RAM: optimized multitasking - fixed (restarting) notifications
    • Kernel config: disabled MPTCP
    • Binary Code Optimizations (CRC, Crypto, FPU, NEON)
    • Fixed init.d interferences with A2N App Full Version
    • Fixed Demo App auto installation - thanks @ChronoMonochrome for help

    A2N Kernel Control V. 2.3

    • Updated Defaults
    • Power: Auto AFC (removed switch)
    • GPU: DVFS Fix (3D improvement)
    • Power: added batt temp
    • Bug Fix - Fixed interferences with init.d scripts

    A2N Kernel Control V. 2.2

    • Request Root on App startup
    • Bug Fix
    Kernel 20200403

    • FIXED: moving Apps to micro-sd card
    • FIXED: USB-PD Charging
    • RAM: optimized memory management - especially improved Multitasking
    • RAM: increased dalvik heap from 512 to 768 MB
    • Updated Kernel Config
    • Disabled HMP - this Kernel uses hardcoded CPUSETS (background tasks only on small CPU and foreground tasks only on big CPU)
    • Optimized system Clocks
    • CPU: conservative gov update - added Boost Control - in order to switch from min to max freq immediately
    • UFC/CPU: use stock cool_freq by default - 1469 MHz (but you can increase it over the App up to 2002 MHz)
    • GPU: Optimized OC - now Freq's higher than 572 MHz are also available but uses the same Voltage like 572 MHz (before the voltage wasn't set at all)
    • GPU: Enabled DVFS by default - (but you can disable it in A2N Kernel Control App if you need higher 3D Performance even on high temps)
    • Charger Control: updated driver to V. 2.1
    • SWAP: optimized zRam
    • Re-Added Wireguard importer - latest version
    • Updated kernel source to DTA6
    • Updated Ramdisk to DTC1

    A2N Kernel Control V. 2.1

    • GPU: unlocked all steps up to 839 MHz
    • CPU: added Boost Control - in order to switch from min to max freq immediately
    • GPU: allows to disable DVFS - for higher 3D Performance
    • Updated defaults and Performance Profiles

    A2N Kernel Control V. 2.0

    • Improved Stability
    • Allowed to use the App in Offline-Mode - Check "INFO" in the App description in google Play
    Kernel 20200117

    • Fixed Device Encryption
    • NET: total available tcp congestion algorithm: cubic(default), reno, bic, westwood
    • Fixed Wifi-Calling (VoLTE already worked in previous release)
    • HMP: re-eneabled and reworked / optimized for max speed + Battery life
    • zRam: optimized for full speed (use all 8 cpu cores at the same time)
    • added choice for loading one of the three sizes: 25, 50 or 75 % of the RAM size
    • Improved Memory Management + Multitasking
    • Cooling Control: Added interface for adjusting the cool down CPU Freq max limit
    • Optimized input booster - enabled hmp_boost by default
    • Default USB Config is now sec_charging (if u need MTP or else, enable yourself in statusbar)
    • Higher performance + Better battery lifetime + smoother
    • Uploaded also new TWRP powered with this kernel release inside + fixed USB MTP

    A2N Kernel Control V1.9

    • Performance Profiles: optimized for higher efficiency
    • Network: added TCP Congestion Control (cubic, reno, bic, westwood)
    • RAM: Swap / zRam: added choice for size 25 %, 50 % and 75 % of total RAM
    • CPU: Device Cooling Control: allows to change the CPU Max Freq limit for cool down
    • Cooling Control: check if there is currently an cooling event
    • Screen: Reworked Input Boost Control - Adjust Freq and duration
    • Bug Fix: Fixed back arrow
    Kernel 20191224

    • Fixed Audio in Calling
    • Fixed VOLTE / Wifi-Calling
    • Fixed boot loop if magisk canary was installed
    • Charger Control: added support for USB-PD and increase default charging current for S8+ from 1500 to 1800 since it has higher capacity
    • Charger control: increased max charging current from 3000 to 3500 mA for S8+
    • Swap: optimized zRam
    • RAM: optimized Multitasking
    • Overall improvements - performance, battery, scrolling
    • Removed Wireguard
    • Improved my TWRP Version stability
    • Uploaded also updated/optimized twrp for S8/S8+ and stock kernel for reference purposes
    • This Version may fix a bunch of other bootloop issues with custom ROMs - Needs testing!

    A2N Kernel Control V1.8

    • Power: added USB-PD current control
    • Charger control: increased max charging current for S8+ from 3000 to 3500 mA
    • Charger control: increased default charging current for S8+ from 1500 to 1800 mA
    • CPU: added all available overclock frequencies steps - for both CPUs

    Kernel 20191216

    • Kernel source code update DSI1 --> DSJC
    • Ramdisk update DSI1 --> DSK9
    • Updated conservative gov
    • Re-enabled input_booster by default since it makes scrolling on chrome browser smoother (Home Tab)
    • Disabled HMP driver since it caused randomly overheating issue
    • Foreground tasks will run only on big CPU while background tasks will run only on small CPU - this will eliminate tasks migration relates delays between both clusters completely
    • Updated GPU config
    • Optimized system clocks like MIF clock and so on
    • Reduced boottime: cluster0 @ 1,9 GHz and Cluster1 @ 2,5 GHz during boot sequence
    • Reverted all the network stuff to stock (only the disabled ones .., not new enabled features)
    • Changed back to stock: ECRYPT to EXT4 encryption
    • Added filesystem encryption support for F2FS
    • Fixed USB Tethering (tested on win xp lol)
    • Cluster0 min_freq 715 @ 455 MHz back for screen ON in order to save some power
    • Fixed several errors from logs
    A2N Kernel Control V1.7

    • Screen: updated input booster (for max smoothness)
    • CPU/Profiles: Cluster0 is back stock min_freq of 455 MHz (still smooth :cool:)
    • Perf. Profiles: added Performance Plus and updated the other profiles
    • Fixed app reset settings if stock kernel was installed (now settings will survive if u go back to a2n kernel)
    • Added new menus RAM + Network and sorted things properly into it
    Kernel 20191118

    • Attempt to fix randomly heating up
    • HMP: Calibrated Tunables - now it works properly when the Small Cpu is overclocked
    • Removed OC Freqs for the Big CPU - not stable (caused miscalculations)
    • Improved performance and battery life
    • More smoothly and more responsive
    • Extras:
    • Uploaded also twrp recovery including this kernel version for S8 / S8+ (fixed instability and improved speed)

    A2N Kernel Control V1.6

    • CPU/Profile: Removed OC Freqs for Big CPU (was not stable)
    • Performance Profile works properly now

    Kernel 20191114

    • Fixed stability + performance issues from previous Version
    • Charger Control: set AC / WC current 1200 @ 1500 mA by default
    • Updated kernel config
    • Enabled CONFIG_NETFILTER_XT_TARGET_NFLOG and CONFIG_NETFILTER_XT_TARGET_LOG to support Afwall
    • Optimized CPU/GPU Governor
    • Disabled input booster by default - but it can be enabled in userspace (e.g. over scripts or App)
    • Re-enabled HMP Driver - but this time patched to finally work PROPERLY :eek:
    • Added KVM Support - (low-level VM support for max performance)
    • Optimized zRam - max_compression_streams = 4 @ 8
    • Optimized memory management
    • Improved performance and battery life
    • More smoothly and more responsive
    • Extras:
    • Uploaded also twrp recovery including this kernel version for S8 / S8+
    • Uploaded also patched stock kernel - Fixed Camera

    A2N Kernel Control V1.5

    • Power: AC / WC current 1200 @ 1500 mA by default
    • Removed unsafe Frequencies Steps
    • Updated defaults and strings
    • GPU: added min Freq control
    • Screen: added input booster control (Freq and time)
    Kernel 20191019 BETA

    • FULL Android 9 Pie Support
    • Based on Stock Source Code DSI1
    • Ramdisk DSI1
    • Compiled with the OFFICIAL ARM/Linaro GCC 8.3
    • Optimized Memory Managent
    • Improved Performance
    • Improved Battery Life
    • Reduced Device heat
    • More Responsive
    • Fixed Laggs (especially for some 2D Games)
    • Increased Efficiency
    • RAM: 3485 @ 3711 MB
    • Unlocked higher CPU/GPU Freq Steps - Thanks @Noxxxious
    • SELinux in permissive mode - Thanks @Noxxxious
    • Disabled SSWAP
    • Added zRam Support with fast LZ4 Compressor
    • Added KSM Support - patched for Android by me
    • Optimized Input Booster
    • Fixed very bad CPU IDLE
    • CPU: Interactive @ conservative gov - for higher efficiency
    • Added Wireguard Support
    • CPU: Cluster 0: Screen ON min_freq 455 @ 715 MHz to Fix Lags - 455 MHz Step is used for Screen OFF
    • Compiled with DEFAULT_USE_ENERGY_AWARE / WQ_POWER_EFFICIENT_DEFAULT - for better Battery Lifetime
    • Optimized Crypto, NEON SIMD Hardware Acceleration (e.g. faster device encryption due of hardware acceleration)
    • Disabled HMP since it serves nothing - Hardware doesn't allow to use real cpu_hotplugging ...
    • Added Charger Control 2.0 by me - Allows to configure custom max input current from 100 - 3000 mA in 100 mA Steps separately for AC / USB 2.0 / USB 3.0 / Wireless - that means real Fast Charging even with Screen ON - Allows even to charge at max current possible with 3rd-party Chargers !!
    • Added Flashlight Torch Control - You can adjust Brightness of your Torch from 1 - 15 - Default/Stock Kernel is just 5 :p
    • SELinux: Removed Audit dependency - Thanks @ kerneltoast && arter97
    • Added Support for F2FS
    • Accurate remaining time to full charged battery
    • init.d Support
    • And many more Kernel Tweaks - i can't list them all here ... changelog is already too long isn't it ?! :laugh:

    A2N Kernel Control V1.4

    • The best Way to manage this Kernel for full functionality (3rd-party Kernel Manager Apps will not work properly with this Kernel)
    • Compiled with API 28 Android 9 Pie
    • Power: Charger Control - Allows to configure custom max input current from 100 - 3000 mA in 100 mA Steps separately for AC / USB 2.0 / USB 3.0 / Wireless - that means real Fast Charging even with Screen ON - Allows even to charge at max current possible with 3rd-party Chargers !!
    • Added switch for "Adaptive Fast Charging" so u can directly toggle AFC in the App.
    • Ability to check actual accepted charging current and Input Voltage
    • CPU: OC Control: Cluster 0: up to 2002 MHz and Cluster 1: up to 2808 MHz
    • CPU Governor tuning: Adjust up_threshold to balance between Battery Lifetime and Performance separately for each Cluster
    • GPU: OC Control up to 839 MHz
    • Hardcoded Performance Profiles:
    • --> Powersave (Underclocked)
    • --> Balanced (Kernel Default)
    • --> Performance (Overclocked)
    • Misc: switch for zRam, KSM
    • Misc: Torch Brightness Control - up to 3 times brighter flashlight than with a stock Kernel !!
    • Misc: Ability to load kernel Module for CIFS and NFS with just one Tap
    • Misc: Accelerometer Calibration
    • Debug: u can call this Menu over the App built-in Menu (3 dot) - ability to save logcat and dmesg with one tap to your sdcard ..
    Kernel 20190105

    • Patched ramdisk to fix Copy & Paste and maybe VoLTe too ?
    • Enabled 12 usb_audio drivers for testing (Modules)
    • Disabled some left overs useless drivers

    A2N Kernel Control [G95x] V1.2

    • Compiled with API 26 instead 28
      We use still API 26
    Kernel 20181231

    • Sources update - CRGH -> CRL3
    • Fixed WifiCalling / VoLTE (not confirmed yet)
    • Compiled with latest GCC 8.2 ARM Toolchain
    • Fixed ADB
    • Re-enabled USB Sound Card Drivers
    • Optimized Memory Management
    • USB-OTG: Updated Max Vbus draw Current from 500 mA -> 900 mA, since USB 3.0 Spec allows 900 mA
    • Updated AC Charge Current from 1000 -> 1200 mA
      and AC Fast Charge Current from 2000 -> 2200 mA


    A2N Kernel Control [G95x] V1.1


    • Supports now all Galaxy S8 & S8 Plus with Exynos Chip :cowboy:
    • Adjusted AC Charge Current according to the CRL3 Source from 1000 -> 1200 mA
      and AC Fast Charge Current from 2000 -> 2200 mA
    • Updated Tips for CPU-Max-Freq on Suspend

    Kernel 20181209
    • Fixed mount ext-sdcard
    • Uploaded new Packages: stock kernel, twrp fully patched with latest A2N Kernel
    • Full Version of A2N Kernel Control for Galaxy S8 is now available!

    A2N Kernel Control [G950] V1.0
    • Initial Release - All Features you can see in the built-in Demo App by flashing the Kernel package
    • Supports for now only G950F

    Kernel 20181205
    • Initial Release - All changes compared to the Stock Kernel u can find it in Post #1 "A2N Kernel Features"
    • Based on Stock CRGH Source
    • Compiled with GCC Linaro 7.3.1
    14
    FAQ

    Q: On which ROMs this Kernel works ?
    A: I've built and optimized this Kernel for SAMSUNG Stock ROM 9.
    It may or not works as well on custom ROMs based on Android 9, no warranty that it works perfect like on stock ROM from SAMSUNG !

    Q: If I flash this to replace Samsung Kernel and I don't make any customisations - what difference will I notice in terms of day to day usage or in other words if I don't want to customise A2N Kernel over the Full Version App, i'm wasting my time flashing it ?
    A:
    Without customizations, you will get this:

    • Better performance
    • Better battery lifetime (up to 10h SOT)
    • Better memory management
    • More smooth and responsive
    • Reduced device + battery heat
    • A bit faster charging with screen ON
    • A bit slower charging with screen OFF

    With customization you get this:

    • Higher performance - especially for gaming
    • Faster charging than stock even with screen ON/OFF
    • Battery Care - to reduce battery aging
    • Stop Charging at 50 - 99 % in order to reduce battery stress (especially useful when charging over night)
    • Battery IDLE Support - useful for DeX and Gaming
    • Better Multitasking even without swap !
    • Increasing the brightness of the Torch (3 times brighter)
    • Adjust LED blink dealys ON/OFF
    • Increase the brightness of the RED GREEN BLUE LED
    • Adjustable CPU max_freq for suspend
    • Adjust the the CPU Cool Freq when the Temp is high
    • CPUSET Control: ability to disable unstable cores in order to get higher CPU OC results
    • Ability to disable GPU high temp throttling
    • Performance Profiles: one tap for switching between "Performance Plus" for Gaming and "Balanced" for daily usage
    • Support for CIFS and NFS (Kernel Modules)
    • TCP Congestion Control: westwood+, cubic etc..
    • Low-Memory-Killer Tuning - easy and fail-safe
    • swap - zRam Size selection: 25, 50 or 75 % of RAM Size
    • And some more exclusive features

    Q: What are the best settings for highest FPS in Games ?
    A: GPU --> "Disable Cooling" Enable
    CPU --> "Cool Frequency" to 1807 MHz (or max 2002 MHz but more heat !)
    Profiles --> "Performance Plus" Enable
    Later when you are done with gaming and want more battery life instead full speed, just enable "Balanced" Profile ...
    And again later for gaming: just switch to "Performance Plus" ... that's it !! Quite simple !!

    Q: How i can tune this Kernel ??
    A: U've 2 ways:
    Search in Play Store for "A2N Kernel" and u'll find the corresponding App "for Galaxy S8". (quite Solution)
    or
    write your own Scripts in /system/etc/init.d.

    Q: Can i use your Kernel with other Kernel Tuner Apps like Kernel Audiutor ?
    A: This is the worst way to tune a custom Kernel, (because u can't change the most useful things) such universal Kernel Tweaker Apps are more suitable for Stock Kernels. Use always the proper App that comes with the CUSTOM Kernel or use init.d Scripts.

    Q: Can i use your Kernel Control App with other (custom) Kernels ?
    A: No, it works only with this Kernel and Device - it's not an Universal Kernel Manager App.

    Q: What can i do with the Demo Version of the APP ?
    A: Only a few features works.. read-only things like reading current charging Current, Charging Voltage, Battery Temp ...
    The Demo Version doesn't change any System / Kernel Parameters at all. You need the Full Version.
    You can generate very easy system logs, in debug menu.

    Q: I've installed the Full Version of the App, will it change any Kernel Settings by default if i do not change them ?
    A: No, default App Settings = default Kernel Settings. It'll set (almost on-the-fly) your Settings and after a reboot your custom Settings will be applied on boot, this is the case after 2 Minutes. after you entered your SIM PIN.

    Q: I've the Full Version of A2N Kernel Control APK, do i still need the Demo Version of the App ?
    A: Yes, i recommend to keep them both installed, because you can provide Logs very easy with the Demo Version which it's not possible with the Full Version.

    Q: How to enable the "Fast Charging" aka AFC feature?
    A: Choose your power source and adjust the current .. For the original AFC USB Charger would be "AC" .. set there 2200 mA and connect the cable, this gives you fast charging like on stock kernel, but not only when the Screen is OFF, so it'll charge with "Fast Charging" even with Screen ON. (charging your Phone faster even if you use it) - The AFC switch in Android -> Battery Settings will have no effect with this Kernel, because it uses AUTO AFC !

    Q: if I use the fast charging options will it effect my battery and charger ? And will it heat more due to this?
    A: It's already since 2 years possible to charge with 3000 - 3500 mA and so far nobody reported a broken battery due to this.
    Usually i don't expect that it'll damage the battery because every normal Li-Ion battery is able to charge at least with 1C, means charging current same like the capacity. That means for S8 it's 3000 and for S8+ it's 3500 mA(h).
    Also it'll reduce charging current to 500 mA once it's 45 °C and restores the current once it cools up to 43 °C in order to not heating up the battery too much.
    So it's considered to be safe.

    Q: i've the full Version of the A2N App, will my Custom A2N Settings survive if i install stock Kernel and then going back to A2N Kernel ?
    A: Yes, as long as you don't uninstall it.

    Q: I've S8 plus and when I set AC Current Max to 3500 mA after some time it drops to 3000 mA .. why ?
    A: Probably you are using the original AC (AFC) Charger ... check the specs ... if it's like this:

    9 V == 1.67 A
    5 V == 2.0 A


    Calculate the max charging current:
    9 x 1.67 = 15 W
    15 W / 5 V = 3 A = 3000 mA max output current

    then for the S8+ model it's needed to buy a powerful USB-PD Charger if you want to charge at full speed 3500 mA.

    Q: How to report Bugs ?

    Please do NOT report Bugs if you:
    • are using custom ROMs (Eclipse stock, is a custom ROM)
    • have Xposed installed
    • are using CPU / GPU Clocks higher than stock. (small CPU max 1690 MHz, big CPU max 2314 MHz, GPU max 546 MHz)
    • have issues with non Play Store Apps

    A: Open the A2N Kernel Control Demo App and tap on the in-app Menu (3 dots), then --> "Debug" and then on "logcat and dmesg" after an App Force Close or if some features didn't work. Or if the Phone rebooted randomly, then tap on "last_kmsg". U'll find the logs in internal storage. After that you can attach them here in your Bug Report, by clicking "Post Reply" or "Go advanced" then scrolling down u'll see
    "Additional Options" ---> Manage Attachments.
    There u can directly upload files without to pack them.
    Please write also what you did shortly before the BUG happened.
    Then i'll read the logs and i'll try to fix the Bug.

    BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!

    WARNING: if you compile by yourself, then you are only allowed to use it for yourself !
    12
    Hello dear Friends i'm back with a great Changelog ...

    Kernel 20191019

    • FULL Android 9 Pie Support
    • Based on Stock Source Code DSI1
    • Ramdisk DSI1
    • Compiled with the OFFICIAL ARM/Linaro GCC 8.3
    • Optimized Memory Managent
    • Improved Performance
    • Improved Battery Life
    • Reduced Device heat
    • More Responsive
    • Fixed Laggs (especially for some 2D Games)
    • Increased Efficiency
    • RAM: 3485 @ 3711 MB
    • Unlocked higher CPU/GPU Freq Steps - Thanks @Noxxxious
    • SELinux in permissive mode - Thanks @Noxxxious
    • Disabled SSWAP
    • Added zRam Support with fast LZ4 Compressor
    • Added KSM Support - patched for Android by me
    • Optimized Input Booster
    • Fixed very bad CPU IDLE
    • CPU: Interactive @ conservative gov - for higher efficiency
    • Added Wireguard Support
    • CPU: Cluster 0: Screen ON min_freq 455 @ 715 MHz to Fix Lags - 455 MHz Step is used for Screen OFF
    • Compiled with DEFAULT_USE_ENERGY_AWARE / WQ_POWER_EFFICIENT_DEFAULT - for better Battery Lifetime
    • Optimized Crypto, NEON SIMD Hardware Acceleration (e.g. faster device encryption due of hardware acceleration)
    • Disabled HMP since it serves nothing - Hardware doesn't allow to use real cpu_hotplugging ...
    • Added Charger Control 2.0 by me - Allows to configure custom max input current from 100 - 3000 mA in 100 mA Steps separately for AC / USB 2.0 / USB 3.0 / Wireless - that means real Fast Charging even with Screen ON - Allows even to charge at max current possible with 3rd-party Chargers !!
    • Added Flashlight Torch Control - You can adjust Brightness of your Torch from 1 - 15 - Default/Stock Kernel is just 5 :p
    • SELinux: Removed Audit dependency - Thanks @ kerneltoast && arter97
    • Added Support for F2FS
    • Accurate remaining time to full charged battery
    • init.d Support
    • And many more Kernel Tweaks - i can't list them all here ... changelog is already too long isn't it ?! :laugh:

    A2N Kernel Control V1.4

    • The best Way to manage this Kernel for full functionality (3rd-party Kernel Manager Apps will not work properly with this Kernel)
    • Compiled with API 28 Android 9 Pie
    • Power: Charger Control - Allows to configure custom max input current from 100 - 3000 mA in 100 mA Steps separately for AC / USB 2.0 / USB 3.0 / Wireless - that means real Fast Charging even with Screen ON - Allows even to charge at max current possible with 3rd-party Chargers !!
    • Added switch for "Adaptive Fast Charging" so u can directly toggle AFC in the App.
    • Ability to check actual accepted charging current and Input Voltage
    • CPU: OC Control: Cluster 0: up to 2002 MHz and Cluster 1: up to 2808 MHz
    • CPU Governor tuning: Adjust up_threshold to balance between Battery Lifetime and Performance separately for each Cluster
    • GPU: OC Control up to 839 MHz
    • Hardcoded Performance Profiles:
    • --> Powersave (Underclocked)
    • --> Balanced (Kernel Default)
    • --> Performance (Overclocked)
    • Misc: switch for zRam, KSM
    • Misc: Torch Brightness Control - up to 3 times brighter flashlight than with a stock Kernel !!
    • Misc: Ability to load kernel Module for CIFS and NFS with just one Tap
    • Misc: Accelerometer Calibration
    • Debug: u can call this Menu over the App built-in Menu (3 dot) - ability to save logcat and dmesg with one tap to your sdcard ..

    If u've any Questions, feel free to ask here.

    Enjoy your new A2N Kernel ! :)
    10
    New Build is Up !!

    Changelog

    Kernel 20200519

    • Source Update DTA6 -> DTC6
    • Charger Control: allowed higher chg_temp - should charger faster, especially for 3000+ mA
    • defconfigs: re-enable Gear VR related drivers

    --------------------------------------------------------------------------------

    Updated also TWRP Kernel.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone