[Galaxy S I9000 Android Development] Spezia12:
BETTER RAM AND PHONE PERFORMANCE

If you have high ram usage with every kernel with this rom do this.

Go in system-app and delete this files:

BluetoothTest

Buddies Now

lcdtest

EncryptApp

Factory Test

Google Search

Mobile tracker

Mobile tracker settings

ChocoEUKor

RoseEuKor

CoolEuKor

Self Test Mode

Service mode

Everything with SNS in his name

MTP Application

DRMprovider

DRMUA

Everything with sync in his name (ex: wssyncmldms or something like that)

If you have V7 installed delete Voice To Go (you can do it from the app drawer of TW4)

TW4 REDRAW PROBLEM

If tw4 redraws (mainly in V7) after opening apps or after long sessions of browsing, do this.

For who uses kernels with juwe's ram script like Semaphore:

1 Go in system-etc-init.d with root explorer or es file manager.

2 Open s97ramscript as text

3 You should see this:

#!/system/bin/sh

# Copyright� 2011 Juwe11

# 13.8.2011 Updated VM values - Thanks to [Kalis] for help

# 18.8.2011 Added values for oom_adj

if [ -e /sys/module/lowmemorykiller/parameters/adj ]; then

echo "0,1,2,4,6,15" > /sys/module/lowmemorykiller/parameters/adj

fi

if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then

echo "2560,4096,6144,12288,14336,18432" > /sys/module/lowmemorykiller/parameters/minfree

fi

if [ -e /proc/sys/vm/swappiness ]; then

echo "10" > /proc/sys/vm/swappiness

fi

if [ -e /proc/sys/vm/vfs_cache_pressure ]; then

echo "50" > /proc/sys/vm/vfs_cache_pressure

fi

if [ -e /proc/sys/vm/dirty_expire_centisecs ]; then

echo "3000" > /proc/sys/vm/dirty_expire_centisecs

fi

if [ -e /proc/sys/vm/dirty_writeback_centisecs ]; then

echo "500" > /proc/sys/vm/dirty_writeback_centisecs

fi

if [ -e /proc/sys/vm/dirty_ratio ]; then

echo "22" > /proc/sys/vm/dirty_ratio

fi

if [ -e /proc/sys/vm/dirty_background_ratio ]; then

echo "4" > /proc/sys/vm/dirty_background_ratio

fi

4 Change the first line 0,1,2,4,6,15 into 0,1,2,1,6,15

5 Save and reboot

For who uses Talon based kernels:

1 Go in system-etc

2 Open ram.conf as text

3 You will see something like this:

# ram.conf: settings file for use with ramset -kodos

RAM_CONF_VERSION=5.8 # Do not edit this

#

# This file controls various tweakable aspects of how your system manages its

# memory usage, including LowMemoryKiller behavior, ZRAM/compcache (i.e.

# compressed ram swap) settings, and kernel VM settings

# Kernel VM settings

# (kernel defaults are the commented-out ones below

#VFS_CACHE_PRESSURE=50

#DIRTY_RATIO=22

#DIRTY_BACKGROUND_RATIO=4

#DIRTY_EXPIRE_CENTISECS=3000

#DIRTY_WRITEBACK_CENTISECS=500

#LOWMEM_RESERVE_RATIO=32

LOWMEM_RESERVE_RATIO=256

#MIN_FREE_ORDER_SHIFT=4

#PAGE_CLUSTER=3

# LMK/ZRAM settings

FOREGROUND_APP_ADJ=0

VISIBLE_APP_ADJ=1

PERCEPTIBLE_APP_ADJ=2

HEAVY_WEIGHT_APP_ADJ=2

SECONDARY_SERVER_ADJ=2

BACKUP_APP_ADJ=2

HOME_APP_ADJ=3

HIDDEN_APP_MIN_ADJ=5

EMPTY_APP_ADJ=15

FOREGROUND_APP_MEM=2560

VISIBLE_APP_MEM=4096

PERCEPTIBLE_APP_MEM=6144

HEAVY_WEIGHT_APP_MEM=6144

SECONDARY_SERVER_MEM=6144

BACKUP_APP_MEM=6144

HOME_APP_MEM=11264

HIDDEN_APP_MEM=16384

EMPTY_APP_MEM=21504

LMK_ADJ="0,1,2,3,5,15"

LMK_MINFREE="2560,4096,6144,11264,16384,21504"

ZRAM_SIZE=0

SWAPPINESS=0

4 Change HOME_APP_ADJ to 1 and LMK_ADJ to 0,1,2,1,5,15

5 Save and reboot

Sorry if i've made such a long post but i think it will be useful for some users