Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Clean up and reconfigure some services.
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-Crypton committed Dec 6, 2022
1 parent 79d0191 commit 5c5efe2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion recovery/root/init.recovery.microtrust.rc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ service teei_daemon /vendor/bin/teei_daemon \
group root
setenv LD_LIBRARY_PATH /vendor/lib64:/vendor/lib:/system/lib64:/system/lib:/sbin
disabled
oneshot
seclabel u:r:recovery:s0

on boot
Expand Down
17 changes: 5 additions & 12 deletions recovery/root/init.recovery.mt6853.rc
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on init
mount ext4 /dev/block/platform/bootdevice/by-name/persist /persist
export LD_LIBRARY_PATH /system/lib64:/vendor/lib64:/vendor/lib64/hw

on fs
install_keyring
setprop crypto.ready 1

on post-fs
start boot-hal-1-1

Expand All @@ -20,24 +16,21 @@ on boot
start health-hal-2-1
setprop sys.usb.config adb

on property:ro.crypto.state=encrypted && property:ro.crypto.type=file
install_keyring

on property:crypto.ready=1 && property:hwservicemanager.ready=true
start teei_daemon

on property:sys.listeners.registered=true
start keymaster-4-1-beanpod
start gatekeeper-1-0
start keymaster_attestation-1-1
start thh-2-0

on property:vendor.sys.listeners.registered=true
on property:sys.listeners.registered=true && property:vendor.sys.listeners.registered=true
start keymaster-4-1-beanpod
start gatekeeper-1-0
start keymaster_attestation-1-1
start thh-2-0

service keystore_auth /system/bin/keystore_auth
oneshot
user system
user root
group root
disabled
seclabel u:r:recovery:s0
Expand Down
Binary file added recovery/root/system/bin/keystore2
Binary file not shown.

0 comments on commit 5c5efe2

Please sign in to comment.