This commit is contained in:
topjohnwu 2021-05-09 22:56:54 -07:00
parent 5c333dec33
commit 6b34ec3ab9
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ abstract class MagiskInstallImpl protected constructor(
// Repack boot image to prevent auto restore
arrayOf(
"cd $installDir",
"chmod -R 755 .",
"./magiskboot unpack boot.img",
"./magiskboot repack boot.img",
"cat new-boot.img > boot.img",