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

[KERNEL] [9] A2N Kernel for Galaxy S8 & S8+ Exynos [up to 10h SOT] [High-End] [Official Thread] [2022.01.16]

Search This thread

ace2nutzer

Recognized Developer
This high-end-kernel will provide you unique special features never seen before !

Supported Devices
  • G950F
  • G950FD
  • G950N
  • G955F
  • G955FD
  • G955N
This Kernel Aims are to
  • reduce the power consumption
  • reduce device heat
  • 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
  • charger control
  • battery IDLE and battery care
  • fixed time to full battery
  • flashlight tuning
  • wireguard support - always latest version
  • Dex with any HDMI adapter - thanks @ Barna Keresztes from GitHub
  • higher SOT - with new battery up to 10 h, with old battery see screenshots
  • RAM upgrade - 3679 @ 3717 MB
  • unlocked higher CPU Freq steps - thanks @Noxxxious for initial CPU OC
  • SELinux in permissive mode - thanks @Noxxxious
  • fake enforce for SELinux (you can enable it in a2n demo app)
  • DRM - L1 streaming with full resolution
  • SafetyNet bypass
  • Google Play - certified device
  • replaced SSWAP with zRam - fast LZ4 compressor
  • extra filesystem: NTFS
  • kernel modules for CIFS and NFS
  • optional device encryption
  • HMP driver fix
  • extra gamepads drivers: Xbox / Sony PS / Nintendo Wii
  • ability to OC CPU only for screen on

A2N Kernel Control

High-End-App: optimize charging; battery; multitasking; speed up to S10 level !

# App Features #
# Power
-- Charger Control
For faster charging. - Range: 100 - 3000 / 3500 mA (S8 / S8+)

-- Battery Informations
Like accepted charging current, input voltage, battery temperature and battery voltage.

-- Battery Care
E.g. stop charging at 95 % to reduce battery aging. - Range: 50 - 100 %
Battery IDLE feature, useful for DeX or gaming.
Set Max charging temperature. - Range: 30 - 45 °C

-- Battery Service
Shows charge cycles and ability to reset to 0.
Check real battery capacity in % / mAh and ability to reset. (battery gauge recalibration)

-- Disable (Buggy) Moisture Detection
Ability to disable moisture detection, for the case the USB and Jack-port is dry but you get still a moisture warning.

# Screen
-- Input Booster
Adjust touch boost CPU duration in ms, to improve scrolling.

# CPU
-- Overclock Control
BIG CPU: 741 - 2808 MHz* - default: 2314 MHz
LITTLE CPU: 455 - 2002 MHz* - default: 1690 MHz
Set Max Freq for screen OFF.
Ability to disable boost, for powersave.
Governor up_threshold, to adjust balance between performance and powersave.
BIG CPU DVFS Max Temp (thermal throttling)** - Range: 65 - 95 °C

# GPU
-- Overclock Control
260 - 839 MHz* - default: 546 MHz
Ability to disable boost, for powersave.
Governor up_threshold, to adjust balance between performance and powersave.
GPU DVFS Max Temp (thermal throttling)** - Range: 65 - 95 °C

* Max stable Freq depends on the quality of the SoC !
** To avoid too big performance drops from stock thermal throttling driver.

# Performance Profiles
-- Powersave
-- Balanced
-- Performance (Kernel Default)
-- Performance Plus (Gaming / OC) (Adjustable CPU / GPU Freq)

# RAM
-- Memory Management
Swap / zRam* - LZ4 compressed swap block-device in RAM - Choice: 0 - 100 % of RAM size
Adjust Swappiness.
Ability to drop caches / buffers, to free RAM.

* For multitasking, gaming, responsiveness and battery life.

# Network
Load kernel module for network file systems
SMB / CIFS V2 / V3
NFS V4.2
TCP Congestion Control - Choice: cubic, new reno, bic, westwood+, vegas, veno, hybla, etc..
Wi-Fi Band Selection, choice: "2.4 GHz / 5 GHz", "2.4 GHz only" or "5 GHz only".

# Misc
-- Torchlight Tuning
Increase brightness for the highest level in Android quick settings. - Range: 10 - 17 - Default Max is "10"
-- LED-RGB
Set blink ON / OFF delay for notifications / low battery.
Optimize RED, GREEN, BLUE LED - Increases brightness by disabling powersave mode on low lux.
-- Accelerometer Calibration

# File Systems
-- Load kernel module for NTFS.

