[Galaxy S I9000 Android Development] didhiy:
Based on discussion on Semaphore Kernel thread, I'm glad that finally compiling using Linaro GCC 4.8 is possible now :) I've test this several months a go and still not boot until got some new idea arise in that discussion

Maybe this not a daily driver kernel, just feel free to try once and go back to other kernel :highfive:

Different from stock (changelogs):

build 20140324 for 20140323-NIGHTLY and newer

- Update iniram from 20140323-NIGHTLY

build 20140308 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

- Merge stock cm-11 & use initram 0307 nightly

build 20140214

- Revert s3cfb: tl2796: do not read calibration data on aries and use s3cfb: tl2796: detect invalid factory calibration data as on stock cm-11

build 20140211

- Add s3cfb: tl2796: do not read calibration data on aries from stock cm-11

- Use newer linaro toolchhain 14.01

- Update recovery to Mackay TWRP 2.6.3.0

build 20140111

- Update ramdisk to Tweak KSM Value

- Merge upstream CM-11

- Use newer linaro toolchhain 13.12

build 20140106

- Update ramdisk with Kitkat zRAM setting

- Fix lpm (charging when phone off)

- Cherry-picked optimize JPEG memory configuration & add ioctl to export memory configuration

- Only build with Mackay TWRP

build 20131231

- Fix outdated init file causing boot problem

build 20131221

- Ramdisk from cm-11-20131219-NIGHTLY-galaxysmtd

build 20131212/16

- Ramdisk from cm-11-20131206-NIGHTLY-galaxysmtd, unpacked using this tools.

- Compiled with linaro-toolchain-binaries 4.8 (32bit)

- Use Mackay TWRP 2.6.0.0 (-mtwrp) or Semaphore CWM 6.0.4.5 (-smcwm)

Additional changes in x-aries version:

Note: Video capture & playback (cma problem with or without ksm) mostly working.

In rare condition it need long time to start (5 minutes or more).

You can wait it if you have time (

recommended

) or simply restart your phone.

build 20140401

Compiled on this HEAD

- Update iniram from 20140331-NIGHTLY

- Enable KSM_CHECK_PAGE

- Enable Advanced TCP Congestion Control

build 20140324 for 20140323-NIGHTLY and newer

- Update iniram from 20140323-NIGHTLY

build 20140319 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

Compiled on this HEAD

- Add 2 patches to improve swap & revert aries-common: zRAM: only read one page at a time.

This time I prefer this kernel doc:

It is a logarithmic value - setting it to zero means "1 page", setting
it to 1 means "2 pages", setting it to 2 means "4 pages", etc.
Zero disables swap readahead completely.

The default value is three (eight pages at a time). There may be some
small benefits in tuning this to a different value if your workload is
swap-intensive.

Lower values mean lower latencies for initial faults, but at the same time
extra faults and I/O delays for following faults if they would have been part of
that consecutive pages readahead would have brought in.

over aosp guide:

By default, the Linux kernel swaps in 8 pages of memory at a time.
When using ZRAM, the incremental cost of reading 1 page at a time is negligible and may help in case the device is under extreme memory pressure.
To read only 1 page at a time, add the following to your init.rc:
`write /proc/sys/vm/page-cluster 0`

build 20140313 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

Builded at this HEAD

- Switch cflag from -Og (reverted to -O2 then) to -O3, the kernel size was much bigger & reduce user RAM to 416MB

- Use newer linaro toolchhain 14.02

- Add aries-common: zRAM: only read one page at a time

imo default linux value will give better performance, but I prefer to follow aosp guide like in stock cm.

build 20140311 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

- Add 1100 oc step from mackay and 2 other commits.

build 20140308 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

- Use initram 0307 nightly with 144 mb zram + minor change to cma & merge android-3.0 aosp

build 20140306

- Add 2 commits to improve swap/zram + ramdisk 0228 nightly with 256 mb zram size

(not stable)

build 20140226

- Add 2 commits related to video for linux + merge stock cm-11 & android-3.0 aosp

build 20140214

- Same as aries version + some commits related to memory

build 20140212

- Add s3cfb: tl2796: do not read calibration data on aries from stock cm-11

- Add backport SLUB from Linux 3.3 from Hellybean GT-I9300 + another 4 commits.

build 20140209

- Merge android-3.0 kernel common.

- Enable CLEANCACHE, FRONTSWAP & ZCACHE

- Another CMA try.

build 20140207

- Add BLN & Fast Charge from Semaphore kernel.

Note for BLN: Need to manually rename lights.aries.so.bln in /system/lib/hw/ to lights.aries.so

Rename original file to lights.aries.so.cm or else for backup. Repeat this step in every rom flashing.

- Use newer linaro toolchhain 14.01

- Merge android-3.0 kernel common.

build 20140131

A bunch of patches from faux123, semaphore, codeaurora & linux-next, starting from here till this.

Some part maybe useless and here is the noticeable part:

- Update LMK, CMA and KSM.

- Use LZ4 compressor for zram.

- Add Semaphore Auto Brightness from stratosk (build as a module)

build 20140121

- Add ZRAM_FOR_ANDROID from faux123

- Remove KSM to prevent video recording failure

- Use LZ4 for initram

- Update recovery to Mackay TWRP 2.6.3.0

- Some cherry-pick related to CMA, low memory killer & binder

build 20140111

- Same as aries version exclude merge upstream (already added)

- Replace xvmalloc with zsmalloc for zram

build 20140106

- Same as aries version

build 20140105

- Add pawitp cma-test with 417mb memory (no need bigmem libs) and possible bugs.

- Fix lpm (charging when phone off)

build 20131231

- different boot logo

- add smartass2 cpu gov

build 20131221/22

- 1.32ghz OC step and revert sleep call gpio to prevent SOD

- 397mb memory (install bigmem lib by kasper_h separately for 720k video record fix)

- kernel config for smaller kernel size (mostly taken from semaphore kernel by stratosk)

- merged to aosp android-3.0 kernel common (big changes in wifi driver and interactive gov)

- update gpu driver to DDK 1.8@2198402 (as on mackay kernel and others)

- cherry-picked some commits related to zram, lzo and interactive gov

- display boot progress, etc..

Download

http://goo.im/devs/didhiy/aries_cm-11.0

http://goo.im/devs/didhiy/ariesbr_cm-11.0 (I9000B)

tips: check (sort by) modification time to find the latest build

Source:

Kernel

x-aries version

Ramdisk

Credits:

- pawitp

- stratosk

- kasper_h

- derteufel1980

- jugster

- alberto96

- unjustified dev

- all aries variant devs and community