diff --git a/src/full/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java b/src/full/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java index 130a71c02..988d37632 100644 --- a/src/full/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java +++ b/src/full/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java @@ -248,6 +248,9 @@ public class InstallMagisk extends ParallelTask { "find_boot_image", "echo \"$BOOTIMAGE\""); Shell.Async.su("mount_partitions"); break; + case FIX_ENV_MODE: + mBoot = ""; + break; } if (mBoot == null) { console.add("! Unable to detect target image");