beryl: uprev vendor from OS2.0.207.0.VOQMIXM
This commit is contained in:
38
proprietary/vendor/etc/init/tee-supplicant.rc
vendored
Normal file
38
proprietary/vendor/etc/init/tee-supplicant.rc
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# For MTK DRM integration:
|
||||
service tee-supplicant /vendor/bin/tee-supplicant
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
capabilities SYS_RAWIO
|
||||
disabled
|
||||
|
||||
|
||||
on fs
|
||||
write /proc/bootprof "init tee-supplicant"
|
||||
# set SELinux security contexts on upgrade or policy update
|
||||
restorecon_recursive /mnt/vendor/persist
|
||||
chmod 0660 /dev/tee0
|
||||
chmod 0660 /dev/teepriv0
|
||||
chown system system /dev/tee0
|
||||
chown system system /dev/teepriv0
|
||||
chmod 0660 /dev/rpmb0
|
||||
chmod 0660 /dev/mmcblk0rpmb
|
||||
chmod 0660 /dev/0:0:0:49476
|
||||
chmod 0660 /dev/ufs-bsg0
|
||||
chmod 0666 /dev/kmsg
|
||||
chown system system /dev/rpmb0
|
||||
chown system system /dev/mmcblk0rpmb
|
||||
chown system system /dev/0:0:0:49476
|
||||
chown system system /dev/ufs-bsg0
|
||||
|
||||
start tee-supplicant
|
||||
|
||||
# enable vendor.keymaster-4-0-mitee
|
||||
|
||||
enable vendor.keymint-mitee
|
||||
|
||||
mkdir /mnt/vendor/persist/data 0755 system system
|
||||
mkdir /mnt/vendor/persist/fdsd 0755 system system
|
||||
|
||||
setprop vendor.teefs_state ready
|
||||
setprop ro.hardware.gatekeeper mitee
|
||||
Reference in New Issue
Block a user