Related
LuPuS JellyBean Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This kernel can be used on any JB CM BASED JB 4.1 or 4.2
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"][/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone
* bootloops and alarm does not go off. Please do some research if you have any
* concerns about features included in my kernel before using it! YOU and only
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
What Works --
Wifi - (flash modules)
Bluetooth
Everything Else that works on FXP and any other JB kernel
What doesn't work --
Anything that doesn't work on FXP and any other JB kernel
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- + the 5or6 that are there with FXP
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
Intellidemand2 - Thanks to faux123 and CosmicDan for mods
Uses d_bus ramping, quick and smooth and performance based, do not complain about battery drain on this
governor but it will make everything feel more like project butter
What else-----
-SLQB - (SLAB allocator with Queue)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Alot of changes to code to try improve smoothness ect
- Wifi signal lock on should now be quicker / stronger then before
--When LEDS change green, pink then blue press volume down to enter CWM Recovery
I would like to say a big thanks to -
slz.kiev - for amazing PACman ROM & Testing
FXP - Sources
Cyanogenmod - Souces
DooMLoRD - Everything he's done for XPeria
wechy77 - For helping me test
tempest918 - For the New Logo
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Phil3759
CTCaer
Anyone missing please PM me
Github Sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
LuPuS MENU
You can run lupus menu from terminal or scriptmanager or similar, you must run as root or script will exit with a message
in terminal
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
Changelog ...............
Code:
[hide]
[B][v1] [/B]
- Initial release
- 25 Governors
- 6 Io-Schedulers
- SLQB memory allocator
- Built with linaro 4.6 toolchains
- Swap
- Zram enabled
- Custom voltage control supported
- Supports USB OTG
- Supports ext2, 3 & 4
[B][U]v2[/U][/B]
- Couple of extra tweaks - improvements to battery
- Fixed Wifi issues
- Reverted my disabling of disabling sched_feautures if you get that :P
- Added USB OTG modules needed for USB OTG ( find attached zip at the end of the post)
- Added stable freq-table for higher OCing upto 2ghz
[B][U]v3[/U][/B]
- Completely scrapped previous sources and started fresh
- CWM fixed thanks @ Scritch007
- Built with Linaro 4.7
- Optimized for Linaro
- Thumbee
- Reverted to 1.6 max OC
- Lzo patched
- Use Google Snappy Compression / Decompression
- Added TINY RCU
- Fixed Battery drain ( Tester lost 0.2% overnigh with wifi on ) :victory:
- Uses uncompressed Image {why .img size is bigger)
- Custom improvements for overall smoother performance
[B][U]v4[/U][/B]
- built with latest linaro 4.7.3 (02-01-2013) - Thanks @ ChainFirex
- Added memcopy
- Added compaction
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- Improved CIFS support
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Clean up on wifi config
- Back-ported binder changes
- TWRP recovery - thanks @ championswimmer & TWRP team
[B][U]v5[/U][/B]
- Built with Linaro 4.7.3 (02-01-2013)
- Free'd RAM (disabled 720p) now 381mb - Thanks at Paul678
- Makefile optimisations (snapdragon & neon) - Thanks at Paul678
- Tweaked permormance on interactive governor - Thanks at Paul678
- Tweaked SIO io sched - Thanks at Paul678
- Free'd some RAM from loggers
- Reduce swappiness
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
- TWRP v2.4 - Thanks @ Championswimmer, TWRP Team
- Thanks [user=4402161]@Wechy77[/user] for LuPuS TWRP theme
[B]v6[/B]
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks [user=2632235]@bbedward[/user]
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
- Free RAM from logger
- LMK updated and optimized + various LMK tweaks
- Various ARM & RAM changes
- TinyRCU optimizations
- Optimized crc32 lib
- various VM changes
- Improved cleancache
- Undervolt LCD display, touch sensor proximity sensor & Wi-Fi thanks @ M66B
- Entropy tweaks
- Try fix for CRT animation [user=4266283]@paul678[/user]
- TWRP & CWM
- LuPuS Menu
- Auto Loading wifi
- All modules and init.d's included No need to flash anything after kernel
Plus alot more changes see [URL="https://github.com/garwedgess/semc-kernel-msm7x30/commits/jellybean"] for full list of credits and patches used[/URL]
[B]v6[/B]
- Latest changes to ALS and Button Backlight -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS and Button Backlight option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
[B]v7[/B]
- Fixed 3D from hanging under high intensity
- Fix pmem for HDPI Mike NG] (no more reboots??)
- CWM Recovery = VOLUME DOWN
- TWRP Recovery = VOLUME UP
- Clean up on LuPuS Menu
- Better wifi check
- KEY RESET ( Menu and POWER)
- Tuned Smartassv3 and SmartassH3 [user=2799345]@M66B[/user]
[B]v8[/B]
- Fixed reboot to recovery on 4.2 (not sure if i broke it on 4.1)
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
- Fixed "dancing android"
[/hide]
[B]v9[/B]
- Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Added zCache
- Removed persistent RAM
- Removed some more kernel debugging
- uninterruptible sleep
- Update SIO & CFQ
- Added Ultra-KSM
- Removed optimized AES & SHA1 routines
- Updated TWRP to 2.4.4
*Fixed Mount USB Storage in TWRP
- Updated CWM to latest Official CWM source
*Removed reboot options
*Re-added power off and reboot system now to main menu
- Improved wifi-loading scripts
- Clean up of lupus menu
- Fixed root issue on some devices
- Reworked kernel logs (can be found in /data/local/tmp)
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
LuPuS-Jellybean-DOWNLOADS
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
480p
LuPuS_urushi_jBv9-ram.img
md5 = 3ff24d7e343beb483aa81d7bcfa1b5f5
[/LIST]
720p
LuPuS_urushi_jBv9.1-full.img
md5 = 1effb6e2ba80afbb55d1bd9d30a426fd
[/LIST]
Mirrors -- all LuPuS Kernels can be found here
www.goo.im/devs/wedgess
Wifi is built in to kernels ramdisk NO MODULES NEEDED
If your MD5 doesn't match re-download
Everithing works fine so far. See benchmark scores.
Sent from my Xperia Ray using xda premium
Wow...nice one! Really responsive! Just wanted to point out that in addition to all the features listed in the OP, that you can undervolt
with this kernel....didn't see it as a feature in the OP...
Thanks!
justmpm said:
Wow...nice one! Really responsive! Just wanted to point out that in addition to all the features listed in the OP, that you can undervolt
with this kernel....didn't see it as a feature in the OP...
Thanks!
Click to expand...
Click to collapse
Lol ye i forgot to add it in to op thanks for reminding me.
Edit- Put of couple of more things into 3rd post, anymore I can remeber will be added
Sent from my GT-I9300 On Official JB
wedgess said:
Lol ye i forgot to add it in to op thanks for reminding me.
Edit- Put of couple of more things into 3rd post, anymore I can remeber will be added
Sent from my GT-I9300 On Official JB
Click to expand...
Click to collapse
very smooth, but has a problem the wifi seems works not stablely, sometimes cause reboot and sometimes cannot been disconnected.
feelow said:
very smooth, but has a problem the wifi seems works not stablely, sometimes cause reboot and sometimes cannot been disconnected.
Click to expand...
Click to collapse
Did you reboot? I have no problem with wifi. Only at first boot I had this problems.
Sent from my Xperia Ray using xda premium
testing...
(thx for your effort sofar :good
1st impression: lower scores on Antatu than with standard PAC-kernel.
i'd like to have a better battery life, so now testing "virtuous/sio, 806/134".
or are there better suggestions?
(like to keep a snappy Ray )
"Custom voltage control supported" not working. The PAC romcontrol says: not supported by your kernel
Wechy77 said:
"Custom voltage control supported" not working. The PAC romcontrol says: not supported by your kernel
Click to expand...
Click to collapse
I don't think that part of RC has been activated....it also doesn't work with the kernel from champilnswimmsr's aokp build. I am using incredicontrol from the play store...but a lot of other apps will let you change the volts.
justmpm said:
I don't think that part of RC has been activated....it also doesn't work with the kernel from champilnswimmsr's aokp build. I am using incredicontrol from the play store...but a lot of other apps will let you change the volts.
Click to expand...
Click to collapse
is there a list of recommended (or safe) voltage settings for the Ray?
Yes i know in rom control it still says not supported not sure why but u can always use SetXperia app from playstore to change it
And poster who asked about safe settings. Try down step -25mv at a time and see what is stable for you. If u get reboots then its obviously not stable.
Or else safest way if your wortied then dont undervolt at all. What maybe stable for someone might not be stable for you
Sent from my GT-I9300 On Official JB
I tryed thi kernel for my CM10 rom. And it seems buggy. Antutu points is lower than on stock kernel, and the perfomance is bad too, including games and UI.
_TREM_ said:
I tryed thi kernel for my CM10 rom. And it seems buggy. Antutu points is lower than on stock kernel, and the perfomance is bad too, including games and UI.
Click to expand...
Click to collapse
lol ok first off this is not stock kernel so you can't compare it to STOCK,Ssecondly i'm not sure what governors, io scheds and frequencies you are using. People who have tested have reported it being smooth and performance being greater not worse. Also I obviously use my own kernels on my own device and my experience is the complete opposite of yours. You sure it not 'your' CM10 rom. Buggy!! how? please do elaborate.
Anyone else confirm what the above pster has said ??
Using it now for some hours with Virtous and SIO and looks very promising. Speed of ROM is for me the same and I dont play games. But Battery seems to be great! I left the screen off a lot and have like 95% deep sleep, so pretty well battery ;D I use FXP142.
EDIT: just tested the game "granny smith'. Runs good! But I didnt test with another kernel.
[GER]Roxxor said:
Using it now for some hours with Virtous and SIO and looks very promising. Speed of ROM is for me the same and I dont play games. But Battery seems to be great! I left the screen off a lot and have like 95% deep sleep, so pretty well battery ;D I use FXP142.
EDIT: just tested the game "granny smith'. Runs good! But I didnt test with another kernel.
Click to expand...
Click to collapse
Ye virtuous is supposed to be more battery friendly then smartassv2
Intellidemand2 would be best performanced based but not the best on battery.
Sent from my GT-I9300 On Official JB
Thanks for the great kernel, really liking the Superbad governor.
I left my ray on during the night, to see what the battery would do...
(i mean screen off, but wifi+3g on)
from 100 to 74% in 9 hours.
8:40 deep sleep (94%)
806/134 virtuous/sio
I cannot compare btw, usually i charge at nighttime, but usage seems quite high?
was hoping for about 90% battery left or something, but like i said, not tested with other kernels.
I think I caught a "wifi" bug. Yesterday the wifi cut out and wouldn't turn back on...after rebooting everything was fine for a few hours and then wifi stopped working. I am not sure if it is really wifi or something else, because if I go into settings I see that wifi is on, I can turn it off but it won't turn back on...if I leave settings and pull down the status bar it show wifi as "on"...when I go back into settings it shows wifi as "on"...and no networks are shown that can be connected. You can do this over and over and every time you reenter settings it says wifi is on. I think it also causes a wakelock from wifestatemanager.
I went into recovery and formatted system and reinstalled PACman v15...a few hours later the problem returned. I flashed in a different kernel and it seemed OK....now I have your kernel on ChampionSwimmer's AOKP ROM and I am waiting to see if the bug returns.
I am not sure if there is something specific I do that activates the bug, so I don't have a logcat of it happening. I attached a logcat of me trying to turn on and off wifi in settings. I also attached the battery stats report from Better Battery Stats in case the wakelock is informative....
Be Sure ! If you benefit to the other's you will see it's effect.
Imam Ali
LG G3_D850/1/2/5 - VS985 STOCK KERNEL
Gabriel-5
LOLLIPOP 5.0
BORN TO BE SMOOTHER AND SAVE MORE BATTERY
THIS WASN'T POSSIBLE WITHOUT @nikhil18 & @ZaneZam KIND ANSWERS
AND @airlessproject PATCHES AND @dorimanx
all credits goes to
@nikhil18, @airlessproject @ZaneZam @Tectas @faux123 @HolyAngel
and all friends in XDA have shared their knowledge
and i'm not a developer, just did for hobby
>> my git is here <<
Special Thanks to my Teammates
@BuLLeT_93 & @horsetastic
FLASH AT YOUR OWN RISK !!
CURRENT VERSION : Gabriel-0.8.3
Main Download Folder-MEGA
0.8.3 ( 21.12.15)
*Power suspend removed
*State notifier added (thx to neobuddy), mods were changed to work with S-notifier
*Hotplugs were updated to latest Dev's changes and working with S-notifier
*Cpufreq limiter updated to v 5.1
*Cputime updated
*Cpufreq were updated to latest Dev's change
Now it looks smoother with same kernel config :good:
0.8.2 ( 20.12.15)
*Initial Nitro version boot fail fixed
0.8.2 ( 12.11.15)
* Linux Kernel Version 3.4.110
* Bunch of Debug options were Removed, This will save CPU Cycle
* zzmoove updated to 1 beta 8
* zzmoove Thermal control is activated ( you can control it as well in cpufreq parameters, eg choose game profile and see its options . It will reduce CPU clock when reach Target Temp )
* zzmoove Native Hotplug : disable other hotplug driver and turn it on and vice versa
* Hotplugs and Cpu Governors were Updated
* Power suspend 1.7
* KCal were Updated
* Compiled with updated UBERTC 5.2.x
* Available in 2 version : "Default ( battery )" have stock parameters while "Nitro" is Tuned for Better Performance ( It's boosted version of Default or Battery version thus it can eat more battery and it's initial Nitro Release thus some parameters should be tune More )
Change-log Gabriel-Tastic 290715
Change-log 0.8.1-b 060815
Change-log 0.8.1-d 080815
UKM (synapse) mod by BuLLeT_93 - 120815
Synapse + UKM Package
send me your log if you got
any problems,see this instruction
for getting the log
Battery tips&tricks
This post will update with your informations and experiences about battery saving
[MOD] LCD TWEAKS (FPS - RESOLUTION) for Better Battery Life
[MOD] Lower AutoBrightness Values
[GUIDE] 'AUTOBOTS' Kernel Settings [Gabriel kernel] [Battery Life]
MODEM
The modem act as the Software bridge between the RIL driver and your phones Hardware (correct me if i am wrong)
Because of that you can directly (more or less) control how your phone signal is behaving by trying different Modems till you find one that suits your needs.
The modem images does have an impact on wifi, mobile networks and how fast they are able to scale up or down, battery runtime, as well as call quality sometimes.
While the g3 got a good signal most of the time the changes might not be this big, compared to other phones and their modem differences, but it is still a good thing to know you got the best reception possible
For me the 20A and 20p Modems are working better then the most others... But there will be people with other carriers etc for whose another might be the right!
@empulse92 said
here is his great MODEM collection
ZZMOOVE Profile Numbers
currently available profiles by ZaneZam and Yank555
------------------------------------------------------------------------------------------------------------------------------------------
(1)'def'-> Default -> will set governor defaults
------------------------------------------------------------------------------------------------------------------------------------------
(2)'ybat'-> Yank Battery -> a very good battery/performance balanced setting DEV-NOTE: highly recommended! ------------------------------------------------------------------------------------------------------------------------------------------
(3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving ------------------------------------------------------------------------------------------------------------------------------------------
(4)'zzbat'-> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving DEV-NOTE: might give some lags! ------------------------------------------------------------------------------------------------------------------------------------------
(5)'zzbatp'-> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting DEV-NOTE: recommended too! ------------------------------------------------------------------------------------------------------------------------------------------
(6)'zzopt'-> ZaneZam Optimized -> balanced setting with no focus in any direction DEV-NOTE: relict from back in the days, even though some people still like it!
------------------------------------------------------------------------------------------------------------------------------------------
(7)'zzmod'-> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online ------------------------------------------------------------------------------------------------------------------------------------------
(8)'zzperf'-> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast down scaling/hotplugging behaving ------------------------------------------------------------------------------------------------------------------------------------------
(9)'zzinz'-> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! ------------------------------------------------------------------------------------------------------------------------------------------
(10)'zzgame'-> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay ------------------------------------------------------------------------------------------------------------------------------------------
(11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings
For change zzmoove profiles
use this tut
thanks to @chacho_2me
Bullet_93 config
CPU
Max frequency 2457
Min frequency 268
Gov Lionheart with:
UP TRESHOLD 80
DOWN THRESHOLD 75
FREQ STEP 5
SAMPLING RATE 20000
Sync frequency 1190
CPU HOTPLUG
Mp Decision OFF
Intelliplug ON Balanced Profile
Histerysis 12
THERMAL
Control core and VDD Restricion both ON
GPU
Simple_ondemand Governor
Max frequency 389mhz
IO SCHEDULER
Tripndroid
Read Ahead 4096kb
VIRTUAL MEMORY
Dirty Ratio 10
Dirty Background Ratio 5
Dirty Expire 1000
Dirty Writeback 3000
Min free 4096
Overcommit ratio 50
Swappiness 70
Vfs_cache_pressure 50
Zram 600mb
Kcal config :
Saturation 38
Screen Hue 24
Value 128
Contrast 138
horsetastic bubmlemee v2
zzmoove profile number 5
Profile 5 tweaks;
Down threshold 80
Sleep down threshold 80
Freq limit sleep 268mhz
Sampling rate 100000
Smooth up 70
Up threshold 85
cpu max 2265mhz
cpu min 268mhz
multicore power saving disabled
input boost frequency 1267mhz
cpu voltage -25
mpdecision off
intelliplug on conservative
touch boost off
cpu max screen off frequency 268mhz
thermal control intellithermal
gpu msm-adreno-tz
gpu max 578mhz
i/o scheduler fiops
read ahead 2048
low memory killer very aggressive
Virtual memory zram to 0
TCP congestion algorithm westwood
Horestastic Bumblebee V3
CPU
Max Freq - 1958mhz
Min Freq - 268mhz
Governor - zzmoove (Profile Number 5 zzbatp)
Governor Tunables Changes;-
freq_limit_sleep 268mhz
sampling rate 100000 or 80000 if laggy
smooth up 75
smooth up sleep 100
up threshold 85
up threshold sleep 100
Multicore Power Saving - Disabled
CPU Boost Interval - 10ms
Sync Threshold - 1190mhz
Input Boost Freq - 1267mhz
CPU Voltage - Global -60
CPU Hotplug Either stock zzmove hotplug with both disabled or Intelliplug (both are great)
Balanced Profile
Touch Boost - Disabled (Enable if laggy)
Hysteresis Value - 12
Threshold Value - 722
CPU Max Screen Off Freq - 268mhz
Thermal - Core Control & VDD Restriction Enabled - All stock values
GPU Governor - Simple ondemand
Max Freq - 578mhz
Laziness - 5
Ramp Threshold - 4
I/O Scheduler - fiops
Read ahead - 2048
Low memory Killer - Very aggressive
Virtual Memory
dirt ratio - 10
dirty background ratio - 5
dirty expire centisecs - 1000
dirty writeback centisecs - 3000
min free kbytes - 4096
overcommit ratio - 50
swappiness - 30
vfs cache pressure - 50
laptop mode - 0
ZRAM - 200 (but this is personal choice really)
TCP Congestion Algorithm - Westwood (Or Cubic if desired)
Looks interesting...
Do you plan on making versions for the other variants? Like my D851
leald said:
Do you plan on making versions for the other variants? Like my D851
Click to expand...
Click to collapse
yea,i've an exam in next 2 week,i'll working on it
mostafaz said:
yea,i've an exam in next 2 week,i'll working on it
Click to expand...
Click to collapse
Looks promising...please work on sound quality also
Off topic:
Don't you have konkur?
cause i have...in 2 weeks
Wish you the best
reza1995live said:
Looks promising...please work on sound quality also
Off topic:
Don't you have konkur?
cause i have...in 2 weeks
Wish you the best
Click to expand...
Click to collapse
yea -wish ya luck
actually other kernels have faux sound and it's good enough, but i want do something different and add other sound engine,but in next releases
mostafaz said:
yea -wish ya luck
actually other kernels have faux sound and it's good enough, but i want do something different and add other sound engine,but in next releases
Click to expand...
Click to collapse
Don't worry I'm sure we all can wait...focus on your exam cause I know how important that is.
nice )
i like the 268mhz cpu step and gpu 27idle.
i missed that when i switched phones from oneplus to lg g3. thanks for the kernel will install.
i guess i can just flash it over my chupachups kernel?
What governors are in this Kernel?
Does not work with 20p, it restarts the phone all the time.
horsetastic said:
What governors are in this Kernel?
Click to expand...
Click to collapse
Smartmax, Smartmax-eps (extreme power saving), conservative (up/down treshold added), interactive(patched)
and other stock govs
No worry about the governors. I flashed it haha. Working nicely with cloudy 2.2 so far. Not been long of course. Any recommended settings for battery life?
I'm set on Fiops, 2048 read ahead, smartmax eps, 300000 Max off screen, 2.5ghz Max clock, simple on demand GPU, under clocked to 330. And some other bits I think.
Derpling said:
Does not work with 20p, it restarts the phone all the time.
Click to expand...
Click to collapse
thx for reporting
do you have d855 variants?which rom?
i got reset issue while trying to add cpu over clock feature,but now its ok,maybe i should reduce oc values
horsetastic said:
No worry about the governors. I flashed it haha. Working nicely with cloudy 2.2 so far. Not been long of course. Any recommended settings for battery life?
I'm set on Fiops, 2048 read ahead, smartmax eps, 300000 Max off screen, 2.5ghz Max clock, simple on demand GPU, under clocked to 330. And some other bits I think.
Click to expand...
Click to collapse
good
try change tcp cong to cube if u loose more power on wifi or data,but its good with that.
i will update 2nd post with batt tips,with info users will tell me,thx
OK great thanks. Any plans to add more governors? More battery saving options the better haha. Phone is a battery beast.
5 days before we didnt have any kernel dev now we have two....thanks for the kernel...also if you can post your kernel to a more known and "better" site than this arabic something site with slow speed!!!it could be great!!!thanks!
horsetastic said:
OK great thanks. Any plans to add more governors? More battery saving options the better haha. Phone is a battery beast.
Click to expand...
Click to collapse
yea,i will-but first must be sure that not buggy and works fine the release
also you can tune governor, got 5 hrs sot,50% brightness,camera,some call and text surfing the net and g+(cubic tcp)-max scr 960-260~2500 cpu-27~578 gpu-io sched 512 rowzram off-hot plug 1 -1 ,uv 25
give it a try
Weirdly the smartmax and smartmax eps governors don't seem to be very battery friendly lol.
On engines kernel Lionheart was good when on paper it shouldnt really be but Wheatley and DanceDance were bad when they should of been good. I don't get it?
Introduction
This is a kernel for XT1572/XT1575 built from stock sources (marshmallow-6.0.0-release branch) with cherry picks from other kernels and some ports/mods done by me. It started as a personal build tailored to my preferences but just thought I'd share in case somebody might find it useful. My main goal is building the smoothest kernel I can get so performance is top priority.
This kernel is for stock ROM MPH24.49-18*
Disclaimer
Although I have experience with Linux kernels on desktops and servers this is my first Android kernel. I've been running this kernel on my XT1572 for a few days and seems pretty stable but that doesn't mean it's risk free. In fact I wouldn't dare to install it if you don't have a proper backup and some basic skills to deal with unexpected situations.
Features
Aroma Installer
CPU profile scripts (see this)
Color control (KCAL)
Frandom
Updated to kernel version 3.10.101
Overclocking (a53: 1536MHz a57:2016MHz)
Underclocking (302MHz)
Additional CPU governors (ElementalX, Intelliactive, Lionheart, BioShock, BluActive, Wheatley, InteractiveX/Interactive, Impulse, Zzmoove)
Additional I/O schedulers (SIO, FIOPS, Zen, BFQ, SIOPLUS)
Bricked Hotplug
Updated ZRAM driver
Updated Lowmemorykill driver
Basic init.d support
KSM and UKSM
Voltage readings
Fsync on/off
Touchboost on/off
Vibration control
KEXEC Hardboot (MultiROM support)
Patched cdrom code (DriveDroid support)
DoubleTap2Wake/Sweep2Wake/Sweep2Sleep (EXPERIMENTAL)
Power efficient workqueues
Support for additional FS: NTFS, NFS, CIFS
Additional Xpad drivers (read this)
Device as USB trackpad/keyboard driver (read this)
WiFi module optimizations
Many minor optimizations
Optimization flags
UBER Toolchain 4.9
Installation instructions
Download ZIP and flash from TWRP/Flashify. Read the following notes carefully before flashing.
Important notes:
This kernel is still experimental, make a proper backup first
You need to be rooted
DO NOT play with DT2W/S2W before reading the release notes and the update
In case you want to tune some parameters (ie: CPU frecuencies) I recommend you install EX Kernel Manager, Kernel Adiutor or Kernel Adiutor-Mod.
If you're using Kernel Adiutor to control vibration or TCP congestion read this.
Questions? Read the FAQ before posting.
Download
Latest version is v0.14 (see release notes)
https://www.androidfilehost.com/?w=files&flid=49225
Donations
Although quite a deal of the important work has been done by the developers mentioned in the Credits section I spend many hours working on this. If you feel like helping me out I'd appreciate some tiny donations to cover some minor expenses.
Thanks to all of you who have donated, it's very much appreciated.
Profiles
One of the FAQ in most kernel related threads is "What are the best settings for .....?". This is the 10 million question since the usage pattern can be very different for each user. However, I understand less experienced users will appreciate some hints in this department, so that's why I'm posting some basic settings you can use as a starting point.
It's your job to further tune them to suit your needs. You should be able to modify these settings with whatever Kernel Control App you like the best, although not all settings are available in every app, in such a case tune those you can. The list is not complete (just the most importante settings) and is loosely based on Kernel Adiutor arrangement.
Please, keep in mind these are subjective values (based of personal preferences or popularity) and some people might like other settings for whatever reasons.
Performance Profile: Very smooth and responsive but average battery life
CPU
LITTLE Cluster
CPU Governor: bluactive
CPU Max Frequency: 1536MHz
CPU Min Frequency: 302MHzBIG Cluster
CPU Governor: bluactive
CPU Max Frequency: 2016MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.CPU Boost
Input Boost Frequency Core 1: 960MHz
Hotplug
MSM MPDecision
Minimum CPU online: 2
Maximum CPU online: 6
Max Cores Screen Off: 2
Idle Frequency: 384MHz
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On
GPU
Max Frequency: 600MHz
Min Frequency: 180MHz
Govenor: cpufreq
I/O
Scheduler: noop
Read-ahead: 1024KB
Balanced Profile: Above average battery life with good performance on most situations
CPU
LITTLE Cluster
CPU Governor: interactive
CPU Max Frequency: 1440MHz
CPU Min Frequency: 302MHzBIG Cluster
CPU Governor: interactive
CPU Max Frequency: 1632MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.CPU Boost
Input Boost Frequency Core 1: 960MHz
Hotplug
MSM MPDecision
Minimum CPU online: 2
Maximum CPU online: 5
Max Cores Screen Off: 2
Idle Frequency: 768MHz
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On
GPU
Max Frequency: 600MHz
Min Frequency: 180MHz
Govenor: msm-adreno-tz
I/O
Scheduler: noop
Read-ahead: 1024KB
Battery Profile: Good battery life at the expense of somewhat limited performance
CPU
LITTLE Cluster
CPU Governor: ondemand
CPU Max Frequency: 1440MHz
CPU Min Frequency: 302MHzBIG Cluster
CPU Governor: ondemand
CPU Max Frequency: 1632MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.CPU Boost
Input Boost Frequency Core 1: 960MHz
Hotplug
MSM MPDecision
Minimum CPU online: 1
Maximum CPU online: 3
Max Cores Screen Off: 2
Idle Frequency: 960MHz
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On
GPU
Max Frequency: 450MHz
Min Frequency: 180MHz
Govenor: simple_ondemand
I/O
Scheduler: noop
Read-ahead: 1024KB
Thanks To/Credits
vadimtk
flar2
franciscofranco
nimrodsv
anarkia1976
savoca
myfluxi
AudioGod
osm0sis
nychitman1
jollaman999
imoseyon
showp1984
HashBang173
neobuddy89
rehpyc
Alcolawl
soniCron
Spasticdroid
XDA:DevDB Information
Frankenclark, Kernel for the Moto X Style (Pure)
Contributors
dirtyhank
Source Code: https://github.com/dirty-hank/frankenclark/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 0.14
Created 2016-01-10
Last Updated 2016-10-11
Changelog
v0.14 (2016-08-29)
Proper KCAL control (thanks to @Spasticdroid)
Updated xpad driver for compatibility with gamepads/controllers (thanks to @Spasticdroid)
Driver to use device as USB trackpad and keyboard (thanks to @Spasticdroid)
Misc minor updates (see github)
100Hz version uses stock compiler flags
v0.13 (2016-06-21)
Update to Linux Kernel 3.10.102
Misc minor updates (see github)
New start-up CPU governor profiles: bluactive, maddog and silverfish
v0.12 (2016-05-15)
Disable DT2W/S2W while phone call is in progress
New CPU governors: impulse, zzmoove
New and updated CPU profile scripts
Runtime CPU profile switcher script (see release notes)
Minor changes to Aroma installer
v0.11.1 (2016-05-01)
Aroma Installer update (see release notes)
v0.11 (2016-04-27)
Aroma Installer
Better camera focus
Less CPU usage from DT2W/S2W
Minor updates and bugfixes
v0.10 (2016-04-03)
Updated lowmemorykiller driver
BFQ and SIOPLUS I/O schedulers
Updated ZRAM driver (on by default)
User togglable WLAN wakelocks
Basic init.d support (see release notes)
Misc minor updates
v0.9 (2016-03-20)
Update to Linux Kernel 3.10.101
Bug fixes
Changes from Google update to N5X and N6P (see release notes)
v0.8 (2016-03-06)
Update to Linux Kernel 3.10.99
Power efficient workqueues
NTFS support
NFS and CIFS support (you'll probably need additional user space binaries)
v0.7.1 (2016-02-28)
Workaround for the dimmed screen upon unlock bug when DT2W/S2W is enabled
v0.7 (2016-02-21)
Hotplug thresholds tuned to keep BIG cores offline more often
KEXEC Hardboot (MultiROM support)
Patched cdrom code (full DriveDroid support)
DoubleTap2Wake/Sweep2Wake/Sweep2Sleep (HIGHLY EXPERIMENTAL, Read this)
v0.6 (2016-02-07)
Vibration control (non-haptic)
Relaxed CPU macros for better power usage
File hosting now on AndroidFileHost
v0.5.2 (2016-02-03)
Fixed USB and WiFi Tethering
Minor tweaks
v0.5.1 (2016-02-01)
Changes to installer
v0.5 (2016-01-31)
Update to Linux Kernel 3.10.95
InteractiveX governor (as patches to the interactive gov)
Bricked Hotplug
KSM and UKSM (disabled by default, use Kernel Adiutor to enable)
Many minor optimizations
WiFi module optimizations
Modules recompilation
Disabled core_ctl (due to broken module after some internal changes to kernel)
Voltage readings (any attempt to modify values is silently ignored)
v0.4.1 (2016-01-24)
Prevent msm_performance from messing with the user selected min/max CPU frequencies
v0.4 (2016-01-23)
New CPU governors (ElementalX, Intelliactive, Lionheart, BioShock, BluActive, Wheatley)
New I/O scheduler (Zen)
Default I/O scheduler set to noop with a read ahead of 1024kb
Fixed bug CVE-2016-0728
Minor optimizations
Introduce ZIP installer (Anykernel2)
v0.3 (2016-01-18)
Color control (KCAL)
frandom support
New optimization flags
ZRAM disabled by default
v0.2 (2016-01-14)
Updated to Linux kernel 3.10.94
Underclocking (302MHz)
v0.1 (2016-01-10)
First public version
FAQ
I get random reboots, what is happening?
This kernel overclocks both clusters by default (a53: 1536MHz a57:2016MHz) and although this is very safe for most devices some CPUs are in the lowest spot of the binning spectrum and can't handle O/C very well. In such a case use a kernel control app (see the OP for references) to limit the maximum CPU frequencies, play with them until you find stable values for your device.
What are the best settings for battery life/performance/whatever?
That's hard to tell as every user is different. You can find some basic profiles in the OP you can use as a starting point. Notice the differences between then and build you own.
Why do some BIG cluster settings display N/A?
Why can't I change some settings on the BIG cluster?
If you get N/A or weird values when trying to change settings on BIG cores it means both are offline ("hotunplugged"). To work around this select "performance" governor, make your desired changes and then select you previous governor. You can also disable hotplug, make the changes, and enable hotplug again.
DoubleTap2Wake doesn't work sometimes. How can I get it to work all the time?
When device goes into suspend mode first tap is often missed (I suspect this is caused by Moto Sensor Hub). If you tap three times and get the timing right you'll probably make it work most of the time. As an alternative, Sweep2Wake works almost all the time
DT2W/S2W is acting weird or disabling itself
Make sure Moto Display is disabled. Open the Moto app, click on the stars in the top right corner, select Display and set to Off
Can I use this kernel in ROM X/Y/Z?
This is for stock ROM MPH24.49-18 only. It'll probably work on any stock based ROM but not guaranteed.
I use stock ROM but WiFi is not working
Due to some internal changes all modules had to be recompiled (WiFi included). In order to expose the new modules without modifying the system partition I had to implement a hack that requires root. Make sure you're properly rooted.
What's the deal with ZRAM?
ZRAM is a technique to increase memory available to the apps at the expense of CPU time. Memory space from apps not being used is compressed into a memory swap area and uncompressed on the fly whenever needed. As you can imagine this compress/uncompress process burns CPU cycles, potentially leading to worse battery life, lag and higher temperatures. Since this device comes with 3GB I can only think of one scenario where ZRAM can be beneficial: heavy multitaskers who care more about apps not reloading than battery life. For the rest of users enabling ZRAM doesn't make much sense in my opinion, and that's why it's disabled by default.
UPDATE: v0.10 includes an updated ZRAM driver that improves performance significantly. So much so that the benefits seem to outweigh the costs and it's been enabled by default.
What's the deal with KSM/UKSM?
Since many apps use the same libraries/resources it's very likely that at any given time there are multiple copies of the same data on different memory locations. KSM/UKSM tries to take advantage of that fact by scanning memory pages periodically and consolidating that multiple copies into a single shared copy. Much as like ZRAM it can have a good effect on heavy multitasking performance but at the expense of CPU cycles, and thus it's only recommended in the same scenario as ZRAM. Disabled by default
Ok, so do I enable ZRAM/KSM/both/neither?
I honestly think most users will be better off not using neither. If you feel like you need extra RAM I'd try KSM first, then ZRAM. Using both at the same time is overkill unless you are an ultra multitasker, in which case you should probably get a 4GB device anyway
How do I get WiFi on 6.0.1?
It's a modem version mismatch issue, you need to downgrade the modem. See this post.
Love to see more options! Thanks for sharing!!
Yeah this will be very good
Only One think that would be awesome try to implement the double tap to wake
Awesome! More custom kernels are always welcome are there many governors to choose from?
krohme said:
Awesome! More custom kernels are always welcome are there many governors to choose from?
Click to expand...
Click to collapse
Right now only the stock governors are available but I plan on adding a few
Can't we install it through twrp???
guraki said:
Can't we install it through twrp???
Click to expand...
Click to collapse
Yes, TWRP supports boot image flashing
I lost root after the kernel install....
---------- Post added at 03:22 PM ---------- Previous post was at 02:39 PM ----------
Seems to work fine!!! Any battery life expectations?
guraki said:
I lost root after the kernel install....
---------- Post added at 03:22 PM ---------- Previous post was at 02:39 PM ----------
Seems to work fine!!! Any battery life expectations?
Click to expand...
Click to collapse
As I said on the OP my main goal is performance/smoothness, so I haven't specifically sought better battery life. That being said I'm getting about the same battery life as stock with better performance, that works for me.
Nevertheless, I'm very interested on how it works for other configurations and usage patterns.
@dirtyhank could you please add hotplugging to the kernel? Preferably one that allows you to select how many cores to run as well as which ones, as in run the two A57s and turn off the four A53s. Currently I'm running two A53s at 1.2Ghz and the remaining four cores are always off.
The screenshot is from Lolipop, and it is the only reason why I havent upgraded to MM. Turning off cores definitely makes a difference on battery life.
Also, if possible, adding a lower speed to the min speed. Will gladly test anything you thow my way. Thanks in advance.
Is there any chance for a CM13 version and a DT2W fork from elementalx?
sir-harlekin said:
Is there any chance for a CM13 version and a DT2W fork from elementalx?
Click to expand...
Click to collapse
DT2W maybe, CM13 unlikely.
very nice thank you! slowly slowly we getting more and more things. Just making sure this is only for stock based rom/s Thanks!!
cerobles1 said:
@dirtyhank could you please add hotplugging to the kernel? Preferably one that allows you to select how many cores to run as well as which ones, as in run the two A57s and turn off the four A53s. Currently I'm running two A53s at 1.2Ghz and the remaining four cores are always off.
The screenshot is from Lolipop, and it is the only reason why I havent upgraded to MM. Turning off cores definitely makes a difference on battery life.
Also, if possible, adding a lower speed to the min speed. Will gladly test anything you thow my way. Thanks in advance.
Click to expand...
Click to collapse
What kernel are you using on LP?
patt2k said:
very nice thank you! slowly slowly we getting more and more things. Just making sure this is only for stock based rom/s Thanks!!
Click to expand...
Click to collapse
Yep, stock ROM, I'll edit the OP
dirtyhank said:
Yep, stock ROM, I'll edit the OP
Click to expand...
Click to collapse
Awesome gonna flash this soon
I hope a port for CM based roms might be possible in the future! Thanks for sharing your work and replying so quickly!
dirtyhank said:
Yep, stock ROM, I'll edit the OP
Click to expand...
Click to collapse
Getting bootloop on TruePure rom 2.4. Anything I can try to avoid bootloops?
Revive your Samsung Galaxy S8 / S8 Plus phone in 2023!
Fastest custom kernel world-wide with lots of innovative features!
Supports all S8 / S8+ Plus / Note8 Exynos Variants Running Android 9
A2N Kernel Special Features
Google Play - certified device
SafetyNet: OK
100 % compatible with latest Magisk
Banking apps works fine
Charger control for faster charging
Battery IDLE and battery care
Stable CPU OC up to 4 x 2,8 GHz
Stable GPU OC up to 20 x 839 MHz
Adjustable CPU / GPU - Max Temp
Adjustable Battery Max Temp
Voltage control for all clocks (CPU lit/big - GPU - RAM - bus clocks etc..)
Fixed time to full battery
Flashlight tuning
Wireguard backend support - always latest version
DriveDroid backend support
Dex with any HDMI adapter - thanks @ Barna Keresztes
Samsung Dex: WQHD support with every adapter - thanks @ craftingmod
Higher SOT - with new battery up to 10 h, with old battery see screenshots
Wi-Fi calling & VoLTE works
S8: RAM upgrade - 3679 @ 3717 MB
Note8: RAM upgrade - 5339 @ 5376 MB
SELinux in permissive mode - thanks @Noxxxious
DRM - L3 stable streaming
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!
DOWNLOAD
Installation from Scratch
(assuming you are using latest stock ROM)
Settings --> Phone Info --> Software info --> build number (tap 7 times)
Tap 2 times the back-key
Developer settings --> enable "OEM unlock"
Download TWRP for S8 / S8+ / Note8 accordingly (the .tar version, for ODIN flash over PC)
Download latest A2N Kernel for S8 / S8+ / Note8 or for Korean variant: S8 / S8+ / Note8 accordingly and put the file in USB-thumb or in micro-sd-card
Download latest Magisk.apk
Rename Magisk.apk to Magisk.zip and put the file in USB-thumb or in micro-sd-card
Power off
Boot in Download-mode
Flash the .tar twrp file with ODIN (disable "auto-reboot" and "reset time")
Reboot directly to TWRP
wipe ---> format data ---> "yes" (type yes) and ENTER.
Flash latest A2N Kernel
Flash Magisk.zip
Optional but recommended: flash AdAway_hosts_patcher_g95x.zip (battery drain fix for vanced YouTube and vanced YT music)
Reboot to system and enjoy !
Note: first boot takes around 15 minutes for proper app optimization !
Update A2N Kernel
Download and flash latest A2N Kernel for S8 / S8+ / Note8 or for Korean variant: S8 / S8+ / Note8 accordingly
Flash Magisk.zip
Reboot to system and enjoy !
Current Bugs and Changelog
FAQ
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
000webhost - Webhosting
@Noxxxious for the nice disclaimer text
XDA members - Reporting bugs
Minimum stable version: R54
Contributors
ace2nutzer
Source Code: https://github.com/ace2nutzer/Samsung_dreamlte_Kernel
Buglist - A2N Kernel R61
None
Changelog
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
Older Changelogs
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!)
RAM: optimized CMA/RBIN usage (more efficient RAM usage)
CPU: fixed cpu-hotplug instabilities
CPU: added ability to hotplug big CPU or only while suspend(screen OFF)
Screen: reverted to 214MHz while screen ON - caused screen tearing while scrolling in chrome-browser
Fixed "memory allocation failure order: 0" warnings
Added upstream patch to fix read_ahead_kb performance
Overall improvements (performance, battery life, memory management etc)
Improved boottime
A2N Kernel Control V55
GPU: re-added 260MHz-step
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
Optimized USB-OTG driver
USB: improved speed for USB-tethering
Added support for F2FS
A2N Kernel Control V. 4.6
Screen: added HDMI/DEX custom resolution changer (to fix low resolution / refresh rate)
Misc: fixed MTP driver version Android
Screen: moved input booster to CPU
Source update
Reduced startup time
Improved stability
Fixed bugs
Kernel V. 2022.04.06
Stability fix
Improved memory management
Improved multitasking
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
I/O: increased throughput - read_ahead_kb: 32 @ 256 KB
Overall improvements (speed, responsiveness, lagfree and battery life)
A2N Kernel Control V. 4.4
RAM: added page-cluster and read_ahead_kb tunable
Updated defaults
Kernel V. 2022.03.05
Improved stability - needs some testing now
Improved memory management
Improved performance & battery life
CPU/GPU: updated DVFS driver - reverted to max 95 °C
CPU/GPU: updated ondemand boost logic - uses only min/max freq to reduce freq switching related lags !
Fixed potential deep sleep issues
NET: moved L2TP & Wireguard to modules - (you can load modules over A2N full app or over init.d script)
GPU: updated driver - memory allocation improvements
USB-OTG: should support now also USB 2.0 & USB 1.1 devices (not only USB 3.0) - needs testing
Dex: re-added patch: enable Dex with any HDMI adapter (was accidentally removed)
Experimental: Dex: support more resolutions
A2N Kernel Control V. 4.3
Network: added L2TP & Wireguard support
Updated defaults
Bug fixes
Improved stability
Kernel V. 2022.02.06
Improved stability
Optimized memory management
Enabled CONFIG_USER_NS
Added Note8 support - (DUG6)
Source code update --> DUG6 (jul 2021)
Tiny updates to WiFi and HMP driver
Charger Control: increased default Max charging Temp: 35 @ 40 °C
A2N Kernel Control V. 4.2
Added Note8 support
Kernel V. 2022.02.02
Improved stability
HMP: improved for battery and speed
CPU/GPU: updated DVFS driver
Lib: sync LZ4 LZO ZLIB with LK 5.16.2
Ashmem: sync with AK 4.9.194
Samsung Dex: WQHD support with every adapter - thanks @ craftingmod
A2N Kernel Control V. 4.1
Improved stability
Updated defaults (swappiness=175)
CPU/GPU: DVFS Max 95 @ 100 °C
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
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
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
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)
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
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)
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 )
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)
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
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
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
FAQ
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
Download stock kernel for bug reference: S8 / S8+ / Note8
BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!
Play playstore app support only galaxy ace 2 ?
unfortunately something went wrong with the s8 app release.
need to contact Google later.
please be patient.
are u going to release a version for sm-g955f? your kernel sounds rly interesting would appreciate that.
thanks! maybe yes ... if many users want it.
G95/ g955/ f/ n?
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
Thank you very much, I will continue to pay attention to it. I am G955N.
I have s8+ g955f. I know that it is only for s8 but anyway, I tried to test the kernel, it is booting up but I have no touch screen. I would be more than happy to test any test build if you decide to make it for s8+ too in the future.
Στάλθηκε από το SM-G955F μου χρησιμοποιώντας Tapatalk
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
I really cant wait to use it on s8+. Thx for your efforts #respectthedevs
G955f not available?
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
installed this kernel on my s8 g950fd,my sd card cant be identified
Why CRGH when latest build is CRK1(november) ?
Lmperio said:
installed this kernel on my s8 g950fd,my sd card cant be identified
Click to expand...
Click to collapse
Im same, g950f says its corrupted, flash another kernel and its back.
This kernel soynds very promising, can't wait to try it on my S8+ when it comes out for the S8+?
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.
----------------------------------------------------------------------------------------------------------------------------------
Lmperio said:
installed this kernel on my s8 g950fd,my sd card cant be identified
Click to expand...
Click to collapse
53EYA said:
Im same, g950f says its corrupted, flash another kernel and its back.
Click to expand...
Click to collapse
Which Filesystem are u using on the sdcard?
pablonik79 said:
installed with rom deodex ambasadii deo mod v1.3 and it works perfectly,
Click to expand...
Click to collapse
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,
Click to expand...
Click to collapse
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?
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
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:
Revive your Samsung Galaxy Note8 phone in 2023!
Fastest custom kernel world-wide with lots of innovative features!
Supports all S8 / S8+ Plus / Note8 Exynos Variants Running Android 9
A2N Kernel Special Features
Google Play - certified device
SafetyNet: OK
100 % compatible with latest Magisk
Banking apps works fine
Charger control for faster charging
Battery IDLE and battery care
Stable CPU OC up to 4 x 2,8 GHz
Stable GPU OC up to 20 x 839 MHz
Adjustable CPU / GPU - Max Temp
Adjustable Battery Max Temp
Voltage control for all clocks (CPU lit/big - GPU - RAM - bus clocks etc..)
Fixed time to full battery
Flashlight tuning
Wireguard backend support - always latest version
DriveDroid backend support
Dex with any HDMI adapter - thanks @ Barna Keresztes
Samsung Dex: WQHD support with every adapter - thanks @ craftingmod
Higher SOT - with new battery up to 10 h, with old battery see screenshots
Wi-Fi calling & VoLTE works
S8: RAM upgrade - 3679 @ 3717 MB
Note8: RAM upgrade - 5339 @ 5376 MB
SELinux in permissive mode - thanks @Noxxxious
DRM - L3 stable streaming
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
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!
DOWNLOAD
Installation from Scratch
(assuming you are using latest stock ROM)
Settings --> Phone Info --> Software info --> build number (tap 7 times)
Tap 2 times the back-key
Developer settings --> enable "OEM unlock"
Download TWRP for S8 / S8+ / Note8 accordingly (the .tar version, for ODIN flash over PC)
Download latest A2N Kernel for S8 / S8+ / Note8 or for Korean variant: S8 / S8+ / Note8 accordingly and put the file in USB-thumb or in micro-sd-card
Download latest Magisk.apk
Rename Magisk.apk to Magisk.zip and put the file in USB-thumb or in micro-sd-card
Power off
Boot in Download-mode
Flash the .tar twrp file with ODIN (disable "auto-reboot" and "reset time")
Reboot directly to TWRP
wipe ---> format data ---> "yes" (type yes) and ENTER.
Flash latest A2N Kernel
Flash Magisk.zip
Optional but recommended: flash AdAway_hosts_patcher_g95x.zip (battery drain fix for vanced YouTube and vanced YT music)
Reboot to system and enjoy !
Note: first boot takes around 15 minutes for proper app optimization !
Update A2N Kernel
Download and flash latest A2N Kernel for S8 / S8+ / Note8 or for Korean variant: S8 / S8+ / Note8 accordingly
Flash Magisk.zip
Reboot to system and enjoy !
Current Bugs and Changelog
FAQ
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 closed.
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
Minimum stable version: R54
Contributors
ace2nutzer
Source Code: https://github.com/ace2nutzer/Samsung_dreamlte_Kernel
Buglist - A2N Kernel R61
None
Changelog
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
Older Changelogs
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!)
RAM: optimized CMA/RBIN usage (more efficient RAM usage)
CPU: fixed cpu-hotplug instabilities
CPU: added ability to hotplug big CPU or only while suspend(screen OFF)
Screen: reverted to 214MHz while screen ON - caused screen tearing while scrolling in chrome-browser
Fixed "memory allocation failure order: 0" warnings
Added upstream patch to fix read_ahead_kb performance
Overall improvements (performance, battery life, memory management etc)
Improved boottime
A2N Kernel Control V55
GPU: re-added 260MHz-step
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
Optimized USB-OTG driver
USB: improved speed for USB-tethering
Added support for F2FS
A2N Kernel Control V. 4.6
Screen: added HDMI/DEX custom resolution changer (to fix low resolution / refresh rate)
Misc: fixed MTP driver version Android
Screen: moved input booster to CPU
Source update
Reduced startup time
Improved stability
Fixed bugs
Kernel V. 2022.04.06
Stability fix
Improved memory management
Improved multitasking
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
I/O: increased throughput - read_ahead_kb: 32 @ 256 KB
Overall improvements (speed, responsiveness, lagfree and battery life)
A2N Kernel Control V. 4.4
RAM: added page-cluster and read_ahead_kb tunable
Updated defaults
Kernel V. 2022.03.05
Improved stability - needs some testing now
Improved memory management
Improved performance & battery life
CPU/GPU: updated DVFS driver - reverted to max 95 °C
CPU/GPU: updated ondemand boost logic - uses only min/max freq to reduce freq switching related lags !
Fixed potential deep sleep issues
NET: moved L2TP & Wireguard to modules - (you can load modules over A2N full app or over init.d script)
GPU: updated driver - memory allocation improvements
USB-OTG: should support now also USB 2.0 & USB 1.1 devices (not only USB 3.0) - needs testing
Dex: re-added patch: enable Dex with any HDMI adapter (was accidentally removed)
Experimental: Dex: support more resolutions
A2N Kernel Control V. 4.3
Network: added L2TP & Wireguard support
Updated defaults
Bug fixes
Improved stability
Kernel V. 2022.02.06
Improved stability
Optimized memory management
Enabled CONFIG_USER_NS
Added Note8 support - (DUG6)
Source code update --> DUG6 (jul 2021)
Tiny updates to WiFi and HMP driver
Charger Control: increased default Max charging Temp: 35 @ 40 °C
A2N Kernel Control V. 4.2
Added Note8 support
Kernel V. 2022.02.02
Improved stability
HMP: improved for battery and speed
CPU/GPU: updated DVFS driver
Lib: sync LZ4 LZO ZLIB with LK 5.16.2
Ashmem: sync with AK 4.9.194
Samsung Dex: WQHD support with every adapter - thanks @ craftingmod
A2N Kernel Control V. 4.1
Improved stability
Updated defaults (swappiness=175)
CPU/GPU: DVFS Max 95 @ 100 °C
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
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
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
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)
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
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)
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 )
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)
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
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
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
FAQ
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
Download stock kernel for bug reference: S8 / S8+ / Note8
BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!
is root necessary for this kernel to work?
Not mandatory if you are ok with kernel defaults, otherwise you will need to root your phone if you want to change kernel settings.
Root (Magisk) can be flashed anytime on top, without problems.
ace2nutzer said:
Not mandatory if you are ok with kernel defaults, otherwise you will need to root your phone if you want to change kernel settings.
Root (Magisk) can be flashed anytime on top, without problems.
Click to expand...
Click to collapse
thanks
I attempted for Note8 in HadesRom v2.0 so mobile phone froze on samsung login screen and it didn't turn on.
Anyone else having problems?
TheKaptan23 said:
I attempted for Note8 in HadesRom v2.0 so mobile phone froze on samsung login screen and it didn't turn on.
Anyone else having problems?
Click to expand...
Click to collapse
It work only with android 9 hades room its not android 9, it work for me
Do I need to toggle something for higher resolution in Dex? I only get FHD with Dex station and 3840x1600 monitor.
@ up
First you need to change screen resolution in your phone.
Change from FHD to WQHD.
@ all
Nice to know that it works guys ! - As i don't have an Note8, but S8.
As you can see in changelogs and as well in S8 development sub-forum, this in an old project for the S8/S8+ and finally i'd the time to add support for Note8 as well.
Motivation was literally one year ago as @VoLTaqe asked me if i could add support for Note8 since it's the same platform, with some small differences.
Btw: if you are running this kernel, please post the output of:
Code:
free -m
# and
cat /proc/meminfo
Since Note8 has different RAM size, so i can adapt the zRam(swap) script. Also you should get a few extra MB RAM since i've optimized RAM partition, or better say cleaned up some useless reserved regions in RAM.
Like this? I'm using hades Pie if that's important.
total used free shared buff/cache available
Mem: 5376 3702 24 79 1650 1564
Swap: 0 0 0
MemTotal: 5505848 kB
MemFree: 24484 kB
MemAvailable: 1601800 kB
Buffers: 24828 kB
Cached: 1586144 kB
SwapCached: 0 kB
Active: 3720316 kB
Inactive: 719312 kB
Active(anon): 2838796 kB
Inactive(anon): 71492 kB
Active(file): 881520 kB
Inactive(file): 647820 kB
Unevictable: 572 kB
Mlocked: 572 kB
RbinTotal: 0 kB
RbinAllocated: 0 kB
RbinPool: 0 kB
RbinFree: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 692 kB
Writeback: 0 kB
AnonPages: 2829292 kB
Mapped: 788908 kB
Shmem: 81632 kB
Slab: 203648 kB
SReclaimable: 78696 kB
SUnreclaim: 124952 kB
KernelStack: 48672 kB
PageTables: 104224 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2752924 kB
Committed_AS: 159413508 kB
VmallocTotal: 258867136 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
CmaTotal: 106496 kB
CmaFree: 0 kB
ace2nutzer said:
@ up
First you need to change screen resolution in your phone.
Change from FHD to WQHD.
Click to expand...
Click to collapse
Thanks but it didn't help. WQHD is still grayed out in Dex. I have never got WQHD to work in Dex so maybe Dex doesn't like my monitor.
Alright, thanks !
Unfortunately i can't test Dex at all, but i'll check the source code.
So that meminfo output is with this kernel installed ?
ace2nutzer said:
Alright, thanks !
Unfortunately i can't test Dex at all, but i'll check the source code.
So that meminfo output is with this kernel installed ?
Click to expand...
Click to collapse
Yes, hades Pie with this A2N kernel.
I'm using hades Q , will it work completely 100% or it will work but not everything or it won't work at all ?
Sorry for my english
Sorry bro, but it won't work at all.
Actually it's only for Android 9.
Just in case, how can I return to stock kernel without reflashing the whole stock rom?
and how does the default setting's battery life compare to stock? thanks.
ryanyu930522 said:
Just in case, how can I return to stock kernel without reflashing the whole stock rom?
Click to expand...
Click to collapse
Note8 - stock kernel - DUG6 - fully patched.
It can be flashed over A2N kernel without any wipes.
Later when you are tired of stock kernel, you can re-flash again A2N kernel over it without to wipe anything.
ryanyu930522 said:
and how does the default setting's battery life compare to stock? thanks.
Click to expand...
Click to collapse
No idea as i don't have Note8.
But in theory it should be better. At least it's true for S8 compared with Samsung stock kernel.
Hi guys ! - I've uploaded an test kernel for Note8.
Please flash it, boot to Android and post the output of:
Code:
uname -r
free -m
cat /proc/meminfo
Run the cmds in ADB or directly in your phone using "terminal emulator" app.
I'm working on new release with better memory management and improved stability.
Stay tuned !
ace2nutzer said:
Hi guys ! - I've uploaded an test kernel for Note8.
Please flash it, boot to Android and post the output of:
Code:
uname -r
free -m
cat /proc/meminfo
Run the cmds in ADB or directly in your phone using "terminal emulator" app.
I'm working on new release with better memory management and improved stability.
Stay tuned !
Click to expand...
Click to collapse
:/data/data/com.termux/files/home # uname -r
4.4.111-a2n-gcb046ce4
:/data/data/com.termux/files/home # free -m
total used free shared buffers
Mem: 5376 5229 147 23 36
-/+ buffers/cache: 5192 184
Swap: 0 0 0
:/data/data/com.termux/files/home # cat /proc/meminfo
MemTotal: 5505864 kB
MemFree: 225356 kB
MemAvailable: 2890360 kB
Buffers: 37528 kB
Cached: 2604260 kB
SwapCached: 0 kB
Active: 2744456 kB
Inactive: 1363036 kB
Active(anon): 1475776 kB
Inactive(anon): 13768 kB
Active(file): 1268680 kB
Inactive(file): 1349268 kB
Unevictable: 604 kB
Mlocked: 604 kB
RbinTotal: 0 kB
RbinAllocated: 0 kB
RbinPool: 0 kB
RbinFree: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 48 kB
Writeback: 0 kB
AnonPages: 1466424 kB
Mapped: 1370176 kB
Shmem: 23840 kB
Slab: 191384 kB
SReclaimable: 77776 kB
SUnreclaim: 113608 kB
KernelStack: 39344 kB
PageTables: 82248 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2752932 kB
Committed_AS: 147370448 kB
VmallocTotal: 258867136 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
CmaTotal: 106496 kB
CmaFree: 2276 kB
:/data/data/com.termux/files/home #