mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-12 11:43:36 +00:00
Disable boot vbmeta patch when found vbmeta.img
This commit is contained in:
parent
75d905a56d
commit
f4b6385f9f
@ -218,6 +218,8 @@ abstract class MagiskInstallImpl protected constructor(
|
|||||||
ByteBuffer.wrap(rawData).putInt(120, 3)
|
ByteBuffer.wrap(rawData).putInt(120, 3)
|
||||||
tarOut.putNextEntry(newTarEntry("vbmeta.img", rawData.size.toLong()))
|
tarOut.putNextEntry(newTarEntry("vbmeta.img", rawData.size.toLong()))
|
||||||
tarOut.write(rawData)
|
tarOut.write(rawData)
|
||||||
|
// vbmeta partition exist, disable boot vbmeta patch
|
||||||
|
Info.patchBootVbmeta = false
|
||||||
} else if (entry.name.contains("userdata.img")) {
|
} else if (entry.name.contains("userdata.img")) {
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user