This Kernel and ROM 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
### 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)
# Storage #
--> Swap Storages - switches internal storage (sdcard0) with Micro SD Card (sdcard1)
--> Unmount SD Card - for safely removing Micro SD Card (only for sdcard_only Kernel)
# 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)
--> Use as Notifications LED - uses the Soft-Key LEDs
--> 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
--> Advanced Root - adds a symlink to the su binary in "/system/xbin/" (needed for CM FileManager)
### END OF Kernel & App Features ###
For more details, please check the Screenshots.
Other Kernel & ROM specific features, improvements etc ...
- Cyanogenmod 11 Features
- CM11: Low Power Consumption
- CM11: High Performance
- Reduced RAM usage
- 3 Peformance Profile
- Many Optimizations
- Real-Time Kernel / Quick response
- CM Performance Profiles (3 Profiles)
- 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 (with "Advanced Root" disabled)
- Native BLN Support - Touch Soft-Keys LED's blinks for Notifications
- 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.
- SELinux in permissive mode
- ART - experimental
- 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.x.x as it's required for this ROM and Kernel.
If u've already Android Version 4.1.2 or even 4.4.x installed, 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 wit 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 because the new ROM CM11 has a small issue that it can't read SIM-Contacts.
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 for the three Models, sdcard_only is recommended (for optimal functionality, note: micro-sd is required) OR normal version if u want to use the phone with internal + micro sdcard or simply without micro sdcard:
cwm_cm11_partitions_layout_sdcard_only.zip(for sdcard_only version) OR cwm_cm11_partitions_layout.zip (for normal kernel version):
gapps are required for Google Play:
Choose ARM - 4.4 - pico
OR if it doesn't work well, then use this tested package from FTP Server:
Explicit for GT-I8160P, download GT-I8160P_Support_Vx.x.zip:
Explicit for GT-I8160L, download GT-I8160L_Support.zip:
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_220.127.116.11.zip" and confirm.
"install zip from sdcard" and confirm.
"choose zip from sdcard" and confirm.
Choose "a2n_kernel_gt-i8160_4.4.4_sdcard_only.zip OR a2n_kernel_gt-i8160_4.4.4.zip" and confirm
Hit "Back Key" few Times and select "reboot system now"
When then Screen is black immediately boot directly to recovery again.
Now the cwm version should be 18.104.22.168.
Increase the available space for Apps from 1,2GB up to 3GB !
More Informations about the Repartition: Post #3
This Step is optional, so if you don't plan to install a lot of apps you can skip this and go to Step 4.
flash cwm_cm11_partitions_layout.zip OR cwm_cm11_partitions_layout_sdcard_only.zip
press several times the soft back-key, then press "advanced" and "power off"
boot again to recovery
mounts and storage
format /storage/sdcard0 as "vfat" [it's like FAT 32]
Go back and "wipe data/factory reset"
If you performed Step 3 then Boot to recovery otherwise
flash CM11 (GT-I8160_Support.zip already included)
in addition for GT-I8160P (for the NFC Model):
in addition for GT-I8160L (for the Latin Version):
Flash latest Kernel:
Finally flash Swype_fix.zip
Reboot system now
If it asks for root, just say NO (it's cwm bug)
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 for CM11 & 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.4.4_cm11