Skip to content

Commit

Permalink
chiron: Fix PowerOffAlarm
Browse files Browse the repository at this point in the history
 * The APK is prepared to not run as system user
 * Adjust /persist/alarm/data permissions accordingly

Change-Id: Ie24ccb3749d1dda2deb670cdb531e35d153034ed
  • Loading branch information
vware authored and BYZYB committed Jan 11, 2023
1 parent bf3a499 commit 8aeff30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootdir/etc/init.target.rc
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ on init

on fs
mount_all /vendor/etc/fstab.qcom
mkdir /mnt/vendor/persist/alarm 0770 system system
mkdir /mnt/vendor/persist/alarm 0777 system system
mkdir /mnt/vendor/persist/audio 0755 system system
mkdir /mnt/vendor/persist/bluetooth 0770 bluetooth bluetooth
mkdir /mnt/vendor/persist/data 0700 system system
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
mkdir /mnt/vendor/persist/time 0770 system system
mkdir /mnt/vendor/persist/wlan_bt 0770 system system
chmod 0666 /mnt/vendor/persist/alarm/data
restorecon_recursive /mnt/vendor/persist

on post-fs
Expand Down

0 comments on commit 8aeff30

Please sign in to comment.