Latest Photos by Sayan Saha

network.heysayanbro

Android Phone - build.prop tweaks (Root Only)

Following is an extensive list of build.prop tweaks you might want to fiddle with, if your android phone is rooted. For editing build.prop file, you need to download es file explorer from play store, then mount the system as R/W since the file is /system/build.prop. Before starting, take a backup of your build.prop file.


1. Locks default launcher app in memory. Only use with light launchers:

ro.HOME_APP_ADJ=1

2. Improves audio and video recording quality:

ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65

3. Faster streaming videos:

media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false

4. Video acceleration and HW debugging. debug.composition.type can also be changed to cpu or mdp.:

debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing

5. Disables built in error reporting.:

profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

6. Better net speeds.:

net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

7. Saves power. ro.mot.eri.losalert.delay=1000 could brake tethering.:

ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
ro.mot.eri.losalert.delay=1000

8. 3G tweaks.:

ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6

9. Disables logcat:

logcat.live=disable

10. Screen recognizes only two fingers.:

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2

11. Support for ipv4 and ipv6.:

persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1

12. Phone rings immediately.:

ro.telephony.call_ring.delay=0
ring.delay=0

13. Disables blackscreen issue after a call.:

ro.lge.proximity.delay=25
mot.proximity.delay=25

14. Better scrolling.:

windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

15. Better signal.:

persist.cust.tel.eons=1

16. Better call voice quality.:

ro.ril.enable.amr.wideband=1

17. Better signal.:

ro.config.hw_fast_dormancy=1

18. Faster boot.:

ro.config.hw_quickpoweron=true

19. Disables error checking.:

ro.kernel.android.checkjni=0
ro.kernel.checkjni=0

20. Dalvik Virtual Machine tweaks.:

dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy

21. Disables locating. Also delete /system/app/networklocation.apk and /system/framework/com.android.location.provider.jar:

ro.com.google.locationfeatures=0
ro.com.google.networklocation=0

22. Disables sending of usage data.:

ro.config.nocheckin=1

23. Better image quality, lower performance.:

persist.sys.use_dithering=1

24. Disable notification while adb is active:

persist.adb.notify=0

25. Change LCD density - My Favorite:

- Default value is 240. Don't forget to install a patched market after changing it.
ro.sf.lcd.density=240

26. MMS APN retry timer set to 2 sec( if SMS/MMS couldn`t be sent, it retries after 2 instead of 5 seconds).:

ro.gsm.2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000

27. Key lights stay on while screen is on.:

ro.mot.buttonlight.timeout=0

28. Disable strict mode checking.:

persist.android.strictmode=0

29. Remove FPS cap. May be unstable - better have it activated:

debug.gr.swapinterval=0

30. Disable notification sound for SD storage insert:

persist.service.mount.playsnd=0

31. Enable display dithering:

persist.sys.use_dithering=1

32. More volume steps in call.:

ro.config.vc_call_steps=20

33. Phone will not wake up from hitting volume rocker.:

ro.config.hwfeature_wakeupkey=0

34. Lock app in memory.:

sys.keep_app_1=com.your.app.app

35. Enables MTP mode.:

persist.sys.usb.config=mtp

36. Others:

persist.sys.shutdown.mode=hibernate
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
debug.enabletr=true

37. Google DNS Tweak:

net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4

38. Allow purging of assets. (Got from GamerzROM, memory management):

persist.sys.purgeable_assets=1