LG8n: Enable F2FS Compression

Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Woomymy 2023-03-31 18:51:47 +02:00 committed by Shirayuki39
parent 606ad34fb7
commit 3e77aa0be5
2 changed files with 4 additions and 1 deletions

View file

@ -62,6 +62,9 @@ BOARD_PREBUILT_DTBIMAGE_DIR := $(KERNEL_PATH)/dtb
TARGET_SCREEN_DENSITY := 396 TARGET_SCREEN_DENSITY := 396
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x2000U TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x2000U
# Enable F2FS Compression
PRODUCT_FS_COMPRESSION := 1
# Kernel # Kernel
TARGET_NO_KERNEL_OVERRIDE := true TARGET_NO_KERNEL_OVERRIDE := true
LOCAL_KERNEL := $(KERNEL_PATH)/Image.gz LOCAL_KERNEL := $(KERNEL_PATH)/Image.gz

View file

@ -37,7 +37,7 @@ odm_dlkm /odm_dlkm ext4 ro wait,slotselect,avb,logical,first_stage_mount
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
/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,latemount,resize,reservedsize=128m,checkpoint=fs,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized,keydirectory=/metadata/vold/metadata_encryption,fsverity, /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,latemount,resize,reservedsize=128m,checkpoint=fs,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized,keydirectory=/metadata/vold/metadata_encryption,fscompress,fsverity,