[Galaxy Ace S5830 Original Android Development] SpaceCaker:
I compiled this kernel because i got some requests to compile this in my personal message box.

Rom Compatibility:

Android 4.2.2

CM10.1

AOSPA

PAC

AOKP

Features:

Logs are Disabled

GPU driver optimizations and code cleanup

CFS kernel scheduler optimizations

Android Binder update

Backport OOM Killing algorithm from 3.8 kernel

Changed kernel compressor/decompressor from GZIP to the much faster LZ4.

Writeback tweaks from Linus Torvalds

Implemented Dynamic Filesync and enabled by default

Proportional Rate Reduction for TCP

Correct AXI bus values for CPU

Moddified Ramdisk

Replace zRam XvmAlloc with the better ZsmAlloc integration

Update zRam from 3.0 drivers

Make zRam LZ4 decompressor work faster in the same CPU cycles

Introduce Timer Slack Controller (aka Timer Coalescing, explanation below)

Backport LowMemoryKiller and Timed GPIO drivers from 3.8 kernel

Make sure that the GPU turns off when the screen is off

Updated Interactive governor to the latest version from 3.8 sources

Add Dynamic Interactive governor (98% the same as Interactive, but it dynamically changes its parameters according to the load)

Predefine minfree and adj values

Dynamic PLL Overclock

Further undervolt until 768 MHz (the latter allows us to do this without losing performance)

Fully functional App Whitelist (example script here)

Forced unaligned access

Fast Charge (use this to enable it: FastCharge.apk - 1.29 MB) [Disconnect USB Cable - Turn ON - Connect USB Cable]

Current Bugs V3:

Auto Rotate

Camera Reboot

Timer Slack Controller: (this is a copy-paste from boype's thread)

What does the timer slack feature do?

Timer slacking aims to synchronize applications' and processes' CPU requests. The goal is to wake up the CPU less often in oder to save battery. What you need to know here is the following: waking the CPU up and putting it back to sleep again consumes power. Imagine that four apps wake the CPU up four times each in one second. While without timer slacking the CPU would be woken up 16 times, it is desirable to coordinate the wakeups. If done right, the CPU would wake up less often, effectively allowing power savings and longer sleep periods. This is what timer slacking does.

I have activated timer slacking only for background applications, so that everything else stays as responsive as you know it.

Apple has recently introduced this feature under the name 'timer coalescing' with their Mac OSX Maverick (link).

More information: How Apple does timer slacking ('Timer coalescing') (Scroll a little down to the diagrams)

LZ4 Compressor:

LZ4 is a very fast compressor, based on well-known

LZ77 (Lempel-Ziv) algorithm. Originally a fork from LZP2, it provides

better compression ratio for text files and reaches impressive decompression

speed, in the range and beyond 1GB/s per core (!), especially for binary files.

These speeds are scalable with multi-threading modes, quickly reaching

RAM speed limits on multi-core systems.

Download:

[*]JellyBean 4.2.2 Roms[V3]:BadAssKernelJBCooper-SpaceBuildV3-9-8-13-2205.zip - 4.19 MB - CodeSourcery

[*]JellyBean 4.2.2 Roms[V3]:BadAssKernelJBCooper-SpaceBuildV3-9-8-13-LinaroCompiled.zip - 4.18 MB - Linaro-4.8

Old Versions:

[*]JellyBean 4.2.2 Roms[V2]:BadAssKernelJBCooper-SpaceBuildV2.zip - 4.14 MB - CodeSourcery

[*]JellyBean 4.2.2 Roms[V1]:BadAssKernelJBCooper-SpaceBuildV1.zip - 4.13 MB - CodeSourcery

Various tweaks

Script for adding apps to LowMemoryKiller's whitelist:Whitelist

(you have to edit it to add your own apps, then move it to init.d and set correct permissions. right now you can only add one app, I'll fix this in the next version)

Script to enable zRam with optimized disksize for our Mini: View attachment 2064488 (flashable zip) [UPDATED]

Jeeko's PureAudio fixed for CM10.1 and AOKP: View attachment 2066252 [ Please thank Jeeko for this awesome mod. ] :)

NOTE: This version of PureAudio is compatible with absolutely any equalizer or player.

If you have Titanium Backup installed, in the menu you'll find an option named "Integrate sys Dalvik into ROM". Use it.

This is something like odexing your system, but keeps the classes.dex files inside the apps. Don't worry if you don't have a lot of system space, Titanium will odex as much as it can until the free space runs out.

TIP: So in latest version of CrossBreeder, the OP added some system tweaking which interferes with our kernel. So I edited those parts to match our settings and device limits.

If anyone wants to install CrossBreeder:

-First uninstall by flashing this file: CrossBreeder_Uninstall_7.2.13.zip - 943.12 KB

-Then install this custom version: CrossBreeder_7.2.13-Badass.zip - 1.59 MB

Credits:

alin.p