ggrandou / abootimg

Tool to read/write/update android boot images
GNU General Public License v2.0
121 stars 43 forks source link

Image page size is null Not a valid Android Boot Image #8

Open Mou786Aha opened 1 month ago

Mou786Aha commented 1 month ago

I have obtained image files from boot_a and boot_b. It doesn't extract anything. Magiskboot does extract only the Kernel and Ramdisk with errors:

HEADER_VER      [3]
KERNEL_SZ       [36788736]
RAMDISK_SZ      [3448646]
OS_VERSION      [14.0.0]
OS_PATCH_LEVEL  [2024-02]
PAGESIZE        [4096]
CMDLINE         []
KERNEL_FMT      [raw]
RAMDISK_FMT     [lz4_legacy]
unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive)
VBMETA

The abootimg doesn't work:image page size null

Another tool unpackbootimg:

BOARD_KERNEL_CMDLINE 
BOARD_KERNEL_BASE 02251a1f
BOARD_NAME 
BOARD_PAGE_SIZE 0
BOARD_HASH_TYPE unknown
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET fddaec0d
BOARD_SECOND_OFFSET fddae5e1
BOARD_TAGS_OFFSET fddae5e1
BOARD_DT_SIZE 3
Fatal glibc error: malloc.c:2599 (sysmalloc): assertion failed: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)
Aborted (core dumped)

I'm on android 14 right now. It's some custom ROM