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

[KERNEL] [9] A2N Kernel for Samsung Galaxy S8 / S8+ Exynos [Official Thread] [2021.10.29]

Search This thread

traversone

Senior Member
Feb 18, 2019
87
32
What is a reset ?
What about free RAM once the issues starts ? Check also the free swap.
please have a look at 2 screen captures.

sometime CPU load gets 90% and more and, in such a case, mobile runs slow and jerky till random reset (in worst case) that is to say without samsung logo and no PIN request
1632214065158.png


1632214082685.png
 
  • Like
Reactions: ace2nutzer

pranil60

Senior Member
Apr 11, 2015
105
54
I would recommend not to wipe dalvik cache only wipe normal cache.. mobile will be useless for more than week as it becomes laggy cause of dalvik cache wipe
 

pranil60

Senior Member
Apr 11, 2015
105
54
while playing game gpu only goes upto 260mhz which brings alot choppiness so I think it's not being used..
 

Thebatman11

New member
Sep 21, 2021
1
0
Hello, I tried your kernel, I really love the speed and fluidity it has, but this does not help the battery life, which is also lower than the stock kernel, it would not be better to use EAS and schedutil such as Rz, which has a duration of the best battery?
 

madhatter57

Member
Jun 30, 2020
18
5
I will second the above question. My battery life is not very good, even with power save features. Doesn't go over 6h SOT, with celular radio always off (WiFi only) and 85% battery health.
 

pranil60

Senior Member
Apr 11, 2015
105
54
We will not use a test (debug) kernel for ever .. always max 3 days.
Its purpose is only for stability, not performance. Performance can be later adjusted over app or init.d in stable releases.
got it.. so if it useful for development of kernel then worth. except performance it's stable loved it with freakin 75% zram with no reboot.
 
  • Love
Reactions: ace2nutzer

ace2nutzer

Recognized Developer
I would recommend not to wipe dalvik cache only wipe normal cache.. mobile will be useless for more than week as it becomes laggy cause of dalvik cache wipe
I've also noticed that it takes long time, same with stock kernel from my FTP ? - Maybe i've to revert some changes.
But once dalvik-cache is fully optimized then it's quite fast.
I will second the above question. My battery life is not very good, even with power save features. Doesn't go over 6h SOT, with celular radio always off (WiFi only) and 85% battery health.

With 85 % you should get 8 h SOT.
Maybe that will be better in next official build.
 

traversone

Senior Member
Feb 18, 2019
87
32
Reset = you see the Samsung logo and then all apps are closed ?
You can try with zram 50 %.
Adjustable over init.d or app.
Note CPU GPU DVFS ist limited to 60 °C in test #18.
@traversone please again with same screenshots.
thanks to your guidance, I set 50% zram level. In AA environmente, mobile seems now better and with no significant lag (considering some performances limitation due to test kernel)

here you are the similar 2 screen captures

1632317267823.png


1632317246430.png
 

ace2nutzer

