From a0cab74d888a1bb7cda7e4088bd3878b83ac4419 Mon Sep 17 00:00:00 2001 From: basamaryan Date: Mon, 6 Nov 2023 06:17:48 +0100 Subject: [PATCH] sm6150-common: rootdir: Fix PowerOffAlarm * As seen on sweet MIUI V14.0.7.0.TKFMIXM Change-Id: I5d4e6f515d52290463d4f46882ec771fba7049b1 --- rootdir/etc/init.qcom.rc | 1 + rootdir/etc/init.target.rc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1d51168..60ffcd9 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -297,6 +297,7 @@ service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqb service vendor.power_off_alarm /vendor/bin/power_off_alarm class core group system + disabled oneshot service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index ab6b3a3..01571cf 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -67,6 +67,8 @@ on fs restorecon_recursive /mnt/vendor/persist mkdir /mnt/vendor/persist/data 0700 system system mkdir /mnt/vendor/persist/audio 0755 system system + mkdir /mnt/vendor/persist/alarm 0770 system system + mkdir /mnt/vendor/persist/time 0770 system system mkdir /mnt/vendor/persist/camera 0777 root root on late-fs