mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-25 12:48:36 +00:00
Add vendor boot image support to magiskboot
This commit is contained in:
@@ -8,6 +8,7 @@ typedef enum {
|
||||
/* Boot formats */
|
||||
CHROMEOS,
|
||||
AOSP,
|
||||
AOSP_VENDOR,
|
||||
DHTB,
|
||||
BLOB,
|
||||
/* Compression formats */
|
||||
@@ -29,6 +30,7 @@ typedef enum {
|
||||
#define COMPRESSED_ANY(fmt) ((fmt) >= GZIP && (fmt) <= LZOP)
|
||||
|
||||
#define BOOT_MAGIC "ANDROID!"
|
||||
#define VENDOR_BOOT_MAGIC "VNDRBOOT"
|
||||
#define CHROMEOS_MAGIC "CHROMEOS"
|
||||
#define GZIP1_MAGIC "\x1f\x8b"
|
||||
#define GZIP2_MAGIC "\x1f\x9e"
|
||||
|
||||
Reference in New Issue
Block a user