mirror of
https://github.com/followmsi/android_device_asus_flo.git
synced 2024-11-06 21:56:05 +00:00
16 lines
519 B
Text
16 lines
519 B
Text
type init-qcom-devstart-sh, domain;
|
|
type init-qcom-devstart-sh_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(init-qcom-devstart-sh)
|
|
|
|
allow init-qcom-devstart-sh shell_exec:file rx_file_perms;
|
|
|
|
# execute toybox/toolbox
|
|
allow init-qcom-devstart-sh toolbox_exec:file rx_file_perms;
|
|
|
|
# Set the sys.qcom.devup property
|
|
set_prop(init-qcom-devstart-sh, system_prop)
|
|
|
|
# Set boot_adsp and boot_slpi to 1
|
|
allow init-qcom-devstart-sh sysfs_audio:file w_file_perms;
|
|
allow init-qcom-devstart-sh sysfs_boot_adsp:file w_file_perms;
|