[KERNEL] [for 4.1.2 Stock] A2N Kernel [STABLE] [Easy Guide Step by Step] [2020.08.23]

4,020 posts
Thanks Meter: 4,499
By ace2nutzer, Recognized Developer on 19th January 2017, 11:51 PM
Post Reply Email Thread
A2N Kernel for Android 4.1.2 Stock ROM for the Galaxy Ace 2 from SAMSUNG

Supported Devices
  • GT-I8160
  • GT-I8160P
  • GT-I8160L

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

### App & Kernel Features ###
# Power
--> Charger Control: Adjust AC / USB max Charging Current in 100 mA Steps, Range: 100 - 1500 mA
--> Shows the actual accepted Charging Current
--> Ability to stop and hold Charging at 80 %, helps to prolong the Battery Lifetime
--> BLN EOC i.e. Backlightnotification on End-Of-Charge - When Battery is fully charged it will enable the Softkey LEDs
--> Enables output Voltage to the USB-Port ... e.g. for charging other Batteries or to supply a fan
--> Shows Power Menu - useful if your Power Button is broken

# Audio
--> Gain Control for:
--> Headphones: up to +12 dB Total (analog + digital)
--> Earpiece: up to +8 dB
--> Microphone: up to +30 dB
--> LPA i.e. Low-Power-Audio on suspend - Undervolting up to -100 mV
--> Volume + / - over the App - useful if the Hardware Buttons are broken

# Screen
--> Sweep2Wake aka S2W - works even without forced wakelock
--> Turn the Screen OFF over the App - useful if the Power Button is broken

--> Overclock Control: 200 - 1300 MHz (Stock: 200 - 800 MHz)
--> Undervolting up to -200 mV
--> Adjust Up Threshold from the Governor - to adjust the Balance between Battery Life and Performance
--> Boost Control: if enabled, it will jump from min freq to max freq, improving responsiveness

--> Overclock Control:
--> Set min/max GPU Clock - Range 300 - 800 MHz (Stock: 400 MHz)
--> Undervolting up to -100 mV
--> Adjust Up Threshold from the Governor - to adjust the Balance between Battery Life and Performance
--> Boost Control: if enabled, it will jump from min freq to max freq, improving 3D Performance

# Hardcoded Performance Profiles
--> Powersave (Underclocked)
--> Balanced (Kernel default / Stock)
--> Performance (Overclocked)
--> Performance Plus (Overclocked)

--> zRam - creates a swap block-device in RAM in order to improve Multitasking and it will start to compress data if needed (25 %, 50 % or 75 % of the RAM Size)
--> KSM - Kernel Samepage Merging - saves RAM if it finds some duplicates of the memory pages in RAM and it will merge them to one page
--> Shows the amount of the shared RAM in MB
--> FSB/DDR Overclock - 200/800 MHz @ 250/1000 MHz for higher RAM I/O throughput

# Network
--> Enable Kernel Support for Network File Systems: CIFS and NFS
--> Allows to change the TCP Congestion Algorithm (cubic, new reno, bic, westwood+)

# Misc
--> Flashlight Brightness Control - up to 5 times brighter than with Stock Kernel !!
--> Backlight Notification aka BLN - be notified of new Messages over the SoftKey LEDs, configurable ON/OFF blink delays
--> Accelerometer Calibration
--> Disable the Android Logger aka logcat - saves Battery and prevents other Apps to read the System Log

# Debug (over the left SoftKey)
--> Disable Restore on Reboot - useful if you are not sure whether the settings are stable, especially if you set too high CPU Clock or too much Undervolting !

For more details, please check the Screenshots.

### END OF Kernel & App Features ###

For more details, please check the Screenshots.
Other Kernel specific features, improvements etc ...
  • build.prop tweaks
  • Reduced RAM usage
  • Many Optimizations
  • Real-Time Kernel / Quick response
  • CPU/GPU Overclocking - Thanks @cocafe
  • CPU Steps - Min 200 - Max 1300 MHz (Stock Min 200 - Max 800 MHz)
  • GPU Steps - Min 300 - Max 800 MHz (Stock 400 MHz)
  • SafetyNet Bypass
  • Charger Tweaks: Fast Charging, up to 1500 mA for both USB and AC power source
  • Charger Optimizations to improve battery lifetime
  • CPU Governor: Conservative - fine tuned for max SOT (screen ON time) and performance
  • I/O Scheduler: Deadline
  • Lite Kernel - Removed unneeded / useless Kernel features
  • Ram overall improvements --> Multitasking and Gaming performance
  • Many Kernel Tweaks
  • 631 MB userspace RAM (stock was 624 MB)
  • zRam with fast LZ4 Compressor
  • Optimized LCD Drivers (WS2401 & S6D27A1) - Fixed bugs; lags and blackscreens
  • Optimized Audio Driver (louder + cleaner sound) ---> some more gain is configurable over the A2N Kernel Control APP
  • Binary-Code Optimizations for smaller and faster Code (only fail-safe)
  • Properly utilization of Precious Hardware features like: Vector Floating Point + SIMD (NEON) Instructions
  • Based on Stock Samsung and some commits from TeamCanjica (CPU/GPU OC/UV; Audio and Charger Driver)
  • PLLDDR OC Module (FSB OC) - thanks @ChronoMonochrome
  • UHID Support for BT Mouse etc.
  • And many more .. just check the A2N Kernel Control App for all supported Features


