From 0144a22bfe148a7a4dfdbc8dba3370092a7106de Mon Sep 17 00:00:00 2001 From: Shirayuki39 Date: Fri, 2 Aug 2024 04:59:47 +0800 Subject: [PATCH] LG8n: Update props Signed-off-by: Shirayuki39 --- configs/properties/system.prop | 18 ++++++++++++++++++ configs/properties/vendor.prop | 3 +++ 2 files changed, 21 insertions(+) diff --git a/configs/properties/system.prop b/configs/properties/system.prop index 160e85e..acf80d5 100644 --- a/configs/properties/system.prop +++ b/configs/properties/system.prop @@ -22,6 +22,9 @@ vendor.camera.tran.nums=1 # Charger ro.charger.enable_suspend=true +# Cached app compaction +persist.device_config.activity_manager.use_compaction=true + # Dexopt dalvik.vm.dex2oat64.enabled=true pm.dexopt.install=speed-profile @@ -39,6 +42,9 @@ dalvik.vm.image-dex2oat-threads=6 # Disable blur on app launch ro.launcher.blur.appLaunch=1 +# Disable mtk aggressive_dex2oat +pm.dexopt.aggressive_dex2oat.enable=false + # IMS persist.dbg.volte_avail_ovr=1 persist.dbg.vt_avail_ovr=1 @@ -54,6 +60,10 @@ media.stagefright.thumbnail.prefer_hw_codecs=true vendor.mtk_thumbnail_optimization=true ro.vendor.mtk_flv_playback_support=1 +# Memory Optimization +ro.config.dha_cached_min=16 +ro.config.dha_cached_max=32 + # MTK vendor ro.vendor.mtk_omacp_support=1 ro.vendor.mtk_flv_playback_support=1 @@ -89,6 +99,14 @@ ro.vendor.use_data_netmgrd=true ro.vold.umsdirtyratio=20 power.saving.mode=1 +# Thermal Management +ro.mtk_thermal_monitor.enabled=true +persist.thermal_config.mitigation=1 + +# Thermal Configuration +ro.config.thermal_limit=75 +ro.config.thermal_dcs=40 + # USB ro.sys.usb.bicr=no ro.sys.usb.charging.only=yes diff --git a/configs/properties/vendor.prop b/configs/properties/vendor.prop index e90548d..0762a15 100644 --- a/configs/properties/vendor.prop +++ b/configs/properties/vendor.prop @@ -168,6 +168,9 @@ 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 +# DRM +drm.service.enabled=true + # Gatekeeper ro.hardware.gatekeeper=trustonic