[Samsung Galaxy SL i9003] loSconosciuto:
New kernel and CM10 build.

Kernel changes:

adb is automatically re-enabled once rndis (USB tethering) is disabled

Removed the boostpulse interface from ondemand

Added a governor named ondemandboost. It's just the old ondemand. (this required changes in power HAL and DeviceParts. They're included in the zip.)

EDIT 2: I added an additional governor to see how's ondemand without boostpulse interface and if it has anything to do with the kernel oops I rarely get while unloading tiwlan_drv.ko. That oops happened more frequently with interactive backported from 3.0 and once appeared, it use to appear whenever the screen was touch.

ROM changes: (backported from cm-10.1)

Dalvik changes

Phone blacklist functionality

Option to use volume keys to control media volume anytime (before you ask: Settings > Sound > Volumes > Volume keys control...)

adb sideload cancellation (CWM)

Other minor changes

FYI I'm including the small framework patch required to use the modded camera app which allows you choose where to save pictures. I'm not including it in my builds, but if you want, here the zip. It's probably not perfect or buggy. I'm not using it.

I also updated this post, so that you can see the changes in a more specific way.

Downloads

ROM: cm-10-20130508-UNOFFICIAL-galaxysl.zip

Kernel: kernel-qwerty-cm-10-galaxysl-v4.1-test3.zip

Request:

If you are going to flash this build over a stock ROM or CM10 pre-A4, please tell me if right after the reboot that happens while flashing, the flash continues flawlessly or you had to remove the battery because of continuous reboots.

I think I fixed the problem, but I couldn't test the changes.

_______________

[MENTION=4588282]sgatechwork[/MENTION]

You are surely doing something wrong. I repeat that unless you flash another kernel, you can't change the swappiness value on boot (you can with this build/kernel). Test this with adb (too lazy for a flashable zip):

adb root
adb remount
adb shell
echo -e "#!/system/bin/sh\nsysctl -p /system/etc/sysctl-example.conf" > /etc/init.d/99sysctlexample
echo "kernel.poweroff_cmd=THIS_WAS_CHANGED" > /system/etc/sysctl-example.conf
chmod 777 /etc/init.d/99sysctlexample
#reboot
sysctl kernel.poweroff_cmd #it should be "THIS_WAS_CHANGED"

After that, you can delete /system/etc/sysctl-example.conf and /etc/init.d/99sysctlexample, but they are harmless (EDIT: kernel.poweroff_cmd is not used in Android).

[MENTION=4473033]LoLaTiOn[/MENTION]

I think it's better not to to set swappiness to 0 by default because:

If swappiness=0, swap partitions are rarely used. What zRam does is to create a swap partition inside the RAM, so, if you enabled zRam and set swappiness=0, you are basically wasting X MB of RAM. I'd leave the default value set by /system/bin/compcache when zRam is enabled, which is 30.

If you are not using zRam, but you made a swap partition inside your SD, swappiness=0 makes more sense (not so much IMO). In any case, this is a particular situation and if you know how to create a swap partition, you should know how to change the swappiness value.

If you don't have any swap partition, it doesn't matter what's the swappiness value.

And:

14:26:[COLOR=RED]22.484[/COLOR] Info run-parts 1261 Zipaligning...
14:26:[COLOR=RED]22.484[/COLOR] Info run-parts 1261 Zipalign complete! Runtime: 00:00:01

There must be something wrong, it can't take less than 0ms to check all the apks and zipalign the unaligned apks...