[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
This kernel is based on TeamCanjica/3.0.101 branch and much credit goes to them for doing this :)

However not everything from TC kernel is there. I'm not happy with the new liveopp algorithm. Also there's no ddr oc as one can get hurt with this now (/data fs corruption). When @ChronoMonochrome improves the implementation, maybe I'll merge it.

Compatibility:

I suspect it should work fine for any CM-11.0 based rom. If someone tests it, I'll add info here

- Stock

- Vanir

- Carbon

- CM11

- CM10.1

- CM10.2

- CM12.1 until I get a proper ramdisk, I don't support this config, besides reboot/poweroff doesnt work on it.

For version r6 you don't need to flash extra ramdisk - it contains all previously gathered ramdisks and uses the right one based on /system/build.prop file - checks ro.build.version.sdk (https://github.com/mkaluza/Samsung_STE_Kernel/blob/master/usr/u8500_initramfs_files/init#L22)

Changes:

Kernel (https://github.com/mkaluza/Samsung_STE_Kernel/commits/3.0.101)

[r5] Full changelog

WARNING

- if you have some custom uv/oc, disable it first, as now you'll be using different Vbbx by default (original one). Test your oc/uv again for stability and correct if necessary, or restore Vbbx from your uv script first:

for f in /sys/kernel/liveopp/arm_step0*; do echo vbbx=0xcc > $f; done

btw novathor settings interfere with mali UV, so I removed them completely from my phone (can't be disabled - unfortunately for them :P)

Download:

MediaFire all releases

A bonus - a modified torch with high power option - I was always pissed with having to use novathor settings for this...

Install:

Flash update.zip with CWM

Loading modules

There are a few ways to load modules depending on how important those modules are:

1. add module name to /system/etc/modules file (create it if it doesn't exist). Add a name without extension (like cpufreq_lionheart or logger)

(TODO: handle /data/etc/modules as well)

Those modules will be loaded just after /system is mounted

2. use KoControl app (or similar) - those modules will be loaded when system starts up, so use it only for unimportant modules

3. copy it to one of initramfs overlay/modules directory: /efs/common/overlay/modules, /efs/boot/overlay/modules, /efs/recovery/overlay/modules - these modules will be loaded before init even starts - it's useful for filesystem modules like f2fs

Dynamic governor documentation

Since it has many params that depend on each other, some doc is needed:

Dynamic governor documentation

It's a work in progress, so it'll be gradually improved. You can improve the improvement process by letting me know that you use it and whether you like it or not :) If "not" - then tell me why, maybe something can be done about it. Although it's unlikely that I'll accept feature requests unless I find it useful for myself, feel free to fork the kernel and modify it :)

LVM

Before anything else, read those and all the stuff those posts tell you to read:

https://www.howtoforge.com/linux_lvm

http://xdaforums.com/nexus-s/general/howto-combined-emulated-storage-nexus-s-t2848752

http://xdaforums.com/nexus-s/general/howto-partitioning-nexus-s-using-lvm-t1656794

http://www.xda-developers.com/android/bypass-nexus-s-storage-restrictions/

If you don't understand something, keep reading. If you still don't understand, leave it for now - It's for your safety.

Later I'll add SGA specific stuff how to make use of our empty /preload partition and get more free space on /data

NFC

The kernel has nfc modules available, so in theory it should work - you just need to load them as described in section on modules.

Load pn544 and/or pn547. You also need nfc-enabled rom (If it doesn't work, then I don't know what else... don't have nfc to test it)

Upgradeable ramdisk

See this file, it tells all the story

https://github.com/mkaluza/Samsung_STE_Kernel/blob/master/usr/u8500_initramfs_files/init

I'll add some comment later

Troubleshooting:

- my wifi isn't working

- TODO: how to report errors to make the difference ;)

XDA:DevDB Information

MK Kernel [3.0.101], Kernel for the Samsung Galaxy S Advance I9070

Contributors

mkaluza

Source Code: https://github.com/mkaluza/Samsung_STE_Kernel

Kernel Special Features: LVM, new dynamic governor, automatic voltage calculation, 630 MB ram

Version Information

Status: Stable

Current Stable Version: r6.0.0.

Stable Release Date: 2015-06-05

Created 2014-12-19

Last Updated 2015-06-05