Skip to content

Commit

Permalink
Fix decryption failure on Android 15.
Browse files Browse the repository at this point in the history
  • Loading branch information
polygraphene committed Nov 22, 2024
1 parent 60d44a8 commit 891a0a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 1
# Encryption
BOARD_USES_METADATA_PARTITION := true
BOARD_USES_QCOM_FBE_DECRYPTION := true
PLATFORM_VERSION := 14
# Version number must be larger than system's version, Or FBE decryption should fail.
# e.g. When PLATFORM_VERSION is 14 and system's android version is 15, decryption will fail because of upgrade required error.
PLATFORM_VERSION := 99
PLATFORM_VERSION_LAST_STABLE := $(PLATFORM_VERSION)
PLATFORM_SECURITY_PATCH := 2099-12-31
PRODUCT_ENFORCE_VINTF_MANIFEST := true
Expand All @@ -112,7 +114,6 @@ TARGET_RECOVERY_DEVICE_MODULES += \
# Hack: prevent anti rollback
PLATFORM_SECURITY_PATCH := 2099-12-31
VENDOR_SECURITY_PATCH := 2099-12-31
PLATFORM_VERSION := 14

# Extras
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
Expand Down

0 comments on commit 891a0a3

Please sign in to comment.