Building a working iodeOS 6.9 image for the ASUS Zenfone 8

I am trying to create an iodeOS 6.9 image for the ASUS Zenfone 8 .

Compiling the image is successful, but the payload.bin file in the ZIP file contains these partition images:

[xtrnaw7@t15g /data/develop/android/test]$ unzip /data/backup/ASUS_ZENFONE8/iodeos/6.x/iode-6.9-20251112-sake.zip
Archive:  /data/backup/ASUS_ZENFONE8/iodeos/6.x/iode-6.9-20251112-sake.zip
signed by SignApk
extracting: META-INF/com/android/metadata
extracting: META-INF/com/android/metadata.pb
extracting: apex_info.pb
extracting: care_map.pb
extracting: payload.bin
extracting: payload_properties.txt
inflating: META-INF/com/android/otacert
[xtrnaw7@t15g /data/develop/android/test]$ 

[xtrnaw7@t15g /data/develop/android/test]$ payload-dumper-go -l payload.bin
payload.bin: payload.bin
Payload Version: 2
Payload Manifest Length: 138266
Payload Manifest Signature Length: 267
Found partitions:
abl (4.1 kB), aop (4.1 kB), bluetooth (4.1 kB), boot (101 MB), cpucp (4.1 kB), devcfg (4.1 kB), dsp (4.1 kB), dtbo (25 MB), featenabler (4.1 kB), hyp (4.1 kB), keymaster (4.1 kB), modem (4.1 kB), multiimgoem (4.1 kB), odm (1.5 MB), product (2.1 GB), qupfw (4.1 kB), qweslicstore (4.1 kB), shrm (4.1 kB), system (1.1 GB), system_ext (487 MB), tz (4.1 kB), uefisecapp (4.1 kB), vbmeta (8.2 kB), vbmeta_system (4.1 kB), vendor (1.0 GB), vendor_boot (101 MB), vendor_dlkm (37 MB), xbl (4.1 kB), xbl_config (4.1 kB), xrom (4.1 kB)
[xtrnaw7@t15g /data/develop/android/test]$

After installing the OS from this zip file on the ASUS Zenfone 8 the phone does not boot anymore ; instead the phone boots into EDL mode

IMHO the that’s caused by the not necessary empty partition images in the ZIP file: abl, aop, etc.

The phone boots again after restoring the partitions from the original image.

How can I build an iodeOS 6.9 ZIP file with only the required partition images in the payload.bin file?

That are the images for these partitions:

boot
dtbo
odm
product
system
system_ext
vbmeta
vbmeta_system
vendor
vendor_boot
vendor_dlkm

The configuration in the file device/asus/sake/BoardConfig.mk in the source code for iodeOS is okay:

[xtrnaw7@t15g /datapool001/develop/iodeos/6.x]$ grep -B2 -A12  AB_OTA_PARTITIONS device/asus/sake/BoardConfig.mk

A/B

AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += 
boot 
dtbo 
odm 
product 
system 
system_ext 
vbmeta 
vbmeta_system 
vendor 
vendor_dlkm 
vendor_boot

but it seems the other partitions are added to the list of images for the payload.bin file in some other config file I did not found yet.

I found the “problem” - this seems to be a new “feature” in the device tree for the ASUS Zenfone 8

see here for details:

1 Like