# Advanced Power Menu
Reboot to:
-- system
-- recovery
-- download
or:
-- shutdown

Installation & Update
  • Flash TWRP for S8 or S8+ accordingly​
  • Reboot --> "Power off"​
  • Boot to recovery​
  • Flash A2N Kernel for S8 or S8+ accordingly​
  • Flash a2n_kernel_g95x_9.x_patch.zip (required for Samsung stock ROM and for some custom ROMs to fix boot-loop)​
  • Download latest Magisk.apk
  • Rename Magisk.apk to Magisk.zip​
  • Flash Magisk.zip in TWRP​
  • Reboot to system​
Big thanks @ Mobile Tech Point for making this awesome video !
Note: the video is no longer up-to-date, but it's still a good starting point.

Current Bugs and Changelog
FAQ
Support me via PayPal
Join Telegram Group

Note: the group is not maintained by the kernel developer.

Disclaimer

I am not responsible for anything that happens 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 - Linux kernel
Google - Android kernel patches
Samsung - device kernel source
@corsicanu - TWRP recovery - original thread
@S.AMU for providing FTP-Server
@ Noxxxious for the nice disclaimer text
XDA members - reporting bugs with logs

Contributors
ace2nutzer

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

Attachments

  • Screenshot_20210523-002529_DRM Info.jpg
    Screenshot_20210523-002529_DRM Info.jpg
    204.7 KB · Views: 891
  • Screenshot_20210523-002553_SafetyNet Checker.jpg
    Screenshot_20210523-002553_SafetyNet Checker.jpg
    403.1 KB · Views: 870
  • Screenshot_20210523-002636_VoLTE Check.jpg
    Screenshot_20210523-002636_VoLTE Check.jpg
    323.2 KB · Views: 888
  • Screenshot_20210523-003408_Settings.jpg
    Screenshot_20210523-003408_Settings.jpg
    243 KB · Views: 839
  • Screenshot_20210523-003501.jpg
    Screenshot_20210523-003501.jpg
    296.1 KB · Views: 804
  • Screenshot_20211030-044156_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044156_A2N Kernel Control [G95x].jpg
    135.9 KB · Views: 409
  • Screenshot_20211030-044210_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044210_A2N Kernel Control [G95x].jpg
    302.4 KB · Views: 372
  • Screenshot_20211030-044304_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044304_A2N Kernel Control [G95x].jpg
    422.3 KB · Views: 336
  • Screenshot_20211030-044324_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044324_A2N Kernel Control [G95x].jpg
    398.1 KB · Views: 323
  • Screenshot_20211030-044333_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044333_A2N Kernel Control [G95x].jpg
    363.3 KB · Views: 301
  • Screenshot_20211030-044345_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044345_A2N Kernel Control [G95x].jpg
    346.3 KB · Views: 297
  • Screenshot_20211030-044355_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044355_A2N Kernel Control [G95x].jpg
    411.1 KB · Views: 276
  • Screenshot_20211030-044520_A2N Kernel Control [G95x].jpg
    Screenshot_20211030-044520_A2N Kernel Control [G95x].jpg
    329.9 KB · Views: 260
  • Screenshot_20211113-013601_A2N Kernel Control [G95x] Demo.jpg
    Screenshot_20211113-013601_A2N Kernel Control [G95x] Demo.jpg
    258.8 KB · Views: 294
  • Screenshot_20211113-013331_Geekbench 5.jpg
    Screenshot_20211113-013331_Geekbench 5.jpg
    308.4 KB · Views: 303
  • Screenshot_20211113-013354_Geekbench 5.jpg
    Screenshot_20211113-013354_Geekbench 5.jpg
    309.9 KB · Views: 294
  • Screenshot_20211113-013402_Geekbench 5.jpg
    Screenshot_20211113-013402_Geekbench 5.jpg
    319.1 KB · Views: 292
  • Screenshot_20211113-013500_3DMark.jpg
    Screenshot_20211113-013500_3DMark.jpg
    471.1 KB · Views: 335
  • Screenshot_20211113-192401_Settings.jpg
    Screenshot_20211113-192401_Settings.jpg
    269.6 KB · Views: 535
Last edited:

ace2nutzer

Recognized Developer
Buglist - Kernel V. 2022.01.16
  • You tell me :)
Changelog

Kernel V. 2022.01.16

  • Improved stability
  • zRam: backport from Android kernel 4.9.194 (incl. zsmalloc and lz4 lib)
