My Galaxy S2 build.prop tweaks (revised)

By | December 23, 2012

In one of my previous posts I wrote about the build.prop tweaks that I use on my Galaxy S2. However a person simply known as Dave sent me an interesting e-mail with a link to this post which is like a Mythbusters of Android tweaks. So upon taking this information on board, I’ve decided to modify my current build.prop and comment out the ones that do not work.

I’ve added the “busted” ones at the bottom, if anything else needs to be modified don’t hesitate to comment!

# My SGS2 tweaks
# system stuff
net.hostname=SGS2_CM9
ro.sf.lcd_density=202
qemu.sf.lcd_density=202
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=v
 
# GUI tweaks
debug.sf.hw=1
debug.composition.type=gpu
ro.max.fling_velocity=12000 #faster scrolling
ro.min.fling_velocity=8000 #faster scrolling
ro.camera.sound.forced=0 #disable camera sound
 
# wifi & battery tweaks
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=180
 
# phone tweaks
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.telephony.call_ring.delay=1000
 
# media tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.enc.hprof.vid.bps=8000000
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=false
 
# misc tweaks
persist.adb.notify=0
 
# net tweaks
net.dns1=8.8.4.4
net.dns2=8.8.8.8
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
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
 
# nextg tweaks
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.enable.sdr=1
ro.ril.enable.dtm=1
ro.ril.enable.gea3=1
ro.ril.enable.amr.wideband=1
ro.ril.disable.fd.plmn.prefix=23402,23410,23411
ro.ril.disable.mcc.filter=1
ro.ril.disable.power.collapse=1
ro.ril.hsxpa=2
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=268449905
ro.ril.fast.dormancy.rule=0
ro.ril.emc.mode=1
persist.cust.tell.eons=1
 
# BUSTED - http://www.jeffmixon.com/examining-build-prop-tweaks-for-android-ics-a-comprehensive-guide-part-1/
#dalvik.vm.heapsize=48m
#dalvik.vm.startheapsize=8m #Allows the system to start at a lower heap size and rank up as needed.
#debug.performance.tuning=1
#video.accelerate.hw=1
#windowsmgr.max_events_per_sec=180 #faster scrolling
#ro.media.dec.jpeg.memcap=8000000
#ro.kernel.android.checkjni=0
#ro.kernel.checkjni=0
#pm.sleep_mode=1
#ro.config.nocheckin=1
#profiler.force_disable_err_rpt=1 #HTC only
#profiler.force_disable_ulog=1