Hoping someone can help with my TWRP test build for OnePlus 9 Pro, I'm following the guide below :
In this tutorial, we will show you detailed steps to create and port TWRP Recovery for any Android Device using Android Image Kitchen tool.
www.droidwin.com
I have the Linux working on my Windows 10, downloaded AIK for Linux 3.7 as advised, I also downloaded the TWRP for LG G3 as it's the closest I could see to the correct resolution.
unpackimg works fine with the already built TWRP for LG G3 but when trying to unpack the boot.img from the latest EU build for the OnePlus 9 Pro (There's no recovery.img from Payload Dumper) the unpacking fails with the following :
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers
Supplied image: boot.img
Setting up work folders...
Image type: AOSP
Signature with "AVBv2" type detected.
Splitting image to "split_img/"...
BOARD_KERNEL_CMDLINE
BOARD_KERNEL_BASE 0x01058e9e
BOARD_NAME
BOARD_PAGE_SIZE 0
BOARD_HASH_TYPE sha1
BOARD_KERNEL_OFFSET 0x00008000
BOARD_RAMDISK_OFFSET 0xfefa778e
BOARD_SECOND_OFFSET 0xfefa7162
BOARD_TAGS_OFFSET 0xfefa7162
BOARD_HEADER_VERSION 3
BOARD_HEADER_SIZE 0
unpackbootimg: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
./unpackimg.sh: line 218: 198 Aborted (core dumped) "$bin/$arch/unpackbootimg" -i "$img"
Error!
No folders are created.
I also tried with the latest Windows based AIK from
here, the split_img and ramdisk folders get created but the only thing that gets unpacked is a "boot.img-origsize" file inside the split_img folder with a size of 1KB, the contents show just one line with "100663296"
There's no log shown to confirm what has happened either. Not sure if there's a verbose flag to see the log but trying to launch with either -v or /v just shows the same error "No image file supplied."
Could it be a similar issue to previous posts?