A2N Kernel Control V. 4.0
  • Bug fixes
  • Improved performance
Older Changelogs

Kernel V. 2022.01.10
  • Improved stability
  • CPU: updated HMP driver
  • Optimized MIF & INT Freqs qos-requirements
  • Removed F2FS driver
Kernel V. 2021.12.20
  • Fixed random reboots
  • CPU/GPU: governor update
  • CPU/GPU: DVFS update - for stability & performance
  • SELinux: removed fake enforce (enable MagiskHide in Magisk)
  • Phone status: official (fake)
  • Wireguard: source update
A2N Kernel Control V. 3.9
  • Bug fixes
  • Improved performance
  • Improved stability
  • Updated settings
Kernel V. 2021.12.06
  • Another attempt to fix random reboots
  • Swap: reverted zRam driver to stock - with some fixes by me
  • Improved LPM charging
  • Updated torch sysfs interface - for ultra bright torch
  • Updated kernel config
  • Disabled CONFIG_MEMCG (memory resource controller)
  • Optimized LMK driver (minfree values - should fix bad multitasking)
  • Wireguard: source update
A2N Kernel Control V. 3.7
  • Re-added autostart on boot
  • Torch: increased Max value: 15 @ 17 (Stock: 10)
  • Bug fixes
  • Improved stability
  • Reduced mobile data usage
  • Updated defaults
Kernel V. 2021.10.29
  • Fixed random reboots
  • Fixed apps force close
  • Reduced device heat
  • Improved memory management - especially multitasking
  • Updated Wireguard to the latest version
  • Fixed minor bug in Wi-Fi driver
  • Updated USB OTG drivers
  • CPU/GPU: updated DVFS (OC driver) and ondemand governors
  • Updated / fixed moisture detection for USB and jack port
  • HMP_CUSTOM: updated to allow to use all 8 cores at the same time for just one app (if the app has at least 8 threads)
  • Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks
  • Added support for CIFS/SMB V2 + V3 and NFS V.4.2
  • CIFS: Fixed infinite loop when using hard mount option
  • SELinux: optimized "fake enforce" hack
  • Swap: updated zRam driver
A2N Kernel Control V. 3.6
  • RAM: LMK: added 64 MB choice,
  • added "Swappiness" tunable
  • CPU: Little: re-added "Disable Boost" and "up_threshold"
  • Switched to "DarkMode"
  • Bug fixes
  • Improved stability
  • Reduced mobile data usage
  • Updated defaults

Kernel V. 2021.06.03 (Hotfix)
  • Charger Control: Fixed AFC regression
  • Kernel Config: re-enabled CONFIG_PGTABLE_MAPPING
    Disabled CONFIG_RBIN - maybe this will fix zRam random reboots (needs some testing)
Kernel V. 2021.05.30
  • CPU/GPU: updated ondemand gov
  • Charger Control V. 2.9: optimized AFC handling
  • Kernel Config: re-enabled CONFIG_SECURE_OS_BOOSTER_API for maximum speed for iris, fingerprint and face unlock
    Disabled CONFIG_PGTABLE_MAPPING - maybe this will fix zRam random reboots (needs some testing)
Kernel V. 2021.05.22
  • zRam: set to 50 % size by default
    improved stability
  • Memory Management: optimized low-memory-killer to have min 192 MB free RAM
    for quick response even if RAM is in high pressure state
  • Torch: fixed torch control interferences with Android's quick settings
  • SELinux: added ability to fake enforce status (in demo app)
  • CPU big/lit: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default
  • CPU big/lit: up_threshold=95 and disabled boost always fixed on suspend for more power saving
  • CPU little: increased min_freq to 598 MHz, up_threshold 95 and enabled boost but on suspend it'll use 455 MHz for power saving
  • GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled
  • GPU: removed unused governors
  • Input Touch Booster: disabled by default for more power save
A2N Kernel Control V. 3.5
  • New: check for new A2N Kernel release on app launch
  • Misc: fixed torch control interferences with Android's quick settings
  • Updated defaults
  • Bug fixes
  • Removed redundant buttons
  • Reduced network traffic and debugging
