From 5a04596287d7fa6fc7593db3296afb058f270f3a Mon Sep 17 00:00:00 2001 From: Jyotiraditya Panda Date: Tue, 5 Oct 2021 09:23:44 +0530 Subject: [PATCH] odin: postrecoveryboot: Fix TWRP not flashing as recovery (Advanced > Flash current TWRP) Signed-off-by: Jyotiraditya Panda --- recovery/root/system/bin/postrecoveryboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recovery/root/system/bin/postrecoveryboot.sh b/recovery/root/system/bin/postrecoveryboot.sh index 457c88d..32abf99 100755 --- a/recovery/root/system/bin/postrecoveryboot.sh +++ b/recovery/root/system/bin/postrecoveryboot.sh @@ -19,7 +19,7 @@ copy-modules() { echo "using vendor$suffix modules" mkdir /v - mount -t ext4 -o ro /dev/block/mapper/vendor"$suffix" /v + mount -t erofs -o ro /dev/block/mapper/vendor"$suffix" /v rm -f /vendor/lib/modules/* cp -afR /v/lib/modules/* /vendor/lib/modules/ umount /v