Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
TODO: Fix decryption issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-Crypton committed Dec 3, 2022
1 parent b380185 commit 1156d9a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ BOARD_INCLUDE_RECOVERY_DTBO := true
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/recovery/root/system/etc/recovery.fstab
TARGET_SYSTEM_PROP := $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP := $(DEVICE_PATH)/vendor.prop

# Additional binaries & libraries needed for recovery
TARGET_RECOVERY_DEVICE_MODULES += \
Expand Down
2 changes: 1 addition & 1 deletion recovery/root/system/etc/recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

# Other Partitions
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable
/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,noflush_merge,fsync_mode=nobarrier,reserve_root=134217,resgid=1065,inlinecrypt wait,check,formattable,quota,resize,fileencryption=aes-256-xts:aes-256-cts:v1
/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,noflush_merge,fsync_mode=nobarrier,reserve_root=134217,resgid=1065,inlinecrypt wait,check,formattable,quota,resize,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,formattable
/dev/block/by-name/misc /misc emmc flags=display=misc

This file was deleted.

Binary file removed recovery/root/system/lib64/libQSEEComAPI.so
Binary file not shown.
Binary file added recovery/root/vendor/lib64/libkeymaster41.so
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ ro.mtk_soter_support=1
ro.adb.secure=0
ro.boot.avb_version=2.0
ro.boot.vbmeta.avb_version=2.0
ro.crypto.volume.filenames_mode=aes-256-cts
ro.hardware.gatekeeper=beanpod
persist.sys.timezone=Asia/Manila
5 changes: 5 additions & 0 deletions vendor.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Crypto
ro.crypto.allow_encrypt_override=true
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

0 comments on commit 1156d9a

Please sign in to comment.