Disable boot vbmeta patch when found vbmeta.img

This commit is contained in:
topjohnwu 2023-08-28 22:54:55 -07:00
parent 75d905a56d
commit f4b6385f9f

View File

@ -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 {