Step 0:

This Step is only needed if you need to update to Android 4.1.2 as it's required for this Kernel.
If u've already Android Version 4.1.2 then go to Step 1.

Update to the latest Samsung Stock ROM 4.1.2 with ODIN.
All the needed Files u'll find it in the FTP Server, Click!
Make sure your Battery is at least charged at 70% before u proceed.

I'm a noob, please show me more details:

Download needed Files for Windows (for other OS, please search the Web):

Samsung USB Driver for Mobile Phones and Offline flasher:

Stock ROM:

For the GT-I8160 you need: (3-parted)
and (Latest Stock ROM)

For the GT-I8160P you need:
CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XL ( first 3-parted)
CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship .zip (second 3-parted)
and (Latest Stock ROM)

For the GT-I8160L you need: (3-parted)
and (Latest Stock ROM)

After u've downloaded the needed Files and u've unpacked and installed the Samsung USB Driver, u can proceed with the upgrade.
Note: All your data will be deleted, so it's recommended to backup some important files to your Computer, including the content of your sdcard.
First of all, export all your Contacts to your ext-sdcard. Later you will need this File in order to import your Contacts into the new ROM.
Now copy the exported contacts to your PC and then format the sdcard as FAT32 if u can, if u don't know how to do that, it's also (for now) enough to simply delete all files and folders from the sdcard.

Unpack and open the Program inside, it's: Odin3 v3.07.exe

Unpack the ROM, for example we unpack the ROM: for the GT-I8160 which is a 3-parted Stock ROM.

Well, now Power OFF the Phone and remove the sdcard.

Press and hold at the same time: Volume down + Home + Power Button.
The Phone will boot directly to "Download Mode", now press "Volume Up" to enter "Download Mode".
Connect the Phone with your PC with the original USB Cable (important: during flashing don't turn off your pc or phone, also don't touch the Phone or the USB Cable)
Your Phone should be recognized by ODIN .. u can see this in "ID:COM"
if not, then the USB Drivers for samsung mobiles are not properly installed !

Don't change the check boxes !!!

Now load the *.tar.md5 files as following into ODIN:

PDA = HOME OR CODE (*.tar.md5)
CSC = CSC (*.tar.md5)
PIT = *.pit File (the checkbox Re-Partition is now checked )

Wait until the MD5 Check is done and proceed by adding the next package in ODIN.
Before u press "Start", make sure everything looks like this:
For 3-parted Stock ROM:
For latest Stock ROM:

Finally press "Start" - Wait patiently ... this takes around 7 Minutes.

The Phone will reboot several times. When u see the pad for entering the SIM PIN ... then the (3-parted) ROM was flashed successful and u can now remove the USB Cable and reset ODIN and u should flash the next ROM with ODIN which is: (Latest Stock ROM)

flash it exactly like the 3-parted one, with the difference that it's only one File to add in ODIN .... see the Screenshot "For latest Stock ROM" which is odin.png.

In General the order should be exactly like it's already listed here above !
That means:

1. flash "first 3-parted" and wait till it's fully booted up ...
2. flash "second 3-parted" (GT-I8160P only) and wait till it's fully booted up ...
3. flash "latest Stock ROM" and wait till it's fully booted up ...

Step 1:

Download needed Files and copy them to your micro sdcard, DO NOT unpack them!:

Kernel is universal for all Ace 2 Variants, download ""(recommended)
""(not recommended):
Note: The A2N Kernel Control APP need ROOT Access for full functionality!
(otherwise some features will not work)

Step 2:

Power OFF your Ace 2
boot to recovery:
Press and hold at the same time Home + Volume UP + power button till it'll vibrate.
Navigate with Volume Keys to "apply update from external storage" and confirm always with "Power-Key"
Choose "" and confirm.
"install zip from sdcard" and confirm.
"choose zip from sdcard" and confirm.
Choose "" OR "" and confirm
Hit "Back Soft-Key" few times and select
"reboot system now"
If it asks for root, just say NO (it's cwm bug)


Small Q&A Section

Q: Is the native powersave-mode from the ROM the same like the "Powersave" Profile from the App ?
A: No, the native powersave-mode will only reduce the power consumption for the Screen, but it will NOT reduce the max cpu frequency! - (it never worked, even not with the Stock Kernel)
The "Powersave" Profile form the App will reduce the max cpu frequeny from 800 to 600 MHz.
Furthermore it will also reduce the CPU Voltage for more powersaving.


I'm not responsible if you brick your phone by using this Kernel, voiding your warranty, or any other pain or suffering you may feel as a result of using this kernel!! - You do it all at your own Risk !!

Support my Projects ...
by using my Amazon Partner Link:
Donate to me via PayPal


@dh.harald and @hafidzduddin for contribution on codina sources
@ Team Canjica for a base for this perfect Kernel
@ 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)
CyanogenMod Team CWM Recovery
SAMSUNG for opening Kernel source
ST-Ericsson for codina patches
Google for Android (Kernel) patches
Linux upstream for the root kernel base
Linus Torvalds the creator of Linux kernel
Thanks @S.AMU for providing FTP-Server

