[XPERIA X10 Android Development] kaosdroid:
my lord

you know why I like you

because even when im drunk

the rom do all

best miui i try for now

ps;my install.recovery.sh

:-) just quote

#!/system/bin/sh

#give system permissions

/system/xbin/busybox mount -o remount,rw /system

chmod 777 /system

#mount system rw

mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

#Android Internal TK Tweaks

echo 1536,2048,4096,8192,12288,24576 > /sys/module/lowmemorykiller/parameters/minfree

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

echo 0 > /sys/module/lowmemorykiller/parameters/debug_level

echo 64 > /sys/module/lowmemorykiller/parameters/cost

#zdzihu: uncap fps

mount -t debugfs debugfs /sys/kernel/debug

echo '0' > /sys/kernel/debug/msm_fb/0/vsync_enable

umount /sys/kernel/debug

#cache SD reads

echo 4096 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

echo 4096 > /sys/devices/virtual/bdi/default/read_ahead_kb

#lights permission fix

chmod 777 /sys/class/leds/lv5219lg:rgb1:red/*

chmod 777 /sys/class/leds/lv5219lg:rgb1:green/*

chmod 777 /sys/class/leds/lv5219lg:rgb1:blue/*

chmod 777 /sys/class/leds/lv5219lg:fled/*

chmod 777 /sys/class/leds/lv5219lg:mled/*

chmod 777 /sys/class/leds/lv5219lg:sled/*

#juwell@xda tweaks

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

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

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

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

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

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

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

# zdzihu: "stuck at 1GHz" workaround

# echo 200000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

#handled in ramdisk

#busybox run-parts /system/etc/init.d

#sh /system/etc/init.d/00sdcardspeedfix

#sh /system/etc/init.d/98tweaks

#zdzihu: insert modules

for i in $( ls /system/lib/modules/extras );

do

insmod /system/lib/modules/extras/$i

done

#Compcache

service compcache /system/bin/handle_compcache

user root

group root

oneshot

#Compcache

if [ `getprop persist.service.compcache` == 1 ];

then

PROP=`getprop ro.compcache.default`;

setprop persist.service.compcache $PROP;

fi

if [ -e /data/property/persist.service.compcache ];

then

PROP=`getprop persist.service.compcache`;

else

PROP=`getprop ro.compcache.default`;

setprop persist.service.compcache $PROP;

fi

COMPCACHE=`getprop persist.service.compcache`;

if [ $COMPCACHE -ge 1 ];

then

/system/bin/compcache stop;

swapoff /dev/block/ramzswap0 2>/dev/null

/system/bin/compcache start;

sync;

echo 3 > /proc/sys/vm/drop_caches;

echo $COMPCACHE > /proc/sys/vm/swappiness;

fi;

#change default cpufreq governor

#echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

#echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

#echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

#echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential

#echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

echo 128000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 998400 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

# echo 1113600 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

# echo 245760 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

# echo 998400 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

#goro ramzswap

if [ -e /system/lib/modules/ramzswap.ko ]; then

insmod /system/lib/modules/ramzswap.ko

rzscontrol /dev/block/ramzswap0 --init

swapon /dev/block/ramzswap0

fi

#Battery Tweak

strace -p $(pidof yourapp) # for all your running applications

ps aux | awk '{print$10,$11}' | sort -n # will list all running softs sorted by used cpu time

#Remove

busybox rm -rf /data/tombstones/*

exit

-----

all module you see you need in

system,lib,module

iike !!

you people

oups

i ad this line in module

00sdcardspeexfix

#!/system/bin/sh

echo "4096" > /sys/devices/virtual/bdi/179:0/read_ahead_kb

# Tweak mmc read-ahead

mmcfolder="/sys/devices/platform/msm_sdcc.2/mmc_host/mmc1"

cd $mmcfolder

folderlist=`ls -1`

mmcresult=`echo $folderlist | grep -o '\bmmc1:\w*' | sed 's/mmc1://'`

echo 2048 > /sys/devices/platform/msm_sdcc.2/mmc_host/mmc1/mmc1:$mmcresult/block/mmcblk0/queue/read_ahead_kb

cd /

# sd card read speed fix

write /sys/block/mmcblk0/bdi/read_ahead_kb 2048

#SD Card Tweak

echo 16 > /sys/block/mtdblock0/bdi/read_ahead_kb

echo 16 > /sys/block/mtdblock1/bdi/read_ahead_kb

echo 16 > /sys/block/mtdblock2/bdi/read_ahead_kb

echo 16 > /sys/block/mtdblock3/bdi/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:0/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:1/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:2/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:3/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:4/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:5/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:6/read_ahead_kb

echo 512 > /sys/devices/virtual/bdi/7:7/read_ahead_kb

echo 4096 > /sys/block/mmcblk0/queue/read_ahead_kb

echo 128 > /sys/block/mmcblk0/queue/max_sectors_kb

echo 4096 > /sys/block/mmcblk1/queue/read_ahead_kb

echo 128 > /sys/block/mmcblk1/queue/max_sectors_kb

echo 4096 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

echo 97 > /sys/devices/virtual/bdi/179:0/max_ratio

echo 4096 > /sys/devices/virtual/bdi/default/read_ahead_kb

echo 97 > /sys/devices/virtual/bdi/default/max_ratio

echo 4096 > /sys/devices/virtual/bdi/mmcblk0p2/read_ahead_kb

echo 100000 > /sys/block/mmcblk0/queue/nr_requests

echo 100000 > /sys/block/mmcblk1/queue/nr_requests

echo 16 > /sys/devices/virtual/block/mtdblock3/queue/iosched/read_ahead_kb

echo 16 > /sys/devices/virtual/block/mtdblock2/queue/iosched/read_ahead_kb

echo 16 > /sys/devices/virtual/block/mtdblock1/queue/iosched/read_ahead_kb

but

this seam to be live good for me

if some of you guys have better

let post :-)

thAnk..$ sir

X10cobraMIUI.B-)