Skip to content

Commit

Permalink
Disable boot vbmeta patch when found vbmeta.img
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Aug 29, 2023
1 parent 75d905a commit f4b6385
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ abstract class MagiskInstallImpl protected constructor(
ByteBuffer.wrap(rawData).putInt(120, 3)
tarOut.putNextEntry(newTarEntry("vbmeta.img", rawData.size.toLong()))
tarOut.write(rawData)
// vbmeta partition exist, disable boot vbmeta patch
Info.patchBootVbmeta = false
} else if (entry.name.contains("userdata.img")) {
continue
} else {
Expand Down

0 comments on commit f4b6385

Please sign in to comment.