Android 15 eMMC image won't boot (AOP error 9f002008), but Radxa OS boots fine from same eMMC

Hi all,

I’ve been trying to get the Android 15 image running on my Q6A (8GB) with the official 32GB Radxa eMMC module, and I’m stuck. Radxa OS boots fine from the same module, so I don’t think it’s a hardware problem.

I’m on a Mac (M1) so I can’t use xPCATApp. I flashed with Qualcomm’s QDL 2.8 for macOS instead:

  • spinor folder from Q6A-Android15-spi-emmc-boot-20261008-RC.7z → qdl -s spinor prog_firehose_ddr.elf rawprogram0.xml patch0.xml
  • emmc/asic → qdl -s emmc prog_firehose_ddr.elf rawprogram_unsparse0.xml patch0.xml

Both finished without errors (“partition 0 is now bootable”). I also read back xbl_a, xbl_config_a, tz_a, aop_a and abl_a from the eMMC and they match the image files, and the GPT has all the partitions.

When I power it on there’s nothing on HDMI, and the board ends up in crash dump mode (05c6:900e). I pulled the boot log from the dump:

B -    761493 - LP5 DDR detected
B -  11567460 - DDR: End of DDR Training Init
B -  11624007 - DDR -  Image Load, Start
B -  11638220 - APDP -  Image Load, Start
D -      3142 - APDP -  Image Loaded, Delta - (0 Bytes)
B -  11654599 - RamDump -  Image Load, Start
D -      3294 - RamDump -  Image Loaded, Delta - (0 Bytes)
B -  11717368 - OEM_MISC -  Image Load, Start
D -      3812 - OEM_MISC -  Image Loaded, Delta - (0 Bytes)
B -  11725237 - QTI_MISC -  Image Load, Start
D -      5429 - QTI_MISC -  Image Loaded, Delta - (0 Bytes)
B -  11744970 - AOP -  Image Load, Start
B -  11749271 - Error code 9f002008 at boot_block_dev.c Line 536
B -  11778917 - sbl_crashdump_reset_with_dload: Ramdump not allowed. Going for warm reset with DLOAD support

Looks like the XBL isn’t reading anything from the eMMC (0 bytes for everything before AOP). XBL is BOOT.MXF.1.0-01077-LAHAINA-2. I got exactly the same log back in October with the same image.

Other things I tried:

  • erased the XBL from SPI to see if it would fall back to eMMC → it just goes to EDL
  • flashed dragon-q6a_flat_build_wp_260120 + radxa-dragon-q6a_noble_gnome_r2 (512) on the same eMMC → boots ok

So a few questions:

  1. Is the 32GB Radxa eMMC module supposed to work with the Android spi-emmc-boot image?
  2. Does xPCATApp do anything extra besides rawprogram/patch that QDL wouldn’t?
  3. Any idea what 9f002008 in boot_block_dev.c means?

I can share the full dump if it helps. Thanks!

Radxa OS booting from the same module makes the eMMC hardware unlikely to be the issue, so I’d treat 9f002008 as XBL failing to read the AOP boot-block/partition rather than a DDR problem. QDL and xPCATApp both consume rawprogram/patch XML, but xPCATApp may also erase/format and set boot flags; check that your eMMC flash used every rawprogram/patch XML in that folder, not just rawprogram_unsparse0.xml, and that the GPT offsets/sizes match those XMLs. A full erase of the eMMC user area before reflashing both spinor and emmc is worth trying. Also confirm whether the Android image expects the eMMC user area versus boot0/boot1.

Could you try flashing the same Android 15 image to your Q6A’s eMMC using edl-ng v1.6.0? Keeping the image and eMMC the same will help narrow down whether the flashing tool makes a difference.

Please let us know if Android boots afterward. If you still see AOP error 9f002008, could you share the edl-ng flashing log?

Thanks! Tried it with edl-ng 1.6.0 (macos-arm64), same Android 15 image (20261008-RC), same eMMC.

What I ran:

# spinor folder
edl-ng --loader prog_firehose_ddr.elf --memory Spinor rawprogram rawprogram0.xml patch0.xml
# emmc/asic folder
edl-ng --loader prog_firehose_ddr.elf --memory Sdcc erase-all
edl-ng --loader prog_firehose_ddr.elf --memory Sdcc rawprogram rawprogram_unsparse0.xml patch0.xml
edl-ng --loader prog_firehose_ddr.elf --memory Sdcc reset

Everything finished ok. erase-all wiped physical partitions 0, 1 and 2, then got a NAK on 3 (RPMB I guess), so I went ahead with the flash anyway.