Recognized Developer
thanks to your guidance, I set 50% zram level. In AA environmente, mobile seems now better and with no significant lag (considering some performances limitation due to test kernel ...

All right, good job !
I was hoping to see more free swap than free RAM. That looks still painful in terms of RAM/SWAP usage somehow. You confirmed that zRam 75 % is not the best value for speed. Probably it's an overkill to have swap over 50 %. I do still believe zRam at 25 - 50 % works best for Android. For Linux, zRam 75 % is fine. Don't know why some users prefer to have it to 75 %, it really hurts performance.
Maybe you could do one more test with 25 % ? As i don't know what the new default should be in next build.
btw: it should be noted that your 4G signal is a bit low, this could make your live streaming lag and the modem can heat up on low signal.
 
May 30, 2021
30
28
All right, good job !
I was hoping to see more free swap than free RAM. That looks still painful in terms of RAM/SWAP usage somehow. You confirmed that zRam 75 % is not the best value for speed. Probably it's an overkill to have swap over 50 %. I do still believe zRam at 25 - 50 % works best for Android. For Linux, zRam 75 % is fine. Don't know why some users prefer to have it to 75 %, it really hurts performance.
Maybe you could do one more test with 25 % ? As i don't know what the new default should be in next build.
btw: it should be noted that your 4G signal is a bit low, this could make your live streaming lag and the modem can heat up on low signal.
Dev, I before with the kernel version 06/03, I had set zram to 25% and I was going smooth and fast without slowing down, with the stock value of 50% I was experiencing freezes, especially while using the Dji Fly app to fly the drone, which uses a lot of Ram(Over 1,0Gb), even if now with the kernel test 18 it goes a little better, it heats up less, but sometimes it slows me down again while I'm flying.
 
  • Like
Reactions: ace2nutzer

panda.musty

Member
Sep 12, 2021
22
16
Older Magisk V. like 20.4 can't handle LZ4 compressed ramdisk.
So you need to repack ramdisk with oldschool gzip compression, using AIK-Linux.
Thank you for reply. I google it and find something but can't do it. Well..eventually I'm not expert. But I will try more.

Anyway.. there is an other thing that full app opening takes long time while checking license online. Sometimes it takes approximately 30 sec. and sometimes I have to close and open again. Could you improve that?
 

ace2nutzer

Recognized Developer
Thank you for reply. I google it and find something but can't do it. Well..eventually I'm not expert. But I will try more.

You need any Linux distro (live iso image works too) and AIK-Linux tool from XDA.

Then just unpack kernel and grab the boot.img and put it into the AIK-Linux folder.

Now open a terminal emulator inside AIK-Linux, usually with F4 and copy paste the following commands:

# unpack boot.img
Code:
./unpackimg.sh --nosudo
Go to split_img and open the file: "boot.img-ramdiskcomp"
edit from lz4-l to gzip and save.
# repack boot.img
Code:
./repackimg.sh --nosudo

Now replace the old boot.img with your new "image-new.img" (rename to boot.img) and repack the kernel with zip without to change any structure.
Finally you can flash the new a2n_kernel.zip with TWRP like usual.

Anyway.. there is an other thing that full app opening takes long time while checking license online. Sometimes it takes approximately 30 sec. and sometimes I have to close and open again. Could you improve that?

No, it depends on your internet speed and signal, only you can improve it.
To speed up a little bit you can disable kernel update check in debug menu. But you will no longer be notified about new a2n kernel on app startup.
 

traversone

Senior Member
Feb 18, 2019
87
32
All right, good job !
I was hoping to see more free swap than free RAM. That looks still painful in terms of RAM/SWAP usage somehow. You confirmed that zRam 75 % is not the best value for speed. Probably it's an overkill to have swap over 50 %. I do still believe zRam at 25 - 50 % works best for Android. For Linux, zRam 75 % is fine. Don't know why some users prefer to have it to 75 %, it really hurts performance.
Maybe you could do one more test with 25 % ? As i don't know what the new default should be in next build.
btw: it should be noted that your 4G signal is a bit low, this could make your live streaming lag and the modem can heat up on low signal.
3rd test completed ! another little step ahead in performance, in my opinion.

But zram is overbooked now.

1632349401744.png

1632349411629.png
 
  • Like
Reactions: ace2nutzer

Top Liked Posts

  • 2
    @Joker6126
    Tap "Exit" and remove from recently used apps. Then reopen the app.
    If it still doesn't work, then maybe there is something wrong with google play services or play store.
    Did you perform any modifications like disabling play store services or receivers ?

    Btw: new pre-release is nearly done.
    2
    @ace2nutzer im again on 30% zram, no crash happend. But guestion, i use youtube vanced and when im wanna switch to fullscreen it have a huge delay before it switches to fullscreen mode (1sec - 4 sec), after a reboot its is sometimes completly solved or it is not fixed but switches faster to fullscreen mode (immediately - 1 sec). But has this issue to do with the kernel or is it a common problem with youtube vanced/official youtube?
    1
    How do I resolve this issue?
    Screenshot_20211128-140427_A2N Kernel Control [G95x].jpg
  • 5
    OK guys, after very long time, finally the new release is online !!

    Changelog

    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
    4
    Report random reboot dev when using online shop tokopedia
    May you can check it
    My settings is balanced
    Did you flash also latest twrp from my FTP before flashing kernel ?
    developer, the core of the latest version is just super. but wired headphones are not detected. the sound goes through the speaker. on previous versions everything was fine.
    Uncheck moisture detection, before you plug headphones.
    It's a new bug introduced with moisture detection hack.
    I'll fix it in next update.
    Isn't there a way to apply settings automatically after boot whitout having to start the app manually each time?
    Actually no way, but hopefully on next update.
    4
    NEW UPDATE IS AWESOME!!
    @ace2nutzer I've been waiting for this build for a long time, THANK YOU !
    - It is super stable with ZERO random reboots
    - Dark Mode is a treat to the eyes, It's so cool!
    - init.d is back, now I'm able to run my scripts without any hassle
    - BUT on every boot, I've to launch the a2n app, pass the license check, then only my init.d scripts and settings in the a2n app work,
    I think this whole process can be skipped by including a service within app to apply all settings (including init.d scripts) on boot with a toast/notification that settings were applied on boot...

    Yeah, finally ! - That's great hehe.
    As for restoring of custom settings:
    I think that should be possible, but a bit tricky and maybe unsafe and that's why i ended up with that solution.
    That would only work if there is internet connection immediately after entering the SIM PIN.
    That means i've to create a loop function that waits for device comes online and the risk is that, it could stop or get killed if the phone is on heavy load, because it would be a java process / activity, which as i said could get killed if the RAM is full. Since it's a background process, it's likely that it gets killed and you end up with a non optimized phone while you think all custom settings was applied.
    I know you say just add toast notification, but for sure you don't want to watch all the time the screen in the hope the toast will appear. Instead you could just open the app directly after entering the PIN.
    Isn't it much faster ?
    That's for now, maybe i get better idea how to manage this, but for now i don't have much better idea.

    I think time that dev took for cooking paid off! its flawless.. lol you just made s10 out off s8... just yeah little underclocked gpu... want to try zram some more.. if you want debuggung then Im also ready to keep stock.. Haven't tried gaming yet

    Yeah perfection needs his time sometimes.
    In some benchmarks it's nearly at the same level like the S20 ! :cool:
    But with both clusters and GPU OC'ed to the max and DVFS temp at 95 °C.

    Report dev i have been install new kernel i got slow respone and performance default are that normal or not ?

    With kernel defaults yes. Kernel defaults is optimized for good battery life and tries to keep the device cool.

    And how to change HMP ? To use all core i hope you reply hehe

    There is no need to mess with HMP or CPUSETS, it's already very well optimized. By default foreground uses all 8 cores. You can see this while running Geekbench for CPU .. starting at 50 % of the bench progress, all 8 cores are used. You can verify this while it's running, connect your phone to your PC and start ADB .. type "top"
    You will see cpu load gets up to 800 % means 8 x 100 %.
    With older kernel the max was 400 % and therefore Multi-Core Score was low.

    maybe dalvik cache clear effect.. it slows down if you clear dalvik cache.. sadly everytime it happened to me also then it took 2 weeks at least to get normal.. this time I didn't cleared dalvik it's woriking awesome dude

    Nope, this was because dex optimization (ODEX compilation) was done only @ Little CPU and only while the phone is charging. And unfortunately even only with just one thread instead at least 4 threads.
    And therefore it took a few days till everything was compiled in machine code.

    On latest realese i've patched it to force run on big CPU, still only one thread, but better than nothing. It's AOSP Bug and was fixed in later Android versions.

    That means it'll optimize faster on latest kernel.
    In addition if you guys follow my tips and checked those flags like:

    dalvik.vm.isa.arm64.variant=exynos-m1

    after wiping dalvik cache it'll create machine code optimized instructions set for our CPU. Not just defaults (lower performance)

    You can read more informations on how ART works and how it should be configured here. All the tips for best performance are already applied to this kernel.
    For instance we use "speed-profile" instead raw "speed" flag in order to not waste RAM.
    • verify: only run DEX code verification.
    • quicken: run DEX code verification and optimize some DEX instructions to get better interpreter performance.
    • speed: run DEX code verification and AOT-compile all methods.
    • speed-profile: run DEX code verification and AOT-compile methods listed in a profile file.

    ART uses ahead-of-time (AOT) compilation, and starting in Android 7.0 (Nougat or N), it uses a hybrid combination of AOT, just-in-time (JIT) compilation, and profile-guided compilation. The combination of all these compilation modes is configurable and will be discussed in this section. As an example, Pixel devices are configured with the following compilation flow:
    1. An application is initially installed without any AOT compilation. The first few times the application runs, it will be interpreted, and methods frequently executed will be JIT compiled.
    2. When the device is idle and charging, a compilation daemon runs to AOT-compile frequently used code based on a profile generated during the first runs.
    3. The next restart of an application will use the profile-guided code and avoid doing JIT compilation at runtime for methods already compiled. Methods that get JIT-compiled during the new runs will be added to the profile, which will then be picked up by the compilation daemon.

    As for the last thing:
    like i was promising some time ago, all the users who helped me out in any way in fixing bugs, are allowed to ask for a free license to get full access to all premium features in this kernel.

    What you need to do:
    send me a pm with one or two links to your post were you contributed to this project to help. Like reporting bugs with attached logs.
    Note: i do accept only reports with proper logs, but in certain situation i'll accept also those without logs if it was useful as well.

    Followed all instructions for newest kernel, flashed kernel, corected things in build.prop rebooted to twrp, wiped art and cache.
    Phone worked for 2 hours like dream.
    And then random reboot in deep sleep. Same like older version on S8+ hades kernel pie. Reverted kernel to hades and no problem. Can someone quick explain me if I can attach log and with wich program. because I waited for loong time to release new version. And still bootloop.

    Right after the random reboot, open the red A2N app and in-app menu tap on "Debug" then "last_kmsg".
    This will create "last_kmsg.gz" to your internal sdcard.
    Just attach it here.
    3
    I forgot to mention, you should flash also twrp from my FTP.

    Flash twrp
    Reboot to recovery
    Flash a2n kernel
    Flash magisk
    Wipe cache and dalvik
    Reboot to system

    This is a proper clean installation method.
    This kernel has different RAM layout.
    And therefore you need twrp with same kernel otherwise you get memory corruption and get soft reboots and bootlogo glitches.
    3
    NEW UPDATE IS AWESOME!!
    @ace2nutzer I've been waiting for this build for a long time, THANK YOU !
    - It is super stable with ZERO random reboots
    - Dark Mode is a treat to the eyes, It's so cool!
    - init.d is back, now I'm able to run my scripts without any hassle
    - BUT on every boot, I've to launch the a2n app, pass the license check, then only my init.d scripts and settings in the a2n app work,
    I think this whole process can be skipped by including a service within app to apply all settings (including init.d scripts) on boot with a toast/notification that settings were applied on boot...
  • 65
    Supported Devices
    • G950F
    • G950FD
    • G950N
    • G955F
    • G955FD
    • G955N
    This Kernel Aims are to
    • reduce the power consumption
    • reduce device heat
    • improve the performance
    • make it more smooth
    • reduce RAM usage
    • improve RAM management
    • increase the security
    • extend device features
    • and many more ...

    A2N Kernel Special Features
    • charger control
    • battery IDLE and battery care
    • fixed time to full battery
    • flashlight tuning
    • wireguard support - always latest version
    • Dex with any HDMI adapter - thanks @ Barna Keresztes from GitHub
    • higher SOT - with new battery up to 10 h, with old battery see screenshots
    • RAM upgrade - 3679 MB @ 3715 MB
    • unlocked higher CPU Freq steps - thanks @Noxxxious for initial CPU OC
    • SELinux in permissive mode - thanks @Noxxxious
    • fake enforce for SELinux (you can enable it in a2n demo app)
    • DRM - L1 streaming with full resolution
    • SafetyNet bypass
    • Google Play - certified device
    • replaced SSWAP with zRam - fast LZ4 compressor
    • extra filesystems: F2FS, NTFS
    • kernel modules for CIFS and NFS
    • optional device encryption
    • HMP driver fix
    • extra gamepads drivers: Xbox / Sony PS / Nintendo Wii
    • ability to OC CPU only for screen on

    A2N Kernel Control

    Charge your phone faster, also wireless. Increase performance up to S10 level !

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

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

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

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

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

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

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

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

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

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

    # RAM
    -- Memory Management
    Low-Memory-Killer - Set the amount of min free RAM.* - Range: 64 - 256 MB
    Swap / zRam* - LZ4 compressed swap block-device in RAM - Choice: 0, 30, 60 or 90 % of RAM size
    Adjust Swappiness.
    Ability to drop caches / buffers, to free RAM.

    * For multitasking, gaming, responsiveness and battery life.

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

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

    # File Systems
    -- Load kernel module for F2FS and NTFS.

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

    Installation & Update
    • flash TWRP for S8 or S8+
    • reboot to recovery​
    • flash A2N Kernel for S8 or S8+
    • reboot to system​
    • install Magisk App
    Big thanks @ Mobile Tech Point for making this awesome video !
    Note: the video is no longer up-to-date, but it's still a good starting point.

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

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

    Disclaimer

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

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

    Credits

    Linus Torvalds - Linux kernel
    Google - Android kernel patches
    Samsung - device kernel source
    @corsicanu - TWRP recovery - original thread
    @S.AMU for providing FTP-Server
    @ Noxxxious for the nice disclaimer text
    XDA members - reporting bugs with logs

    Contributors
    ace2nutzer

    Source Code: https://github.com/ace2nutzer/Samsung_dreamlte_Kernel
    28
    Buglist - Kernel 2021.10.29
    • You tell me :)
    Changelog

    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
    Older Changelogs

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

    A2N Kernel Control V. 3.4
    • Charger Control: added USB-CDP ( for USB charging in cars)
    • CPU/GPU: optimized DVFS
    • Profiles: Performance Plus: allow custom Freqs
    • Network: added more TCP congestions algorithm
    • Advanced Power Menu: updated
    Kernel V. 2021.03.24
    • Fixed audio call recording - thanks @rostifaner for help
    • Charger Control: added support for USB-CDP (used in cars) - thanks @traversone for report and log
    • Thermal Throttling: driver update and allow up tp 95 °C stable CPU/GPU Temp (adjustable over the app or script) and add a proper overheat protection
    • Added more TCP congestions algorithm
    • lib/lz4: updated to LK 4.11.12 (for zRam stability and performance)
    • zRam: decreased overhead and reduced memory usage
    • I/O: increased read_ahead_kb for max speed
    • mm/zsmalloc: removed all samsung changes
    • Enable WQ_POWER_EFFICIENT_DEFAULT & MALI_DMA_FENCE
    • Custom HMP: update
    Kernel V. 2021.02.06
    • Fixed device heating up - this time for real ;)
    • CPU/GPU: added my custom (DVFS) thermal throttling driver
      range: 45 - 85 °C
      default: 65 °C**
      adjustable temperature separately for CPU/GPU !
      STABLE OC up to 2.8 GHz !! ***
    • Fixed random reboots - thanks @rostifaner for the hint !
    • Swap: added more optimizations for zRam
    ** Max possible performance only @ 85 °C for CPU/GPU !
    *** I was able to pass Geekbench + 3DMark @ CPU 2.8 GHz / GPU 572 MHz with DVFS 85 °C

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

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

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

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

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

    • Improved stability

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

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

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

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

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

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

    Kernel 2020.08.11
    • Fixed Call Audio

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

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

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

    A2N Kernel Control V. 2.4

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

    Kernel 20200519

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

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

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

    Kernel 20200507

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

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

    A2N Kernel Control V. 2.3

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

    A2N Kernel Control V. 2.2

    • Request Root on App startup
    • Bug Fix
    Kernel 20200403

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

    A2N Kernel Control V. 2.1

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

    A2N Kernel Control V. 2.0

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

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

    A2N Kernel Control V1.9

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

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

    A2N Kernel Control V1.8

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

    Kernel 20191216

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

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

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

    A2N Kernel Control V1.6

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

    Kernel 20191114

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

    A2N Kernel Control V1.5

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

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

    A2N Kernel Control V1.4

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

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

    A2N Kernel Control [G95x] V1.2

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

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


    A2N Kernel Control [G95x] V1.1


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

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

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

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

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

    Q: Can I Use And Tune Your Kernel With Other Kernel Manager Apps ?
    A: No.

    Q: I've Installed The Full Version Of The App, Will It Change Any Kernel Settings By Default If I Do Not Change Them ?
    A: No, default app settings = default kernel settings.

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

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

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

    Q: Will My Custom A2N Settings Survive If I Install Stock Kernel And Then Going Back To A2N Kernel ?
    A: Yes, as long as you don't uninstall it.

    Q: Can I Use Your Kernel Control App With Other Custom Kernels ?
    A: No.

    Q: How To Report Bugs ?
    - Please Do NOT Report Bugs If You Are Using "unsafe" Freqs Or You Are NOT Using The Latest Release !

    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 the bug:


    BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!
    12
    Hello dear Friends i'm back with a great Changelog ...

    Kernel 20191019

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

    A2N Kernel Control V1.4

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

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

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

    Changelog

    Kernel 20200519

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

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

    Updated also TWRP Kernel.