Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
backup機能させる(コアラ作)
  • Loading branch information
mouseos authored May 24, 2024
1 parent b061a6b commit 4a97431
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
18 changes: 18 additions & 0 deletions recovery/root/init.recovery.vold_decrypt.hwservicemanager.rc
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
17 changes: 17 additions & 0 deletions recovery/root/init.recovery.vold_decrypt.keymaster-3-0.rc
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
13 changes: 13 additions & 0 deletions recovery/root/init.recovery.vold_decrypt.rc
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
8 changes: 8 additions & 0 deletions recovery/root/init.recovery.vold_decrypt.servicemanager.rc
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

0 comments on commit 4a97431

Please sign in to comment.