The behaviour is different now. With QDL it always ended in crash dump mode (05c6:900e) after a few seconds. With edl-ng it doesn’t: green LED on, nothing on HDMI (HDMI plugged in before powering on), and nothing shows up on USB or on the network. I waited more than 5 minutes, twice. So I can’t get a ramdump this time.

I don’t have a USB-UART adapter at the moment, so no serial log yet. I can order one if you need it.

Full edl-ng log (new users can’t attach files here):

edl-ng log
=== 1) SPI NOR ===
21:27:52.560 [INFO] Found device using LibUsbDotNet on Linux / MacOS.
21:27:52.570 [INFO] Detected device mode: Sahara
21:27:52.570 [INFO] Device is in Sahara mode. Uploading loader...
21:27:52.570 [INFO] Serial Number: AD42051B
21:27:52.571 [INFO] Product ID: 408 (QCS_KODIAK)
21:27:52.673 [INFO] Uploading loader: spinor/prog_firehose_ddr.elf
21:27:52.866 [INFO] Loader uploaded and started successfully via Sahara.
21:27:53.372 [INFO] Found device using LibUsbDotNet on Linux / MacOS.
libusb: warning [darwin_transfer_status] transfer error: timed out
21:27:54.457 [INFO] Sending Firehose configure command...
21:27:54.459 [INFO] Firehose configured for Memory: Spinor, MaxPayload: 1048576
21:27:54.460 [INFO] --- Processing LUN 0 using rawprogram0.xml ---
Writing XBL (xbl.elf): 100.0% ( 3.50 / 3.50 MiB) [132.10 KiB/s]
Writing PrimaryGPT (gpt_main0.bin): 100.0% ( 0.02 / 0.02 MiB)
Writing BackupGPT (gpt_backup0.bin): 100.0% ( 0.02 / 0.02 MiB)
21:28:42.277 [INFO] --- Patching LUN 0 using patch0.xml ---
21:28:43.012 [INFO] 'rawprogram' command finished successfully.

=== 2) eMMC erase-all ===
21:28:52.417 [WARN] Erasing every physical partition on the device. All data, including boot partitions, will be lost.
21:28:52.430 [INFO] Found device using LibUsbDotNet on Linux / MacOS.
libusb: warning [darwin_transfer_status] transfer error: timed out
21:28:52.937 [INFO] Detected device mode: Firehose
21:28:52.939 [INFO] Sending Firehose configure command...
21:28:52.940 [INFO] Firehose configured for Memory: Sdcc, MaxPayload: 1048576
21:28:53.391 [INFO] Successfully erased physical partition 0.
21:28:53.393 [INFO] Successfully erased physical partition 1.
21:28:53.399 [INFO] Successfully erased physical partition 2.
21:28:53.401 [ERROR] Erase command NAKed. Details: NAK
21:28:53.401 [ERROR] Failed to erase physical partition 3.
21:28:53.403 [ERROR] Operation Error: Failed to erase all physical partitions.

=== 3) eMMC rawprogram ===
21:28:58.010 [INFO] Found device using LibUsbDotNet on Linux / MacOS.
libusb: warning [darwin_transfer_status] transfer error: timed out
21:28:58.579 [INFO] Detected device mode: Firehose
21:28:58.581 [INFO] Sending Firehose configure command...
21:28:58.582 [INFO] Firehose configured for Memory: Sdcc, MaxPayload: 1048576
21:28:58.582 [INFO] --- Processing LUN 0 using rawprogram_unsparse0.xml ---
Writing xbl_a (xbl.elf): 100.0% ( 3.50 / 3.50 MiB)
Writing xbl_b (xbl.elf): 100.0% ( 3.50 / 3.50 MiB)
Writing xbl_config_a (xbl_config.elf): 100.0% ( 0.22 / 0.22 MiB)
Writing xbl_config_b (xbl_config.elf): 100.0% ( 0.22 / 0.22 MiB)
Writing cdt (cdt_rs701_la.bin): 100.0% ( 0.00 / 0.00 MiB)
Writing shrm_a (shrm.elf): 100.0% ( 0.04 / 0.04 MiB)
Writing tz_a (tz.mbn): 100.0% ( 3.65 / 3.65 MiB)
Writing tz_b (tz.mbn): 100.0% ( 3.65 / 3.65 MiB)
Writing aop_a (aop.mbn): 100.0% ( 0.20 / 0.20 MiB)
Writing aop_b (aop.mbn): 100.0% ( 0.20 / 0.20 MiB)
Writing hyp_a (hypvm.mbn): 100.0% ( 3.53 / 3.53 MiB)
Writing hyp_b (hypvm.mbn): 100.0% ( 3.53 / 3.53 MiB)
Writing boot_a (boot.img): 100.0% ( 96.00 / 96.00 MiB)
Writing boot_b (boot.img): 100.0% ( 96.00 / 96.00 MiB)
Writing super (super_1.img): 100.0% ( 0.39 / 0.39 MiB)
Writing super (super_2.img): 100.0% ( 1.21 / 1.21 MiB)
Writing super (super_3.img): 100.0% (317.52 / 317.52 MiB)
Writing super (super_4.img): 100.0% (1003.02 / 1003.02 MiB)
Writing super (super_5.img): 100.0% (881.34 / 881.34 MiB)
Writing super (super_6.img): 100.0% (870.95 / 870.95 MiB)
Writing vbmeta_system_a (vbmeta_system.img): 100.0% ( 0.00 / 0.00 MiB)
Writing vendor_boot_a (vendor_boot.img): 100.0% ( 96.00 / 96.00 MiB)
Writing keymaster_a (km41.mbn): 100.0% ( 0.26 / 0.26 MiB)
Writing keymaster_b (km41.mbn): 100.0% ( 0.26 / 0.26 MiB)
Writing modem_a (NON-HLOS.bin): 100.0% ( 80.77 / 80.77 MiB)
Writing modem_b (NON-HLOS.bin): 100.0% ( 80.77 / 80.77 MiB)
Writing dsp_a (dspso.bin): 100.0% ( 64.00 / 64.00 MiB)
Writing dsp_b (dspso.bin): 100.0% ( 64.00 / 64.00 MiB)
Writing abl_a (abl.elf): 100.0% ( 0.14 / 0.14 MiB)
Writing abl_b (abl.elf): 100.0% ( 0.14 / 0.14 MiB)
Writing bluetooth_a (BTFM.bin): 100.0% ( 2.90 / 2.90 MiB)
Writing bluetooth_b (BTFM.bin): 100.0% ( 2.90 / 2.90 MiB)
Writing dtbo_a (dtbo.img): 100.0% ( 24.00 / 24.00 MiB)
Writing dtbo_b (dtbo.img): 100.0% ( 24.00 / 24.00 MiB)
Writing imagefv_a (imagefv.elf): 100.0% ( 0.02 / 0.02 MiB)
Writing imagefv_b (imagefv.elf): 100.0% ( 0.02 / 0.02 MiB)
Writing uefisecapp_a (uefi_sec.mbn): 100.0% ( 0.12 / 0.12 MiB)
Writing uefisecapp_b (uefi_sec.mbn): 100.0% ( 0.12 / 0.12 MiB)
Writing persist (persist.img): 100.0% ( 32.00 / 32.00 MiB)
Writing multiimgoem_a (multi_image.mbn): 100.0% ( 0.01 / 0.01 MiB)
Writing cpucp_a (cpucp.elf): 100.0% ( 0.18 / 0.18 MiB)
Writing devcfg_a (devcfg.mbn): 100.0% ( 0.06 / 0.06 MiB)
Writing featenabler_a (featenabler.mbn): 100.0% ( 0.08 / 0.08 MiB)
Writing featenabler_b (featenabler.mbn): 100.0% ( 0.08 / 0.08 MiB)
Writing qupfw_a (qupv3fw.elf): 100.0% ( 0.05 / 0.05 MiB)
Writing qupfw_b (qupv3fw.elf): 100.0% ( 0.05 / 0.05 MiB)
Writing logfs (logfs_ufs_8mb.bin): 100.0% ( 0.02 / 0.02 MiB)
Writing vbmeta_a (vbmeta.img): 100.0% ( 0.01 / 0.01 MiB)
Writing vbmeta_b (vbmeta.img): 100.0% ( 0.01 / 0.01 MiB)
Writing qweslicstore_a (qweslicstore.bin): 100.0% ( 0.25 / 0.25 MiB)
Writing qweslicstore_b (qweslicstore.bin): 100.0% ( 0.25 / 0.25 MiB)
Writing storsec (storsec.mbn): 100.0% ( 0.02 / 0.02 MiB)
Writing rtice (rtice.mbn): 100.0% ( 0.35 / 0.35 MiB)
Writing userdata (userdata_1..11.img): 100.0% (all 11 chunks)
Writing PrimaryGPT (gpt_main0.bin): 100.0% ( 0.02 / 0.02 MiB)
Writing BackupGPT (gpt_backup0.bin): 100.0% ( 0.02 / 0.02 MiB)
21:30:41.086 [INFO] --- Patching LUN 0 using patch0.xml ---
21:30:41.115 [INFO] 'rawprogram' command finished successfully.

Anything else I can check?

Thanks for the detailed follow-up and for trying edl-ng with the same image and eMMC. The bootloader appears to have been written successfully.
A USB-UART adapter for a serial console log would also help.