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

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

Search This thread

macleo

Senior Member
Feb 3, 2008
77
5
Urdaneta City
If you set charge current to the max and use a powerful charger then battery should stay at the same level.
All settings you set in a2n app are not valid if you charge in LPM (phone shutdown)
May I ask...I have the A2N Kernel running perfecly, If I am going to use magisk modules like L Speed, GPU Turbo Speed and the likes, is there a significant boost on S8 or it wont?
 

ace2nutzer

Recognized Developer
Apr 28, 2014
4,378
5,256
37
Cologne
Samsung Galaxy Ace II
Samsung Galaxy S8
Hy dev can i get code to change freq CPU and gpu ? I cannot change it like ussualy i change it
Hi, i think you deserve it, but for now it's useless, we need to make it stable, then you can ask over pm.
May I ask...I have the A2N Kernel running perfecly, If I am going to use magisk modules like L Speed, GPU Turbo Speed and the likes, is there a significant boost on S8 or it wont?
No, not compatible at all, don't flash any optmizationsscripts from magisk modules or else, most of them will modify your phone without the ability to revert things back to original. Of course if you do first a full backup of /system and /data, then later you could restore it back.
I say that because i saw source code on GitHub about such Magisk modules and it's horrible how much the system will be manipulated for no reason. And for the last one: the developer from such modules didn't test at all how it behaves on the real device. Most of them are universal and they just apply countless of settings to every device without to test if it works better.
Not much for now, here is summer, during summertime development is very low or paused.
 
  • Like
Reactions: rostifaner

macleo

Senior Member
Feb 3, 2008
77
5
Urdaneta City
Hi, i think you deserve it, but for now it's useless, we need to make it stable, then you can ask over pm.

No, not compatible at all, don't flash any optmizationsscripts from magisk modules or else, most of them will modify your phone without the ability to revert things back to original. Of course if you do first a full backup of /system and /data, then later you could restore it back.
I say that because i saw source code on GitHub about such Magisk modules and it's horrible how much the system will be manipulated for no reason. And for the last one: the developer from such modules didn't test at all how it behaves on the real device. Most of them are universal and they just apply countless of settings to every device without to test if it works better.

Not much for now, here is summer, during summertime development is very low or paused.
Thank's for your advice, and it really makes sense.
 

God's Bro

Senior Member
Jul 21, 2020
78
24
Sri lanka
Samsung Galaxy S8
Screenshot_20210714-121225_A2N Kernel Control [G95x].jpg
Dev i hope you will understand my crappy English.

Dev have a small problem.. hope you can fix it or give a solution for it..as I have damaged the wireless charging coil completely my s8 doesn't charge properly and it shows "your temperature is too low" since the battery temp sensor is broken too...hopefully I found a method to charge by turning on and off battery idle mode every 1min..the problem is , it only charge for 1min and again I should do the same procedure to on off battery idle.. its really stressful to stay till it charge like that..
However my kind request is .. isn't there any way that you can make the battery idle thing on and off automatically every 1min? Or can you permanently disable low temperature notification and make it charge normally..

No hurry dev I know development is paused these days for you.. but nevermind take your time and consider about my issue.. consider about my tip too.. Thank you dev .. you are the best..
 
Last edited:

God's Bro

Senior Member
Jul 21, 2020
78
24
Sri lanka
Samsung Galaxy S8
Try with higher or lower charging current. Also try with highest and lowest max charging temperature value.
Maybe that helps to bypass the broken temp sensor.
Fail-safe wireless current is 500 mA.
Also what about charging over cable ?
I tested all your methods dev.. both highest and lower current wont charge..

See the coil is damaged completely.. so no use of keeping it in the device.. so I removed it...

by the way dev did you think about my suggestion.. battery idle on off thing..is it possible to do it?.. can you?
20210715_112834.jpg
 
Last edited:

ace2nutzer

Recognized Developer
Apr 28, 2014
4,378
5,256
37
Cologne
Samsung Galaxy Ace II
Samsung Galaxy S8
by the way dev did you think about my suggestion.. battery idle on off thing..is it possible to do it?.. can you?View attachment 5362437

Yes i'm able to do it, but honestly i don't get the point why i should do that. If there is something broken then just repair it.
It's dangerous to forcing charging without proper temp control.
Also this is not a global issue.
I can build for you a private kernel and app with that trick included but not for free. You can ask the price over private message over the forum here.
 
  • Like
Reactions: God's Bro

Grainroot

Member
May 5, 2018
6
2
Samsung Galaxy S8
It may be annoying or very rude, but I would like to ask you this. Can't you develop the kernel CPU clock speed to 3.0ghz or higher? please or tell me how to edit the clock speed then i will fix it myself and use it thanks
 

