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

Commit

Permalink
Fix not booting issue.
Browse files Browse the repository at this point in the history
TODO: Fix Decryption issue.
  • Loading branch information
cd-Crypton committed Nov 19, 2022
1 parent bd87e33 commit 1f1c197
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion recovery/root/init.recovery.mt6853.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MT6853, remove unncessary supports

import /microtrust.rc
import /microtrust_cannong.rc

on init
symlink /dev/block/platform/bootdevice /dev/block/bootdevice
Expand Down Expand Up @@ -58,3 +58,28 @@ service vibrator-1-3 /system/bin/android.hardware.vibrator@1.3-service.mediatek
user root
group root
seclabel u:r:recovery:s0

on property:hwservicemanager.ready=true
start keymaster-4-1-beanpod
start gatekeeper-1-0

on property:ro.crypto.state=unsupported
stop teei_daemon
stop keymaster-4-1-beanpod
stop gatekeeper-1-0
stop servicemanager
stop hwservicemanager

on property:ro.crypto.state=unencrypted
stop teei_daemon
stop keymaster-4-1-beanpod
stop gatekeeper-1-0
stop servicemanager
stop hwservicemanager

on property:twrp.decrypt.done=true
stop teei_daemon
stop keymaster-4-1-beanpod
stop gatekeeper-1-0
stop servicemanager
stop hwservicemanager
File renamed without changes.

0 comments on commit 1f1c197

Please sign in to comment.