From bcbe377a8bab22130e9b09ba7ec83452f2832fe7 Mon Sep 17 00:00:00 2001 From: binarynoise Date: Thu, 17 Oct 2024 22:55:42 +0200 Subject: [PATCH] Dirty fix cannot remount / --- .../java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt b/app/core/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt index b674cbf78..ae6118c1b 100644 --- a/app/core/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt +++ b/app/core/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt @@ -202,7 +202,7 @@ abstract class MagiskInstallImpl protected constructor( // adapted /scripts/flash_script.sh addon.d return arrayOf( - "mount -o rw,remount $systemPartition", + "su -c mount -o rw,remount $systemPartition", "rm -rf $addond/99-magisk.sh 2>/dev/null", "rm -rf $addond/magisk 2>/dev/null", "mkdir -p $addond/magisk",