ace2nutzer, cocafe, zwliew, mkaluza, Rox, Meticulus, ChronoMonochrome, TeamCanjica, SAMSUNG, ST-Ericsson, Google, Linux upstream.

Kernel Special Features: High Efficiency; Powersaving; High Performance; OC/UC/OV/UV; Lite Kernel; Pre-configured; ready-to-use; cwm recovery built-in.

Version Information
Status: Stable

Source Code: Samsung_codina_Kernel/tree/4.1.2_stock

Created 2014-10-27
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2020-05-13-22-33-22.png
Views:	74
Size:	48.2 KB
ID:	5018229   Click image for larger version

Name:	Screenshot_2020-05-13-22-33-29.png
Views:	78
Size:	84.4 KB
ID:	5018231   Click image for larger version

Name:	Screenshot_2020-05-13-22-33-42.png
Views:	74
Size:	64.0 KB
ID:	5018233   Click image for larger version

Name:	Screenshot_2020-05-13-22-33-54.png
Views:	52
Size:	73.8 KB
ID:	5018235   Click image for larger version

Name:	Screenshot_2020-05-13-22-34-09.png
Views:	54
Size:	80.4 KB
ID:	5018237   Click image for larger version

Name:	Screenshot_2020-05-13-22-34-21.png
Views:	50
Size:	58.7 KB
ID:	5018239   Click image for larger version

Name:	Screenshot_2020-05-13-22-34-31.png
Views:	52
Size:	82.3 KB
ID:	5018241   Click image for larger version

Name:	Screenshot_2020-05-13-22-34-46.png
Views:	46
Size:	70.8 KB
ID:	5018243  
The Following 9 Users Say Thank You to ace2nutzer For This Useful Post: [ View ]
19th January 2017, 11:52 PM |#2  
ace2nutzer's Avatar
OP Recognized Developer
Flag Cologne
Thanks Meter: 4,499
Donate to Me
Bugs and Issues Kernel 20200823


Kernel 20200823:
  • RAM: optimized memory management
  • Extended Support for Mouse, Keyboard and Joysticks

A2N Kernel Control V7.5
  • Source update

Kernel 20200513:
  • RAM: optimized memory management
  • zRam: improved stability
  • init.d Fix
  • Updated Demo App installation

A2N Kernel Control V7.4
  • init.d Fix

Older Changelogs:

Kernel 20200509:
  • RAM: optimzed memory management
  • Enabled CRYPTO_SHA256 && CRYPTO_SHA512
  • init.d Fix
Kernel 20200427:
  • RAM: optimzed memory management - especially multitasking
  • ABB-Charger: driver update
  • Binary Code Optimizations

A2N Kernel Control V7.3
  • CPU/GPU: increased max up_threshold 99 -> 100 %
  • Updated defaults
  • Bug Fix

A2N Kernel Control V7.2
  • Requests root permission on App startup
Kernel 20200403:
  • Updated Kernel Config
  • PLLDDR OC: driver update
  • LCD: driver update
  • NET: enabled congestion protocols: cubic, new reno, bic, westwood+
  • SWAP: optimized zRam
  • BOOT: improved boottime - boots with 1 GHz
  • GPU: added a real dynamic governor for more powersavings
  • CPU: conservative gov update
  • CPU/GPU: added a "boost" tunable in order to switch from min to max freq immediately
  • RAM: optimzed memory management - especially multitasking
  • ABB-Charger: driver update

A2N Kernel Control V7.1
  • GPU: allows to UV all steps
  • Profiles: added Performance Plus Profile
  • Network: added TCP Congestion Control
  • CPU/GPU: added Boost Control - in order to switch from min to max freq immediately
  • Updated defaults
  • Fixed back-arrow
  • Bug fixes
  • License Check: added Retry Button
Kernel 20191114:
  • Optimized memory management
  • CPU/GPU/SXA: optimized Governors
  • Set vm_swappiness to 200 (patched)
  • Updated kernel config
  • FSB/DDR_OC: updated for lower power consumption and stability
  • Charger: Set AC Current to 800 mA by default
  • MCDE: LCDs: updated for quick wakeup + stability
  • Improved performance, responsiveness, and battery life
  • More smoothly

A2N Kernel Control V7.0
  • Updated defaults and strings
  • Minor Fixes
Kernel 20191017:
  • VM: patched swappiness to be tuned up to 200 - (kernel default)
  • USB OTG Power: allowed output power 300 @ 500 mA
  • LCD's: increased stability against potential black-screen issues
  • LCD's: decreased wakeup latency from suspend
  • CPUFREQ: updated logic - auto set lower cpu_min_freq for suspend
  • updated ramdisk

