rtwo: defer crypto startup until secure services are ready

This commit is contained in:
Nicholas Andrew 2026-06-25 02:31:17 -04:00
commit f7308b21d0
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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