KernelSU icon indicating copy to clipboard operation
KernelSU copied to clipboard

Unexpected error.

Open sawdoctor opened this issue 1 year ago • 0 comments

Pretty new to this so apologise if this has been asked before. Trying to patch a kernel for the pixel fold, everything seemed to work and I get a new boot.img but I get an error which i think is related to signing. Is this an error or just a warning I can ignore ? [sawdoctor@sawdoctor-gs726qe Untitled Folder]$ chmod +x magiskboot [sawdoctor@sawdoctor-gs726qe Untitled Folder]$ ./magiskboot unpack boot.img Parsing boot image: [boot.img] HEADER_VER [4] KERNEL_SZ [24954449] RAMDISK_SZ [0] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [lz4_legacy] unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive) VBMETA [sawdoctor@sawdoctor-gs726qe Untitled Folder]$ mv -f Image kernel [sawdoctor@sawdoctor-gs726qe Untitled Folder]$ ./magiskboot repack boot.img Parsing boot image: [boot.img] HEADER_VER [4] KERNEL_SZ [24954449] RAMDISK_SZ [0] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [lz4_legacy] unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive) VBMETA Repack to boot image: [new-boot.img] HEADER_VER [4] KERNEL_SZ [21199288] RAMDISK_SZ [0] PAGESIZE [4096] CMDLINE [] [sawdoctor@sawdoctor-gs726qe Untitled Folder]$

sawdoctor avatar Jan 31 '24 19:01 sawdoctor