From f0a9fa1223ebe751bf27f83b5b6ccffaeb113e52 Mon Sep 17 00:00:00 2001 From: RJ RAIJIN <125646611+RjTangpos@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:26:01 +0000 Subject: [PATCH] Spacewar: Fix Qti_Power_Hal logspam * This fixes the following logspam: E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1040 E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1041 E/ QTI PowerHAL: Failed to acquire lock for hint_id: 10A5 --- properties/system.prop | 4 ++++ rootdir/etc/init.qcom.rc | 1 + 2 files changed, 5 insertions(+) diff --git a/properties/system.prop b/properties/system.prop index 052f963..b8c48eb 100644 --- a/properties/system.prop +++ b/properties/system.prop @@ -19,6 +19,10 @@ camera.disable_zsl_mode=true # CNE persist.vendor.cne.feature=1 +# Deep Sleep +pm.sleep_mode=1 +vendor.post_boot.parsed=1s + # Display debug.sf.enable_hwc_vds=1 persist.sys.sf.native_mode=260 diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7f6c504..d95ffc0 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -410,6 +410,7 @@ on property:persist.vendor.sys.rawdump_copy=0 on property:sys.boot_completed=1 write /dev/kmsg "Boot completed " + setprop vendor.post_boot.parsed 1 #Enable UFS clock scaling back write /sys/bus/platform/devices/1d84000.ufshc/clkscale_enable 1 #Reset read ahead for dm-0 and dm-1 to 512kb