[General Topics] anupritaisno1:
The ultimate guide to Build.prop init.d and hardening for all hp voicetabs and also aosp (-ish) roms

Post 1 for build.prop part 1

Post 2 for build.prop part 2

Post 3 for init.d and

Post 4 for hardening (use with caution and have a copy of your rom)

Post 5 for sysctl tweaks

Post 6 is for hp voicetabs only it’s a speedup guide for them

1. Locks default launcher app in memory. Only use with light launchers. (like stock launcher touchwiz launcher and you can use nova launcher too but tick aggressive desktop in nova settings)

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. (dont do it if your gpu/vpu is bad)

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,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

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. wipe cache and dalvik cache if you add these lines

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. (dont do it unless you have the issue)

ro.lge.proximity.delay=25

mot.proximity.delay=25

14. Better scrolling.

windowsmgr.max_events_per_sec=150 (this is the important one and you can set it upto 250)

ro.min_pointer_dur=8

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

17. Better signal.

ro.config.hw_fast_dormancy=1 (this line will also speed up boot)

persist.cust.tel.eons=1

ro.ril.enable.amr.wideband=1 (this line will also improve call quality)

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. avoid if running lollipop

dalvik.vm.checkjni=false

dalvik.vm.dexopt-data-only=1

dalvik.vm.heapstartsize=8m

dalvik.vm.heapgrowthlimit=196m

dalvik.vm.heapsize=384m

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 better have a backup

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 can be 160/240/320/420 depending on device. Don't forget to install a patched market after changing it. I recommend lucky patcher

ro.sf.lcd.density=240

ro.sf.lcd.density=160

ro.sf.lcd.density=320

ro.sf.lcd.density=420

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. Do not apply if you dont have hardware buttons

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

Disable notification sound for SD storage insert

persist.service.mount.playsnd=0

. Enable display dithering

persist.sys.use_dithering=1

. More volume steps in call.

ro.config.vc_call_steps=20

will not wake up from hitting volume rocker.

ro.config.hwfeature_wakeupkey=0

Lock app in memory. be careful! this one increases oom messages when used with big apps

sys.keep_app_1=com.name.of.your.app.apk

Enables MTP mode.

persist.sys.usb.config=mtp (be careful about this line it may be present in default.prop and carrier.prop)

Others

persist.sys.shutdown.mode=hibernate (faster boot)

debug.kill_allocating_task=0 (more ram ?)

persist.sys.ui.hw=1

ro.debuggable=1 (warning! apply only if default.prop does not have this line)

ro.config.disable.hw_accel=false

debug.enabletr=true

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. (free up memory wherever possible. also for memory management)

persist.sys.purgeable_assets=1

end of part 1

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. (dont do it if your gpu/vpu is bad)

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,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

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. wipe cache and dalvik cache if you add these lines

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. (dont do it unless you have the issue)

ro.lge.proximity.delay=25

mot.proximity.delay=25

14. Better scrolling.

windowsmgr.max_events_per_sec=150 (this is the important one and you can set it upto 250)

ro.min_pointer_dur=8

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

17. Better signal.

ro.config.hw_fast_dormancy=1 (this line will also speed up boot)

persist.cust.tel.eons=1

ro.ril.enable.amr.wideband=1 (this line will also improve call quality)

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. avoid if running lollipop

dalvik.vm.checkjni=false

dalvik.vm.dexopt-data-only=1

dalvik.vm.heapstartsize=8m

dalvik.vm.heapgrowthlimit=196m

dalvik.vm.heapsize=384m

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 better have a backup

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 can be 160/240/320/420 depending on device. Don't forget to install a patched market after changing it. I recommend lucky patcher

ro.sf.lcd.density=240

ro.sf.lcd.density=160

ro.sf.lcd.density=320

ro.sf.lcd.density=420

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. Do not apply if you dont have hardware buttons

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. be careful! this one increases oom messages when used with big apps

sys.keep_app_1=com.name.of.your.app.apk

35. Enables MTP mode.

persist.sys.usb.config=mtp (be careful about this line it may be present in default.prop and carrier.prop)

36. Others

persist.sys.shutdown.mode=hibernate (faster boot)

debug.kill_allocating_task=0 (more ram ?)

persist.sys.ui.hw=1

ro.debuggable=1 (warning! apply only if default.prop does not have this line)

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. (free up memory wherever possible. also for memory management)

