gale: Initial import from V816.0.5.0.UGPMIXM
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
1101 files changed
+33222
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
service bluetooth-1-1 /vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek
|
||||
class hal
|
||||
user bluetooth
|
||||
group bluetooth
|
||||
writepid /dev/stune/foreground/tasks
|
||||
capabilities SYS_NICE
|
||||
|
||||
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
|
||||
stop bluetooth-1-1
|
||||
on property:vts.native_server.on=1 && property:ro.build.type=eng
|
||||
stop bluetooth-1-1
|
||||
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
|
||||
start bluetooth-1-1
|
||||
on property:vts.native_server.on=0 && property:ro.build.type=eng
|
||||
start bluetooth-1-1
|
||||
@@ -0,0 +1,28 @@
|
||||
on property:init.svc.mediadrm=running
|
||||
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
||||
start vendor.move_data_sh
|
||||
|
||||
service vendor.move_data_sh /system/bin/move_widevine_data.sh
|
||||
class late_start
|
||||
user media
|
||||
group media mediadrm system
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.drm-widevine-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-service.widevine
|
||||
interface android.hardware.drm@1.0::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.0::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.1::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.1::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.2::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.2::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.3::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.3::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.4::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.4::IDrmFactory widevine
|
||||
interface android.hidl.base@1.0::IBase widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -0,0 +1,5 @@
|
||||
service vendor.gnss-default /vendor/bin/hw/android.hardware.gnss-service.mediatek
|
||||
class hal
|
||||
user system
|
||||
capabilities WAKE_ALARM
|
||||
group system gps
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
service vendor.gralloc-4-0 /vendor/bin/hw/android.hardware.graphics.allocator@4.0-service-mediatek
|
||||
interface android.hardware.graphics.allocator@4.0::IAllocator default
|
||||
class hal animation
|
||||
interface android.hardware.graphics.allocator@4.0::IAllocator default
|
||||
user system
|
||||
group graphics drmrpc
|
||||
capabilities SYS_NICE
|
||||
onrestart restart surfaceflinger
|
||||
@@ -0,0 +1,6 @@
|
||||
service vendor.keymaster-4-1-beanpod /vendor/bin/hw/android.hardware.keymaster@4.1-service.beanpod
|
||||
interface android.hardware.keymaster@4.0::IKeymasterDevice default
|
||||
interface android.hardware.keymaster@4.1::IKeymasterDevice default
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -0,0 +1,7 @@
|
||||
service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media.c2@1.2-mediatek
|
||||
class hal
|
||||
user mediacodec
|
||||
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
service nfc_hal_service.tms /vendor/bin/hw/android.hardware.nfc@1.2-service-tms
|
||||
class hal
|
||||
user nfc
|
||||
group nfc
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
service mtk_secure_element_hal_service /vendor/bin/hw/android.hardware.secure_element@1.2-service-mediatek
|
||||
class hal
|
||||
user secure_element
|
||||
group secure_element
|
||||
disabled
|
||||
|
||||
on boot && property:ro.boot.hwname=gust
|
||||
start mtk_secure_element_hal_service
|
||||
@@ -0,0 +1,7 @@
|
||||
service camerahalserver /vendor/bin/hw/camerahalserver
|
||||
class main
|
||||
user cameraserver
|
||||
group audio camera input drmrpc sdcard_rw system media graphics
|
||||
ioprio rt 4
|
||||
capabilities SYS_NICE
|
||||
task_profiles CameraServiceCapacity MaxPerformance
|
||||
@@ -0,0 +1,4 @@
|
||||
service fuelgauged /vendor/bin/fuelgauged
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,6 @@
|
||||
service fuelgauged_nvram /vendor/bin/fuelgauged_nvram
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
service vendor.gsm0710muxd /vendor/bin/gsm0710muxd -s /dev/ttyC0 -f 512 -n 8 -m basic
|
||||
class main
|
||||
user radio
|
||||
group radio cache inet misc
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
#
|
||||
on early-init
|
||||
|
||||
on post-fs-data
|
||||
|
||||
# Modem related device nodes
|
||||
mkdir /mnt/vendor/nvdata/md 0770 root system
|
||||
mkdir /mnt/vendor/nvdata/md3 0770 root system
|
||||
mkdir /data/vendor/md3 0770 root system
|
||||
# Build-in Modified - S
|
||||
# insmod /vendor/lib/modules/ccci_plat.ko
|
||||
# insmod /vendor/lib/modules/ccci.ko
|
||||
# Build-in Modified - E
|
||||
# chown radio radio /sys/class/BOOT/BOOT/boot/md
|
||||
chown radio radio /sys/kernel/ccci/boot
|
||||
|
||||
#from ccci_fsd
|
||||
mkdir /data/vendor/mdlpm 0770 system radio
|
||||
restorecon /data/vendor/mdlpm
|
||||
# mkdir /data/vendor/md3 0770 system radio
|
||||
restorecon /data/vendor/md3
|
||||
|
||||
mkdir /data/vendor_de/md 0770 system radio
|
||||
restorecon /data/vendor_de/md
|
||||
|
||||
restorecon_recursive /mnt/vendor/protect_f
|
||||
restorecon_recursive /mnt/vendor/protect_s
|
||||
|
||||
#SeLinux
|
||||
|
||||
service ccci_mdinit /vendor/bin/ccci_mdinit 0
|
||||
user system
|
||||
group radio system
|
||||
class core
|
||||
priority -20
|
||||
ioprio rt 4
|
||||
oneshot
|
||||
|
||||
service ccci3_mdinit /vendor/bin/ccci_mdinit 2
|
||||
user system
|
||||
group radio system
|
||||
class core
|
||||
oneshot
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#
|
||||
|
||||
service vendor.ccci_rpcd /vendor/bin/ccci_rpcd 0
|
||||
user radio
|
||||
group radio system
|
||||
class core
|
||||
oneshot
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
service thermal /vendor/bin/thermal
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,4 @@
|
||||
service thermalloadalgod /vendor/bin/thermalloadalgod
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
# This file needs to be executed by vendor_init at boot of the device,
|
||||
# in normal and FM mode.
|
||||
|
||||
# For factory mode, nfcstackp to create the socket as vendor here
|
||||
on boot
|
||||
mkdir /data/vendor/nfc_socket 0770 nfc nfc
|
||||
mkdir /data/vendor 0777 nfc nfc
|
||||
mkdir /data/vendor/nfc 0777 nfc nfc
|
||||
mkdir /data/vendor/nfc/param 0777 nfc nfc
|
||||
chmod 0660 /dev/tms_nfc
|
||||
chown nfc nfc /dev/tms_nfc
|
||||
chmod 0666 /sys/nfc/chip_name
|
||||
chown nfc nfc /sys/nfc/chip_name
|
||||
@@ -0,0 +1,4 @@
|
||||
on boot
|
||||
mkdir /data/vendor/secure_element 0777 secure_element secure_element
|
||||
chmod 0660 /dev/tms_ese
|
||||
chown secure_element secure_element /dev/tms_ese
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
#copy from device/mediatek/common/init.volte.rc
|
||||
|
||||
service vendor.volte_imcb /vendor/bin/volte_imcb
|
||||
class main
|
||||
socket volte_imsa1 stream 660 system radio
|
||||
socket volte_imsa2 stream 660 system radio
|
||||
# socket volte_imsvt1 stream 660 root radio
|
||||
# socket volte_imsvt2 stream 660 root radio
|
||||
socket volte_ut stream 660 system radio
|
||||
user system
|
||||
group system log inet radio
|
||||
oneshot
|
||||
disabled
|
||||
capabilities WAKE_ALARM
|
||||
#
|
||||
# VoLTE related services (End)
|
||||
#
|
||||
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# MAL related services (Begin)
|
||||
#
|
||||
|
||||
on property:vendor.volte_md_status=ready
|
||||
restart volte_imsm_93
|
||||
restart vendor.volte_stack
|
||||
restart vendor.volte_ua
|
||||
restart vendor.volte_imcb
|
||||
|
||||
on property:vendor.volte_md_status=reset
|
||||
rm /dev/radio/pttyims
|
||||
rm /dev/radio/ptty2ims
|
||||
rm /dev/radio/ptty3ims
|
||||
rm /dev/radio/ptty4ims
|
||||
stop vendor.volte_imcb
|
||||
stop vendor.volte_ua
|
||||
stop vendor.volte_stack
|
||||
stop volte_imsm_93
|
||||
|
||||
on property:vendor.volte_md_status=stop
|
||||
rm /dev/radio/pttyims
|
||||
rm /dev/radio/ptty2ims
|
||||
rm /dev/radio/ptty3ims
|
||||
rm /dev/radio/ptty4ims
|
||||
stop vendor.volte_imcb
|
||||
stop vendor.volte_ua
|
||||
stop vendor.volte_stack
|
||||
stop volte_imsm_93
|
||||
|
||||
on property:vendor.volte_md_status=flightmode
|
||||
rm /dev/radio/pttyims
|
||||
rm /dev/radio/ptty2ims
|
||||
rm /dev/radio/ptty3ims
|
||||
rm /dev/radio/ptty4ims
|
||||
stop vendor.volte_imcb
|
||||
stop vendor.volte_ua
|
||||
stop vendor.volte_stack
|
||||
stop volte_imsm_93
|
||||
|
||||
on property:vendor.volte_md_status=exception
|
||||
rm /dev/radio/pttyims
|
||||
rm /dev/radio/ptty2ims
|
||||
rm /dev/radio/ptty3ims
|
||||
rm /dev/radio/ptty4ims
|
||||
stop vendor.volte_imcb
|
||||
stop vendor.volte_ua
|
||||
stop vendor.volte_stack
|
||||
stop volte_imsm_93
|
||||
|
||||
service volte_imsm_93 /vendor/bin/volte_imsm_93
|
||||
class main
|
||||
user system
|
||||
group radio cache inet misc log system wifi net_raw
|
||||
capabilities NET_RAW NET_ADMIN
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
#
|
||||
# MAL related services (End)
|
||||
#
|
||||
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# MAL related services (Begin)
|
||||
#
|
||||
|
||||
on init
|
||||
restart volte_md_status
|
||||
|
||||
service volte_md_status /system/vendor/bin/volte_md_status
|
||||
class core
|
||||
user system
|
||||
group radio log system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
#
|
||||
# MAL related services (End)
|
||||
#
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
|
||||
#copy from device/mediatek/common/init.volte.rc
|
||||
|
||||
service vendor.volte_stack /vendor/bin/volte_stack
|
||||
class main
|
||||
socket volte_stack stream 660 system system
|
||||
user system
|
||||
group system log inet radio
|
||||
capabilities NET_ADMIN
|
||||
oneshot
|
||||
disabled
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
#copy from device/mediatek/common/init.volte.rc
|
||||
|
||||
service vendor.volte_ua /vendor/bin/volte_ua
|
||||
class main
|
||||
socket volte_ua stream 660 system system
|
||||
user radio
|
||||
group system log inet radio net_admin
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# VTService_hidl .rc configure
|
||||
|
||||
service vtservice_hidl /vendor/bin/hw/vtservice_hidl
|
||||
class hal
|
||||
socket volte_vt stream 660 root system
|
||||
user system
|
||||
group system camera graphics inet net_admin net_raw media sdcard_rw radio sdcard_r media_rw
|
||||
ioprio rt 4
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
# load wifi driver after wmt_loader finish
|
||||
on property:vendor.connsys.driver.ready=yes
|
||||
insmod /vendor/lib/modules/${ro.vendor.wlan.chrdev}.ko
|
||||
insmod /vendor/lib/modules/wlan_drv_${ro.vendor.wlan.gen}.ko
|
||||
start wlan_assistant
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
on boot
|
||||
insmod /vendor/lib/modules/wmt_drv.ko
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
service ipsec_mon /vendor/bin/ipsec_mon
|
||||
class main
|
||||
user system
|
||||
oneshot
|
||||
group net_admin net_raw system misc
|
||||
capabilities NET_ADMIN NET_RAW
|
||||
|
||||
#
|
||||
# ePDG related services (End)
|
||||
#
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
service beanpod_check_keybox_service /vendor/bin/bp_kmsetkey_ca -c
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
+241
@@ -0,0 +1,241 @@
|
||||
# For MTK DRM integration:
|
||||
service teei_daemon /vendor/bin/teei_daemon \
|
||||
-r 020b0000000000000000000000000000 \
|
||||
-r 020f0000000000000000000000000000 \
|
||||
-r 06090000000000000000000000000000 \
|
||||
-r 05120000000000000000000000000000 \
|
||||
-r 40188311faf343488db888ad39496f9a \
|
||||
-r 07060000000000000000000000007169 \
|
||||
-r 4be4f7dc1f2c11e5b5f7727283247c7f \
|
||||
-r 9073f03a9618383bb1856eb3f990babd \
|
||||
-r 08050000000000000000000000003419 \
|
||||
-r 5020170115e016302017012521300000 \
|
||||
-r 0f5eed3c3b5a47afacca69a84bf0efad \
|
||||
-r 07407000000000000000000000000000 \
|
||||
-r 05160000000000000000000000000000 \
|
||||
-r 91dba524a6e24909acc48abd7163121a \
|
||||
-r 08070000000000000000000000008270 \
|
||||
-r 09080000000000000000000000009381 \
|
||||
-t 08030000000000000000000000000000 \
|
||||
-t 85f630e0f0964c5fa2cc268ce04e3da3 \
|
||||
-t 98fb95bcb4bf42d26473eae48690d7ea \
|
||||
-t 7b66512021214487ba710a51d7ea78fe \
|
||||
-t 09010000000000000000000000000000
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
# oneshot
|
||||
|
||||
on boot
|
||||
chown system system /sys/bus/platform/devices/utos/dcih_notify_test
|
||||
chown system system /sys/bus/platform/devices/utos/dcih_wait_notify_test
|
||||
chown system system /sys/bus/platform/devices/utos/load_ut_drv
|
||||
chown system system /sys/bus/platform/devices/utos/unload_ut_drv
|
||||
chown system system /sys/bus/platform/devices/utos/notify_ree_dci_handler
|
||||
|
||||
#for All mode
|
||||
on load_persist_props_action
|
||||
write /proc/bootprof "start teei cfg (on load_persist_props_action)"
|
||||
mkdir /data/vendor/thh
|
||||
mkdir /data/vendor/thh/system
|
||||
mkdir /data/vendor/thh/tee_00
|
||||
mkdir /data/vendor/thh/tee_01
|
||||
mkdir /data/vendor/thh/tee_02
|
||||
mkdir /data/vendor/thh/tee_03
|
||||
mkdir /data/vendor/thh/tee_04
|
||||
mkdir /data/vendor/thh/tee_05
|
||||
mkdir /data/vendor/thh/tee_06
|
||||
mkdir /data/vendor/thh/tee_07
|
||||
mkdir /data/vendor/thh/tee
|
||||
mkdir /data/vendor/thh/tee/tas
|
||||
mkdir /data/vendor/thh/tee_08
|
||||
mkdir /data/vendor/thh/tee_09
|
||||
mkdir /data/vendor/thh/tee_0A
|
||||
mkdir /data/vendor/thh/tee_0B
|
||||
mkdir /data/vendor/thh/tee_0C
|
||||
mkdir /data/vendor/thh/tee_0D
|
||||
mkdir /data/vendor/thh/tee_0E
|
||||
mkdir /data/vendor/thh/tee_0F
|
||||
mkdir /data/vendor/thh/ta
|
||||
mkdir /data/vendor/thh/tee_log
|
||||
mkdir /data/vendor/key_provisioning
|
||||
chmod 0755 /data/vendor/thh
|
||||
chown system system /data/vendor/thh
|
||||
chmod 0755 /data/vendor/thh/tee_00
|
||||
chown system system /data/vendor/thh/tee_00
|
||||
chmod 0755 /data/vendor/thh/tee_01
|
||||
chown system system /data/vendor/thh/tee_01
|
||||
chmod 0755 /data/vendor/thh/tee_02
|
||||
chown system system /data/vendor/thh/tee_02
|
||||
chmod 0755 /data/vendor/thh/tee_03
|
||||
chown system system /data/vendor/thh/tee_03
|
||||
chmod 0755 /data/vendor/thh/tee_04
|
||||
chown system system /data/vendor/thh/tee_04
|
||||
chmod 0755 /data/vendor/thh/tee_05
|
||||
chown system system /data/vendor/thh/tee_05
|
||||
|
||||
chmod 0755 /data/vendor/thh/tee_06
|
||||
chown system system /data/vendor/thh/tee_06
|
||||
chmod 0755 /data/vendor/thh/tee_07
|
||||
chown system system /data/vendor/thh/tee_07
|
||||
chmod 0755 /data/vendor/thh/tee
|
||||
chown system system /data/vendor/thh/tee
|
||||
chmod 0755 /data/vendor/thh/tee/tas
|
||||
chown system system /data/vendor/thh/tee/tas
|
||||
chmod 0755 /data/vendor/thh/tee_08
|
||||
chown system system /data/vendor/thh/tee_08
|
||||
chmod 0755 /data/vendor/thh/tee_09
|
||||
chown system system /data/vendor/thh/tee_09
|
||||
chmod 0755 /data/vendor/thh/tee_0A
|
||||
chown system system /data/vendor/thh/tee_0A
|
||||
chmod 0755 /data/vendor/thh/tee_0B
|
||||
chown system system /data/vendor/thh/tee_0B
|
||||
chmod 0755 /data/vendor/thh/tee_0C
|
||||
chown system system /data/vendor/thh/tee_0C
|
||||
chmod 0755 /data/vendor/thh/tee_0D
|
||||
chown system system /data/vendor/thh/tee_0D
|
||||
chmod 0755 /data/vendor/thh/tee_0E
|
||||
chown system system /data/vendor/thh/tee_0E
|
||||
chmod 0755 /data/vendor/thh/tee_0F
|
||||
chown system system /data/vendor/thh/tee_0F
|
||||
chmod 0755 /data/vendor/thh/tee_log
|
||||
chown system system /data/vendor/thh/tee_log
|
||||
chmod 0755 /data/vendor/thh/ta
|
||||
chown system system /data/vendor/thh/ta
|
||||
chmod 0755 /data/vendor/thh/system
|
||||
chown system system /data/vendor/thh/system
|
||||
restorecon_recursive /data/vendor/thh
|
||||
chmod 0771 /data/vendor/key_provisioning
|
||||
chown system system /data/vendor/key_provisioning
|
||||
write /proc/bootprof "start teei cfg end (on load_persist_props_action)"
|
||||
|
||||
on property:vold.decrypt=trigger_restart_framework
|
||||
write /proc/bootprof "start teei cfg (on trigger_restart_framework)"
|
||||
mkdir /data/vendor/thh
|
||||
mkdir /data/vendor/thh/system
|
||||
mkdir /data/vendor/thh/tee_00
|
||||
mkdir /data/vendor/thh/tee_01
|
||||
mkdir /data/vendor/thh/tee_02
|
||||
mkdir /data/vendor/thh/tee_03
|
||||
mkdir /data/vendor/thh/tee_04
|
||||
mkdir /data/vendor/thh/tee_05
|
||||
mkdir /data/vendor/thh/tee_06
|
||||
mkdir /data/vendor/thh/tee_07
|
||||
mkdir /data/vendor/thh/tee
|
||||
mkdir /data/vendor/thh/tee/tas
|
||||
mkdir /data/vendor/thh/tee_08
|
||||
mkdir /data/vendor/thh/tee_09
|
||||
mkdir /data/vendor/thh/tee_0A
|
||||
mkdir /data/vendor/thh/tee_0B
|
||||
mkdir /data/vendor/thh/tee_0C
|
||||
mkdir /data/vendor/thh/tee_0D
|
||||
mkdir /data/vendor/thh/tee_0E
|
||||
mkdir /data/vendor/thh/tee_0F
|
||||
mkdir /data/vendor/thh/ta
|
||||
mkdir /data/vendor/key_provisioning
|
||||
mkdir /data/vendor/thh/tee_log
|
||||
chmod 0755 /data/vendor/thh
|
||||
chown system system /data/vendor/thh
|
||||
chmod 0755 /data/vendor/thh/tee_00
|
||||
chown system system /data/vendor/thh/tee_00
|
||||
chmod 0755 /data/vendor/thh/tee_01
|
||||
chown system system /data/vendor/thh/tee_01
|
||||
chmod 0755 /data/vendor/thh/tee_02
|
||||
chown system system /data/vendor/thh/tee_02
|
||||
chmod 0755 /data/vendor/thh/tee_03
|
||||
chown system system /data/vendor/thh/tee_03
|
||||
chmod 0755 /data/vendor/thh/tee_04
|
||||
chown system system /data/vendor/thh/tee_04
|
||||
chmod 0755 /data/vendor/thh/tee_05
|
||||
chown system system /data/vendor/thh/tee_05
|
||||
|
||||
chmod 0755 /data/vendor/thh/tee_06
|
||||
chown system system /data/vendor/thh/tee_06
|
||||
chmod 0755 /data/vendor/thh/tee_07
|
||||
chown system system /data/vendor/thh/tee_07
|
||||
chmod 0755 /data/vendor/thh/tee
|
||||
chown system system /data/vendor/thh/tee
|
||||
chmod 0755 /data/vendor/thh/tee/tas
|
||||
chown system system /data/vendor/thh/tee/tas
|
||||
chmod 0755 /data/vendor/thh/tee_08
|
||||
chown system system /data/vendor/thh/tee_08
|
||||
chmod 0755 /data/vendor/thh/tee_09
|
||||
chown system system /data/vendor/thh/tee_09
|
||||
chmod 0755 /data/vendor/thh/tee_0A
|
||||
chown system system /data/vendor/thh/tee_0A
|
||||
chmod 0755 /data/vendor/thh/tee_0B
|
||||
chown system system /data/vendor/thh/tee_0B
|
||||
chmod 0755 /data/vendor/thh/tee_0C
|
||||
chown system system /data/vendor/thh/tee_0C
|
||||
chmod 0755 /data/vendor/thh/tee_0D
|
||||
chown system system /data/vendor/thh/tee_0D
|
||||
chmod 0755 /data/vendor/thh/tee_0E
|
||||
chown system system /data/vendor/thh/tee_0E
|
||||
chmod 0755 /data/vendor/thh/tee_0F
|
||||
chown system system /data/vendor/thh/tee_0F
|
||||
chmod 0755 /data/vendor/thh/tee_log
|
||||
chown system system /data/vendor/thh/tee_log
|
||||
chmod 0755 /data/vendor/thh/ta
|
||||
chown system system /data/vendor/thh/ta
|
||||
chmod 0755 /data/vendor/thh/system
|
||||
chown system system /data/vendor/thh/system
|
||||
chmod 0771 /data/vendor/key_provisioning
|
||||
chown system system /data/vendor/key_provisioning
|
||||
restorecon_recursive /data/vendor/thh
|
||||
write /proc/bootprof "start teei cfg end (on trigger_restart_framework)"
|
||||
|
||||
on post-fs
|
||||
# Set /mnt/vendor/persist/rpmb
|
||||
chown system system /mnt/vendor/persist
|
||||
chmod 0771 /mnt/vendor/persist
|
||||
restorecon_recursive /mnt/vendor/persist
|
||||
|
||||
mkdir /mnt/vendor/persist/rpmb
|
||||
chown system system /mnt/vendor/persist/rpmb
|
||||
chmod 0771 /mnt/vendor/persist/rpmb
|
||||
restorecon_recursive /mnt/vendor/persist/rpmb
|
||||
|
||||
# Set other rpmb
|
||||
mkdir /persist/rpmb
|
||||
mkdir /vendor/persist/rpmb
|
||||
chmod 0771 /persist/rpmb
|
||||
chmod 0771 /vendor/persist/rpmb
|
||||
chown system system /persist/rpmb
|
||||
chown system system /vendor/persist/rpmb
|
||||
restorecon_recursive /persist
|
||||
restorecon_recursive /vendor/persist
|
||||
|
||||
on fs
|
||||
chmod 0660 /dev/teei_client
|
||||
chown system system /dev/teei_client
|
||||
chmod 0660 /dev/teei_config
|
||||
chown system system /dev/teei_config
|
||||
# 666 for SVP
|
||||
chmod 0666 /dev/isee_tee0
|
||||
chown system drmrpc /dev/isee_tee0
|
||||
chmod 0660 /dev/tz_vfs
|
||||
chown system system /dev/tz_vfs
|
||||
chmod 0660 /dev/teei_fp
|
||||
chown system /dev/teei_fp
|
||||
chown system drmrpc /dev/ut_keymaster
|
||||
chmod 0660 /dev/ut_keymaster
|
||||
# rpmb device
|
||||
chmod 0660 /dev/rpmb0
|
||||
chown system system /dev/rpmb0
|
||||
chmod 0660 /dev/mmcblk0rpmb
|
||||
chown root system /dev/mmcblk0rpmb
|
||||
# legacy rpmb device for cross-platform compatibility
|
||||
chmod 0660 /dev/emmcrpmb0
|
||||
chown system system /dev/emmcrpmb0
|
||||
chown system system /dev/utr_tui
|
||||
chmod 0660 /dev/utr_tui
|
||||
write /proc/bootprof "start teei_daemon (on fs)"
|
||||
start teei_daemon
|
||||
write /proc/bootprof "start teei_daemon end (on fs)"
|
||||
|
||||
on property:vendor.crypto.fake_encrypt=1 && property:vold.post_fs_data_done=1
|
||||
setprop vendor.soter.teei.crypto.state unencrypted
|
||||
|
||||
on post-fs-data
|
||||
setprop vendor.soter.teei.logini "start"
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/agps_supl 0771 gps system
|
||||
|
||||
service agpsd /vendor/bin/mtk_agpsd
|
||||
class main
|
||||
socket agpsd stream 660 gps system
|
||||
socket agpsd2 stream 660 gps inet
|
||||
socket agpsd3 stream 660 gps inet
|
||||
user gps
|
||||
group gps radio inet sdcard_r sdcard_rw misc system
|
||||
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
on post-fs-data
|
||||
# create ims db node
|
||||
mkdir /data/vendor/radio 0771 radio radio
|
||||
|
||||
service vendor.ril-daemon-mtk /vendor/bin/hw/mtkfusionrild -l libmtk-ril.so
|
||||
class main
|
||||
socket sap_uim_socket1 stream 660 bluetooth bluetooth
|
||||
socket rild-oem stream 660 radio system
|
||||
socket volte_imsvt1 stream 660 root radio
|
||||
socket rild-atci stream 660 root radio
|
||||
user radio
|
||||
group radio net_admin net_raw cache inet misc audio log readproc wakelock sdcard_r sdcard_rw system
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW WAKE_ALARM
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on property:vendor.ril.mtk=1
|
||||
start vendor.ril-daemon-mtk
|
||||
|
||||
on property:vendor.ril.mtk.restart=1
|
||||
restart vendor.ril-daemon-mtk
|
||||
|
||||
on property:ro.vendor.mtk_mipc_support=1
|
||||
start vendor.ril-daemon-mtk
|
||||
|
||||
on property:vold.decrypt=trigger_restart_framework
|
||||
start vendor.ril-daemon-mtk
|
||||
|
||||
on property:init.svc.zygote=stopped && property:init.svc.vendor.ril-daemon-mtk=running
|
||||
setprop vendor.ril.zygote.state "stopped"
|
||||
|
||||
on property:init.svc.zygote=restarting && property:init.svc.vendor.ril-daemon-mtk=running
|
||||
setprop vendor.ril.zygote.state "restarting"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
service vendor.muxreport-daemon /vendor/bin/muxreport
|
||||
class core
|
||||
user radio
|
||||
group radio cache inet misc
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:vendor.ril.muxreport=1
|
||||
start vendor.muxreport-daemon
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
service netdagent /vendor/bin/netdagent
|
||||
class late_start
|
||||
#socket netdagent stream 0660 root system
|
||||
user system
|
||||
group net_admin net_raw system misc
|
||||
capabilities NET_ADMIN NET_RAW
|
||||
|
||||
on property:persist.vendor.operator.optr=OP12
|
||||
write /proc/sys/net/optr 12
|
||||
|
||||
# NTT also need this feature. optr in kernel
|
||||
# only is like a feature option to enable this
|
||||
# feature. No longer operator code meaning again.
|
||||
on property:persist.vendor.operator.optr=OP17
|
||||
write /proc/sys/net/optr 12
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
service nvram_daemon /vendor/bin/nvram_daemon
|
||||
class core
|
||||
user root
|
||||
group system radio wifi audio bluetooth media
|
||||
oneshot
|
||||
@@ -0,0 +1,9 @@
|
||||
service tetheroffloadservice /vendor/bin/hw/tetheroffloadservice
|
||||
interface android.hardware.tetheroffload.config@1.0::IOffloadConfig default
|
||||
interface android.hardware.tetheroffload.control@1.0::IOffloadControl default
|
||||
interface android.hardware.tetheroffload.control@1.1::IOffloadControl default
|
||||
class hal
|
||||
user system
|
||||
group net_admin net_raw system misc
|
||||
oneshot
|
||||
disabled
|
||||
@@ -0,0 +1,13 @@
|
||||
service mms-1-6 /vendor/bin/hw/vendor.mediatek.hardware.mms@1.6-service
|
||||
interface vendor.mediatek.hardware.mms@1.6::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.5::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.4::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.3::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.2::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.1::IMms default
|
||||
interface vendor.mediatek.hardware.mms@1.0::IMms default
|
||||
oneshot
|
||||
disabled
|
||||
class main
|
||||
user system
|
||||
group system graphics
|
||||
@@ -0,0 +1,4 @@
|
||||
service nvram-hidl-1-1 /vendor/bin/hw/vendor.mediatek.hardware.nvram@1.1-service
|
||||
class hal
|
||||
user root
|
||||
group system bluetooth media audio radio
|
||||
@@ -0,0 +1,5 @@
|
||||
service pq-2-2 /vendor/bin/hw/vendor.mediatek.hardware.pq@2.2-service
|
||||
class main
|
||||
user system
|
||||
group system graphics
|
||||
capabilities SYS_NICE
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
service fpexts_hal /vendor/bin/hw/vendor.silead.hardware.fingerprintext@1.0-service
|
||||
class late_start
|
||||
user system
|
||||
group system input
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# volte_clientapi_ua specific system properties
|
||||
#
|
||||
on property:sys.boot_completed=1 && property:persist.vendor.clientapi_support=1
|
||||
start volte_clientapi_ua
|
||||
|
||||
#
|
||||
# volte_clientapi_ua specific system service and socket information
|
||||
#
|
||||
service volte_clientapi_ua /vendor/bin/volte_clientapi_ua
|
||||
class hal
|
||||
socket volte_clientapi stream 666 root system
|
||||
user system
|
||||
group system log inet radio
|
||||
disabled
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
##
|
||||
#
|
||||
# volte_rcs_ua specific system properties
|
||||
#
|
||||
on property:sys.boot_completed=1 && property:persist.vendor.mtk_rcs_ua_support=1
|
||||
start volte_rcs_ua
|
||||
|
||||
#
|
||||
# volte_rcs_ua specific system service and socket information
|
||||
#
|
||||
service volte_rcs_ua /vendor/bin/volte_rcs_ua
|
||||
class hal
|
||||
socket rcs_ua_proxy stream 666 root system
|
||||
user system
|
||||
group system log inet radio
|
||||
disabled
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
service vpud /vendor/bin/vpud -f
|
||||
class main
|
||||
user media
|
||||
group system media drmrpc
|
||||
@@ -0,0 +1,4 @@
|
||||
service wlan_assistant /vendor/bin/wlan_assistant
|
||||
class main
|
||||
user wifi
|
||||
group system gps inet
|
||||
Reference in new issue
Block a user