From f3fa8917bf58205b3cd3da785414f754d505b17f Mon Sep 17 00:00:00 2001 From: me-cafebabe Date: Thu, 9 Feb 2023 09:00:34 +0000 Subject: [PATCH] r5x: Use logdump partition as metadata Signed-off-by: takumi021 --- recovery/root/system/etc/recovery.fstab | 2 +- recovery/root/system/etc/twrp.flags | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recovery/root/system/etc/recovery.fstab b/recovery/root/system/etc/recovery.fstab index a87a307..74e95ec 100644 --- a/recovery/root/system/etc/recovery.fstab +++ b/recovery/root/system/etc/recovery.fstab @@ -5,7 +5,7 @@ # /dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,discard,lazytime,errors=panic latemount,wait,check,fileencryption=ice,resize,quota,reservedsize=128M /dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr,data_flush,fsync_mode=nobarrier latemount,wait,check,fileencryption=ice,quota - +/dev/block/bootdevice/by-name/logdump /metadata ext4 nosuid,nodev,noatime,discard wait,check,formattable /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults system /system ext4 rw,barrier=1,discard wait,logical diff --git a/recovery/root/system/etc/twrp.flags b/recovery/root/system/etc/twrp.flags index b83e3f3..d3cfba2 100644 --- a/recovery/root/system/etc/twrp.flags +++ b/recovery/root/system/etc/twrp.flags @@ -12,6 +12,7 @@ /vendor_image emmc /dev/block/bootdevice/by-name/vendor flags=display="Vendor_image";backup=1;flashimg=1 /system_root ext4 /dev/block/bootdevice/by-name/system flags=display="System";backup=0;wipeingui /vendor ext4 /dev/block/bootdevice/by-name/vendor flags=display="Vendor";backup=0;wipeingui +/metadata ext4 /dev/block/bootdevice/by-name/logdump flags=display="Metadata";fsflags="discard" /data ext4 /dev/block/bootdevice/by-name/userdata flags=fileencryption=ice:aes-256-cts /storage ext4 /data/media/0 flags=display="Internal Storage";usermrf;backup=1;fsflags="bind";removable