klee: Initial vendor tree

Change-Id: Id84cbbc84ce32ce0af59e42e797de11ea2244efd
Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
This commit is contained in:
Ido
2026-05-10 12:29:05 +02:00
commit f2c3eea3f3
2195 changed files with 489052 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# For MTK DRM integration:
service tee-supplicant /vendor/bin/tee-supplicant
class core
user system
group system secure_element nfc
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
# enable vendor.keymaster-4-0-mitee
enable vendor.keymint-mitee
start tee-supplicant
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