rtwo: defer crypto startup until secure services are ready
This commit is contained in:
parent
59e954f646
commit
f7308b21d0
2 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ PLATFORM_VERSION := 12.1.0
|
|||
TW_INCLUDE_CRYPTO := true
|
||||
TW_INCLUDE_CRYPTO_FBE := true
|
||||
BOARD_USES_QCOM_FBE_DECRYPTION := false
|
||||
TW_INCLUDE_FBE_METADATA_DECRYPT := false
|
||||
TW_INCLUDE_FBE_METADATA_DECRYPT := true
|
||||
BOARD_USES_METADATA_PARTITION := true
|
||||
|
||||
# PRODUCT_COPY_FILES directives.
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
import /init.recovery.qcom_decrypt.rc
|
||||
|
||||
on init
|
||||
setprop twrp.defer.decrypt true
|
||||
# to cut charging battery path
|
||||
write /sys/class/power_supply/battery/siop_level 0
|
||||
setprop prepdecrypt.setpatch true
|
||||
|
|
|
|||
Loading…
Reference in a new issue