Skip to content

Instantly share code, notes, and snippets.

@vdbhb59
Created August 26, 2020 19:55
Show Gist options
  • Save vdbhb59/974f244f535aada765d51aaa08d3df68 to your computer and use it in GitHub Desktop.
Save vdbhb59/974f244f535aada765d51aaa08d3df68 to your computer and use it in GitHub Desktop.
Unsecure, Permissive, Tweaked Prop File, HTC/Samsung/*, Capable Of Being Both As default.prop And/Or build.prop (just remove duplicates from the original file, favouring this version)
#unsecure
androidboot.selinux=permissive
drm.service.enabled=false
keyguard.no_require_sim=true
persist.adb.notify=0
persist.android.strictmode=0
persist.cne.feature=0
persist.security.ams.enforcing=0
persist.selinux.enforcing=0
persist.service.adb.enable=1
persist.sys.root_access=1
persist.sys.strict_op_enable=false
persist.sys.strictmode.disable=1
persist.sys.usb.config=mtp,acm,adb
ro.adb.qemud=0
ro.adb.secure=0
ro.allow.mock.location=1
ro.build.selinux=0
ro.build.selinux.enforce=0
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
ro.config.kap_default_on=false
ro.config.knox=0
ro.config.rkp=false
ro.config.sec_storage=0
ro.config.tima=0
ro.config.timaversion=0
ro.debuggable=1
ro.kernel.qemu=0
ro.sec.fle.encryption=false
ro.secure=0
ro.securestorage.knox=false
ro.securestorage.support=false
ro.security.mdpp.ux=Disabled
ro.setupwizard.enable_bypass=1
ro.setupwizard.enterprise_mode=0
ro.setupwizard.mode=OPTIONAL
ro.setupwizard.network_required=false
ro.setupwizard.wifi_required=false
ro.storage_manager.enabled=false
ro.tether.denied=false
security.mdpp=None
security.mdpp.result=None
security.perf_harden=0
service.adb.root=1
#GPU
brcm.graphics.async_errors=true
brcm.hwc.no-hdmi-trans=1
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=0
debug.hwc.force_gpu=1
debug.hwui.disable_vsync=false
debug.hwui.render_dirty_regions=false
debug.hwui.show_dirty_regions=false
debug.performance.tuning=1
debug.qc.hardware=true
debug.sf.hw=1
debug.sf.no_hw_vsync=0
hdmi.orientation.locked=false
hw2d.force=1
hw3d.force=1
hwui.disable_vsync=false
hwui.use_gpu_pixel_buffers=true
persist.sampling_profiler=0
persist.sys.composition.type=gpu
persist.sys.force_highendgfx=true
persist.sys.hdmi.on=0
persist.sys.hdmivideorotation=0
persist.sys.ui.hw=1
persist.sys.use_dithering=0
persist.webview.provider=classic
ro.bq.gpu_to_cpu_unsupported=1
ro.config.disable.hw_accel=false
ro.product.gpu.driver=1
video.accelerate.hw=1
wlan.wfd.hdcp=disable
#camera
audio.camerasound.force=false
camera.disable_zsl_mode=0
media.sfrec.adj_frames=2
persist.camera.eis.enable=1
persist.camera.feature.cac=1
persist.camera.HAL3.enabled=1
persist.camera.multi_pass=1
persist.camera.ois.disable=1
persist.camera.ois.video=0
persist.camera.tnr.preview=1
persist.camera.tnr.video=1
persist.data.ois.ver=release
persist.sys.camera-mute=1
ro.camera.sound.forced=0
ro.hwcamera.sound.muteable=true
ro.media.enc.hprof.vid.fps=30
ro.media.enc.jpeg.quality=95
ro.qti.sensors.dev_ori=true
sys.allautotest.cameraois=false
vendor.vidc.enc.dcvs.extra-buff-count=2
vendor.vidc.enc.disable.pq=1
#camera [API2 - force. sometimes breaks camera preview].
#camera2.portability.force_api=2
#persist.camera.is_mode=4
#persist.camera.is_type=4
#persist.camera.is_type_preview=4
#battery
persist.radio.add_power_save=1
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
pm.sleep_mode=3
power.saving.mode=1
ro.config.hw_power_saving=1
ro.enable_boot_charger_mode=false
ro.lcd_min_brightness=10
ro.product.use_charge_counter=1
ro.ril.disable.power.collapse=0
ro.ril.power_collapse=1
ro.sim_refresh_reset_by_modem=1
ste.nmf.autoidle=1
sys.boot_from_charger_mode=0
#battery WiFi/SIM OFF when system is idle - try on your own risk.
#persist.radio.apm_sim_not_pwdn=0
#battery keep WiFi/SIM ON when system is idle - better keep this.
persist.radio.apm_sim_not_pwdn=1
#phone
dalvik.vm.dexopt-flags=v=a,o=v,m=y,u=n
mot.proximity.delay=25
persist.call_recording.enabled=true
persist.call_recording.src=4
persist.cust.tel.eons=1
persist.eons.enabled=true
persist.fuse_sdcard=true
persist.radio.no_wait_for_card=1
persist.sys.dun.override=0
persist.sys.oem.region=CN
persist.sys.storage_preload=1
ring.delay=10
ro.config.hw_fast_dormancy=1
ro.config.hw_voicerecord=true
ro.HOME_APP_ADJ=1
ro.lge.proximity.delay=25
ro.opa.eligible_device=true
ro.product.max_num_touch=2
ro.product.multi_touch_enabled=true
ro.proximity.delay=25
ro.ril.enable.amr.wideband=1
ro.ril.enable.imc.feature=1
ro.ril.fast.dormancy.rule=1
ro.telephony.call_ring.delay=10
ro.telephony.call_ring.multiple=false
ro.zygote.disable_gl_preload=true
ste.special_fast_dormancy=false
sys.config.spcm_enable=false
sys.config.spcm_kill_skip=true
#unlog
dalvik.vm.check-dex-sum=false
dalvik.vm.checkjni=false
dalvik.vm.usejit=false
dalvik.vm.usejitprofiles=false
dalvik.vm.verify-bytecode=false
debug.atrace.tags.enableflags=0
debugtool.anrhistory=0
logcat.live=disable
persist.brcm.ap_crash=none
persist.brcm.cp_crash=none
persist.brcm.log=none
persist.sys.dalvik.hyperthreading=true
persist.sys.dalvik.multithread=true
persist.sys.qc.sub.rdump.on=0
profiler.debugmonitor=false
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
profiler.hung.dumpdobugreport=false
profiler.launch=false
ro.config.dmverity=false
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.product_ship=true
#net
net.ipv4.icmp_echo_ignore_all=1
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_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_window_scaling=1
net.ipv6.conf.default.disable_ipv6=1
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.evdo=4096,87380,563200,4096,16384,262144
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.hspa=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspap=4096,87380,1220608,4096,16384,393216
net.tcp.buffersize.hsupa=4096,87380,704512,4096,16384,262144
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=0
#audio
audio.deep_buffer.media=true
audio.safemedia.bypass=true
audio.safemedia.force=false
Ipa.decode=false
lpa.decode=false
lpa.releaselock=false
lpa.use-stagefright=false
media.stagefright.enable-aac=true
media.stagefright.enable-http=true
media.stagefright.enable-meta=true
media.stagefright.enable-player=true
media.stagefright.enable-qcp=true
media.stagefright.enable-record=true
media.stagefright.enable-scan=true
media.stagefright.less-secure=true
media.stagefright.use-awesome=false
persist.audio.fluence.audiorec=false
persist.audio.fluence.mode=false
persist.audio.fluence.speaker=false
persist.audio.fluence.spk.mono=false
persist.audio.fluence.voicecall=false
persist.audio.fluence.voicerec=false
ro.qc.sdk.audio.fluencetype=none
ro.qc.sdk.audio.ssr=false
tunnel.audio.decode=false
tunnel.audio.encode=false
tunnel.decode=false
tunnel.encode=false
#TV-OUT/MediaCast-Mirror Enabler. Also at /system/etc/wfdconfig.xml - put 0 instead of 1 everywhere.
#media.enable-commonsource=true
#persist.brcm.gralloc.force_hdcp=1
#persist.debug.wfd.appmonitoring=1
#persist.debug.wfd.enable=1
#ro.hdmi.enable=true
#ro.hdmi.mirror.enable=true
#ro.tvout.enable=true
#TV-OUT/MediaCast-Mirror DISABLER. For battery.
media.enable-commonsource=false
persist.brcm.gralloc.force_hdcp=0
persist.debug.wfd.appmonitoring=0
persist.debug.wfd.enable=0
ro.hdmi.enable=false
ro.hdmi.mirror.enable=false
ro.tvout.enable=false
#FMradio Enabler
fmradio.driver.enable=1
ro.mtk_fm_short_antenna_support=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment