LG8n: configs: properties: Add some Tweak for better perform…

…ance

* taken from fleur tree & this commit 23217c0

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
fjrXTR 2024-08-11 21:40:11 +08:00 committed by Shirayuki39
parent 8a31706d50
commit 78fccf3e9e
2 changed files with 33 additions and 3 deletions

View file

@ -25,13 +25,17 @@ ro.charger.enable_suspend=true
# Cached app compaction
persist.device_config.activity_manager.use_compaction=true
# Dexopt
dalvik.vm.dex2oat64.enabled=true
# Dex / Dalvik
persist.device_config.runtime_native.usap_pool_enabled=false
persist.sys.minfree_6g=73728,92160,110592,340000,1282868,1677312
persist.sys.minfree_8g=73728,92160,110592,340000,1677312,2064384
persist.sys.minfree_def=73728,92160,110592,340000,510000,645120
pm.dexopt.install=speed-profile
pm.dexopt.bg-dexopt=speed-profile
pm.dexopt.boot=verify
pm.dexopt.first-boot=verify
pm.dexopt.ab-ota=speed-profile
dalvik.vm.dex2oat64.enabled=true
dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5
dalvik.vm.dex2oat-threads=6
dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5
@ -39,12 +43,29 @@ dalvik.vm.boot-dex2oat-threads=6
dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5
dalvik.vm.image-dex2oat-threads=6
# Display / Fingerprint
ro.hardware.fp.sideCap=true
# FUSE passthrough
persist.sys.fuse.passthrough.enable=true
# Graphics
debug.sf.enable_transaction_tracing=false
debug.sf.latch_unsignaled=true
debug.sf.predict_hwc_composition_strategy=0
# Disable blur on app launch
ro.launcher.blur.appLaunch=1
# Disable mtk aggressive_dex2oat
pm.dexopt.aggressive_dex2oat.enable=false
# Iorapd
ro.iorapd.enable=false
iorapd.perfetto.enable=false
iorapd.readahead.enable=false
persist.device_config.runtime_native_boot.iorap_readahead_enable=false
# IMS
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
@ -52,7 +73,6 @@ persist.dbg.wfc_avail_ovr=1
# Kernel
ro.kernel.zio=38,108,105,16
ro.iorapd.enable=false
# Media
debug.stagefright.c2inputsurface=-1

View file

@ -113,6 +113,7 @@ ro.vendor.mm.defrag.support=1
debug.mediatek.appgamepq_compress=1
debug.mediatek.disp_decompress=1
persist.vendor.uxcompaction_enable=true
debug.sf.enable_transaction_tracing=false
debug.renderengine.backend=skiaglthreaded
debug.hwui.skia_atrace_enabled=false
debug.sf.use_phase_offsets_as_durations=1
@ -167,6 +168,12 @@ ro.vendor.mtk_fd_support=1
ro.surface_flinger.primary_display_orientation=ORIENTATION_0
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
debug.sf.predict_hwc_composition_strategy=0
debug.sf.enable_egl_image_tracker=1
debug.sf.phase_offset_threshold_for_next_vsync_ns=6100000
debug.cpurend.vsync=false
service.sf.prime_shader_cache=0
debug.sf.frame_rate_multiple_threshold=90
# DRM
drm.service.enabled=true
@ -273,6 +280,9 @@ ro.vendor.mediatek.platform=MT6789
ro.vendor.mediatek.version.branch=alps-mp-s0.mp1
ro.vendor.mediatek.version.release=alps-mp-s0.mp1.rc-V14.2.1_reallytek.s0mp1rc.k61v1.64.bsp_P145
# HWUI
ro.hwui.render_ahead=20
# Stock Stuff
ro.vendor.rc=/vendor/etc/init/hw/
# MTK Stuff