From 83e1cdf06449b02a5516ce60eee3210a38d86b7d Mon Sep 17 00:00:00 2001 From: pix106 Date: Tue, 8 Mar 2022 08:00:44 +0100 Subject: [PATCH] clover: Decommonize crypto props Signed-off-by: pix106 --- BoardConfig.mk | 3 +++ properties/vendor.prop | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 properties/vendor.prop diff --git a/BoardConfig.mk b/BoardConfig.mk index 11673e0..cb26a2f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -25,6 +25,9 @@ DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml # Platform BOARD_VENDOR_PLATFORM := xiaomi-sdm660 +# Properties +TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop + # SELinux BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public diff --git a/properties/vendor.prop b/properties/vendor.prop new file mode 100644 index 0000000..51a9ac0 --- /dev/null +++ b/properties/vendor.prop @@ -0,0 +1,6 @@ +# Crypto +ro.crypto.dm_default_key.options_format.version=2 +ro.crypto.volume.filenames_mode=aes-256-cts +ro.crypto.volume.metadata.method=dm-default-key +ro.crypto.volume.options=::v2 +