Skip to content

v0.1.3 — Dual gralloc backend support (standalone)

Choose a tag to compare

@wchen99998 wchen99998 released this 21 Mar 13:25
· 7 commits to master since this release

v0.1.3 Release Notes

Validated aosp_cf_arm64_only_phone_qemu build outputs with dual gralloc
backend support (minigbm + ranchu).

What Changed

  • The QEMU product now ships both gralloc backends as standalone vendor
    binaries (not APEXes):
    • android.hardware.graphics.allocator-service.minigbm + mapper.minigbm
      — default for plain-QEMU/software-GL
    • android.hardware.graphics.allocator-service.ranchu + mapper.ranchu
      — gfxstream-native, for gfxstream-capable hosts
  • The QEMU init fragment (init.vendor.qemu.rc) stops the default minigbm
    allocator and starts the ranchu one when ro.hardware.gralloc=ranchu.
  • SELinux file_contexts added for the ranchu allocator binary and mapper.
  • The goldfish allocator-service.ranchu module no longer bundles init_rc or
    vintf_fragments so it coexists with the minigbm allocator on Cuttlefish.

What Is Included

  • aosp_cf_arm64_only_phone_qemu-out-2026-03-21.tar.zst
  • matching manifest and SHA-256 files

How To Use It

  1. Extract the archive under the repository root.
  2. Place the included image files under src/out/target/product/vsoc_arm64_only.
  3. Run ./scripts/prepare_plain_qemu.sh.
  4. Follow docs/BOOT.md for the validated no-harness QEMU launch flow.

For gfxstream hosts, set QEMU_BOOT_HARDWARE_GRALLOC=ranchu in the launch
environment.

Validated Facts

  • guest ADB: 127.0.0.1:6550
  • sys.boot_completed=1
  • ro.hardware.gralloc=minigbm
  • ro.hardware.hwcomposer=ranchu
  • debug.hwui.renderer=skiagl
  • debug.renderengine.backend=skiaglthreaded
  • ro.hardware.egl=angle
  • ro.hardware.vulkan=pastel
  • android.hardware.graphics.allocator-service.minigbm running (PID 552)
  • android.hardware.graphics.allocator-service.ranchu binary present at
    /vendor/bin/hw/
  • mapper.ranchu.so present at /vendor/lib64/hw/
  • no SurfaceFlinger crashes
  • no gralloc APEX in /vendor/apex/