Minggu, 03 Maret 2013

Android Tweak Script


Here is a set of scripts to optimize the performance of Android,
How to add the installation is one of the following script into the build.prop which is located in "/ system / build.prop"

Example:

# Save battery
wifi.supplicant_scan_interval = 180
pm.sleep_mode = 1
ro.ril.disable.power.collapse = 0

caption:
1. # (Hastag of each name is the script)
2.Save battery (battery saving, is the name of the script to save battery)
3.wifi.supplicant_scan_interval = 180
   pm.sleep_mode = 1
   ro.ril.disable.power.collapse = 0 (function script in order to save battery)

One copy of the script code or everything if you want into build.prop,
build prop open an existing file in the "/ system / build.prop" open a file manager such as Root Explorer, X-plore, etc. EsFile, edit build.prop file and copy the script at the very bottom,
Backup the original build.prop file first in case if your Android ngebrick, remember carefully carefully any script code would you enter, there should not be the same code, if the code is already there before so no need to add the code again,
AT OWN RISK

script code tweaks:

# 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 = 800 000

# Photo and video recording quality tweak (Official ROM only)
ro.media.dec.jpeg.memcap = 10000000
ro.media.enc.hprof.vid.bps = 1600000

# Signal (3G) tweaks
ro.ril.hsxpa = 2
ro.ril.gprsclass = 10
ro.ril.hep = 1
ro.ril.enable.dtm = 1
ro.ril.hsdpa.category = 10
ro.ril.enable.a53 = 1
ro.ril.enable.3g.prefix = 1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14 449 ro.ril.hsupa.category = 5

# 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 = 14 449
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
mot.proximity.delay ro.lge.proximity.delay = 25 = 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

# Force launcher into memory
ro.HOME_APP_ADJ = 1

Balance Tweaks

# 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 "404 480"> / proc / sys / net / core / wmem_max
echo "404 480"> / proc / sys / net / core / rmem_max
echo "256 960"> / proc / sys / net / core / rmem_default
echo "256 960"> / 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

# 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 "404 480"> / proc / sys / net / core / wmem_max
echo "404 480"> / proc / sys / net / core / rmem_max
echo "256 960"> / proc / sys / net / core / rmem_default
echo "256 960"> / 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


# 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)

Read More »
07.29 | 0 komentar