Sabtu, 09 Februari 2013

Kumpulan Script TWEAKS Android

Berikut adalah beberapa kumpulan script untuk mengoptimalkan kinerja Android,
Cara pemasangannya adalah tambahkan salah satu script dibawah ini ke dalam build.prop yang terletak di "/system/build.prop"










Contoh:

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

keterangan:
1.# (adalah hastag dari setiap nama script)
2.Save battery (hemat battery, adalah nama script untuk menghemat battery)
3.wifi.supplicant_scan_interval=180
   pm.sleep_mode=1
   ro.ril.disable.power.collapse=0 (Fungsi script agar battery menjadi hemat)

Copy kan salah satu kode script atau semuanya jika anda mau kedalam build.prop,
buka file build prop yang ada di "/system/build.prop" buka dengan aplikasi file manager seperti Root Explorer , X-Plore , EsFile dsb, edit file build.prop dan copykan script nya di bagian paling bawah,
BackUp dulu file build.prop yang asli untuk jaga-jaga bila Android anda ngebrick, ingat teliti dengan cermat setiap kode script yang akan anda masukkan, tidak boleh ada kode yang sama, jika kode tersebut sudah ada sebelumnya maka tidak usah menambahkan kodenya lagi,
RESIKO DI TANGGUNG SENDIRI

kode script 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=800000

# 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=14449 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=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

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

# 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


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



Hargai tulisan orang lain, jika ingin copy paste ke blog anda sertakan link sumber.

Terkait

Description: Kumpulan Script TWEAKS Android Rating: 4.5 Reviewer: Santosa Sparta ItemReviewed: Kumpulan Script TWEAKS Android
Al
Santosa Sparta Updated at: 01.24

11 komentar:

  1. Mantap sob. Kunjung balik ya. woconen.blogspot.com

    BalasHapus
    Balasan
    1. Makasih sob kunjungannya, pasti saya akan berkunjung balik.. ..

      Hapus
  2. gan,, punya ane bootloop,,ane flash ulang kok gk bisa y? tolong donk pencerahannya,, thx..

    BalasHapus
  3. sama gan ane jg pernah bootloop ga bisa bisa diflash pdhl di odin udah ada tulisan pass ijo, tp kucoba berulang2 akhirnya booting jg,,, leganya poooool rasanya ;-) ;-)

    BalasHapus
  4. terma kasih gan script nya

    BalasHapus
  5. Klo bootloop dan ga bs di flash ulang ..
    Silakan ikuti tutorial berikut gan ,,pengalaman di SGA ane berhasil
    1. Download custom rom apa aja dr pc
    2. Pindah ke sd card via card reader (jgn taruh dlm folder)
    3. Insert sd carg ke HH agan .. Masuk mode recovery cwm
    4. Wipe data factory reset,wipe chace partition,wipe dalvik,format system
    5. Install zip from sd card pilih file custom rom yg td agan download kemudian install
    6. Ulangi cara nomor 4 tapi cukup wipe data dan wipe chace saja
    7. Reboot HH agan .

    Note : pastikan HH agan pakai mode recovery cwm klo belum silakan install dulu cwm yg sesuai dengan HH agan .

    Semoga bermanfaat ,, cara ini berhasil di SGA ane gan , (pengalaman pribadi)

    BalasHapus
  6. maaf gan ane newbie nih, itu build.propnya download atau gimana? terus kalo bootlop di restore bisa apa engga?

    BalasHapus
  7. om..kalo nambahin tombol "reboot" ketika mencet tombol power tahan gimana??
    boleh minta scriptnya ga??
    makasih

    BalasHapus
  8. @Panggih Trilaksono ...
    Itu caranya pake Gravity Box gan, harus punya Xposed installernya dulu , Buka Xposed installer ke Moduels centang Gravity box , trus di atas pilih Framework .. Update/Install .. And yg terakhir Reebot ^_^ Anda sudah bisa menggunakan Gravity Box ...
    surgadota.blogspot.com

    BalasHapus
  9. Gan Kok Ane Yg Save Baterai ro ril sma power sleep kok ga ada

    BalasHapus