persist.sys.purgeable_assets=1

# Rendering Tweaks

debug.composition.type=c2d

debug.egl.hw=1

debug.enabletr=true

debug.overlayui.enable=1

debug.qctwa.preservebuf=1

debug.performance.tuning=1

debug.sf.hw=1

dev.pm.dyn_samplingrate=1

hw3d.force=1

ro.config.disable.hw_accel=false

ro.fb.mode=1

ro.sf.compbypass.enable=0

ro.vold.umsdirtyratio=20

persist.sys.composition.type=c2d

persist.sys.ui.hw=1

video.accelerate.hw=1

# Enable GPU Acceleration

debug.sf.hw=1

video.accelerate.hw=1

debug.performance.tuning=1

persist.sys.composition.type=gpu

debug.qc.hardware=true

debug.qctwa.statusbar=1

debug.qctwa.preservebuf=1

debug.egl.profiler=1

debug.egl.hw=1

debug.composition.type=gpu

hw3d.force=1

ro.product.gpu.driver=1

persist.sys.use_16bpp_alpha=1

persist.sampling_profiler=0

hwui.render_dirty_regions=false

hwui.disable_vsync=true

# Saves some battery without reducing performances

wifi.supplicant_scan_interval=497

pm.sleep_mode=1

power.saving.mode=1

ro.ril.disable.power.collapse=0

ro.vold.umsdirtyratio=20

# Battery save

pm.sleep_mode=1

ro.ril.disable.power.collapse=0

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

dalvik.vm.checkjni=false

dalvik.vm.execution-mode=int:jit

ro.ril.power_collapse=1

power_supply.wakeup=enable

ro.mot.eri.losalert.delay=1000

ro.config.hw_fast_dormancy=1

ro.config.hw_power_saving=1

# Misc Tweaks (enables ADB service)

persist.service.adb.enable=1

# Sensor Sleep Control

ro.ril.sensor.sleep.control=1

# Device will boot faster

persist.sys.shutdown.mode=hibernate

ro.config.hw_fast_dormancy=1

ro.config.hw_quickpoweron=true

# Reduce dial-out time

ro.telephony.call_ring.delay=0

# Allow purge of assets to free more ram

persist.sys.purgeable_assets=1

# More free ram and apps load faster

dalvik.vm.dexopt-flags=m=y

# More RAM

#persist.sys.purgeable_assets=1

persist.service.pcsync.enable=0

persist.service.lgospd.enable=0

# Increase general Performance

debug.performance.tuning=1

# Increase some Performance

ro.secure=0

persist.sys.use_16bpp_alpha=1

ro.product.gpu.driver=1

ro.min.fling_velocity=8000

# Reduce the black screen time of the proximity sensor

ro.lge.proximity.delay=15

mot.proximity.delay=15

ro.ril.enable.amr.wideband=1

# TOUCH

touch.presure.scale=0.001

# Better Scrolling responsiveness and speed

windowsmgr.max_events_per_sec=150

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

ro.min_pointer_dur=8

# Smoothens UI

persist.service.lgospd.enable=0

persist.service.pcsync.enable=0

ro.ril.enable.a52=1

ro.ril.enable.a53=0

# Increase camera's photo and video recording quality

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

ro.media.enc.hprof.vid.fps=65

# Better Flashlight intensity and camera-flash quality

ro.media.capture.flash=led

ro.media.capture.flashMinV=3300000 (this one at your own risk)

ro.media.capture.torchIntensity=40

ro.media.capture.flashIntensity=70

ro.media.capture.maxres=8m

ro.media.capture.fast.fps=4

ro.media.capture.slow.fps=120

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

ro.media.enc.hprof.vid.fps=65

# Increase the volume steps in-call

ro.config.vc_call_steps=20

# Better call voice quality.

ro.ril.enable.amr.wideband=1

# Force launcher into memory

ro.HOME_APP_ADJ=1

# Disable Bytecode Verification

dalvik.vm.verify-bytecode=false

dalvik.vm.dexopt-flags=m=y,v=n,o=v

#dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n

# Improves Camera & Video Results

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

ime_extend_row_keyboard=true

ime_onehand_keyboard=true

ime_split_keyboard=true

ime_vibration_pattern=0:60

# Increase jpg quality to 100%

ro.media.enc.jpeg.quality=100

# Disable Error reporting and logs

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

# Disable Sending Usage Data

ro.config.nocheckin=1

# Fix some application issues (FC) i saw less fcs in nova launcher beta and pimp my rom

ro.kernel.android.checkjni=0

# 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

# Miscellaneous Tweaks for performance

ro.config.hw_menu_unlockscreen=false

persist.sys.use_dithering=0

persist.sys.purgeable_assets=1

dalvik.vm.dexopt-flags=m=y

ro.mot.eri.losalert.delay=1000

# Better internet browsing & download speed

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.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144

net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152

net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576

net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576

# Smoother video streaming and tweak media

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-aac=true

media.stagefright.enable-qcp=true

media.stagefright.enable-record=true

# 3G signal and speed 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=7

ro.ril.hsdpa.category=10

ro.ril.enable.a52=1

ro.ril.set.mtu1472=1

persist.cust.tel.eons=1

ro.config.hw_fast_dormancy=1

# GOOGLE DNS

net.dns1=8.8.8.8

net.dns2=8.8.4.4

net.rmnet0.dns1=8.8.8.8

net.rmnet0.dns2=8.8.4.4

net.ppp0.dns1=8.8.8.8

net.ppp0.dns2=8.8.4.4

net.wlan0.dns1=8.8.8.8

net.wlan0.dns2=8.8.4.4

net.eth0.dns1=8.8.8.8

net.eth0.dns2=8.8.4.4

net.gprs.dns1=8.8.8.8

net.gprs.dns2=8.8.4.4

# CRT

persist.sys.screen_off=crt

persist.sys.screen_on=none

# Support For IPV4 and IPV6

persist.telephony.support.ipv6=1

persist.telephony.support.ipv4=1

#

ro.com.google.locationfeatures=1

ro.com.google.networklocation=1

htc.audio.alt.enable=0

htc.audio.hac.enable=0

# Wireless Tweaks this may cause error 492 in play store use at own risk

net.ipv4.ip_no_pmtu_disc=0

net.ipv4.route.flush=1

net.ipv4.tcp_ecn=0

net.ipv4.tcp_fack=1

net.ipv4.tcp_mem=187000 187000 187000

net.ipv4.tcp_moderate_rcvbuf=1

net.ipv4.tcp_no_metrics_save=1

net.ipv4.tcp_rfc1337=1

net.ipv4.tcp_rmem=4096 39000 187000

net.ipv4.tcp_sack=1

net.ipv4.tcp_timestamps=1

net.ipv4.tcp_window_scaling=1

net.ipv4.tcp_wmem=4096 39000 18700

wifi.supplicant_scan_interval=180

# Video Acceleration Enabled And HW debugging

video.accelerate.hw=1

debug.sf.hw=1

debug.performance.tuning=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

# Disable logcat

logcat.live=disable

# Better image quality, lower performance.

persist.sys.use_dithering=1

# Wireless Tweaks play store error 492 and 429 seen on some devices use with caution it is based on nez droid’s and santa-li’s trick so thank them for this not me

net.ipv4.ip_no_pmtu_disc=0

net.ipv4.route.flush=1

net.ipv4.tcp_ecn=0

net.ipv4.tcp_fack=1

net.ipv4.tcp_mem=187000 187000 187000

net.ipv4.tcp_moderate_rcvbuf=1

net.ipv4.tcp_no_metrics_save=1

net.ipv4.tcp_rfc1337=1

net.ipv4.tcp_rmem=4096 39000 187000

net.ipv4.tcp_sack=1

net.ipv4.tcp_timestamps=1

net.ipv4.tcp_window_scaling=1

net.ipv4.tcp_wmem=4096 39000 18700

wifi.supplicant_scan_interval=180

net.ipv4.tcp_window_scaling=1

Wipe both caches in recovery and use with caution. If you’re putting this in your build.prop make a backup

# Video Acceleration Enabled And HW debugging

video.accelerate.hw=1

debug.sf.hw=1

debug.performance.tuning=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

# GOOGLE DNS may not work on 4.0+ works for me on 4.4.2

net.dns1=8.8.8.8

net.dns2=8.8.4.4

net.rmnet0.dns1=8.8.8.8

net.rmnet0.dns2=8.8.4.4

net.ppp0.dns1=8.8.8.8

net.ppp0.dns2=8.8.4.4

net.wlan0.dns1=8.8.8.8

net.wlan0.dns2=8.8.4.4

net.eth0.dns1=8.8.8.8

net.eth0.dns2=8.8.4.4

net.gprs.dns1=8.8.8.8

net.gprs.dns2=8.8.4.4

# 3G signal and speed tweaks wipe cache and dalvik cache after adding these values

ro.ril.hsxpa=3

ro.ril.gprsclass=10

ro.ril.hep=1

ro.ril.enable.dtm=1

ro.ril.hsdpa.category=12

ro.ril.enable.a53=1

ro.ril.enable.3g.prefix=1

ro.ril.htcmaskw1.bitmask=4294967295

ro.ril.htcmaskw1=14449

ro.ril.hsupa.category=7

ro.ril.hsdpa.category=10

ro.ril.enable.a52=1

ro.ril.set.mtu1472=1

persist.cust.tel.eons=1

ro.config.hw_fast_dormancy=1

persist.data_netmgrd_mtu=1482

persist.data_netmgrd_nint=8

ro.use_data_netmgrd=true

ro.ril.enable.dtm=1

ro.ril.def.agps.mode=2

ro.ril.def.agps.feature=1

ro.ril.enable.gea3=1

ro.ril.enable.fd.plmn.prefix=23402,23410,23411

# Modify MTU from 1500 to 1472 on 3G network for speeding up

ro.ril.set.mtu1472=1

# Better internet browsing & download speed

net.tcp.buffersize.hspa=6144,87380,524288,6144,163 84,262144

net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152

net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576

net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576

# Smoother video streaming and tweak media

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-aac=true

media.stagefright.enable-qcp=true

media.stagefright.enable-record=false

# Increase camera's photo and video recording quality

ro.media.enc.hprof.vid.fps=65

ro.media.dec.aud.wma.enabled=1

ro.media.dec.vid.wmv.enabled=1

# Better Flashlight intensity and camera-flash quality

ro.media.capture.flash=led

ro.media.capture.flashMinV=3300000

ro.media.capture.torchIntensity=40

ro.media.capture.flashIntensity=70

ro.media.capture.maxres=16m

ro.media.capture.fast.fps=4

ro.media.capture.slow.fps=120

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

ro.media.cam.preview.fps=0

ro.media.codec_priority_for_thumb=so

# Better internet browsing & download speed

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

net.tcp.buffersize.hspa=6144,87380,524288,6144,163 84,262144

net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152

net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576

net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576

# Support For IPV4 and IPV6

persist.telephony.support.ipv6=1

persist.telephony.support.ipv4=1

# Better image quality, lower performance.

persist.sys.use_dithering=1

# 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

# Increase jpg quality to 100%

ro.media.enc.jpeg.quality=100

# Improves Camera & Video Results

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

ime_extend_row_keyboard=true

ime_onehand_keyboard=true

ime_split_keyboard=true

ime_vibration_pattern=0:60

# Increase the volume steps in-call

ro.config.vc_call_steps=20

# Increase camera's photo and video recording quality

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

ro.media.enc.hprof.vid.fps=65

# Misc Tweaks (enables ADB service)

persist.service.adb.enable=1

# Better call voice quality.

ro.ril.enable.amr.wideband=1

# Rendering Tweaks

debug.composition.type=c2d

debug.egl.hw=1

debug.enabletr=true

debug.overlayui.enable=1

debug.qctwa.preservebuf=1

debug.performance.tuning=1

debug.sf.hw=1

dev.pm.dyn_samplingrate=1

hw3d.force=1

ro.config.disable.hw_accel=false

ro.fb.mode=1

ro.sf.compbypass.enable=0

ro.vold.umsdirtyratio=20

persist.sys.composition.type=c2d

persist.sys.ui.hw=1

video.accelerate.hw=1

# Better Telephony Settings

ro.config.vc_call_vol_steps=20

ring.delay=0

ro.lge.proximity.delay=25

mot.proximity.delay=25

ro.mot.buttonlight.timeout=0

# Audio Tweaks

persist.audio.fluence.mode=endfire

persist.audio.hp=true

persist.audio.vr.enable=false

persist.audio.handset.mic=digital

persist.audio.lowlatency.rec=false

# Better image quality, lower performance.

persist.sys.use_dithering=1

# For SD storage insert notification sound

persist.service.mount.playsnd=0

# faster youtube?

ro.ril.hep=1

# Default Network Mode

ro.telephony.default_network=10

# System prop to select audio resampler quality

af.resampler.quality=255