mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 04:25:27 +00:00
Force shell usage in SuFile
This commit is contained in:
parent
630f2b7d19
commit
4668ef3020
@ -293,7 +293,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
File boot = new File(install, "boot.img");
|
File boot = new File(install, "boot.img");
|
||||||
SuFile patched_boot = new SuFile(install.getParent(), "new-boot.img");
|
SuFile patched_boot = new SuFile(install.getParent() + "/new-boot.img", true);
|
||||||
|
|
||||||
if (!dumpBoot(boot) || !patchBoot(boot, patched_boot))
|
if (!dumpBoot(boot) || !patchBoot(boot, patched_boot))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user