Magiskboot Parsing Error: Unexpected ASN.1 DER Tag
in Post with 0 comment

I've compiled Magiskboot myself (latest master version; 00c1b368370396beca8128d387b6a897f53c8b88) on macOS arm64 and ran it directly (using Ubuntu on Docker as the output is an ELF and not a macho :/) on the attached boot.img and init_boot.img files. Unfortunately, I'm encountering the following output for both images:

Parsing boot image: [/mnt/init_boot.img] 
HEADER_VER       [4] 
KERNEL_SZ        [0] 
RAMDISK_SZ      [2402404] 
PAGESIZE        [4096] 
CMDLINE         [] 
RAMDISK_FMT     [lz4_legacy] 
[boot/sign.rs:273] unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive) 
VBMETA 

The boot.img is an official boot.img from a stock Pixel 9 stock image.

Does anyone have any insights into this error?

The article has been posted for too long and comments have been automatically closed.