[Android Apps and Games] :
MEmu Android Booster

For my own purposes in the past I gathered several Android system tweaks as those highly recommended in several threads at XDA, i.e. compiled them into a single Android shell script. Because these tweaks indeed seem to noticeably improve MEmu App Player's Android overall performance, thought I should share it with you thus you can tweak your MEmu instance's Android, too.

Only suitable for both MEmu's Android KitKat and MEmu's Android Lollipop edition !

Guide:

1. If not done yet, install either Terminal Emulator app or SH Script Runner app ( highly recommended - see attachments ) on instance of MEmu App Player you want to install the MEmu Android Booster onto

2. On Windows PC extract attached ZIP-file MEmu_Android_Booster.zip into MEmu's shared folder ..\Downloads\MEmu Download

3. In selected instance of MEmu App Player open Terminal Emulator and/or SH Script Runner and navigate to folder /storage/sdcard0 ( AKA ..\Downloads\MEmu Download )

4. Run script MEmu_Android_Booster.sh located therein

Remark:

After having run the booster script, the following entries are added to system-file build.prop of Android of your instance of MEmu App Player:

#
# MEmu Android Booster - SUPPORTING LOLLIPOP
#
memu.android.booster.installed=1

# Logcat
logcat.live=disable

# Disabling error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0

# Performance
ro.min_pointer_dur=8
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.max.fling_velocity=20000
ro.min.fling_velocity=18000
ro.secure=0
debug.performance.tuning=1
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
debug.composition.type=gpu
debug.kill_allocating_task=0
hw3d.force=1
hw2d.force=1
force_hw_ui=true
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
persist.sys.ui.hw=1
# 16bit Transparency
persist.sys.use_16bpp_alpha=1
windowsmgr.max_events_per_sec=90

# Dalvik VM
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.heapstartsize=1m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.lockprof.threshold=250
dalvik.vm.jmiopts=forcecopy

# Disable data sent and logging
ro.config.nocheckin=1
ro.config.htc.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

# More RAM
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0

# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100

# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true

# Sound Tweaks
htc.audio.alt.enable=0
htc.audio.hac.enable=0
persist.audio.fluence.mode=
persist.audio.hp=true
persist.audio.vr.enable=false
persist.audio.handset.mic=digital
persist.audio.lowlatency.rec=false

# Game Tweaks
ro.config.hw_quickpoweron=true
persist.sys.NV_FPSLIMIT=90
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
persist.sys.purgeable_assets=1

# Wireless Speed Tweaks
wifi.supplicant_scan_interval=180
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

# Website Bypass
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

# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_quickpoweron=true
boot.fps=20
persist.sys.shutdown.mode=hibernate

# Miscellaneous Tweaks
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
debug.sf.hw=1
com.qc.hardware=true
ro.telephony.sms_segment_size=160
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1
ro.ril.set.mtu1472=1
persist.telephony.support.ipv6=1
persist.sys.use_dithering=1
persist.telephony.support.ipv4=1
persist.sys.shutdown.mode=hibernate
touch.presure.scale=0.001
video.accelerate.hw=1

Maybe some directives are useless, this because MEmu App player isn't a real Android phone. So don't blame me.

Release:

Stable, doesn't hurt anything

Note:

It's ensured that you can't install the tweaks more than once

Support:

This MEmu Android Booster tool is provided "AS IS" and isn't officially supported by me. Thank you for your understanding. But feel to report bugs if any found.

UPDATE (2016-11-26):

Those of you who want to directly replace Android's 5.1.1 RC3 build.prop file by means of ES File Explorer or Root Explorer or whatever tool with a build.prop file that contains all the tweaks listed above may use the already modified build.prop file which is stored in attached MEmu-5.1.1-RC3-boosted-build-prop .zip

Enjoy