-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backup機能させる(コアラ作)
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
recovery/root/init.recovery.vold_decrypt.hwservicemanager.rc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Service names must be less than 16 characters in android-7.1 and | ||
# below. The makefile will truncate service names if needed in any | ||
# init.recovery.vold_decryp.*.rc file found in the vold_decrypt | ||
# directory. | ||
# It cannot however do this for any .rc file(s) that may be | ||
# overridden by the device tree files! | ||
|
||
# The seclabels are not needed when built in Android 8.0 tree | ||
# in 7.1 however the below do not exist, so run them under vold | ||
service sys_hwservicemanager /system/bin/hwservicemanager | ||
user root | ||
group root | ||
setenv PATH /system/bin | ||
setenv LD_LIBRARY_PATH /system/lib64:/system/lib | ||
onrestart setprop hwservicemanager.ready false | ||
disabled | ||
oneshot | ||
seclabel u:r:vold:s0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Service names must be less than 16 characters in android-7.1 and | ||
# below. The makefile will truncate service names if needed in any | ||
# init.recovery.vold_decryp.*.rc file found in the vold_decrypt | ||
# directory. | ||
# It cannot however do this for any .rc file(s) that may be | ||
# overridden by the device tree files! | ||
|
||
# The seclabels are not needed when built in Android 8.0 tree | ||
# in 7.1 however the below do not exist, so run them under vold | ||
service ven_keymaster-3-0 /vendor/bin/hw/[email protected] | ||
user root | ||
group root | ||
setenv PATH /vendor/bin:/system/bin | ||
setenv LD_LIBRARY_PATH /vendor/lib64:/system/lib64:/vendor/lib:/system/lib | ||
disabled | ||
oneshot | ||
seclabel u:r:vold:s0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import /init.recovery.vold_decrypt.keymaster-3-0.rc | ||
import /init.recovery.vold_decrypt.hwservicemanager.rc | ||
import /init.recovery.vold_decrypt.servicemanager.rc | ||
|
||
service sys_vold /system/bin/vold \ | ||
--blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 \ | ||
--fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted:s0 | ||
socket vold stream 0660 root mount | ||
socket cryptd stream 0660 root mount | ||
setenv PATH /system/bin | ||
setenv LD_LIBRARY_PATH /system/lib64:/system/lib | ||
disabled | ||
oneshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
service sys_servicemanager /system/bin/servicemanager | ||
user root | ||
group root | ||
setenv PATH /system/bin | ||
setenv LD_LIBRARY_PATH /system/lib64:/system/lib | ||
disabled | ||
oneshot | ||
seclabel u:r:vold:s0 |