Ohh you need first "su" cmd. Here with adb works without root.
Then use landscape mode, otherwise you won't see which package it's on the corresponding line.
Ohh you need first "su" cmd. Here with adb works without root.
Then use landscape mode, otherwise you won't see which package it's on the corresponding line.
I'm not very skilled at Linux memory management.
It's very low-level stuff.
I do suspect it has something to do with the movable pages or virtual memory.
There is a little mess ...
Samsung partially added patches from newer kernels for movable pages for the stock driver zSwap, but not for zRam. Now we want to use zRam, because it's faster. Another problem is, there is no proper documentation about added patches on top (commits). And this makes it very hard to track bugs. Also it's hard to upstream this kernel. Because most of the patches would just fail, due to some patches already applied and so on. Same problem for device specif patches, no commits at all. Samsung did that mess on Galaxy Ace 2 and i was hoping they would do a more cleaner job on Galaxy S8, but the same mess here.
If kernel source were clean like official Android kernel source, and just added device specif patches on top, even without proper commits messages, it would be possible to filter out device specific patches, and then simply adding that patch on top of latest Android kernel. Then we never had stability issues. But well, we will fix it anyway.
Uploaded new test kernel .. disabled
Code:
CONFIG_ZRAM_MIGRATION_SUPPORT
and
CONFIG_MALI_DMA_FENCE
Bsically CONFIG_MALI_DMA_FENCE is disabled in stock kernel, don't know why Samsung didn't enabled it, since it compiles fine without any error.
And CONFIG_ZRAM_MIGRATION_SUPPORT was originally enabled for zSwap, but adapted from me to work with zRam too. So disabled, maybe i did some mistake here.
Both are optimizations for better performance, maybe one of them is a culprit.
And there are further 2 optimizations that i suspect that it could make also problems .. but we will disable them in next test build if still unstable. After that. i'm out of ideas.
Report dev exprience using test kernel 30 november i had some lag that stuck for a while come smooth for while too when open facebook whatsapp and other social media apps for other apps game and other almost same problem but no more then 1 second in social media apps it took 3 or 5 sometime
To day i will test new test kernel
@ace2nutzer maybe its a idea to talk with a other kernel dev if the problems persists, dont wanna be a **** or something but just a advice and maybe its useful did the same thing for my case with my linux servers and game panel
In case my colleage @Badger50's message wasn't clear, ALL OF YOU will conduct yourselves in a professional manner, and treat each other with courtesy and respect.
You can respectfully disagree with each other without fostering conflict. We expect you to act like adults.
If you don't, and you continue to start arguments in this thread, we may restrict your accounts.
I hope I've made this crystal clear. This is the LAST WARNING.
I'm no longer developing every day on this kernel like I did for the last few years. I'm quite busy with other projects in real life. Anyway an (final?) release will be released in the next few days. Nothing new, just updated charger control for always max input_current and a few basic kernel tweaks to improve overall performance. (And some stability fixes for freezes issues.)
Yea, probably gonna do that. Also question, if i put a decoy usb c to usb c between my charger and phone and triggers 9v in my charger and sends 9v forced to my phone, does that cause damage or doesnt that matter?
On the free version you still get many of the improvements and optimizations tha A2N Kernel offers over stock Kernel. Besides, this Kernel is dirt cheap while it literally revives your phone. 2 euros more out of a 800 euros phone, I think it's worth it.
NX Kernel. CPU OC up to 2.65. No GPU OC. No throttle control. Outdated, abandoned. RZ Kernel for 572MHz GPU OC. No CPU OC. No other Kernel other than this one fits your needs. No other S8 Kernel offers the same possibilities as A2N Kernel.
Replaced SSWAP with zRam (RAM compression) - with fast LZ4 compressor
Added backend NTFS, CIFS and NFS support
Removed enforced device encryption - you can enable it in Android security settings
HMP driver fix
Added extra gamepads drivers: Xbox / Sony PS / Nintendo Wii
Ability to set different CPU Freq while screen ON/OFF
Ability to use only the little CPU
Proper support for Korean version (proper Wi-Fi power)
and many more ...
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
extend device features
and many more ...
A2N Kernel Control - App Features
Best way to tune this kernel to your needs
Note: 3-party kernel manager apps do not work with this kernel.
-- Charger control
-- Battery care
-- Battery IDLE mode
-- Battery thermal control
-- Custom resolution for HDMI/DEX
-- CPU/GPU OC control with voltage control
-- Limit CPU max_freq on suspend
-- CPU/GPU governor tuning incl. input-booster
-- CPU/GPU DVFS thermal throttling control (ability to adjust the max allowed CPU/GPU temp)
-- GPU power-policy always_on
-- Performance profiles
-- SWAP/zRam
-- Backend Network stuff like NFS, CIFS, WIREGUARD etc..
-- Wi-Fi-Band selection
-- Torch brightness control
-- Notification LED-RGB - adjust blink_on, blink_off delay
-- Accelerometer calibration
-- Load kernel module - NTFS.
-- Advanced Power Menu - ability to reboot to recovery / download-mode
-- And many more!
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
000webhost - Webhosting @Noxxxious for the nice disclaimer text XDA members - Reporting bugs
Swap/zRam: increased LZ4 memory usage to 32 KB to improve compression ratio (like L1 cache size)
Kernel config: disabled some framebuffer drivers
GPU: reverted some changes to stock
CPU/GPU DVFS: default temp 60 °C to avoid heating up the battery
GPU: updated the new game booster API
HMP: reverted last changes
GPU: relaxed aggressive power saving
CPU/GPU DVFS: update driver & add management for device voltage drops (enabled by default, will trig @ 3400 mV and it'll force DVFS max temp 60 °C to fix reboots caused by low/bad battery)
Charger Control V3.3: re-added ability to switch between 5V/9V in stock Android settings - to reduce heat with 5V
CPU/GPU: updated voltages for hgher stability
Updated ramdisk
A2N Kernel Control V63
CPU/GPU: DVFS default temp 60 °C
GPU: updated game booster
CPU: re-add hotplug big CPU feature (user request)
GPU: added voltage control for 572 MHz step
CPU/GPU updated voltages accordingly like on latest kernel
CPU/GPU: added device voltage trigger for DVFS (to fix reboots caused by low/bad battery)
Updated app defaults
Older Changelogs
A2N Kernel R62
Fixed instability issues
Fixed performance regression
Updated LMK driver and optimized memory management
CPU/GPU: updated ondemand gov
CPU/GPU: updated DVFS driver to handle even little CPU if needed lol
Updated HMP driver for higher performance on multi-thread
Updated input booster for max smoothness
Fixed some bugs in video/camera driver
GPU: updated mali driver
Updated devfreq driver (system clocks)
Enabled TDMB for korean models - required for FM radio
Enabled zRam @ 75 % by default
CPU boost + input booster enabled by default
Set boot DVFS temp @ 75 °C (to speed up dalvik-cache compilation) and @ 55 ° on boot_completed to reduce the device heat for normal daily usage
Updated ramdisk
A2N Kernel Control V62
added game boost level - from low to high+
updated powersave profile
CPU/GPU: updated voltage control
updated theme to my custom dark-mode
better handling of restoring app settings
updated app defaults
A2N Kernel R61
RAM: improved memory management and fixed bug
USB: fixed tethering instability issue (needs more testing)
GPU: trigger kernel panic on GPU fault instead to issue a soft-reset
Removed buggy gaming_mode
GPU power-policy: force to use "coarse_demand" on suspend if "always_on" is enabled - saves battery (around 30 mA!)
CPU/GPU DVFS: reduced "gpu_dvfs_sleep_time" from 8 to 4 ms
GPU: fixed soft-reset issue caused by buggy HMP driver - this should fix GPU freezes and lags!
HMP: fixed bugs and adjusted tunables to be more aggressive - (faster and smoother)
CPU: updated ondemand gov
CPU: updated input-booster driver to be more efficient (more smooth, less battery draining!)
GPU: disabled shader cores hotplugging for better performance!
Updated ramdisk
A2N Kernel Control V61
CPU/GPU DVFS: added ability to check "Peak Temperature"
Misc: LED-RGB: added power control
CPU-BIG: removed CPU-Hotplug feature (redundant)
GPU: replaced "Gaming Mode" with "Boost"
GPU: added power-policy for "Always On"
CPU-BIG: merged "Input Booster" into "Boost"
CPU-LIT: removed "Boost" (redundant)
Audio: moved "PM-QOS" to "Debug" menu
Fixed bugs and improved performance
A2N Kernel R60
RAM: Fixed regression from R59 in memory management
RAM: improved multitasking
LED-RGB: added a new sysfs interface to force low_powermode_current
CPUSETS: moved "surfaceflinger", "systemui" and "InfinityWallpaper" to little CPU to save battery
A2N Kernel Control V60
RAM: optimized zRam routine
Misc: optimized red LED (ability to force low_powermode_current instead of dynamic_current)
Updated strings (help text)
A2N Kernel R59
Re-enabled CONFIG_MEMCG - to reduce memory usage
LMK/HPA: updated driver for better memory management - by me
CPU/GPU: updated voltages - increased a bit for stability
Fixed USB-JIG feature
SELinux: fake enforcing enabled by default
LMK: updated minfree values to work more efficient with updated LMK driver
Init: removed init.d.a2n - instead we use now default init.d folder
A2N Kernel Control V59
GPU: improved "Gaming Mode"
RAM: simplified swap control
CPU/GPU: added ability to check temperature
Updated defaults & fixed bugs
A2N Kernel R58
Source update to LK 4.4.302 (only memory management)
zRam: updated driver to LK 4.9.337
zRam: tiny bug fix
A2N Kernel Control V58
Fixed bugs
A2N Kernel R57 (Hotfix)
Fixed low FPS in games
Improved RAM
Improved DVFS for CPU/GPU
Added "gaming mode"
A2N Kernel Control V57
CPU: allow input booster up to 5000 ms
GPU: added "gaming mode"
A2N Kernel R56
Updated wireguard to the latest version
CPU DVFS: removed hardcoded voltages for stock Freqs (since it's painful)
CPU: re-added Samsung patch for app launch boost (all cores at max Freq while opening an app)
CPU: fixed big CPU hotplug feature
A2N: removed kernel settings lock caused by 3rd-party apps or (wrongly applied) user init.d scripts
Memory management: sync with Android kernel 4.4.194 + some other optimizations
LMK: updated driver
CPU/GPU: reduced device heat (since it's painful for the battery)
A2N Kernel Control V56
CPU: disabled CPU input booster by default
CPU/GPU: disabled CPU boost by default
Audio: set PM-QOS-BIG to 741 MHz (if you face audio issue, increase it)
CPU/GPU: removed voltage control for stock Freqs (still possible over shell script)
CPU: fixed CPU boost and up_threshold doesn't able to change after using CPU hotplug feature
CPU/GPU: set DVFS temp to 60 °C
Fxed other minor bugs
Debug menu: added DRM L1/L3 patch (only in demo version available or Google will kill me!!!)
A2N Kernel R55
Camera: fixed lags
GPU: re-added 260MHz-step
GPU: relaxed aggressive powersaving (using GPU power-policy "always-on" is no longer needed!)
CPU: added ability to hotplug big CPU or only while suspend(screen OFF)
Bug fixes
Improved app performance
Kernel R54
CPU/GPU DVFS: improved stability & performance
Improved boottime
A2N Kernel Control V54
Fixed zRam
Bug fixes
Improved app performance
Kernel R53 (Hotfix)
HMP: fixed overheating issue
CPU: improved stability for 2,8 GHz step
Kernel V. 2022.10.14
Audio: re-added PM-QOS 1170 MHz for big CPU
Fixed random reboots introduced from previous release
CPU/GPU: updated voltage table
Lowered last_kmsg size from 2MB @ 1MB
Fixed tiny bugs in various drivers
DTS: updated source code and added korean DTS for S8/S8+/Note8
Korean devices: set proper WLAN_REGION= 200 for proper WiFi power
Screen: reduced min_freq 214 MHz @ 134 MHz for power save
Network: re-added PM-QOS to fix some issues
CPU/GPU: removed useless freq steps and updated governor
CPU/GPU: updated logic of DVFS driver
Devfreq: fixed wrong suspend/resume Freq settings for RAM, INT, LCD and so on
CPU: use min_freq = 832 MHz for LIT (CPU IDLE fix)
HMP_CUSTOM: optimize up/down-threshold more aggressive
Charger Control: updated chg_float_voltage from 4.35 V to 4,40 V for properly charging battery to 100%
DTS: user proper thermal zome name for CPU, so apps can detect CPU/GPU/BAT temp properly (remove also useless/duplicate temp sensors for better view in stats apps !!)
Updated kernel config
A2N Kernel Control V5.2
CPU/GPU: added voltage control for stock max_freq and OC Freq steps
Audio: add both pm-qos for lit/big CPU
Fixed bugs
Updated app defaults
Improved app performance
Kernel V. 2022.08.23
Audio UHQ: re-implemented on big CPU
Fixed deep sleep issue (caused by UHQ audio patch)
HMP_CUSTOM: tiny optimizations
Re-enabled several kernel security features
Re-enabled all HID drivers as suggested by Google
CPU/GPU OC: updated custom DVFS table for better OC stability - thanks @PORTER2002 for testing 2,8GHz stability
Fixed Samsung DexPAD - S-PEN works now - thanks @Illutorium for testing
Fixed as well other Samsung accessoires
Dex should still work with 3rd-party adapters as well
GPU: added some more optimizations, especially for Vulkan render
Optimized various system clocks for higher efficiency
Optimized input booster for higher efficiency - it uses now Freqs from "balanced" profile to be more power efficient
GPU: slow screen orientation should be fixed as well
Audio: fixed audio scratching when adding a lot of filters
A2N Kernel Control V. 5.1
GPU: voltage control: synced voltages from kernel release
Performance Profiles: updated all profiles
CPU: updated "little only" switch
Audio: UHQ: replaced PM-QOS-LIT with PM-QOS-BIG since we use now audio on big CPU
Updated defaults
Kernel V. 2022.07.01
DEX: bug fix for 3rd-party HDMI adapters
DVFS table: removed hardcoded OV for big CPU by me
Reduced power consumption for IDLE + low Freq steps (especially for Note8)
UHQ Audio: exported pm_qos_lit to userspace (to fix audio scratching)
A2N Kernel Control V. 5.0
Audio: added UHQ pm_qos_lit control (to fix audio scratching)
Kernel V. 2022.06.24
Charger Control: fixed bugs in LPM and battery IDLE feature
CPU/GPU/RAM/etc...: added voltage control
CPU/GPU: improved OC stability (CPU lit works stable @ 2 GHz for me)
Sound: updated pm_qos - should reduce sound scratching while idle and screen off
A2N Kernel Control V. 4.9
GPU: added voltage control for OC steps (stable up to 839 MHz)
CPU: added "little only" (for powersave)
updated defaults
Kernel V. 2022.06.12
GPU: updated voltage table - stable OC up to 839 MHz !!!
Kernel V. 2022.05.13
HMP_CUSTOM: updated driver
Audio: fixed stuttering - thanks @MUNISH MONGA for report and tests
DRM switched to L3 (Netflix fix)
Improved stability
A2N Kernel Control V. 4.8
Debug: added "fix permissions" (useful if you use this app with other kernel manager apps)
Improved stability
Bug fixes
A2N Kernel Control V. 4.7
Improved stability
Bug fixes
Kernel V. 2022.04.26
USB: fixed MTP/PTP/USB-tethering connections
USB-OTG: fixed SSD/HDD connection - thanks @PORTER2002 for testing
HMP_CUSTOM: updated driver - reduced delay on task migration - fixed background tasks that was sometimes going back to BIG CPU !
Disabled stacktrace
Changed dexopt to "speed" - for quick app launch
Kernel V. 2022.04.20
Improved stability
Improved memory management
Improved multitasking
Fixed BT issues
Fixed MTP Android version
Fixed compatibility issues with emulators apps like Windows emulator
CPU/GPU: updated DVFS driver - allowed again up to 100 °C
Compiled with -O3 - for higher speed
Enabled CONFIG_SYSVIPC - required for some emulator apps
DEX: allowed all resolutions (presets) as well for HDMI 1.4b (experimental)
USB-OTG: enabled support for HID, PRINTER & MASS_STORAGE (experimental)
Added better support for secure folder in kernel - not tested yet
(to enable it on custom ROMs with secure folder support, after you flashed this kernel and Magisk, write this simple cmd to your init.d script: "start secure_storage", save and reboot.)
A2N Kernel Control V. 4.5
CPU/GPU: DVFS max allowed 100 °C
Stability fix (kernel & app)
MISC: added MTP version changer
Improved performance (kernel & app)
Know issues: MTP version changer is broken in kernel and will be fixed soon.
Kernel V. 2022.03.11
Fxed lags with and without zRam enabled
CPU/GPU: ondemand gov --> updated scaling logic
CPU/GPU: decreased Freq switching delay from 40 to 20 ms
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
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"
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
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"
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
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
More responsive, smoother and better performance ..... better battery life as well ?? - Let me know as i didn't test it yet
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
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
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)
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 )
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
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)
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
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
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"
Q: With which ROMs this Kernel is 100 % Compatible ?
A: Currently only with Android 9 custom ROMs, but Samsung stock ROM is recommended.
Q: Is this Kernel 100 % Safe ? A: Yes.
Q: Will this Kernel Overheat the Phone if I use Highest Settings ?
A: No, you can't do anything wrong. Your phone has hard- and software overheat protection.
Q: How to Revert all Changes Made by this Kernel ?
A: Flash latest 3-parted stock ROM with ODIN or flash the Samsung kernel from my download site.
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: Yes, but you need first to unlock kernel with the A2N app full version.
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, it's not universal kernel manager app.
Q: My A2N App is Crashing after an Update, how to fix it ?
A: Re-install it. If it doesn't help, wipe dalvik-cache in recovery.
Q: My A2N App shows: "Please check your internet connection" - But i've good internet connection. - How to fix it ?
A: Settings --> network settings --> use private DNS server like "dns.adguard.com" - confirmed to work by user @Arnz09 - see his post here.
Otherwise send me a pm with the screenshot and you current location (city)
Q: Why I get lower benchmark scores with this kernel compared with the Samsung kernel ?
A: This kernel uses by default Max CPU/GPU DVFS Temp 65 °C to reduce the device heat. You can buy the full version of the A2N app to set the DVFS Temp up to 100 °C to get higher scores than on stock kernel.
Q: Why the Android Battery setting "fast charging" has no effect on this kernel ? - It charges always with around 1500 mA.
A: Because it would conflict with the built-in charger control.
The default charging current of approx. 1500 mA means no fast charging by default, even if you actually see "fast charging" in the notification section. This is also useful to reduce battery stress and device heat. To charge even with higher speed/current than on stock kernel you need to buy the full version of the A2N app.
Q: Why I've to pay money for just changing kernel settings ?
A: Well quality has its price. Also nobody forces you to use this kernel.
You can flash other custom kernels or flash the Samsung stock kernel from my download site. Good luck !
Q: When we get an update ?
A: This kernel is almost 100 % stable and works very well. Also this phone is now a bit "old" and therefore don't expect frequent updates.
Also don't ask for ETA's and if you do anyway, I'll ignore.
Q: How to fix audio stutering ?
A: Increase the PM-QOS-LIT / PM-QOS-BIG Freq in A2N app in debug menu --> "Audio" section.
Q: What is the benefit of editing the voltage table ?
A: to increase OC stability increase voltage and to decrease the device heat, decrease voltage. Last one will improve performance due to less throttling ! So it depends on your needs.
Q: How much is safe to undervolt ?
A: approx -50 mV is considered to be "safe".
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:
Same bug with stock kernel ? : YES / NO
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
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 ..