From b04f45c2783d0c45146495e52f1a7295b7537242 Mon Sep 17 00:00:00 2001 From: Rifat Azad Date: Wed, 16 Jul 2025 21:20:44 +0600 Subject: [PATCH] kernel: set fasle to /sbin for susfs_try_umount_all --- kernel/core_hook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 8a722c48..a9f524c8 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -1050,8 +1050,9 @@ void susfs_try_umount_all(uid_t uid) { ksu_try_umount("/data/adb/modules", false, MNT_DETACH, uid); /* For both Legacy KSU and Magic Mount KSU */ ksu_try_umount("/debug_ramdisk", true, MNT_DETACH, uid); + // try umount ksu temp path - ksu_try_umount("/sbin", true, MNT_DETACH, uid); + ksu_try_umount("/sbin", false, MNT_DETACH, uid); // try umount hosts file ksu_try_umount("/system/etc/hosts", false, MNT_DETACH, uid);