hiphi: Let qcom common decryption tree handle decryption

Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
Pranav-Talmale 2022-07-12 19:11:28 +01:00 committed by 7Soldier
parent ae721ceb0c
commit 1cb048e2e8
3 changed files with 8 additions and 0 deletions

View file

@ -117,6 +117,7 @@ PLATFORM_VERSION_LAST_STABLE := $(PLATFORM_VERSION)
TW_INCLUDE_CRYPTO := true
TW_INCLUDE_CRYPTO_FBE := true
TW_INCLUDE_FBE_METADATA_DECRYPT := true
BOARD_USES_QCOM_FBE_DECRYPTION := true
TW_USE_FSCRYPT_POLICY := 2
# TWRP Configuration

View file

@ -45,6 +45,11 @@ PRODUCT_PACKAGES += \
update_verifier \
update_engine_sideload
# Crypto
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true

View file

@ -25,6 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
import /init.recovery.qcom_decrypt.rc
on early-init
start set_permissive