Top Liked Posts

  • 2
    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
    1
    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.
    1
    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.
    1
    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.
    1
    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
  • 5
    Hello A2N, I am using your kernel well, but I am waiting for the September update. When will it be released? I'm looking forward to it.
    5
    New Test Kernel 2021.09.17 is Up !!

    @ ALL

    Please test if it's 100 % stable, for at least 3 days, that means no random (soft) reboots and no apps force closes !

    Note: re-added latest A2N App demo version 3.5, to be able to easily generate logs.
    Full version 3.5 will not work with this new test kernel except water detection stuff for testing purpose.
    Post logs directly in XDA without to repack it !
    I don't accept logs from other builds.

    @Adbnpk2013
    Please test water detection stuff, i've patched it some more. ;)

    @traversone
    Please test Android Auto suff. ;)

    Download for S8

    Download for S8+
    4
    hy dev. my phone(s8+) is constantly warning me with moisture detection massage and it has annoyed me. i bought the kernel for this specific reason to disable the moisture detection warning. i ticked the option in the kernel manager to disable water detection, but unfortunately, the moisture detection warning still persists.
    any help will be appricated.
    I've uploaded a test kernel for testing the ability to force disable moisture detection for both USB and Jack port !
    How to test:
    flash kernel ...
    boot without cable ...
    If moisture detection appears, wait 2 minutes ..
    it's still there ? open A2N App and toggle "disable water detection" (to be disabled in the app)
    if it's still there, connect the cable, wait 5 sec, unplug, wait 3 sec and replug again, it should disappear and you can charge normally.
    Let me know if it works and how it worked, what you need to do to make it disappear ...
    It's possible that it still doesn't work, if so i've to hack it some more, indeed it seems to be possible to force it, (needs more work)
    brilliant! I am available, as soon as I see the kernel I flash it
    I've enabled almost all USB 2.0 / 3.0 ethernet 10/100/1000 Mbit/s adapters from Realtek, ASIX and others. - So i hope it should recognize your Realtek adapter now. Let me know if it works properly.

    Since you both have the S8+, i've only uploaded kernel for S8+ variant:
    Download

    Note: A2N App is disabled in this build, except water detection stuff.
    Because it has unstable CPU/GPU DVFS driver ... basically due to unfinished work in newest technology. lol
    But it has already very good performance.
    Also it's possible that random reboots are still present.
    4
    Well, a fresh installed ROM is always fast .. later it becomes slower with time. This happens with too much apps data cache and apps art-cache.
    Almost same result can be obtained by simply wiping all caches and by wiping the folder /sdcard/android.

    As for the telegram group, sure you can create one ... if you wish i can add it in first post.
    4
    Hello, i'm still working on it. Maybe Friday night i'll release it.
  • 64
    A2N Kernel for the Galaxy S8 / S8+ Plus Exynos Chip

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

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

    A2N Kernel Special Features

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

    A2N Kernel Control

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

    # App Features #
    # Power
    -- Charger Control
    -- Adjust AC/USB-PD/USB-CDP/Wireless/USB 3.0/2.0 Max input current - For faster charging - Range: 100 - 3000/3500 mA (S8/S8+)

    -- Battery Informations
    -- Shows:
    -- accepted charging current
    -- input voltage
    -- battery temperature
    -- battery voltage

    -- Battery Care
    -- Stop charging at some lower level than 100 % to reduce battery aging - Range: 50 - 100 %
    -- Battery IDLE
    -- Power supply your phone over cable or wireless without to use the battery - Useful for DeX or gaming
    -- Set Max Charging Temperature - Range: 35 - 45 °C

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

    -- Water Detection
    -- Ability to disable water detection
    -- Show water 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 power save
    -- Governor up_threshold - To adjust balance between performance and power save
    -- 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 power save
    -- Governor up_threshold - To adjust balance between performance and power save
    -- 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
    -- Power Save
    -- 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: 128 - 256 MB - Default: 192 MB
    -- Swap / zRam* - LZ4 compressed swap block-device in RAM - Choice: 0, 25, 50 or 75 % of RAM size
    -- Ability to drop caches / buffers - To free RAM

    * For multitasking, gaming, responsiveness and battery life

    # Network
    -- Adds kernel support for network file systems CIFS & NFS
    -- TCP Congestion Control - Choice: cubic, new reno, bic, westwood+, vegas, veno, hybla, etc..
    -- Wi-Fi Band Selection - Choice: 2.4/5 GHz, 2.4 GHz only or 5 GHz only

    # Misc
    -- Torch - Set brightness for the highest level in Android quick settings - Range: 10 - 15
    -- LED-RGB - Set blink ON/OFF delay for notifications / low battery
    -- Optimize RED, GREEN, BLUE LED - Increases brightness by disabling power save mode on low lux
    -- Accelerometer Calibration

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

    # Privacy #
    -- In case the app crashes it will send only technical debug info to the play store server, for debugging.

    # CREDITS #
    -- World-gear-symbol by Freepik from www.flaticon.com - edited by ace2nutzer

    How to force Android 9 update

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

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

    Examples:

    Link for S8+ SM-G955F DTB Germany:

    Link for S8 SM-G950F DTB Germany:

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

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

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

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

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

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

    STEP 8
    Shutdown the Phone.

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

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

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

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


    Installation for normal People

    Requirements:


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

    Short Summary:

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

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

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

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

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

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

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

    STEP 6
    Shutdown the Phone.

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

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

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

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

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

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

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


    Installation for power users / developers

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


    How to keep this Kernel Up-To-Date and how to install it if you have already TWRP installed
    • Download latest A2N Kernel and save it to your (internal) sdcard
    • Reboot to recovery
    • Install latest A2N Kernel
    • Install latest Magisk
    • Reboot to System and enjoy the new Kernel Version :)
    Big Thanks @ Mobile Tech Point for making this Awesome Video ! :good:
    Note: the video is no longer up-to-date, but it's still a good starting point.

    Free Fast Download

    Current Bugs and Changelog

    FAQ


    Support me via PayPal

    Join Telegram group

    Note: the group is not maintained by the kernel developer. - I'm not responsible if you get anything bad from that group.

    Disclaimer

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

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

    Credits

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

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

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

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

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

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

    Changelog

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

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

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

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

    With customization you get this:

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    Q: How to report Bugs ?

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

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

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

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

    Kernel 20191019

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

    A2N Kernel Control V1.4

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

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

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

    Changelog

    Kernel 20200519

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

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

    Updated also TWRP Kernel.