-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathinit.recovery.common.rc
88 lines (76 loc) · 2.08 KB
/
init.recovery.common.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
chmod 0660 /dev/qseecom
chown system drmrpc /dev/qseecom
chmod 0664 /dev/ion
chown system system /dev/ion
install_keyring
service hwservicemanager /sbin/hwservicemanager
user root
group root
disabled
onrestart setprop hwservicemanager.ready false
seclabel u:r:recovery:s0
service boot-1-0 /sbin/android.hardware.boot@1.0-service
user root
group root
disabled
seclabel u:r:recovery:s0
service keymaster-3-0 /sbin/android.hardware.keymaster@3.0-service
user root
group root
disabled
seclabel u:r:recovery:s0
service gatekeeper-1-0 /sbin/android.hardware.gatekeeper@1.0-service
user root
group root
disabled
seclabel u:r:recovery:s0
# separate copy needed to use /sbin/linker64 instead of /system/bin/linker64
service sbinqseecomd /sbin/qseecomd
disabled
user root
group root
seclabel u:r:recovery:s0
service servicemanager /sbin/servicemanager
disabled
user root
group root readproc
seclabel u:r:recovery:s0
writepid /dev/cpuset/system-background/tasks
# keystore is started and stopped on demand by TWRP
service keystore /sbin/keystore /tmp/misc/keystore
disabled
user root
group root drmrpc readproc
seclabel u:r:recovery:s0
writepid /dev/cpuset/foreground/tasks
service keystore_auth /sbin/keystore_auth
disabled
oneshot
user system
group root
seclabel u:r:recovery:s0
service prepdecrypt /sbin/prepdecrypt.sh
oneshot
disabled
user root
group root
seclabel u:r:recovery:s0
on init
setprop ro.hardware.keystore msm8996
setprop ro.hardware.gatekeeper msm8996
setprop ro.hardware.bootctrl msm8996
start prepdecrypt
start boot-1-0
on property:crypto.ready=1
start sbinqseecomd
start servicemanager
start hwservicemanager
start gatekeeper-1-0
start keymaster-3-0
on property:crypto.ready=0
stop sbinqseecomd
stop keymaster-3-0
stop gatekeeper-1-0