[Q] Remove dual touch? - Sony Ericsson XPERIA X10 Mini

3 questions.
1. Is it possible to remove dual touch?
2. It will help the phone to be faster?
3. If the first two answers is yes then how can i do it?

manthes said:
3 questions.
1. Is it possible to remove dual touch?
2. It will help the phone to be faster?
3. If the first two answers is yes then how can i do it?
Click to expand...
Click to collapse
1-yes
2-yes sure but not that much, maybe fewer than 1%
3- what's your rom+kernel+ touch screen type?
Sent From My BEAST , I mean X8

I don't use it so and 1% for me is fine
MiniCM7-2.2.1
nAa-14
What do you mean with touch screen type?

manthes said:
I don't use it so and 1% for me is fine
MiniCM7-2.2.1
nAa-14
What do you mean with touch screen type?
Click to expand...
Click to collapse
X10m & x8 come with two different touch screens
Syanptics(known as fake dual touch,one of touch points should not move otherwise touch will stop working )
Cypress(real dual touch which acts like dual touch screens but you must press your fingers a little harder)
Sent From My BEAST , I mean X8
---------- Post added at 04:58 PM ---------- Previous post was at 04:44 PM ----------
Your phone, your risk, I'm not responsible for bricks:
http://forum.xda-developers.com/showthread.php?t=1350484
Read the first post, it's written about removing dual touch
It's for x8 but x8 & x10 are much like the same.
nandroid backup is recommended
Repeating again: Your phone, your risk, I'm not responsible for bricks
Sent From My BEAST , I mean X8

Thanks for the answer.
I make a copy-paste insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko at the end of the file but nothing happens

manthes said:
Thanks for the answer.
I make a copy-paste insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko at the end of the file but nothing happens
Click to expand...
Click to collapse
Add that following code to
System/ etc/ hw_config.Sh
(Using text editor)
& you'll be fine
Sent From My BEAST , I mean X8