Kernel V. 2021.04.17
  • Source code update: DTF1 -> DUA3 - thanks @ Samsung
  • HMP_CUSTOM: update - should fix several bugs e.g. with BT
  • 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
  • Fixed BT disconnections - thanks @traversone for testing in Android-Auto !
  • Improved stability
  • HMP_CUSTOM: updated driver
  • Optimized MM
  • zRam: updated LZ4 lib
  • Encryption: enabled hardware acceleration
  • Optimized boot-script for boot glitch fixup (needs some testing) ;)
  • Added some patches e.g. EXFAT support provided by @ remilia15
  • Some more minor kernel tweaks
  • Uploaded also patched stock kernel - DUA3
  • Uploaded twrp with latest a2n kernel inside
*MM = Memory Management
*CMA = Contiguous Memory Allocator
*RBIN = recyclable reserved RAM for camera (228 MB)

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.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
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

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
 
Last edited:

ace2nutzer

Recognized Developer
FAQ

Q: With which ROMs this Kernel is 100 % Compatible ?
A: Currently only with Samsung stock ROM (Android 9)

Q: How to bypass SafetyNet ?
A: Anable MagiskHide in Magisk app.

Q: How i can Tune this Kernel ??
A: Everytime you install or update this kernel you will face an red (demo) app "A2N Kernel Control..." open this app, and it'll redirect you to Google Play to get the full version (blue app).

Q: Can i use and Tune your Kernel with other Kernel Manager Apps ?
A: No.

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.

Q: I've the Full Version of the A2N Kernel Control App, Do i still need the Demo Version of the App ?
A: Yes, there are some special features in-app-menu like "Fake Enforce" and debugging features for easy bug reports.

Q: How to Charge from 10 % to 100 % In just 1 h ?
A: E.g. set "AC Current Max" and "Maximum Charging Temperature" to the Max.

Q: How to get Max Speed for e.g. Highest FPS in Games ?
A: Set BIG / LITTLE CPU and GPU Freq to the Max, but avoid to use "unsafe" Freq's.
Then set CPU / GPU --> DVFS --> "Maximum Temperature" to the Max.
Now you can even cook an egg on your phone !

Q: 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: Can i use your Kernel Control App with other Custom Kernels ?
A: No.

Q: How to Report Bugs ?
- Please DO NOT report bugs if you are:

--- using "unsafe" Freqs
--- not using the latest release !
--- not using Samsung stock ROM (based stock ROMs are custom ROMs !)

A: Open the red A2N Kernel Control demo app and check in-app-menu (3 dots) then "Debug" and then on "logcat and dmesg" if you faced an app crash or if some features didn't work.
If the phone rebooted randomly, then tap on "last_kmsg". You will find the logs in your internal storage. After that you can attach them here in your bug report, by clicking "Attach files".

ROM:
Kernel version:
A2N app version:
BUG:
How to reproduce:


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

ace2nutzer

Recognized Developer
For now it's only for G950F and only tested to work 100% stable with the CRGH Build.
Tested for very long time on my G950F.
Honestly i don't like to build software for a device i don't own .. and even not to mention to release Software without to test it on my own.
However if'll receive positive Feedback then i'll buy all S8 Variants in order to build a perfect Kernel for you Guys !
But for now lets start with this.
I'll test and update this Kernel on latest available Stock ROM...
So, stay tuned ;)
 

pablonik79

Senior Member
Jun 5, 2012
67
11
installed with rom deodex ambasadii deo mod v1.3 and it works perfectly, only with mtweaks I can not regulate much, especially the battery current, moreover, why is there only interactive and deadline scheduler? another interesting feature is the dex only with the cable, I have to buy it so I try it, great job, when the app comes out in the play store I try it better, now I want to test consumption.
@ace2nutzer could you send me the apk of the kernel controller in trial version on telegram, my nikname is @ pablonik79
 
Last edited:

ghul21

Senior Member
Feb 8, 2011
2,459
3,303
Bielsko-Biała ( Łódź )
If the kernel I only for s8 variant it shouldn't be posted on cross device topic....I think?

But anyway, nice futures so it'll be nice to have a new alternative for both devices. There's not much development in s8/+ especially from kernel side.


Thx for your work
 

ace2nutzer

Recognized Developer
Initial Release

Changelog

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

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

Version Info
This Thread // Kernel is only for G950x.
I'll release G955x Kernel and App in a new Thread just to keep things more sorted.
----------------------------------------------------------------------------------------------------------------------------------
installed this kernel on my s8 g950fd,my sd card cant be identified
Im same, g950f says its corrupted, flash another kernel and its back.

Which Filesystem are u using on the sdcard?

installed with rom deodex ambasadii deo mod v1.3 and it works perfectly,

This Kernel is optimized to work best with the Stock ROM, but it's nice to hear that it works as well with custom ROM.

