[Galaxy Ace II Android Development] ace2nutzer:
Revive your Samsung Galaxy Ace 2 phone in 2024!

Fastest custom kernel world-wide with lots of innovative features!

Supports all Ace 2 Variants Running Android 4.1.2

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

extend device features

and many more ....

A2N Kernel Special Features

SafetyNet: OK

Google Play: device is certified

Charger control for faster charging

Battery care

Stable CPU OC up to 2 x 1,3 GHz

Stable GPU OC up to 1 x 750 MHz

Adjustable Battery Max Temp

CPU / GPU / RAM OC / UC / OV / UV

Audio Gain

Ability to set different CPU Freq while screen ON/OFF

Kernel modules for CIFS and NFS

Enabled zRam (RAM compression) - with fast LZ4 compressor

Flashlight tuning (torch)

A2N Kernel Control - App Features

Best way to tune this kernel to your needs

Note: 3-party kernel manager apps do not work with this kernel.

-- Charger control

-- Battery care

-- Battery thermal control

-- Audio Low-level gain control

-- Sweep2Wake

-- CPU/GPU OC control with voltage control

-- Limit CPU max_freq on suspend

-- CPU/GPU governor tuning incl. input-booster

-- Performance profiles

-- SWAP/zRam

-- Backend Network stuff like NFS, CIFS etc..

-- Torch brightness control

-- Notification LED through the soft-touch-keys - adjust blink_on, blink_off delay

-- Accelerometer calibration

-- Advanced Power Menu - ability to reboot to recovery / download-mode

-- And many more!

Installation

​

Step 0

This step is only needed if your Android version is lower than 4.

If you have already Android 4.1.2, then go to step 1.

Update to the latest Samsung stock ROM 4.1.2 with ODIN.

Make sure your battery level is at least 70 % before you 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

odin3_v3.07.zip offline flasher

Stock ROM

For the GT-I8160 you need:

I8160XXMB4.zip (3-parted)

and

ONE-I8160XXNF2-20140930142454.zip (Latest stock ROM)

For the GT-I8160P you need:

CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XLK2_4G.zip ( first 3-parted)

and

CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship.zip (second 3-parted)

and

DBT-I8160PXXMG2-20130820164646.zip (Latest stock ROM)

For the GT-I8160L you need:

GT-I8160L-3parted.zip (3-parted)

and

PGU-I8160LUBMK2-20140603151522.zip (Latest stock ROM)

After you've downloaded the needed files and you've unpacked and installed the Samsung USB Driver, you 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.

Format the sdcard as FAT32 if you can, if you 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 +" to enter "Download Mode".

Connect the phone with your PC with the 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 .. you 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 follows into ODIN:

PDA = HOME OR CODE (*.tar.md5)

Wait until the MD5 check is done and proceed by adding the next package in ODIN.

CSC = CSC (*.tar.md5)

PIT = *.pit File (the checkbox Re-Partition is now checked :))

Before you press "Start", make sure everything looks like this:

For 3-parted stock ROM:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin_3parted.png

For latest Stock ROM:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin.png

Finally press "Start", be patient ... this takes around 7 minutes.

The phone will reboot several times. When you see the pad for entering the SIM PIN ... then the (3-parted) ROM was flashed successfully and you can now remove the USB cable and reset ODIN and you 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.

Step 1

Download required files and copy them to your micro sdcard without to unpack them:

Temp_CWM_6.0.2.8.zip to your sd-card, do not unpack it.

A2N Kernel (choose latest rooted)

Step 2

boot to stock recovery ...

Navigate with volume keys to "apply update from external storage" and confirm always with "Power-Key"

Choose "Temp_CWM_6.0.2.8.zip" and confirm.

"install zip from sdcard" and confirm.

"choose zip from sdcard" and confirm.

Choose "a2n_kernel_gt-i8160_4.1.2_rooted.zip" and confirm

Tap "back key" few times and select "reboot system now"

When the screen is black immediately boot directly to recovery again.

Now the cwm version should be 6.0.5.0.

Step 3

Flash (again) latest kernel:

a2n_kernel_gt-i8160_4.1.2_rooted.zip

Reboot system now

DONE ! :)

Current Bugs and Changelog

Disclaimer

​

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

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

Credits

​

@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

CyanogenMod Team for CWM Recovery

SAMSUNG for opening kernel source

ST-Ericsson for codina patches

Google for android kernel patches

Linus Torvalds for Linux Kernel

@S.AMU for FTP-Server

Contributors

ace2nutzer, cocafe, zwliew, mkaluza, Rox, Meticulus, ChronoMonochrome, TeamCanjica

Source Code:

Samsung_codina_Kernel/tree/4.1.2_stock