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?
This article is created by nurl and is licensed under the Creative Commons Attribution 4.0 International License.
All articles on this site, unless otherwise specified as reprints or sources, are either original works or translations by this site. Please ensure proper attribution before reprinting.