only with mtweaks I can not regulate much, especially the battery current,

Yeah that's normal it's a fully optimized custom Kernel, all features works only with the original Kernel Control App from me. Using such "Universal" Kernel Manager Apps can even make your Phone unstable and will not make things better. That's why i build for every Device // Kernel a separate Kernel Control App.
Otherwise i would build also an Universal Kernel App ... but it's not that efficient and this is what u Guys definitely don't want for sure.

moreover, why is there only interactive and deadline scheduler?

Because we only need one good working CPU Governor and I/O Scheduler ... right ?
Short and easy explanation:

Interactive: it's the perfect gov for low latency workloads. - So it's perfect for Android to have a smooth and quick response experience.

Deadline: It's optimized for Flash Devices, it's simple and stable - Also appropriate for Android.

All other Gov and I/O are unstable or will decrease the Performance and or battery lifetime ...
(at least not very appropriate for Android .... however there's also I/O sched "ROW" or "FIOPS" which would be also ok for android, but they are not that stable like "deadline" and the difference in I/O Performance isn't that much.
So i've removed them so that u Guys can't change (accidentally) this important Drivers.

when the app comes out in the play store I try it better, now I want to test consumption.

G950 App comes hopefully Today out .. unless Google will block it again. :)

could you send me the apk of the kernel controller in trial version on telegram, my nikname is @ pablonik79

Sorry, there's no Trial Version at all ... only the Demo u can find in the Kernel Package.
But i know, u can't Tweak anything.... Please wait for the full Version.

Thank u very much Guys for your Appreciation. :good:
 
Last edited:
  • Like
Reactions: simonk206

