forked from MarcoBuster/Magisk
Fix #4194
This commit is contained in:
parent
5c333dec33
commit
6b34ec3ab9
|
@ -212,6 +212,7 @@ abstract class MagiskInstallImpl protected constructor(
|
||||||
// Repack boot image to prevent auto restore
|
// Repack boot image to prevent auto restore
|
||||||
arrayOf(
|
arrayOf(
|
||||||
"cd $installDir",
|
"cd $installDir",
|
||||||
|
"chmod -R 755 .",
|
||||||
"./magiskboot unpack boot.img",
|
"./magiskboot unpack boot.img",
|
||||||
"./magiskboot repack boot.img",
|
"./magiskboot repack boot.img",
|
||||||
"cat new-boot.img > boot.img",
|
"cat new-boot.img > boot.img",
|
||||||
|
|
Loading…
Reference in New Issue