i have done it but it didn't work.
That's my file. Have i done something wrong?
# Vibrator configuration
dev=/sys/devices/platform/msm_pmic_vibrator
echo 2400 > $dev/voltage_mv
# lm3530 LMU configuration
dev=/sys/devices/platform/i2c-adapter/i2c-0/0-0036
echo linear > $dev/br::mapping # linear exp
echo 32768 > $dev/br::rate::up # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
echo 32768 > $dev/br::rate::down # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
echo 254 > $dev/br::limit # 0 - 255
echo 22.5 > $dev/br::fsc # 5.0, 8.5, 12.0, 15.5, 19.0, 22.5, 26.0, 29.5
echo 4,16,64,250 > $dev/curve::borders
echo 50,50,50,50,50 > $dev/curve::targets
echo high-z > $dev/als::r1 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
echo high-z > $dev/als::r2 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
echo 128 > $dev/als::avg-t # 32, 63, 128, 256, 512, 1024, 2048, 4096
echo i2c_pwm_als > $dev/mode # i2c, pwm, i2c_pwm, als, pwm_als, i2c_pwm_als, i2_als
# Proximity sensor configuration
dev=/sys/devices/platform/proximity-sensor/semc/proximity-sensor
echo 15 > $dev/led_on_ms # sensor LED on time in ms
echo 35 > $dev/led_off_ms # sensor LED off time in ms
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 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 122880 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# Flash LED configuration
dev=/sys/devices/platform/msm_pmic_flash_led
echo 80 > $dev/spotlight::current_ma # spotlight current
echo 4700 > $dev/spotlight::boost_mv # spotlight boost voltage
echo 480 > $dev/cmaflash::current_ma # camera flash current
echo 5000 > $dev/cmaflash::boost_mv # camera flash voltage
dev=/sys/devices/platform/msm_pmic_misc_led.0
echo 255 > $dev/max::brightness
echo 3 > $dev/als::cut-off
zone "0"
echo user_als > $dev/control::mode
echo 40 > $dev/max::current_ma
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
chmod u+s /system/bin/charger
mount -o ro,remount -t yaffs2 /dev/block/mtdblock0 /system
rm -rf /data/local/download/*
insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko

manthes said:
i have done it but it didn't work.
That's my file. Have i done something wrong?
# Vibrator configuration
dev=/sys/devices/platform/msm_pmic_vibrator
echo 2400 > $dev/voltage_mv
# lm3530 LMU configuration
dev=/sys/devices/platform/i2c-adapter/i2c-0/0-0036
echo linear > $dev/br::mapping # linear exp
echo 32768 > $dev/br::rate::up # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
echo 32768 > $dev/br::rate::down # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
echo 254 > $dev/br::limit # 0 - 255
echo 22.5 > $dev/br::fsc # 5.0, 8.5, 12.0, 15.5, 19.0, 22.5, 26.0, 29.5
echo 4,16,64,250 > $dev/curve::borders
echo 50,50,50,50,50 > $dev/curve::targets
echo high-z > $dev/als::r1 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
echo high-z > $dev/als::r2 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
echo 128 > $dev/als::avg-t # 32, 63, 128, 256, 512, 1024, 2048, 4096
echo i2c_pwm_als > $dev/mode # i2c, pwm, i2c_pwm, als, pwm_als, i2c_pwm_als, i2_als
# Proximity sensor configuration
dev=/sys/devices/platform/proximity-sensor/semc/proximity-sensor
echo 15 > $dev/led_on_ms # sensor LED on time in ms
echo 35 > $dev/led_off_ms # sensor LED off time in ms
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 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 122880 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# Flash LED configuration
dev=/sys/devices/platform/msm_pmic_flash_led
echo 80 > $dev/spotlight::current_ma # spotlight current
echo 4700 > $dev/spotlight::boost_mv # spotlight boost voltage
echo 480 > $dev/cmaflash::current_ma # camera flash current
echo 5000 > $dev/cmaflash::boost_mv # camera flash voltage
dev=/sys/devices/platform/msm_pmic_misc_led.0
echo 255 > $dev/max::brightness
echo 3 > $dev/als::cut-off
zone "0"
echo user_als > $dev/control::mode
echo 40 > $dev/max::current_ma
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
chmod u+s /system/bin/charger
mount -o ro,remount -t yaffs2 /dev/block/mtdblock0 /system
rm -rf /data/local/download/*
insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko
Click to expand...
Click to collapse
Maybe your phone have cypress
try this:
Code:
insmod /system/lib/modules/cypress_i2c_rmi4_no_dt.ko
Edit: sorry this module is not included so wait a moment, I'll find another solution
Sent From My BEAST , I mean X8
---------- Post added at 12:38 AM ---------- Previous post was at 12:29 AM ----------
Grab & Upload hw_config.sh from system/etc/
I'll change preference & send it to you
Sent From My BEAST , I mean X8

i see that in my folder modules i dont have any of these files.
the only files are :
modules.deb.bb
sdio.ko
tiap_drv.ko
tiwlan_drv.ko
x10miniprouv.ko

manthes said:
i see that in my folder modules i dont have any of these files.
the only files are :
modules.deb.bb
sdio.ko
tiap_drv.ko
tiwlan_drv.ko
x10miniprouv.ko
Click to expand...
Click to collapse
Sorry again, I need hw_config.sh ,upload that here(system/etc/)
I'll fix it & send it to you
Sent From My BEAST , I mean X8

here it is

Related

[Q] tweaking script for Tablet: gets slow after a while

Hi.
There is a script for my (future) tablet out there, it is supposed to make the tablet work smoother.
Unfortunately there are reports that the tablet gets very slow after a longer time without reboot.
Can anybody look over the script and tell me what the problem could be?
Tablet is a Hannspree Hannspad, rather similar to Advent Vega.
Thanks in Advance
Script in /system/etc/:
#!/bin/bash
# Tweaks for Hannspad v0.23
# by Archimed
# Tweaks RAM"
echo 1536,3072,5632,6144,7168,8192 > /sys/module/lowmemorykiller/parameters/minfree;
echo 0,3,5,7,14,15 > /sys/module/lowmemorykiller/parameters/adj;
echo 0 > /sys/module/lowmemorykiller/parameters/debug_level;
echo 64 > /sys/module/lowmemorykiller/parameters/cost;
#Sdcache speedup sd read
echo 4096 > /sys/devices/virtual/bdi/179:16/read_ahead_kb;
echo 4096 > /sys/devices/virtual/bdi/179:24/read_ahead_kb;
echo 0 > /proc/sys/vm/swappiness;
#gives more mem to cache fs dentry and inode to save cpu
echo 10 > /proc/sys/vm/vfs_cache_pressure;
echo 65 > /proc/sys/vm/dirty_ratio;
echo 10 > /proc/sys/vm/dirty_background_ratio;
#echo 20480 > /proc/sys/vm/min_free_kbytes;
#page-cluster controls the number of pages which are written to swap in a single attempt
echo 0 > /proc/sys/vm/page-cluster;
echo 15 >/proc/sys/fs/lease-break-time;
#specifies the grace period (in seconds) that the kernel grants to a process holding a file lease after it has sent a signal to that process notifying it that another process is waiting to open the file
echo 10000000 > /proc/sys/kernel/sched_latency_ns;
echo 2000000 > /proc/sys/kernel/sched_min_granularity_ns;
echo 760000 > /proc/sys/kernel/sched_wakeup_granularity_ns;
echo 0 > /proc/sys/vm/oom_kill_allocating_task;
#TCP tweak
echo 0 > /proc/sys/net/ipv4/tcp_timestamps;
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse;
echo 1 > /proc/sys/net/ipv4/tcp_sack;
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle;
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling;
echo 5 > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo 30 > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo 25 > /proc/sys/net/ipv4/tcp_fin_timeout;
echo 404480 > /proc/sys/net/core/wmem_max;
echo 404480 > /proc/sys/net/core/rmem_max;
echo 256960 > /proc/sys/net/core/rmem_default;
echo 256960 > /proc/sys/net/core/wmem_default;
echo 4096 16384 404480 > /proc/sys/net/ipv4/tcp_wmem;
echo 4096 87380 404480 > /proc/sys/net/ipv4/tcp_rmem;
setprop wifi.supplicant_scan_interval 400;
#better scrolling speed through lists
setprop windowsmgr.max_events_per_sec 65;
## disable touch below 60 pixels
#setprop mot.proximity.delay 60;
# NEVER kill the launcher, speedup Home return but less free memory
echo -17 > /proc/`pidof com.android.launcher`/oom_adj;
#remounting file systems with noatime nodiratime flags ,save battery and CPU
for x in $(busybox mount | cut -d " " -f3);
do
if [ "$x" != "/acct" ] && [ "$x" != "/dev/cpuctl" ]; then
sync;
log -p i -t remount_volume "remount $x noatime nodiratime";
busybox mount -o remount,noatime,nodiratime $x;
fi
done;
#flags every mounted partition as non rotational and increases it's cache size for more read speed
array=("/sys/block/mtdblock3" "/sys/block/mtdblock7" "/sys/block/mmcblk3" "/sys/block/mtdblock4" "/sys/block/mtdblock0" );
len=${#array[*]};
i=0;
while [ $i -lt $len ];
do
rep=${array[$i]};
echo 0 > $rep/queue/rotational;
echo 4096 > $rep/queue/read_ahead_kb;
echo 512 > $rep/queue/nr_requests;
echo 1 > $rep/queue/iosched/low_latency;
let i++;
done;
# Switch CPU frequency to lowest in sleep mode
CUR_MAX_CPU=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`;
(while [ 1 ];
do
AWAKE=`cat /sys/power/wait_for_fb_wake`;
if [ $AWAKE = "awake" ]; then
echo $CUR_MAX_CPU > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo 216000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo 5000 > /proc/sys/vm/dirty_expire_centisecs;
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs;
log -p i -t Screenstate "script.sh AWAKE -> switching max CPU frequency $CUR_MAX_CPU hz";
fi
SLEEP=`cat /sys/power/wait_for_fb_sleep`;
CUR_MAX_CPU=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`;
if [ $SLEEP = "sleeping" ]; then
echo 216000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo 216000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
log -p i -t Screenstate "script.sh SLEEP -> switching max CPU frequency 216 Mhz";
echo 40000 > /proc/sys/vm/dirty_expire_centisecs;
echo 60000 > /proc/sys/vm/dirty_writeback_centisecs;
#free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
#kill some process who use to much cpu in sleep
newsrepublic=`pidof com.mobilesrepublic.appytablet`;
mxvideoplayer=`pidof com.mxtech.videoplayer.ad`;
googlemaps=`pidof com.google.android.apps.maps`;
gapps=`pidof com.google.process.gapps`;
gallery=`pidof com.android.gallery3d`;
voice=`pidof com.google.android.apps.googlevoice`;
googlemaps2=`pidof com.google.android.apps.maps:NetworkLocationServic e`;
gallery2=`pidof com.flikie.wallpapers.gallery`;
kill $newsrepublic $mxvideoplayer $googlemaps $gapps $voice $googlemaps2 $gallery2;
log -p i -t Screenstate "script.sh kill pid $newsrepublic $mxvideoplayer $googlemaps $gapps $voice $googlemaps2 $gallery2";
fi
sleep 2;
done &);
#Battery temperature control
(while [ 1 ];
do
sleep 900;
TEMP=`cat /sys/class/power_supply/battery/temp`;
if [ $TEMP -gt 450 ]; then
log -p i -t BatteryTempState "script.sh battery temperature too high (`expr $TEMP / 10` C) reduce CPU -> 760 Mhz";
echo 760000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo 216000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
if [ $TEMP -gt 500 ]; then
log -p i -t BatteryTempState "script.sh battery temperature is critical (`expr $TEMP / 10` C) Emergency Shutdown";
reboot -p;
fi
else
log -p i -t BatteryTempState "script.sh battery temperature (`expr $TEMP / 10` C)";
fi
done &);
Click to expand...
Click to collapse
Nobody, who wants to look over the script?

[Tweaks] All in one tweaks build.prop,init.d,Wifi,Xloud,Bravia,A-Gps,A/V Sync,Modules

Intro
Tweaks for All ROM To make your phone faster and more features
Installation For init.d and build.prop @ post Here
ChangeLog @ post Here
Build.prop Tweaks
Some ROM have 2 build.prop you have to change both @ /System and /System/bin​
Code:
# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
# VM Heapsize; 178MB RAM = 32 is better
dalvik.vm.heapsize=32m
# Render UI with GPU
debug.sf.hw=1
# Decrease dialing out delay
ro.telephony.call_ring.delay=0
# Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150
# Save battery
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
# Disable debugging notify icon on statusbar
persist.adb.notify=0
# Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
# Photo and video recording quality tweak (2.3 Rom only)
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=800000
# Photo and video recording quality tweak (2.2 Rom only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1000000
# Photo and video recording quality tweak (Official ROM only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1600000
# Internet tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.hsdpa.category=10
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
# NetSpeed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25
# Fix some application issues
ro.kernel.android.checkjni=0
# Phone will not wake up from hitting the volume rocker
ro.config.hwfeature_wakeupkey=0
# Force button lights on when screen is on
ro.mot.buttonlight.timeout=0
# Disable boot animation for faster boot
debug.sf.nobootanimation=1
# Enable Stagefright helps stream Video and Music Faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
# Enable display Dithering
persist.sys.use_dithering=1
# Enable purgeable assets
persist.sys.purgeable_assets=1
# For SD storage insert notification sound
persist.service.mount.playsnd=0
init.d tweaks
Download Init.dtweaksV3.rar and choose 99Tweaks for balance option and 99XTweaks for aggressive tweaks copy it to /system/etc/Init.D
Note:Choose 99TweaksLow/99XTweaksLow for sdcard class3 and lower​
Init.d tweaks contain
IPv4 tweaks
Code:
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
Dalvik VM tweaks
Code:
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
Battery Tweaks
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
SDCard speed tweaks
Code:
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
Note:If you have init.d problem or if not have init.d folder try add this line at hw_config.sh​
Balance Tweaks
Code:
# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
Aggressive Tweaks
Code:
# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
SuperCharger
Supercharger is minfrees,OOM groping fixes for our X8
Credits Goes To zeppelinrox
Download And Tutorial Here
And tutorial for stick minfrees Credits goes to SpyderX
1.In /etc/hw_config.sh write this line at the top
Code:
sh /etc/minfreeadjstick.sh
2.then, create a file (not folder) called minfreeadjstick.sh in /etc
3.open it and write this lines inside
4.
Code:
# Script to make minfrees and adj stick (Credits to Zeppelinrox)
sleep 40
echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "1536,2048,6656,7168,7680,8192" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "1" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/kernel/panic
# end of script
Wifi tweaks
This wifi tweaks is enabling N standard and 5ghz band
Credits Goes to Graveir ​1. go to /system/etc/firmware
2. find this file name
Code:
fm_rx_init_1273.2.bts
fm_tx_init_1273.2.bts
fmc_init_1273.2.bts
3.Are they there? good you will have 5ghz band. Are they not there? you wont get 5ghz band
4.Go to /system/etc/ and find tiwlan.ini Note: In CM7 based ROMs the path may be /system/etc/wifi
5.Look for the following lines:
Code:
HT_Enable=0 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 0
and change them into:
Code:
HT_Enable=1 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 1
6. This stage is for people who have file from step 2
Look for the line
Code:
Single_Dual_Band_Solution = 0
And change them into
Code:
Single_Dual_Band_Solution = 1
7. Save, reboot
Xloud Engine
2.3 ROM Only​
Xloud is making Sound enhancement,Volume enhancement,Equalizer enhancement credits goes to su.angga​1.Download Here
2 Add this line at bottom of your build.prop
Code:
# Xloud Engine
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
3.Set all permission to rw-r-r
[V][V][0]
[V][0][0]
[V][0][0]
4.Reboot,Enjoy
Note:X-Loud is making DSPManager work incorrectly
Bravia Engine
2.3 and 2.2 ROM​
What is Bravia Engine? Learn Here
Credits goes to GreatApo​
1.Download Here
2.Add this line at bottom of your build.prop
Code:
# BRAVIA HACK
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
3.Copy be_photo and be_movie to system/etc
4.Set all permission
[V][V][0]
[V][0][0]
[V][0][0]
5.Reboot,Enjoy
A-Gps Patch
A-Gps patch is make GPS more accurate and lock on more Sat
Credits goes to crypted ​
1.Download Generic build Here
2.Copy to your SDCard
3.Boot to CWM recovery
4.select the "Mounts and storage" option, then "mount /system"
5.Install custom zip
6.choose the zip
7.Reboot,Enjoy
Video Recording A/V Sync for CM6​Credits goes to jkrauser​
This Audio and video sync for CM6/2.2.X
1.Download Here
2.Copy to your SDCard
3.Boot to Xrecovery
4.Install zip
5.Reboot,Enjoy
Modules For Stock Kernels​Modules is Add-on for our X8/E15​
X8Gesture Pinch zoom/Fake DT Doixanh Sypanitcs Fake DT
Instruction & Download Here
andrej456 Pinch zoom/Fake DT Good for zooming Sypanitcs Fake DT
this is andrej456 X8Gesture good for zooming
Download Here
Instruction Here
AX8MT Cypress Real DT by AnDyX
Instruction & Download Here
X8UnderVolt UnderVolt CPU voltage
Instruction & Download Here
X8Overclock Overclock X8 CPU
Instruction & Download Here
Additional Modules:Tun.ko,Vpnc,NTFS,Utf8,Ext3,Ext4
You can find Here Here
Instalation for Init.d
1.Download
2.Extract
3.Choose 99Tweaks/99Xtweaks
4.copy to init.d
5.set perm to
[V][V][0]
[V][0][0]
[v][0][0]
6.reboot
7.Enjoy
instalation build.prop
1.look at build.prop tweaks
2.copy or edit (if exist) to your build.prop
3.set perm to
[V][V][0]
[V][0][0]
[v][0][0]
4.reboot
5.Enjoy
ChangeLog:
Post Update: Update
three build.prop update
Code:
# Enable display Dithering
persist.sys.use_dithering=1
# Enable purgeable assets
persist.sys.purgeable_assets=1
# For SD storage insert notification sound
persist.service.mount.playsnd=0
Init.D tweaks Update: Remove
Remove Minfrees Tweaks
Add SuperCharger
Post Update: More Detail
More Detail Instructions
Add credits thanks SpyderX
Add Sleep Mode build.prop
All Tweaks v3: added tweaks
Added wifi N standard
Added X-Loud engine
Added Bravia engine
Update init.d v3 for lower class Sdcard
and read ahead cache is 512kb
init.d tweaks v2: init.d update
MicroSD tweaks Thanks SpyderX
Some changes on Aggressive tweaks And again thanks SpyderX
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
added experimental tweaks, contain
Code:
echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2560,4096,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "1" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
All v1:
initial release for public
nice. ..
XtremePeople said:
LowmemoryKiller Tweaks Balance
Click to expand...
Click to collapse
i think better is avoid this section and use Supercharger
.And thanks for other. will try this evening
Thanks. I'm gonna try some tweaks..
Sent from my X8 using XDA Premium App
Sorry for a noon question but can u explain the installation process a little bit more detailed...?
Sent from my X8 using XDA App
working in Gingerdx v17+LinuxDx v004.. thanks buudy!
u have to copy the file to the init.d folder, then set peimissions of it with root explorer
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
/sys/devices/virtual/bdi/179:0/read_ahead_kb is the file
Oh and my /etc folder is attached, take all the files you want from it.
By the way don't take the wifi files . They don't work I think...
Don't replace your entire folder with my folder, just take the stuff you need .
Of course, mine is not perfect .
And settings should be:
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
Please make a version with tweaks to 2.1
is the bravia engine working on froyobread?
---------- Post added at 07:22 PM ---------- Previous post was at 06:56 PM ----------
you forgot to add this line
3. Go back to /system/etc and find a file named tiwlan.ini
NOTE: In CM7 based ROMs the path may be /system/etc/wifi
Click to expand...
Click to collapse
Thats why i dont find it! lol
SpyderX said:
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
(...)
[/code]
Click to expand...
Click to collapse
NOOOOOOO xD
With that Cache size the music has hiccups.
Probably if you have an higher class sdcard, that cache size will be good, but with Class2 and Class4 there is hiccups when you're listening to music
128KB for Slow MemoryCards
Any of this tweaks allow us to connect to eduroam networks?
XtremePeople, u should warn people, because enabling WiFi .n makes wifi work very unstable -___-
WARR10r said:
XtremePeople, u should warn people, because enabling WiFi .n makes wifi work very unstable -___-
Click to expand...
Click to collapse
No,Wifi N just stable for B/G but it will unstable to connect N standard
RockitOut11 said:
NOOOOOOO xD
With that Cache size the music has hiccups.
Probably if you have an higher class sdcard, that cache size will be good, but with Class2 and Class4 there is hiccups when you're listening to music
128KB for Slow MemoryCards
Click to expand...
Click to collapse
I think 512kb for class 3 and lower
ilarisk said:
is the bravia engine working on froyobread?
Click to expand...
Click to collapse
It's work on 2.2 and 2.3
SpyderX said:
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
/sys/devices/virtual/bdi/179:0/read_ahead_kb is the file
Oh and my /etc folder is attached, take all the files you want from it.
By the way don't take the wifi files . They don't work I think...
Don't replace your entire folder with my folder, just take the stuff you need .
Of course, mine is not perfect .
And settings should be:
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
Click to expand...
Click to collapse
yes is best is 2048 for class 4 above but dalvik vm is best is 32 for me
szaberto said:
u have to copy the file to the init.d folder, then set peimissions of it with root explorer
Click to expand...
Click to collapse
where is this init.d folder ? can u please teach me step by step? thanks..
maliceomalice said:
where is this init.d folder ? can u please teach me step by step? thanks..
Click to expand...
Click to collapse
system/etc/init.d
etc/init.d
I copy on the both
hunff said:
system/etc/init.d
etc/init.d
I copy on the both
Click to expand...
Click to collapse
i download the v3 tweak. after i extract,wat should i do? copy all files in the folder to init.d folder?

[Q] init.d --> semicolon use?

Hi everyone,
I have just one question to ask:
In every init.d file that I've found, it's been divided-- some lines are with semicolons, others are one. Most have both, which confuses me greatly...
AND they're right next to each other; for example, in the Pimp My Rom tweaks,
The S10vm tweak has all but one semicolon-ed:
Code:
#!/system/bin/sh
echo "4096" > /proc/sys/vm/min_free_kbytes;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "70" > /proc/sys/vm/dirty_background_ratio
In the S36iosched file, almost none are semicoloned:
Code:
#!/system/bin/sh
mount -o remount,rw /sys /sys;
mount -o remount,rw /system /system;
echo 2 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo 2230 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 2230 > /sys/block/mmcblk0/queue/iosched/async_write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/async_read_expire
echo 2 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 2230 > /sys/block/mmcblk0/queue/iosched/sync_write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/sync_read_expire
mount -o remount,ro /system /system
mount -o remount,ro /sys /sys
It's driving me nuts (I'm compiling my own init.d file) and I'm not sure whether to include the semicolon or not >__>
Thanks for your definitive response; it is very much appreciated!
The semicolon is a command separator. If command are separated by a new line, you don't need a semicolon. Inserting one won't make any difference.
Sent from my Nexus 7
BillGoss said:
The semicolon is a command separator. If command are separated by a new line, you don't need a semicolon. Inserting one won't make any difference.
Sent from my Nexus 7
Click to expand...
Click to collapse
Okay, thanks for your response! It's much clearer now.

What Init.d and Build.prop tweaks do you Recommend?

For those of you who like to do additional tweaks to your phone, what init.d and build.prop tweaks do you use? I've noticed some of them try to override crpalmer and Zarboz's kernel settings so I removed them. Also, I've read that some of these tweaks don't help at all.
So what tweaks do you recommend, if any, that play well with the DNA and with custom kernels?
Currently I have speedscript in my init.d folder but I noticed no benefit or detriment so I may just remove it. I also reduced the WiFi scan interval in the build.prop. I would like to add more tweaks since I can't leave well enough alone.
I'm looking for speed and battery improvements which can he a fine balancing act. I also want to increase the scroll speed as wel as change the autobrightness settings so it's more biased to lower brightness. I'm not sure if those could be achieved with init.d or build.prop tweaks.
#Render graphics with GPU&CPU
debug.composition.type=cpu
debug.composition.type=gpu
#For Faster Startups Disable Boot Animation
debug.sb.nobootanimation=1<<< faster
[QOUTE]Many build.prop tweaks set this value to 300, but it seems this is a bad idea. As Google points out, Android maxes out at 60fps. The default value is already allow for a possible max_events_per_sec of 90. Even if you allow for 300 max_events_per_sec, you’ll only ever see 60 of these events in any given second. Therefore, any value much higher than 90 is unlikely to have any noticeable impact on your experience in general. Additionally, setting this value too high can starve other UI events that need to get processed, viz. touch inputs. You’re not likely to feel like your device is running very smoothly when it is busy processing thousands of scroll events instead of responding immediately to you clicking to try and open a link or an app. There may be some specific scenarios where increasing this value does appear to improve system feedback, but changing this value for all UI events across the board will likely cause more problems than it will solve.[/QOUTE]
# faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
# improve voice call clarity
ro.ril.enable.amr.wideband=1
# disable error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# faster youtube?
ro.ril.hep=0
# Faster boot
persist.sys.shutdown.mode=hibernate
# does not need to be on if not a dev
persist.android.strictmode=0
# disable USB debugging icon from status bar
persist.adb.notify=0
# Qualcomm display settings
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true
# BATTERY SAVING-----------------
ro.ril.disable.power.collapse=1
ro.mot.eri.losalert.delay=1000 #smooths out network disconnects. breakes tethering in CM7.
ro.config.nocheckin=1 #disable sending usage data to google
# sleep modes
pm.sleep_mode=3<<< thats my personal mode used
#usage:
#pm.sleep_mode=0 -> collapse suspend
#pm.sleep_mode=1 -> collapse (will totally power off the cpu)
#pm.sleep_mode=2 -> sleep (cpu is still on, but put into low power mode (registers are still saved)
#pm.sleep_mode=3 -> slow Clock and Wait for Interrupt (lowered frequency and voltage)
#pm.sleep_mode=4 -> wait for interrupt (no change in cpu clock or voltage)
# locks launcher in memory (not recommended on low RAM devices)
#ro.HOME_APP_ADJ=1
check some of thoses out and maybe that will help in what your looking for
internet speed tweaks
Code:
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
vm management tweaks
Code:
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
misc kernel tweaks
Code:
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
5. battery tweaks
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
6. EXT4 tweaks (greatly increase I/O)
(needs /system, /cache, /data partitions formatted to EXT4)
removes journalism
Code:
tune2fs -o journal_data_writeback /block/path/to/system
tune2fs -O ^has_journal /block/path/to/system
tune2fs -o journal_data_writeback /block/path/to/cache
tune2fs -O ^has_journal /block/path/to/cache
tune2fs -o journal_data_writeback /block/path/to/data
tune2fs -O ^has_journal /block/path/to/data
b) perfect mount options
Code:
busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier =0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /cache
Flags blocks as non-rotational and increases cache size
Code:
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
done
microSD card speed tweak
Code:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
Defrags database files
Code:
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;';
done
Auto change governor and I/O Scheduler
a) I/O Scheduler (Best: MTD devices - VR; EMMC devices - SIO) - needs kernel with these
Code:
echo "vr" > /sys/block/mmcblk0/queue/scheduler
or
echo "sio" > /sys/block/mmcblk0/queue/scheduler
b) Governor (Best: Minmax > SavagedZen > Smoothass > Smartass > Interactive) - needs kernel with these
Code:
echo "governor-name-here" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Move dalvik-cache to cache partition to free up data partition space <<< do this only if room is availble
Code:
CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
then
echo "Large cache detected, moving dalvik-cache to /cache"
if [ ! -d /cache/dalvik-cache ]
then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache
# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
else
echo "Small cache detected, dalvik-cache will remain on /data"
fi
Disable normalize sleeper
Code:
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
there does those 2 posts help you out orange
---------- Post added at 08:52 AM ---------- Previous post was at 08:51 AM ----------
also some of these are just examples so just modify for your needs cool?
---------- Post added at 08:54 AM ---------- Previous post was at 08:52 AM ----------
autobrightness you need to decompile framework-res.apk

[Q] low memory killer 1000,2000,... casue reboot

I am using this setting.
echo "0,1,4,6,13,15" > /sys/module/lowmemorykiller/parameters/adj
echo "4000,5000,6000,10000,15000,20000" > /sys/module/lowmemorykiller/parameters/minfree
I see other members using 1000,2000,... or lower for minfree.
If I use my value for my neo, firefox closes when I load some image heavy page.
If I use lower value for my neo, it reboots in the same situation.
It is pretty strange. Please give some advises.
p.s. my vm.min_free_kbytes is 4096, related?
For stable use system use and low battery drain
echo 0 > /proc/sys/vm/oom_kill_allocating_task
echo 1 > /proc/sys/vm/vfs_cache_pressure
echo 95 > /proc/sys/vm/dirty_ratio
echo 80 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/block_dump
echo 1 > /proc/sys/vm/overcommit_memory
echo 80 > /proc/sys/vm/overcommit_ratio
echo 3 > /proc/sys/vm/page-cluster
echo 0 > /proc/sys/vm/panic_on_oom
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo "10" > /proc/sys/fs/lease-break-time
echo 3 > /proc/sys/vm/drop_caches
Click to expand...
Click to collapse
for performance
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 10 > /proc/sys/vm/dirty_ratio
echo 4 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/block_dump
echo 1 > /proc/sys/vm/overcommit_memory
echo 100 > /proc/sys/vm/overcommit_ratio
echo 3 > /proc/sys/vm/page-cluster
echo 0 > /proc/sys/vm/panic_on_oom
echo 3000 > /proc/sys/vm/dirty_expire_centisecs
echo 1000 > /proc/sys/vm/dirty_writeback_centisecs
echo "10" > /proc/sys/fs/lease-break-time
echo 3 > /proc/sys/vm/drop_caches
echo "256,512,4096,11120,25360,33300" > /sys/module/lowmemorykiller/parameters/minfree
Click to expand...
Click to collapse
you can copy this to file without extention end run into terminal/shell exec sh path_to_your_file
try this and give me a feedback. On rom i use it's give a very good scores
invidian1 said:
For stable use system use and low battery drain
for performance
you can copy this to file without extention end run into terminal/shell exec sh path_to_your_file
try this and give me a feedback. On rom i use it's give a very good scores
Click to expand...
Click to collapse
Can we make a file and put this init.d folder??
Sent from my MT11i using xda premium
vishal_android freak said:
Can we make a file and put this init.d folder??
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Of course, plese I added smartassv2 setting to this scripts too. But they will not work if you didn't choose smartassv2 as Your Governor. Delete ".txt" and push one of them to init.d folder.

Categories

Resources