Top Liked Posts

  • 1
    28.9.12 is latest supported for now.
    Later 28.9.13 will be supported too.
    It's more or less a wrong message from the a2n app.
    1
    Alright, good i let you know about it becus it isnt something on my end😅
    1
    Is there a way to disable the auto updating of Google playstore, everytime i restore a nandroid with a older version of playstore or downgrade to a older supported version it updates automaticly and then i cant use the a2n app
    1
    You don't need to restore a full /system or /data backup for just rolling back one app. Instead, if you don't want to wait till it's fixed automatically, simply download previous version of Google Play from here:

    (scroll down to "All versions" and choose the appropriate package, every version should work, but use for "Android 5.0+" and if available choose "arm64-v8a" architecture. Also check if your language is listest, if not, choose a "universal" package as it should support you device language.)

    and install it over the newer version. That way you don't loose your settings from Play Store APK.

    The site is safe, since hash sums matches with original APK from Google.

    Anyway, 28.9.13 should work now.

    As for disabling Google Play auto-update: well that's a very good idea and so far i didn't investigate how to do that. The only idea that i've actually is to disable the corresponding "receiver". At least this trick worked a few years ago, but i've no idea if that would still work on modern APKs, since they are now almost all very hard encrypted.
    1
    alright, thanks for the help it works lol, if you find something to stop auto updating playstore let us know😊
  • 6
    Nobody knows ... compiled a few minutes ago.
    pre3 build had zram decompression error and therefore caused a soft-reboot. It happened even with my S8.
    I did some changes where i think that could cause this bug.
    Now we need again patience with hard testing.
    Like always, we can say it's stable if it'll pass 7 days uptime in a row.
    6
    New build is up !!

    Changelog

    Kernel V. 2022.01.10

    • Improved stability
    • CPU: updated HMP driver
    • Optimized MIF & INT Freqs qos-requirements
    • Removed F2FS driver
    • Uploaded also patched TWRP with this release inside
    Release notes:
    Please consider new installation method from post #1.
    Also it's highly recommended to flash AdAway_hosts_patcher_g95x.zip to hide ads in almost all apps and web-browser. Especially if you are using AdAway app or you had already patched "/system/etc/hosts" then you should flash the patched AdAway_hosts_patcher_g95x.zip in order to fix potentially logcat spamming, because recently official AdAway hosts sources is buggy. Otherwise it causes high CPU load and battery draining. Later once it's fixed then you can use official AdAway hosts sources like usual.
    4
    Thanks .. probably i've it fixed ... i've updated lz4, lzo and gzip lib to the latest version from latest stable Linux kernel (upstream) since we had several times decompression errors. Did that 2 days ago. Phone works perfectly now. Later i'll release new official build.
    3
    There is a bug in HMP driver.
    It'll be fixed in next build.
    Workaround: close all apps, also remove all apps from recently used apps, just before you turn the screen off.
    3
    Yes, HMP should be fine now, but unfortunately memory management issue is still there. At least it seems to be only the case for zRam.
    Fixing it right now.
  • 67
    This high-end-kernel will provide you unique special features never seen before !

    Supported Devices
    • G950F
    • G950FD
    • G950N
    • G955F
    • G955FD
    • G955N
    This Kernel Aims are to
    • reduce the power consumption
    • reduce device heat
    • 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
    • charger control
    • battery IDLE and battery care
    • fixed time to full battery
    • flashlight tuning
    • wireguard support - always latest version
    • Dex with any HDMI adapter - thanks @ Barna Keresztes from GitHub
    • higher SOT - with new battery up to 10 h, with old battery see screenshots
    • RAM upgrade - 3679 @ 3717 MB
    • unlocked higher CPU Freq steps - thanks @Noxxxious for initial CPU OC
    • SELinux in permissive mode - thanks @Noxxxious
    • fake enforce for SELinux (you can enable it in a2n demo app)
    • DRM - L1 streaming with full resolution
    • SafetyNet bypass
    • Google Play - certified device
    • replaced SSWAP with zRam - fast LZ4 compressor
    • extra filesystem: NTFS
    • kernel modules for CIFS and NFS
    • optional device encryption
    • HMP driver fix
    • extra gamepads drivers: Xbox / Sony PS / Nintendo Wii
    • ability to OC CPU only for screen on

    A2N Kernel Control

    High-End-App: optimize charging; battery; multitasking; speed up to S10 level !

    # App Features #
    # Power
    -- Charger Control
    For faster charging. - Range: 100 - 3000 / 3500 mA (S8 / S8+)

    -- Battery Informations
    Like accepted charging current, input voltage, battery temperature and battery voltage.

    -- Battery Care
    E.g. stop charging at 95 % to reduce battery aging. - Range: 50 - 100 %
    Battery IDLE feature, useful for DeX or gaming.
    Set Max charging temperature. - Range: 30 - 45 °C

    -- Battery Service
    Shows charge cycles and ability to reset to 0.
    Check real battery capacity in % / mAh and ability to reset. (battery gauge recalibration)

    -- Disable (Buggy) Moisture Detection
    Ability to disable moisture detection, for the case the USB and Jack-port is dry but you get still a moisture warning.

    # Screen
    -- Input Booster
    Adjust touch boost CPU duration in ms, to improve scrolling.

    # CPU
    -- Overclock Control
    BIG CPU: 741 - 2808 MHz* - default: 2314 MHz
    LITTLE CPU: 455 - 2002 MHz* - default: 1690 MHz
    Set Max Freq for screen OFF.
    Ability to disable boost, for powersave.
    Governor up_threshold, to adjust balance between performance and powersave.
    BIG CPU DVFS Max Temp (thermal throttling)** - Range: 65 - 95 °C

    # GPU
    -- Overclock Control
    260 - 839 MHz* - default: 546 MHz
    Ability to disable boost, for powersave.
    Governor up_threshold, to adjust balance between performance and powersave.
    GPU DVFS Max Temp (thermal throttling)** - Range: 65 - 95 °C

    * Max stable Freq depends on the quality of the SoC !
    ** To avoid too big performance drops from stock thermal throttling driver.

    # Performance Profiles
    -- Powersave
    -- Balanced
    -- Performance (Kernel Default)
    -- Performance Plus (Gaming / OC) (Adjustable CPU / GPU Freq)

    # RAM
    -- Memory Management
    Swap / zRam* - LZ4 compressed swap block-device in RAM - Choice: 0 - 100 % of RAM size
    Adjust Swappiness.
    Ability to drop caches / buffers, to free RAM.

    * For multitasking, gaming, responsiveness and battery life.

    # Network
    Load kernel module for network file systems
    SMB / CIFS V2 / V3
    NFS V4.2
    TCP Congestion Control - Choice: cubic, new reno, bic, westwood+, vegas, veno, hybla, etc..
    Wi-Fi Band Selection, choice: "2.4 GHz / 5 GHz", "2.4 GHz only" or "5 GHz only".

    # Misc
    -- Torchlight Tuning
    Increase brightness for the highest level in Android quick settings. - Range: 10 - 17 - Default Max is "10"
    -- LED-RGB
    Set blink ON / OFF delay for notifications / low battery.
    Optimize RED, GREEN, BLUE LED - Increases brightness by disabling powersave mode on low lux.
    -- Accelerometer Calibration

    # File Systems
    -- Load kernel module for NTFS.

    # Advanced Power Menu
    Reboot to:
    -- system
    -- recovery
    -- download
    or:
    -- shutdown

    Installation & Update
    • Flash TWRP for S8 or S8+ accordingly​
    • Reboot --> "Power off"​
    • Boot to recovery​
    • Flash A2N Kernel for S8 or S8+ accordingly​
    • Flash a2n_kernel_g95x_9.x_patch.zip (required for Samsung stock ROM and for some custom ROMs to fix boot-loop)​
    • Download latest Magisk.apk
    • Rename Magisk.apk to Magisk.zip​
    • Flash Magisk.zip in TWRP​
    • Reboot to system​
    Big thanks @ Mobile Tech Point for making this awesome video !
    Note: the video is no longer up-to-date, but it's still a good starting point.

    Current Bugs and Changelog
    FAQ
    Support me via PayPal
    Join Telegram Group

    Note: the group is not maintained by the kernel developer.

    Disclaimer

    I am not responsible for anything that happens 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 - Linux kernel
    Google - Android kernel patches
    Samsung - device kernel source
    @corsicanu - TWRP recovery - original thread
    @S.AMU for providing FTP-Server
    @ Noxxxious for the nice disclaimer text
    XDA members - reporting bugs with logs

    Contributors
    ace2nutzer

    Source Code: https://github.com/ace2nutzer/Samsung_dreamlte_Kernel
    30
    Buglist - Kernel V. 2022.01.16
    • You tell me :)
    Changelog

    Kernel V. 2022.01.16

    • Improved stability
    • zRam: backport from Android kernel 4.9.194 (incl. zsmalloc and lz4 lib)
    A2N Kernel Control V. 4.0
    • Bug fixes
    • Improved performance
    Older Changelogs

    Kernel V. 2022.01.10
    • Improved stability
    • CPU: updated HMP driver
    • Optimized MIF & INT Freqs qos-requirements
    • Removed F2FS driver
    Kernel V. 2021.12.20
    • Fixed random reboots
    • CPU/GPU: governor update
    • CPU/GPU: DVFS update - for stability & performance
    • SELinux: removed fake enforce (enable MagiskHide in Magisk)
    • Phone status: official (fake)
    • Wireguard: source update
    A2N Kernel Control V. 3.9
    • Bug fixes
    • Improved performance
    • Improved stability
    • Updated settings
    Kernel V. 2021.12.06
    • Another attempt to fix random reboots
    • Swap: reverted zRam driver to stock - with some fixes by me
    • Improved LPM charging
    • Updated torch sysfs interface - for ultra bright torch
    • Updated kernel config
    • Disabled CONFIG_MEMCG (memory resource controller)
    • Optimized LMK driver (minfree values - should fix bad multitasking)
    • Wireguard: source update
    A2N Kernel Control V. 3.7
    • Re-added autostart on boot
    • Torch: increased Max value: 15 @ 17 (Stock: 10)
    • Bug fixes
    • Improved stability
    • Reduced mobile data usage
    • Updated defaults
    Kernel V. 2021.10.29
    • Fixed random reboots
    • Fixed apps force close
    • Reduced device heat
    • Improved memory management - especially multitasking
    • Updated Wireguard to the latest version
    • Fixed minor bug in Wi-Fi driver
    • Updated USB OTG drivers
    • CPU/GPU: updated DVFS (OC driver) and ondemand governors
    • Updated / fixed moisture detection for USB and jack port
    • HMP_CUSTOM: updated to allow to use all 8 cores at the same time for just one app (if the app has at least 8 threads)
    • Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks
    • Added support for CIFS/SMB V2 + V3 and NFS V.4.2
    • CIFS: Fixed infinite loop when using hard mount option
    • SELinux: optimized "fake enforce" hack
    • Swap: updated zRam driver
    A2N Kernel Control V. 3.6
    • RAM: LMK: added 64 MB choice,
    • added "Swappiness" tunable
    • CPU: Little: re-added "Disable Boost" and "up_threshold"
    • Switched to "DarkMode"
    • Bug fixes
    • Improved stability
    • Reduced mobile data usage
    • Updated defaults

    Kernel V. 2021.06.03 (Hotfix)
    • Charger Control: Fixed AFC regression
    • Kernel Config: re-enabled CONFIG_PGTABLE_MAPPING
      Disabled CONFIG_RBIN - maybe this will fix zRam random reboots (needs some testing)
    Kernel V. 2021.05.30
    • CPU/GPU: updated ondemand gov
    • Charger Control V. 2.9: optimized AFC handling
    • Kernel Config: re-enabled CONFIG_SECURE_OS_BOOSTER_API for maximum speed for iris, fingerprint and face unlock
      Disabled CONFIG_PGTABLE_MAPPING - maybe this will fix zRam random reboots (needs some testing)
    Kernel V. 2021.05.22
    • zRam: set to 50 % size by default
      improved stability
    • Memory Management: optimized low-memory-killer to have min 192 MB free RAM
      for quick response even if RAM is in high pressure state
    • Torch: fixed torch control interferences with Android's quick settings
    • SELinux: added ability to fake enforce status (in demo app)
    • CPU big/lit: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default
    • CPU big/lit: up_threshold=95 and disabled boost always fixed on suspend for more power saving
    • CPU little: increased min_freq to 598 MHz, up_threshold 95 and enabled boost but on suspend it'll use 455 MHz for power saving
    • GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled
    • GPU: removed unused governors
    • Input Touch Booster: disabled by default for more power save
    A2N Kernel Control V. 3.5
    • New: check for new A2N Kernel release on app launch
    • Misc: fixed torch control interferences with Android's quick settings
    • Updated defaults
    • Bug fixes
    • Removed redundant buttons
    • Reduced network traffic and debugging
    Kernel V. 2021.04.17
    • Source code update: DTF1 -> DUA3 - thanks @ Samsung
    • HMP_CUSTOM: update - should fix several bugs e.g. with BT
    • 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
    • Fixed BT disconnections - thanks @traversone for testing in Android-Auto !
    • Improved stability
    • HMP_CUSTOM: updated driver
    • Optimized MM
    • zRam: updated LZ4 lib
    • Encryption: enabled hardware acceleration
    • Optimized boot-script for boot glitch fixup (needs some testing) ;)
    • Added some patches e.g. EXFAT support provided by @ remilia15
    • Some more minor kernel tweaks
    • Uploaded also patched stock kernel - DUA3
    • Uploaded twrp with latest a2n kernel inside
    *MM = Memory Management
    *CMA = Contiguous Memory Allocator
    *RBIN = recyclable reserved RAM for camera (228 MB)

    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.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
    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

    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
    17
    FAQ

    Q: With which ROMs this Kernel is 100 % Compatible ?
    A: Currently only with Samsung stock ROM (Android 9)

    Q: How to bypass SafetyNet ?
    A: Anable MagiskHide in Magisk app.

    Q: How i can Tune this Kernel ??
    A: Everytime you install or update this kernel you will face an red (demo) app "A2N Kernel Control..." open this app, and it'll redirect you to Google Play to get the full version (blue app).

    Q: Can i use and Tune your Kernel with other Kernel Manager Apps ?
    A: No.

    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.

    Q: I've the Full Version of the A2N Kernel Control App, Do i still need the Demo Version of the App ?
    A: Yes, there are some special features in-app-menu like "Fake Enforce" and debugging features for easy bug reports.

    Q: How to Charge from 10 % to 100 % In just 1 h ?
    A: E.g. set "AC Current Max" and "Maximum Charging Temperature" to the Max.

    Q: How to get Max Speed for e.g. Highest FPS in Games ?
    A: Set BIG / LITTLE CPU and GPU Freq to the Max, but avoid to use "unsafe" Freq's.
    Then set CPU / GPU --> DVFS --> "Maximum Temperature" to the Max.
    Now you can even cook an egg on your phone !

    Q: 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: Can i use your Kernel Control App with other Custom Kernels ?
    A: No.

    Q: How to Report Bugs ?
    - Please DO NOT report bugs if you are:

    --- using "unsafe" Freqs
    --- not using the latest release !
    --- not using Samsung stock ROM (based stock ROMs are custom ROMs !)

    A: Open the red A2N Kernel Control demo app and check in-app-menu (3 dots) then "Debug" and then on "logcat and dmesg" if you faced an app crash or if some features didn't work.
    If the phone rebooted randomly, then tap on "last_kmsg". You will find the logs in your internal storage. After that you can attach them here in your bug report, by clicking "Attach files".

    ROM:
    Kernel version:
    A2N app version:
    BUG:
    How to reproduce:


    BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!
    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.