mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 16:33:37 +00:00
Avoid patching vendor_boot.img
This commit is contained in:
parent
735af7843b
commit
8476eb9f4b
@ -182,7 +182,7 @@ abstract class MagiskInstallImpl protected constructor(
|
||||
}
|
||||
|
||||
while (tarIn.nextEntry?.let { entry = it } != null) {
|
||||
if (entry.name.contains("boot.img") ||
|
||||
if (entry.name.startsWith("boot.img") ||
|
||||
(Config.recovery && entry.name.contains("recovery.img"))) {
|
||||
val name = entry.name.replace(".lz4", "")
|
||||
console.add("-- Extracting: $name")
|
||||
|
Loading…
x
Reference in New Issue
Block a user