Magiskboot Error: Unexpected ASN.1 DER Tag on Pixel 9
in Post with 0 comment

I've encountered an issue while compiling and running Magiskboot on a Pixel 9. I compiled the latest Magisk master version (commit: 00c1b368370396beca8128d387b6a897f53c8b88) on macOS arm64 and directly ran it on both the official boot.img and init_boot.img from a stock Pixel 9 image (using Ubuntu on Docker for ELF output compatibility). However, I'm facing the following error 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 error message points to an issue with the boot image's signature. The "unexpected ASN.1 DER tag" indicates a problem with the format or content of the cryptographic signature.

I've attached the boot.img file for reference. Does anyone have any insights into this error and potential solutions? Any help would be greatly appreciated!

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