- Compatible With
- Any Distro
Here's the script:
#!/gearlock/bin/bash
gearprop wifi.interface_wlan0=1
gearprop wifi.supplicant_scan_interval=180
gearprop net.ipv4.ip_no_pmtu_disc=0
gearprop net.ipv4.route.flush=1
gearprop net.ipv4.tcp_ecn=0
gearprop net.ipv4.tcp_fack=1
gearprop net.ipv4.tcp_mem=187000 187000 187000
gearprop net.ipv4.tcp_moderate_rcvbuf=1
gearprop net.ipv4.tcp_no_metrics_save=1
gearprop net.ipv4.tcp_rfc1337=1
gearprop net.ipv4.tcp_rmem=4096 39000 187000
gearprop net.ipv4.tcp_sack=1
gearprop net.ipv4.tcp_timestamps=1
gearprop net.ipv4.tcp_window_scaling=1
gearprop net.ipv4.tcp_wmem=4096 39000 18700
gearprop ro.com.google.clientidbase=1
gearprop ro.com.android.wifi-watchlist-GoogleGuest=1
gearprop ro.setupwizard.enterprise_mode=1
gearprop ro.com.android.dateformat-MM-dd-yyyy=1
gearprop net.bt.name=1
gearprop dalvik.vm.stack-trace-file=/data/anr/traces.txt
gearprop persist.cne.UseCne=none
gearprop persist.cne.fmc.mode-false=1
gearprop persist.data.ds_fmc_app.mode=1
gearprop time.ims.regmanager.mode 0
gearprop ro.mot.eri.losalert.delay=1000
gearprop media.stagefright.enable-player=true
gearprop media.stagefright.enable-meta=true
gearprop media.stagefright.enable-scan=true
gearprop media.stagefright.enable-http=true
gearprop pm.sleep_mode=1
gearprop windowsmgr.max_events_per_sec=750
gearprop ro.max.fling_velocity=12000
gearprop ro.min.fling_velocity=8000
gearprop ro.min_pointer_dur=8
gearprop debug.performance.tuning 1
gearprop net.dns1=8.8.8.8.8
gearprop net.dns2 - 8.8.4.4
gearprop net.tcp.buffersize.default=6144,87380,110208,6144,16384,11100208,11,110208
gearprop net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,524288,1048576
gearprop net.ppp0.dns2=8.8.4.4
gearprop net.ppp0.dns1=8.8.4.4
gearprop net.dns1=8.8.8.8
gearprop net.dns2=8.8.4.4
gearprop net.wlan0.dns1=8.8.8.8
gearprop net.wlan0.dns2=8.8.4.4
gearprop net.eth0.dns1=8.8.8.8
gearprop net.eth0.dns2=8.8.4.4
gearprop video.accelerate.hw=1
gearprop debug.egl.profiler 1
gearprop debug.egl.hw=1
gearprop debug.composition.type.gpu=1
gearprop ro.media.dec.jpeg.memcap=1
gearprop ro.media.enc.hprof.vid.bps=8000000
gearprop ro.media.enc.jpeg.quality=100
gearprop ro.lge.proximity.delay=25
gearprop mot.proximity.delay=25
!
gearprop debug.sf.hw=1
gearprop ro.FOREGROUND_APP_ADJ 0
gearprop ro.VISIBLE_APP_ADJ=0
gearprop ro.SECONDARY_SERVER_ADJ. 0
gearprop ro.BACKUP_APP_ADJ=1
gearprop ro.HOME_APP_ADJ. 17
gearprop ro.HIDDEN_APP_MIN_ADJ=7
gearprop ro.CONTENT_PROVIDER_ADJ=14
gearprop ro.EMPTY_APP_ADJ=15
gearprop ro.FOREGROUND_APP_MEM=1280
gearprop ro.VISIBLE_APP_MEM=1
gearprop ro.SECONDARY_SERVER_MEM=1
gearprop ro.BACKUP_APP_MEM=4096
gearprop ro.HOME_APP_MEM:4096
gearprop ro.HIDDEN_APP_MEM=5120
gearprop ro.CONTENT_PROVIDER_MEM=5632
gearprop ro.EMPTY_APP_MEM=6144
gearprop debug.composition.type.gpu=1
gearprop debug.composition.type_c2d=1
gearprop debug.performance.tuning 1
gearprop debug.enabletr tr.true
gearprop debug.qctwa.preservebuf=1
gearprop video.accelerate.hw=1
gearprop ro.vold.umsdirtyratio=20
gearprop debug.overlayui.enable=1
gearprop debug.egl.hw=1
gearprop ro.fb.mode=1
gearprop hw3d.force. 1
gearprop persist.sys.composition.type=c2d
gearprop persist.sys.ui.hw=1
gearprop ro.sf.compbypass.enable=0
gearprop dalvik.vm.dexopt-flags=v=n,o=v,m=y
gearprop dalvik.vm.dexopt-flags=m=y,o=v,u=y
gearprop dalvik.vm.verify-bytecode=false
gearprop dalvik.vm.dexopt-data-only=1
gearprop dalvik.vm.checkjni=1
gearprop dalvik.vm.check-dex-sum=false
gearprop dalvik.vm.jniopts=1
gearprop dalvik.vm.check-dex-sum=false
gearprop dalvik.vm.jmiopts=forcecopy
gearprop dalvik.vm.execution-mode-int:jit=1
gearprop dalvik.vm.lockpropro.threshold=500
gearprop ro.kernel.checkjni 0
gearprop ro.kernel.android.checkjni .0
gearprop persist.sys.purgeable_assets=1
gearprop persist.android.strictmode 0
gearprop vm.stat_interval=1
gearprop ro.wmt.bl.bl.enable=0
gearprop debug.composition.type_hw=1
gearprop persist.sys.use_dithering=1
gearprop persist.sys.ui.hw=true
gearprop persist.sys.purgeable_assets=1
gearprop ro.com.google.networklocation=0
gearprop ro.kernel.android.checkjni .0
gearprop ro.config.nocheckin=1
gearprop ro.vold.umsdirtyratio=20
gearprop dalvik.vm.checkjni=false
gearprop profiler.force_disable_err_rpt=1
gearprop profiler.force_disable_ulog=1
Best regards
Ryan Johnson
#!/gearlock/bin/bash
gearprop wifi.interface_wlan0=1
gearprop wifi.supplicant_scan_interval=180
gearprop net.ipv4.ip_no_pmtu_disc=0
gearprop net.ipv4.route.flush=1
gearprop net.ipv4.tcp_ecn=0
gearprop net.ipv4.tcp_fack=1
gearprop net.ipv4.tcp_mem=187000 187000 187000
gearprop net.ipv4.tcp_moderate_rcvbuf=1
gearprop net.ipv4.tcp_no_metrics_save=1
gearprop net.ipv4.tcp_rfc1337=1
gearprop net.ipv4.tcp_rmem=4096 39000 187000
gearprop net.ipv4.tcp_sack=1
gearprop net.ipv4.tcp_timestamps=1
gearprop net.ipv4.tcp_window_scaling=1
gearprop net.ipv4.tcp_wmem=4096 39000 18700
gearprop ro.com.google.clientidbase=1
gearprop ro.com.android.wifi-watchlist-GoogleGuest=1
gearprop ro.setupwizard.enterprise_mode=1
gearprop ro.com.android.dateformat-MM-dd-yyyy=1
gearprop net.bt.name=1
gearprop dalvik.vm.stack-trace-file=/data/anr/traces.txt
gearprop persist.cne.UseCne=none
gearprop persist.cne.fmc.mode-false=1
gearprop persist.data.ds_fmc_app.mode=1
gearprop time.ims.regmanager.mode 0
gearprop ro.mot.eri.losalert.delay=1000
gearprop media.stagefright.enable-player=true
gearprop media.stagefright.enable-meta=true
gearprop media.stagefright.enable-scan=true
gearprop media.stagefright.enable-http=true
gearprop pm.sleep_mode=1
gearprop windowsmgr.max_events_per_sec=750
gearprop ro.max.fling_velocity=12000
gearprop ro.min.fling_velocity=8000
gearprop ro.min_pointer_dur=8
gearprop debug.performance.tuning 1
gearprop net.dns1=8.8.8.8.8
gearprop net.dns2 - 8.8.4.4
gearprop net.tcp.buffersize.default=6144,87380,110208,6144,16384,11100208,11,110208
gearprop net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,524288,1048576
gearprop net.ppp0.dns2=8.8.4.4
gearprop net.ppp0.dns1=8.8.4.4
gearprop net.dns1=8.8.8.8
gearprop net.dns2=8.8.4.4
gearprop net.wlan0.dns1=8.8.8.8
gearprop net.wlan0.dns2=8.8.4.4
gearprop net.eth0.dns1=8.8.8.8
gearprop net.eth0.dns2=8.8.4.4
gearprop video.accelerate.hw=1
gearprop debug.egl.profiler 1
gearprop debug.egl.hw=1
gearprop debug.composition.type.gpu=1
gearprop ro.media.dec.jpeg.memcap=1
gearprop ro.media.enc.hprof.vid.bps=8000000
gearprop ro.media.enc.jpeg.quality=100
gearprop ro.lge.proximity.delay=25
gearprop mot.proximity.delay=25
!
gearprop debug.sf.hw=1
gearprop ro.FOREGROUND_APP_ADJ 0
gearprop ro.VISIBLE_APP_ADJ=0
gearprop ro.SECONDARY_SERVER_ADJ. 0
gearprop ro.BACKUP_APP_ADJ=1
gearprop ro.HOME_APP_ADJ. 17
gearprop ro.HIDDEN_APP_MIN_ADJ=7
gearprop ro.CONTENT_PROVIDER_ADJ=14
gearprop ro.EMPTY_APP_ADJ=15
gearprop ro.FOREGROUND_APP_MEM=1280
gearprop ro.VISIBLE_APP_MEM=1
gearprop ro.SECONDARY_SERVER_MEM=1
gearprop ro.BACKUP_APP_MEM=4096
gearprop ro.HOME_APP_MEM:4096
gearprop ro.HIDDEN_APP_MEM=5120
gearprop ro.CONTENT_PROVIDER_MEM=5632
gearprop ro.EMPTY_APP_MEM=6144
gearprop debug.composition.type.gpu=1
gearprop debug.composition.type_c2d=1
gearprop debug.performance.tuning 1
gearprop debug.enabletr tr.true
gearprop debug.qctwa.preservebuf=1
gearprop video.accelerate.hw=1
gearprop ro.vold.umsdirtyratio=20
gearprop debug.overlayui.enable=1
gearprop debug.egl.hw=1
gearprop ro.fb.mode=1
gearprop hw3d.force. 1
gearprop persist.sys.composition.type=c2d
gearprop persist.sys.ui.hw=1
gearprop ro.sf.compbypass.enable=0
gearprop dalvik.vm.dexopt-flags=v=n,o=v,m=y
gearprop dalvik.vm.dexopt-flags=m=y,o=v,u=y
gearprop dalvik.vm.verify-bytecode=false
gearprop dalvik.vm.dexopt-data-only=1
gearprop dalvik.vm.checkjni=1
gearprop dalvik.vm.check-dex-sum=false
gearprop dalvik.vm.jniopts=1
gearprop dalvik.vm.check-dex-sum=false
gearprop dalvik.vm.jmiopts=forcecopy
gearprop dalvik.vm.execution-mode-int:jit=1
gearprop dalvik.vm.lockpropro.threshold=500
gearprop ro.kernel.checkjni 0
gearprop ro.kernel.android.checkjni .0
gearprop persist.sys.purgeable_assets=1
gearprop persist.android.strictmode 0
gearprop vm.stat_interval=1
gearprop ro.wmt.bl.bl.enable=0
gearprop debug.composition.type_hw=1
gearprop persist.sys.use_dithering=1
gearprop persist.sys.ui.hw=true
gearprop persist.sys.purgeable_assets=1
gearprop ro.com.google.networklocation=0
gearprop ro.kernel.android.checkjni .0
gearprop ro.config.nocheckin=1
gearprop ro.vold.umsdirtyratio=20
gearprop dalvik.vm.checkjni=false
gearprop profiler.force_disable_err_rpt=1
gearprop profiler.force_disable_ulog=1
Best regards
Ryan Johnson