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
A2N Kernel Special Features
### Kernel & App Features ###
--> Allows you to adjust AC / USB 2.0 Charging Current (separately) from 100 - 1500 mA in 100 mA Steps (Fail-safe)
--> Charging Current - check if the power source can handle the selected Current, if it's unstable the Kernel will reduce the Current till it is safe.
--> 80% Charge - Stops and holds charging at 80%, useful if charging over night to reduce the battery stress.
--> BLN EOC - When Battery is full turn on the Soft-Keys LEDs.
--> USB Power - Enables output Voltage to the USB Port, useful if u need to power up some usb gadgets (no real OTG Support)
--> Show power Menu - using an emulated power-button press, useful if the power-button is broken (You can boot the Phone with a cheap USB-JIG Adapter)
# Audio #
--> Low Level Gain Control - Headphones, Earpiece and Microphone
--> LPA - Low-Power-Audio, reduces Audio Voltage on Suspend for Powersaving (up to -100 mV)
--> Volume Control - Emulated buttons press (useful if the hardware buttons are broken)
# Screen #
--> Sweep2Wake - Wake up the phone with a Swipe
--> Suspend - Emulated (useful if the Power button is broken)
# CPU #
--> Adjust CPU Min/Max Frequency - Overclock Control (200 - 1300 MHz)**1
--> Undervolting (up to -200 mV)
# GPU #
--> Adjust GPU Max Frequency - Overclock Control (450 - 800 MHz)**2
--> Undervolting (up to -200 mV)
# Performance Profile #
# Misc #
--> KSM - Kernel same page merging, to use RAM more efficient (only 1% CPU load on Idle)
--> Check shared RAM - Shows the amount of saved RAM in MB
--> FSB/DDR Overclock (overclocks FSB/DDR Frequency from 200/800 MHz to 250/1000 MHz, improves overall performance)
--> Torch Brightness - allows you to adjust the Brightness of the rear LED (Camera Flash for Torch)
--> ON/OFF Delay - Ability to adjust how the LEDs should blink
--> Network File Systems - Enables Support for CIFS and NFS
--> Use calibration data - Accelerometer calibration
--> Disable Logger - Disables Android Logger, for powersaving
# Debug-Menu #
--> Disable Restore on Reboot - Disable restoring of settings on reboot, useful if you are not sure whether the settings are stable.
Otherwise all settings will survive a reboot.
--> logcat and dmesg - Exports logcat.txt and dmesg.txt to sdcard0, useful if you need to report bugs like APP Force Close with system logs
--> last_kmsg - Exports last_kmsg.txt to sdcard0, useful if you need to report a random Reboot with system log
### 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/400 - Max 1300 MHz (original was Min 200/200 Max 800 MHz)
- GPU Steps - Min 0/225/450 - Max 800 MHz (original was Min 0/200 - Max 400 MHz)
- SafetyNet: Passed
- 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)
- 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 (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
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 odin3_v3.07.zip Offline flasher:
For the GT-I8160 you need:
ONE-I8160XXNF2-20140930142454.zip (Latest Stock ROM)
For the GT-I8160P you need:
CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XL K2_4G.zip ( first 3-parted)
CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship .zip (second 3-parted)
DBT-I8160PXXMG2-20130820164646.zip (Latest Stock ROM)
For the GT-I8160L you need:
PGU-I8160LUBMK2-20140603151522.zip (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 Odin3_v3.07.zip and open the Program inside, it's: Odin3 v3.07.exe
Unpack the ROM, for example we unpack the ROM: I8160XXMB4.zip 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:
ONE-I8160XXNF2-20140930142454.zip (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 !
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 ...
Download needed Files and copy them to your micro sdcard, DO NOT unpack them!:
Kernel is universal for all Ace 2 Variants, download "a2n_kernel_gt-i8160_4.1.2_rooted_latest_date.zip"(recommended)
Note: The A2N Kernel Control APP need ROOT Access for full functionality!
(otherwise some features will not work)
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 "Temp_CWM_18.104.22.168.zip" and confirm.
"install zip from sdcard" and confirm.
"choose zip from sdcard" and confirm.
Choose "a2n_kernel_gt-i8160_4.1.2_rooted_latest_date.zip" OR "a2n_kernel_gt-i8160_4.1.2_latest_date.zip" 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 !!
@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.
Source Code: Samsung_codina_Kernel/tree/4.1.2_stock