A2N Kernel Control V6.9
  • Misc: removed swappiness control (it's set @ 200 by default)
  • USB OTG Power: allowed output power 300 @ 500 mA
  • Minor Fixes
Kernel 20190918:
  • CPU/GPU: updated governors
  • Charger: tiny update
  • Sweep2Wake: Fixed Touchscreen not waking up on incoming notification or call (if Sweep2Wake was enabled)
  • Mali-GPU-400: Fixed memory allocation failures - alloc_order 6 --> 0 / block_size 256 KB --> 4 KB
  • Re-added zRam Support with fast LZ4 Compressor
  • Set GPU/SXA governor up_threshold to 95 % for better powersavings
  • CPU: added a better control for managing CPU suspend_freqs - (for more info check the kernel release notes in the thread)
  • Bug Fixes
  • Source cleanup

A2N Kernel Control V6.8
  • Misc: added zRam switch and
  • swappiness control
  • Full overhaul and
  • Bug Fixes
Kernel 20190817:
  • Reverted back overclocked wifi module from 100 to 50 MHz - Caused system to freeze
  • CPU/GPU/SXA: updated governors to be more clean and smooth
  • Sweep2Wake: updated driver, added the ability to use it now even without extra wakelock
  • CPU: re-added the ability to set min_freq for screen ON regardless the used min_freq for Suspend (which is by default 200 MHz)
  • MCDE: added LCD workaround tunable to workaround wakeup issue on some broken LCD's. (it's useful if u've to press power button 3 times to wakeup the phone from suspend or deep sleep)
  • Source code cleanup - Fixed all leftover compiler warnings

A2N Kernel Control V6.7
  • Power --> Charger Control AC/USB: allowed up to 1500 mA input Current
  • Screen --> Added ability to use Sweep2Wake even without extra wakelock
  • CPU: added ability to set min_freq up to 200 MHz for Screen ON
  • CPU/GPU: added ability to tune the governor for more performance or more powersaving (very easy to use)
Kernel 20190718:
  • CPU/GPU/SXA: updated all 3 Governors - should improve performance and smooth scrolling
  • KSM: reduced pages_to_scan for the first 2 scans - reduces some overhead on boot

A2N Kernel Control V6.6
  • Power: fixed restoring of charging current on boot
Kernel 20190619:
  • GPU: fixed a bug in dynamic_down_threshold logic
  • MCDE --> LCD's: updated drivers, improved stability especially for S6D Model (should fix the blurred screen issue)
  • fixed lags caused by MCDE/LCD
  • CPU --> conservative_gov: updated up and down thresholds to reduce lags caused by the governor itself
  • Installer: fixed issues with /ramdisk partition that caused Offline-charging (LPM) and FSB/DDR (PLLDDR) OC not to work properly
  • Reduced feedback latency
  • More smooth

A2N Kernel Control V6.5
  • Audio --> Headphones: added digital gain control
  • Screen: removed LCD Freq Control (redundant)
  • CPU: removed suspend_max_freq limit (redundant)
Kernel 20190521:
  • I/O: switched to CFQ Scheduler
  • cpufreq_conservative: updated to fix some micro laggs
  • PLLDDR_OC: fixed audio issues - re-added recal. of SXA Clocks
  • PLLDDR_OC: fixed permission for A2N Kernel Control

Kernel 20190503:
  • MCDE: LCD's: improved stability
  • LCD S6D27A1: fixed Offline-charging Battery animation

Kernel 20190427:
  • LCD WS2401: fixed wakeup issue when using PLLDDR OC
  • PLLDDR OC Module: update
  • CPU: conservative gov - update

A2N Kernel Control V6.4
  • Screen: fixed restoring of ape opp 100 on boot
  • Screen: LCD WS2401: use 50 MHz by default
Kernel 20190418:
  • GPU: Driver update - added dynamic_down_threshold for better power efficiency
  • CPU: gov conservative: added dynamic_down_threshold for better power efficiency
  • LCD WS2401: updated screen on/off delays - fix for LPM
  • LCD: fix user LCD Freq on late_resume
  • LCD: Driver update - improved stability, more smooth
  • LCD: added flicker-free support - by using highest LCD Freq + APE 100 requirement (to work stable)
  • FSB/DDR: updated Driver to work fine with 250/1000 MHz
  • I/O: Removed swap && zRam support - now we use KSM instead
  • BLN: Bug fix
  • Charger: changing charger current is now (again) possible "on-the-fly" (without to unplug the cable)
  • Rear Flash LED: updated Torch Brightness Control

A2N Kernel Control V6.3
  • Power: updated Charger Control
  • Screen: updated LCD Freq Control
  • Misc: removed zRam (now we use KSM instead)
  • Misc: KSM: added "pages to scan" choice
  • Msc: updated FSB/DDR OC Control
  • Misc: updated Torch Brightness Control
  • Minor bug fixes and improvements
Kernel 20190324:
  • Replaced Stock LPM with CM LPM - shows Battery Level in %
  • Kernel Config: tiny update
  • Updated Ramdisk and user Ramdisk
  • Moved LPM charger binary & /res/images/charger to user /ramdisk - allows to use custom charger binary and/or custom /res/images/charger

Kernel 20190319:
  • Fixed "move apps to sdcard"
  • Enabled KSM Support - optimized for Android
  • Enabled UHID Support
  • Switched to Conservative cpu governor - higher powersaving
  • Updated Mali GPU Driver
  • Mali: updated gpu freq table for higher efficiency - removed too low steps
  • CPU: use 200 MHz Step only on Suspend
  • LCD: Reworked lcd type detection and split interface for each of lcd type
  • LCD: Recalibrated video.modes and LCD Freq - more smooth
  • LCD: fixed custom_lcdclk interface
  • Use: OPP 25% only on suspend
  • CPU: Conservative gov fine tuning
  • Optimized binary code optimizations - -O2 globally
  • Updated PLLDDR OC Module - improved stability
  • Reworked the whole VAPESEL2 & LPA(low-power-audio) Voltage Logic
  • Updated suspend_max_freq interface
  • Use the full Freq of 100 MHz instead the Half of 50 MHz for sdi1 as well - WLAN
  • BT: fixed file transfer issue
  • Disabled CRYP Engine - caused shutdown issue
  • Fixed Virtual memory layout
  • Disabled APEAT & APETRACE Clocks for Lauterbach Debugging - For powersaving
  • MCDE: re-enabled MCDE_DPI_UDERFLOW Patch
  • Updated Ramdisk and scripts

A2N Kernel Control V6.1
  • Screen: Fixed LCD detection

A2N Kernel Control V6.0
  • Misc: added KSM Control
  • CPU/GPU: updated Freq's according to the latest A2N Kernel
  • Audio: added LPA Undervolting - Low-Power-Audio on Suspend
  • Debug: removed LCD Type Detection - moved to "Screen"
  • Screen: added LCD Freq Control
  • Misc: removed BLN - not supported on Stock 4.1.2
  • Power: added 90% Charge - stop and hold charging at 90%
  • CPU: Suspend_max_freq: removed 200 MHz Choice - 200 MHz is the default min_freq on suspend
Kernel 20190206:
  • Reverted "MCDE: WS2401: stock delays" - caused LPM issue
  • Charger: reduced time for 99% -> 100%
  • Updated ramdisk - use kernel default min_free_kbytes

Kernel 20190202:
  • Reworked the whole kernel config
  • removed kmsg spam raw_soc from abb_fg
  • Android Kernel 3.0.31 -> 3.0.72
  • Improved Security
  • Minor bug fixes
  • Kernel Sched: enabled HRTICK
  • Mali 400 GPU: optimized driver
  • MCDE: WS2401: stock delays
  • Improved Memory management - Multitasking
  • Fixed memory allocation failures
  • Higher efficiency - Battery, Performance
  • Improved stability - No FC, no reboots
  • and some more tiny kernel optimizations

A2N Kernel Control [GT-I8160] V5.9
  • Moved "storage" and "debugging" to the demo version
Kernel 20181218:
  • FS: Revert to stock iocharset
  • Disabled Memory Resource Controller
  • Multitasking is now much better
  • Added Assistive Light Control for the LED Torch - Full Range from 1 - 16 !

A2N Kernel Control [GT-I8160] V5.7
  • Misc: moved "advanced root" to the demo version
  • Updated App permissions
  • Misc: Added Assistive Light Control - Torch LED power Control
Kernel 20181202:
  • Charger: tiny fixes, reduced lowbat_wake_lock time

A2N Kernel Control [GT-I8160] V5.4
  • Power: updated Charger Control, reduced max charge Current to 1 A.

Kernel 20181117:
  • Charger: updated charger logic - set ac current max @ 700 mA by default,
    - improved security aka SIOP, - driver cleanup

A2N Kernel Control [GT-I8160] V5.3
  • Power: updated Charger Control
Kernel 20181105:
  • Charger: updated the whole Driver. - Relaxed a lot of limits to be able to charge up to 1500 mA Current for any Chargers AC/USB. - Added better support for 3.7 V (optimized for 1700 mA) 3rd-party batteries. - Better Support for very old Batteries from 2012 - 2013. - Refresh and recover some lost Battery power and update the Battery Gauge to Stock. - Driver Clean up .. removed useless sysfs interfaces and added new interface for checking actual real current drawn from the power source.
    - fixed also occasionally wakelock issues after unplugging charger cable (battery drain fix).
  • USB Gadgets power: set in kernel proper max drawn current to 300 mA
  • Charger: enable BLN on eoc_real instead of eoc_first if suspended (if enabled in the App or over init.d script)
  • MCDE / LCD: tiny stability fix for s6d27a1

A2N Kernel Control [GT-I8160] V5.2
  • Power: Added Check (real) input Current Button
  • Layout update
Kernel 20181023:
  • Charger: set ac_chg_current to stock
  • Optimized Dalvik heaps

A2N Kernel Control [GT-I8160] V5.1
  • Power: Adjusted AC Current to Stock
  • Layout update
Kernel 20181012:
  • LiveOPP: 400Mhz Step: ape/ddr 25% @ 50% - this is
    useful for "Suspend Max Freq"
  • RAM: optimized memory management
  • Higher Performance, Better Battery lifetime and more smooth

A2N Kernel Control [GT-I8160] V5.0
  • Audio: added Volume Control
  • Screen: added go to suspend button
  • Layout update
  • Fixed some minor bugs
Kernel 20181006:
  • MCDE: both LCD Drivers set in fail-safe mode for now - chuck norris mode
  • NET: xt_qtaguid updated to 3.0.72
  • Updated kernel config to 3.4 (specific for Android 4.1.2)
  • defconfig: enabled memory resource controller - saves up to 30MB/app
  • MALI: updated memory management - use 4kb block size
  • LIB: updated LZ4 Compressor Module to 4.4
  • BOOT: switched from LZO to LZ4 for faster booting (re-implemented)
  • RAM: updated memory management
  • Overall improvements - performance, battery and stability!

A2N Kernel Control [GT-I8160] V4.9
  • misc: added swappiness control
  • misc/zram: removed reboot workaround for Android 4.1.2 - fixed in kernel
Kernel 20180922:
  • Updated the following kernel drivers to 3.0.72:
  • drivers/gpu/ion
  • mm (basic memory management)
  • arch/arm/vfp (vector floating point and processor instructions)
  • drivers/hid/uhid
  • fs/fat
  • fs/ext4
  • block
  • drivers/block
  • drivers/staging/android: lowmemorykiller & binder
  • -
  • Added the following new drivers as needed by Android:
  • SYNC (Hardware mode)
  • SW_SYNC (actually disabled, because we're testing hardware-sync instead software-sync)
  • -
  • Optimized memory management
  • Updated adj & minfree values
  • Set Swappiness=0 by default
  • Mali: optimized memory management
  • Removed some obsoleted drivers
  • Source cleanup
Kernel 20180901:
  • Fixed Apps crash
  • MCDE: WS2401: improved stability
  • cpufreq: updated suspend_max_freq interface
  • Mali: driver update & fixed memory allocation failures
  • Tiny Kernel update & tweaks
  • Optimized Dalvik
  • Fast boot
  • Added cwm recovery

A2N Kernel Control [GT-I8160] V4.8
  • reduced overhead on boot

A2N Kernel Control [GT-I8160] V4.7
  • GPU: removed mali_pre_allocated_mem_size_max - it's now 32MB by default
  • Screen: removed "Tuned Freq" & "Chuck Norris mode" - rebasing driver ....
  • Misc: added "Advanced Root" for CM11
  • Tiny Bug fixes
Kernel 20180809:
  • Fixed SafetyNet - Passed
  • Safety will PASS even with root enabled like it's done on "Magisk"
  • Reworked the whole SuperUser implementation
  • Play Store: Phone is now "Certified"
  • block/deadline-iosched: reset to AK3.0.72 and patched
  • Reworked all APE/DDR OPP requirements
  • PLLDDR OC Module: tiny updates - should fix boot animation failures when using it
  • Mali 400 GPU: reduced Voltages
  • Reduced also Voltage for LowPowerAudio
  • Cleaned Source
  • Updated EOC BLN
  • Updated BLN
  • Removed "sva" kernel wakelock - battery drain fix on suspend!
  • cpufreq: added suspend_max_freq interface
  • Use APE/DDR 50% OPP for screen ON on idle instead previously APE 100% OPP
  • Reduced LCD Freq*
  • Fixed most of the compiler warnings for cleaner code
  • Updated Ramdisk in order to hide su binary - SafetyNet Fix
* = "Tuned Freq" disabled, means stock lcd freq and will work stable,
but with enabled "Tuned Freq" it can cause some screen glitches caused by APE 50% OPP,
on the other hand, lower lcd freq and lower OPP states will save a lot of battery power.

A2N Kernel Control [GT-I8160] V4.6
  • misc: fix zram on 4.1.2 stock

A2N Kernel Control [GT-I8160] V4.5
  • CPU: add suspend_max_freq control

A2N Kernel Control [GT-I8160] V4.4
  • Fixed Support for GT-I8160L
  • Storage: Fixed compatibility
  • Misc/PLLDDR OC: fix restore on boot
  • source update

A2N Kernel Control [GT-I8160] V4.3
  • Updated API to 28
(if u miss some changelogs here, then check the CM11 Thread, since it's the same kernel)

Kernel 20170819:
  • Compiled with latest GCC Linaro 7.1.1
  • Higher machine code optimizations
  • Fully reworked kernel config
  • Some Clean ups
  • Disabled some debugging
  • Reduced kernel size
  • Fixed a few kmsg errors
  • Optimized memory management
  • Reverted hwmem size to stock
  • 630mb ram for user apps
  • Improved Security
  • Removed SELinux implementation
  • increased log buffer
  • Better I/O Speed
  • Updated Network Config
  • Updated Sound Config and many more
  • Fixed "data usage and limits"
  • Full Hardware Acceleration for Crypto
  • VPN: added L2TP Support
  • Fixed poor 2D/3D Performance
  • Optimized VFP
  • Removed old and buggy fsync control
  • BLN: Enabled wakelock & blink by default
  • Enabled Sim hot swap detection support
  • Updated cpu-idle driver
  • Fixed deep sleep issue - Better Battery LifeTime with Screen OFF
  • More responsive and overall higher performance
  • And many more optimizations
  • Inkl. latest A2N Kernel Control [GT-I8160] V2.6

A2N Kernel Control [GT-I8160] V2.6
  • Simplified BLN Config (removed wakelock & blink control)

A2N Kernel Control [GT-I8160] V2.5
  • Renamed back "free options" to "settings"
  • Removed SELinux Control
  • Fixed "Refresh Battery Stats" (Battery Level Calibration)
  • Fixed "Accelerometer Calibration"
Kernel 20170701:
  • Updated zRam script - multicore optimization
  • Better Memory Management - more smooth, responsive and faster
  • Fixed BLN Driver
  • Replaced sioplus scheduler with CFQ - for best multitasking performance
  • Updated kernel defconfig
  • Enabled support for XBox Gamepad
  • Optimized for Real-Time Workloads
  • Wifi: disabled pm_fast by default - saves battery
  • Reverted an very old commit that caused Apps to FC and maybe even File System errors
  • More efficient zRam Driver - Maximum power - Lowest power consumption
  • Removed obsolete CONFIG_ZRAM_FOR_ANDROID patch - Recent zRam Backport from Android Kernel 3.10 doesn't need it
  • Updated Binder and LMK Driver (and some other Source for memory management) - just a sync with original Google Source Code
  • Fixed occasionally Apps FC - I hope so - So far after 2 Days of testing = Zero App FC !
  • Better Performance and Battery Lifetime
  • Cleaned Source Code
  • Inkl. latest A2N Kernel Control [GT-I8160] V2.4

A2N Kernel Control [GT-I8160] V2.4
  • Renamed menu entry "Settings" to "Free Options"
  • Moved "LCD Type", "Logcat" and "SELinux" switches to "Free Options"
  • Added ability to export debugging Logs to sdcard0 with a single Tap - logcat, dmesg and last_kmsg - available in "Free Options"
Kernel 20170618:
  • Added more build.prop tweaks
  • Compiled bthid.ko & exfat.ko & lz4_(de)compressor built-in
  • Updated defconfig
  • Enabled all supported Cryptographic API's
  • Mali GPU Optimizations
  • OS RAM Optimization
  • Increased Torch Lux - max. fail-safe
  • Cleaned Source code a bit
  • Inkl. latest A2N Kernel Control [GT-I8160] V2.3

A2N Kernel Control [GT-I8160] V2.3
  • Advanced: added ability to enable/disable Androids logger (logcat)
    Removed high performance profile and torch modes
  • Updated updater-script for build.prop tweaks (dalvik config)
  • Reverted unstable zRam & zsmalloc backport from 3.5 Branch
  • zRam zsmalloc lz4 driver: backport from stable 3.10 Branch
  • Moved zRam script from init.d to the A2N App
  • zRam, zsmalloc, lz4_compress and lz4_decompress moved to modules
  • zRam: disabled by default
  • Compiled with latest GCC-Linaro-6.3.1
  • Inkl. latest A2N Kernel Control [GT-I8160] V2.2

A2N Kernel Control [GT-I8160] V2.2
  • Advanced: replaced "Swap aggressive" Switch with "Use zRam"
    For properly enabling and disabling zRam
  • Higher binary code optimization
  • Re-enabled zRam by default - but only low usage - swappiness=50
  • LCD: [WS2401] stock delays - should fix wakeup issues
  • Memory allocator: back to SLUB
  • Ramdisk: optimized scripts, ram management and clean up
  • Faster I/O Speed
  • Inkl. latest A2N Kernel Control [GT-I8160] V2.1

A2N Kernel Control [GT-I8160] V2.1
  • LCD: Chuck Norris mode: fixed description

A2N Kernel Control [GT-I8160] V2.0
  • Swappiness=50 by default
  • LCD: [WS2401] added Chuck Norris support - also for powersaving

A2N Kernel Control [GT-I8160] V1.9
  • Updated swap config
  • Fixed performance profile
  • Added "high performance" profile
  • Set back swappiness to Zero for default (no zRam)
  • Fixed "sva" deep sleep issue
  • Set dalvik.vm.heapsize=512m
  • Better Battery Lifetime
  • Overall improvements
  • Inkl. latest A2N Kernel Control [GT-I8160] V1.8

A2N Kernel Control [GT-I8160] V1.8
  • Renamed to "A2N Kernel Control [GT-I8160]"
  • Updated all Dialog texts for the better understanding
  • Added Switch "Use zRam" (sets swappiness from 0 to 100)
  • Memory Management: Fixed some left over issues
  • Minfree: use ROM defaults
  • Overall improvements
  • Inkl. latest A2N Kernel Control Ace 2 V1.6

A2N Kernel Control Ace 2 V1.6
  • Minor Bug Fixes
  • Renamed to "A2N Kernel Control Ace 2"
  • More Memory Management improvements
  • SLAB allocator: switched from SLUB to SLAB
  • Some Kernel Tweaks
  • Updated the whole VM Setup
  • Optimized swap/zRam behavior - the system will swap only if there is no other way
  • Updated Minfree Values for maximum multitasking - uses the whole RAM except the last 1 MB, needed for a stable system
  • Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER - Fixes bad performance from previous Version
  • Decreased zRam size to 1/4 of RAM - only used to avoid an OOM
  • Overall improvements
  • Inkl. latest A2N Kernel Control Ace 2 V1.6
  • Renamed to "A2N"
  • Updated Network config
  • Some Kernel Tweaks
  • Improved Binary Code Optimizations
  • Minor Kernel Config update
  • Big Memory Management improvements
  • Increased zRam size to 1/2 of RAM - but only used to avoid an OOM
  • Overall improvements
  • Inkl. latest A2N Kernel Control Ace 2 V1.6
  • Reduced zRam Size from 1/3 to 1/4 of Total RAM
  • Updated /ramdisk/perf.profiles.rc.(bak)
  • Better Stability - normalized CPU Voltages
  • Slightly Reduced Kernel Size
  • Small binary code optimization
  • Re-introduced page-cluster logic, but reduced for small RAM devices
  • Revert swappiness to the Linux default of "60"
  • Removed some useless ARM/APE/DDR requirements
  • Optimized Battery Charger
  • Updated Minfree Values
  • Better Performance & Battery Lifetime
  • Compiled with latest Linaro GCC 6.3.1
  • Inkl. latest A2N Kernel Control APK V1.5

Ace2Nutzer Kernel Control V1.5
  • Updated CPU Voltages accordingly to the Kernel
  • Better System Stability
  • Changed SELinux checkreqprot default value to "0" - App to Kernel
  • Updated RAM Management (Minfree Values)
  • Updated Dalvik Config
  • Reduced RAM usage
  • Better Performance
  • Inkl. latest A2N Kernel Control APK V1.4

Ace2Nutzer Kernel Control V1.4
  • Updated App Icon
  • LCD: S6D27A1: Fixed issues for Recovery + LPM and use stock LCD Freq.
  • Charger: stop charging @ 100% and recharge @ 95% - Better for the Battery Care
  • MCDE: don't use DDR_OPP 25% for Screen ON - Caused black screen when using WhatzApp Camera
  • Inkl. latest A2N Kernel Control APK V1.3

Ace2Nutzer Kernel Control V1.3
  • LCD: added "Chuck Norris mode" for S6D27A1 - For Fixing hard LCD issues
  • Bug Fixes
The Following 7 Users Say Thank You to ace2nutzer For This Useful Post: [ View ]
23rd January 2017, 06:52 PM |#3  
Junior Member
Flag France
Thanks Meter: 3
I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?
25th January 2017, 09:24 PM |#4  
ace2nutzer's Avatar
OP Recognized Developer
Flag Cologne
Thanks Meter: 4,499
Donate to Me
Originally Posted by galac44

I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?

Yes it's possible.
Have u any Problems with this custom Kernel ?
30th January 2017, 03:26 PM |#5  
Junior Member
Flag France
Thanks Meter: 3
I have no specific problem with this kernel. I wanted to do some test and see about battery life. I installed it and it works fine. Responsiveness is better than original kernel.

But maybe I will switch to CM11.
The Following User Says Thank You to galac44 For This Useful Post: [ View ] Gift galac44 Ad-Free
5th February 2017, 10:28 AM |#6  
Junior Member
Thanks Meter: 0
It works very well. I think this is the fastest-ROM. But there is a little problem when I use Facebook latest version. "system_server" is working and make phone restarts.
Sorry I'm not good at English.
5th February 2017, 01:04 PM |#7  
ace2nutzer's Avatar
OP Recognized Developer
Flag Cologne
Thanks Meter: 4,499
Donate to Me
Hmm strange .... it's not the fastest ROM ... but i think u mean it's the fastest kernel instead

As for the Bug: without any logs it's impossible to say what's the problem ....
The Following User Says Thank You to ace2nutzer For This Useful Post: [ View ]
5th February 2017, 01:54 PM |#8  
Culateralligator's Avatar
Senior Member
Flag Málaga
Thanks Meter: 242
LG L9 II with stock 4.1.2 runs quite good, but it happens the same many times (1 of 4 times) when using or just opening Facebook.

I tried lots of things to solve the problem, including reflashing stock JB, but nothing helped. So finally I upgraded to slow 4.4.4 LG stock and Facebook now runs properly.
Maybe it has somethig to do with Android 4.1.2 and latest updates of Facebook.
The Following User Says Thank You to Culateralligator For This Useful Post: [ View ] Gift Culateralligator Ad-Free
5th February 2017, 10:34 PM |#9  
ace2nutzer's Avatar
OP Recognized Developer
Flag Cologne
Thanks Meter: 4,499
Donate to Me
Yeah ... probably it's not compatible ... anyway the facebook app is really buggy ... many times the CPU Freq stuck at max. freq because of facebook update .. before and after the update process ... i just facing this over terminal emulator by typing "top" ... really annoying app!
The Following User Says Thank You to ace2nutzer For This Useful Post: [ View ]
7th February 2017, 10:13 PM |#10  
ace2nutzer's Avatar
OP Recognized Developer
Flag Cologne
Thanks Meter: 4,499
Donate to Me
New Version is Up !!


  • Changed SELinux checkreqprot default value to "0" - App to Kernel
  • Updated RAM Management (Minfree Values)
  • Updated Dalvik Config
  • Reduced RAM usage
  • Better Performance
  • Inkl. latest A2N Kernel Control APK V1.4

Ace2Nutzer Kernel Control V1.4
  • Updated App Icon

Enjoy !
The Following 4 Users Say Thank You to ace2nutzer For This Useful Post: [ View ]
21st March 2017, 12:45 AM |#11  
rony raj's Avatar
Senior Member
Flag N0WH3R3 1N S9A)E
Thanks Meter: 625
Originally Posted by ace2nutzer

cm11 for ace 2
with kernel app
is this app work with other galaxy devices with cm roms
Post Reply Subscribe to Thread

custom kernel, galaxy ace 2, kernel control, kernel manager, samsung galaxy ace 2

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes