[GUIDE/ROOT]Build.prop TWEAK for M5 tested firmware 6.2 & 6.3

5316

1

2018-08-07 18:30

Edited by ansh1410 at 2018-08-09 11:21

Tweaks for better Performance for M5
Note: This is not tested for working and anything done to your device the author will not be held responsible. Do at your own Risk!


Requirements :

1. Rooted device with SuperSu working properly
2. buil.prop editor, or rootexplorer3. Flashfire


Add these commands to your last line on the build.prop

force_hw_ui=true
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
ro.kernel.android.checkjni=0
ro.config.disable.hw_accel=false
ro.config.hw_quickpoweron=true
ro.config.nocheckin=1
ro.sf.compbypass.enable=0
ro.vold.umsdirtyratio=20
dev.pm.dyn_samplingrate=1
debug.hwui.disable_vsync=true
debug.enabletr=true
debug.qctwa.preservebuf=1
debug.composition.type=c2d
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
hw3d.force=1
hw2d.force=1
persist.sys.composition.type=c2d
persist.sys.jit-mode=int:jit
persist.sys.purgeable_assets=1
persist.sys.ui.hw=1
persist.sys.NV_FPSLIMIT=60
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20
dalvik.vm.heapstartsize=16m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.dexopt-flags=v=a,o=v,m=y,u=y
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.jmiopts=forcecopy
net.tcp.buffersize.default=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,1048576
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.umts=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.hspa=6144,87380,262144,6144,16384,262144
net.tcp.buffersize.gprs=6144,8760,11680,6144,8760,11680
net.tcp.buffersize.edge=6144,26280,35040,6144,16384,35040

After this, wipe your cache and dalvik cache in Flashfire, and then reboot