Skip to main content

Legacy feature parity and remaining Akatsubaki Emu requirements

Last audited: 2026-11-27
Scope: consolidate long-running requests from older project conversations against the current GitLab main source. Unless marked otherwise, these are source-level findings, not physical-device verification.

This document complements the first-playable acceptance checklist and FEXCore/Box64 iOS integration audit. It deliberately separates UI that exists from a guest runtime that has actually been proven.

Current mainline snapshot — 2026-11-27​

Required write target: GitLab main is the commit destination for this work. The audited GitLab base head is 7a00703c29485e5e9ac33ffbc0b5314e49ce9915; GitHub main remains at 6faf94de19e67a180e5a0d398ed68057064d968c and does not contain the later GitLab commits. Older conversations described GitHub as canonical and GitLab as its mirror; current task instructions require GitLab commits. No reverse sync or force-push has been attempted.

  • AOT guest-register pointer correction and byte-register regression coverage are in main; the native ARM64 AOT validation completed successfully after the byte-XCHG hybrid block-count assertion was corrected in 3418baa0. This is hosted ARM64 validation, not physical iOS JIT/AOT execution.

  • iOS 16 deployment compatibility is retained by guarding the iOS 17 keyboard-layout API; the guest stdin lock-scope assertion is also in main.

  • SteamOS configuration now respects the iOS/tvOS 2 GiB / 2-vCPU profile rather than being overwritten with the desktop 4 GiB / 4-vCPU profile. The default small Linux guest remains 1 GiB.

  • The complete QEMU TCI framework/dependency closure is isolated under Frameworks/TCI, with loader-relative runpaths, re-signing after Mach-O edits and versioned-framework/symlink regression coverage (e1660af8). The synthetic merger suite was recorded as 17/17 passing locally; actual iOS Mach-O load and device boot remain unverified. Manual QEMU runtime build #57 on b8164935 completed JIT/TCI dependency builds, UTM iOS and iOS-SE/TCTI archives, and package validation; upload was skipped by the licensing gate. Newer builds are pending on the current head.

  • Hardware-keyboard routing now sends UIKit key-down/up/cancel events through VNC, including HID/F-key/modifier mappings and held-key cleanup (033c62d8, 08ab0ae0). Physical keyboard delivery remains unverified.

  • The native QEMU bridge enforces exact JIT/TCI callback-export parity: JIT requires the StikJIT callback and TCI rejects it. The iOS Power Off path sends QMP system_powerdown, omits -no-shutdown, allows a 120-second grace period, then uses generation-scoped QMP quit/native-stop fallback and releases security-scoped URLs only after native qemu_cleanup. These lifecycle changes are source-level only; physical guest shutdown remains unverified.

  • The project-authored source files are now GPL-3.0-or-later where listed in .reuse/dep5 (commit 7f85bbb8); this does not replace the file-level and combined-work QEMU/UTM third-party licence audit. The release gate remains closed.

  • GitLab pipelines 1334–1339 failed before runner allocation with ci_quota_exceeded; latest pipeline 1339 targeted 7a00703c and job 18430237194 failed without a runner. Retrying the 1338 job also failed with the same quota reason. No current-head hosted tests ran. Local checks in this continuation: the FEXCore build-contract fixture passed 6/6, bash -n passed, the missing-source guard failed as expected, and the generated stdin ELF ran on the Linux host with its expected markers. These are static/host checks, not an iOS build or emulator-device result.

  • Core-Only Build 101 artifact 15186401239 (run 45971260877) is an older-source, unsigned, QEMU-free diagnostic ZIP; ZIP SHA-256 2fb95d6fe40a5f62faa1995082a533fdf9aaf55cee064bfd39e58228ffb0f2d5, embedded IPA SHA-256 070aa96ef95f49deb546147bbaea4b9ab267ee69c1ef574edd8d2ac8daf25ed4. It expires 2026-12-04. It is not a full-system VM build or physical-device evidence.

  • The pinned FEXCore iOS build-validation workflow targets willfaust/FEX commit 1dc6ed4932bd231df1c53dd7b8043ffdee0ac34a. GitLab main now contains generated/transitive header packaging, a consumer-header compile probe, shell-escape fixes, and a six-test build-contract suite; local suite 6/6 and bash -n pass. No Xcode build or FEXCore archive has been produced. GitHub main still contains the earlier workflow/script revision.

  • c117d636 extends the native GuestMachine smoke test to verify stdin read/write return values; b1d4c08c fixes stop while blocked in read(0) so the interpreter side-exits before another guest instruction. The generated stdin ELF passes a Linux-host execution check; the updated native Swift smoke test has not run on Xcode.

  • a8c3f870 and 7a00703c harden QEMU package/source inventory against external symlink traversal, keep copied provenance inside the package root, and classify nested provenance reports correctly. Regression tests are present, but no full repository test suite has run on the current head.

This snapshot supersedes older branch hashes and packaging-status statements in the historical notes below. The acceptance gates and feature boundaries remain in force.

Verified core progress since the previous audit​

  • The x86-64 interpreter implements Linux syscall 158 operations ARCH_SET_FS, ARCH_SET_GS, ARCH_GET_FS and ARCH_GET_GS, with FS/GS-based memory operands. This is segment-base support, not a complete PT_TLS/dynamic-linker implementation.
  • Native C-backed guest memory covers 256 MiB and the 384 MiB brk/mmap-hint regression. brk growth is bounded by the stack guard, not by the mmap allocation hint. MAP_FIXED uses replacement semantics; MAP_FIXED_NOREPLACE relies on the native transactional mapper to reject any already-mapped pages.
  • AOT availability is a pure readiness query; first TXM arena preparation is explicit. The 32 MiB TXM executable arena tracks exact allocations and supports coalescing and concurrency tests.
  • The interpreter has register-form x86 XCHG 0x86/0x87 and, in 30a05994, atomic memory-form 1/4/8-byte XCHG through mutex-serialized native guest memory, including cross-page operations and permission checks.
  • af00bceb adds conservative CPUID and monotonic virtual RDTSC; adf6a271 handles PAUSE as a no-op.
  • afda2d49 and 1678a2d5 harden and test the core-only IPA validator for iOS device platform values and reject simulator bundles/platforms.
  • 8c5d6f94 fixes the static ELF program-header mapping and the native GuestMachine smoke build's C bridge; 1678a2d5 adds simulator bundle validation.
  • Both static ELF diagnostic guests execute successfully on Linux x86-64 and produce their expected markers. This validates payload construction, not execution in Akatsubaki Emu on iOS.
  • Kenran Butō AOT translator cache version 12 includes MOV r8,imm8 (including legacy high-byte semantics) and BSWAP 0F C8–CF. The MOV-byte decoder's malformed fallback calls were corrected in b75c84f3, with 15-byte/16-byte instruction-boundary regression cases; a612ace5 updates source contracts to derive the documented version from the translator. Hosted AOT execution remains unverified.
  • The 2026-11-27 ACPI shutdown work adds a generation-scoped system_powerdown request, removes -no-shutdown, waits up to 120 seconds before controlled QMP quit/native-stop fallback, and releases security-scoped URLs only after native cleanup. Another guest currently requires an app restart after QEMU exits; no physical guest shutdown has been tested.
  • GitHub AOT validation run 45970544787 and source validation run 45970544723 passed on 3d25a637. Core-Only IPA Build 100 run 45970545143 passed 462 Python tests and iOS ARM64 packaging. Artifact 15185346993 is a 25,423,979-byte unsigned QEMU-free diagnostic ZIP (SHA-256 e8d3daef02b8ca653611f76f44dc258180095dd67b2ad33a5cf908c88900b328); the IPA SHA-256 is 78f4b6e683bff941cf5fa704181f66778b8b7d386f634e0a94731f79d928b11e. It is not a full-system VM build or physical-device evidence.
  • The 2026-11-27 review of older conversations found no major unrecorded legacy feature request; the feature table below already covers the historical requirements. New engineering gaps identified are guest audio, native gamepad/USB passthrough and 3D acceleration.
  • The QEMU acceleration settings and source contracts now distinguish experimental TCTI (threaded-dispatch TCG bytecode) from standard TCI while retaining legacy QEMU TCI identifiers.
  • The static ELF diagnostic console now has a bounded, interruptible 64 KiB stdin queue and text input field. It remains text-only and does not provide a guest framebuffer.
  • 6803ae1b repairs the malformed TCI target-list patcher; 1c9e6cfe and 37011be3 restore the regression assertions. The isolated helper harness passed 5/5 and the patch-script integration harness passed locally; GitLab exact-main pipeline 1273 remains blocked before runner allocation by ci_quota_exceeded.
  • GitLab exact-head pipeline IID 1245 on 1678a2d5 failed before runner assignment with ci_quota_exceeded; no tests ran. GitHub run 45582606913 on older ad65030d failed at the now-fixed ELF program-header mapping.
  • GitLab and GitHub main both point to 0d14f9c7d169f6c864c457116b8202ca2a0f631d. The current-head source validation, AOT, platform, core-only IPA and QEMU runtime workflows are pending/queued.

Feature parity​

Earlier requestCurrent source stateRemaining work / limitationPriority
Launch into VM, Hypervisor, VR or OS modesLaunch setup and VM configuration expose OS profiles, a QEMU full-system backend, TCI/JIT acceleration selection and a Cardboard/VR display optionQEMU TCI is the selected no-JIT first-playable route, but its distributable runtime, physical Linux boot, display/input and persistent-disk behavior are not yet verifiedP0
Default Ubuntu and import a custom OSUbuntu profile, custom image import, QEMU disk-image path and full-system runtime selection existThe QEMU TCI runtime still needs its licensing approval/package and a physical Linux boot; importing an image is not booting itP0
Full Windows 10, not just PE inspectionWindows 10 profile and QEMU full-system build workflow existNo QEMU runtime artifact or physical Windows boot is verified. The current PE loader is read-only and WindowsRuntime refuses launchP1
Install and launch EXE filesLibrary can import PE files and inspect their headers/sectionsNo complete PE mapping, imports/DLL loader, Win32/NT services, Wine/Proton or runnable Windows process pathP1
SteamOS supportSteamOS Gaming Mode profile uses 2 GiB/2 vCPUs on iOS/tvOS and 4 GiB/4 vCPUs on desktopThis is a resource profile, not proof that Valve's SteamOS image boots or that the Steam desktop client works; iOS memory validation may reject 2 GiB when host headroom is insufficientP1
Steam Store inside the appiOS library has an embedded WKWebView Store routeThis is the web Store, not the desktop Steam client, game installer, compatibility layer or verified purchase/download integration. tvOS Store remains a placeholderP2
Remove Dream StoreNo Dream Store source reference was found in the current main treeAlready absent; no removal change is neededDone
Continue last sessionSession metadata and configuration restoration existIt restores metadata/configuration, not a suspended guest CPU/RAM snapshotP1
VM/config save slotsVMSaveSlotStore persists named configuration and session metadataIt does not snapshot guest RAM, device state or arbitrary game-save contents. Add a real disk/snapshot contract and crash-safe restoreP1
External drives and storage accessExternalDriveStore uses security-scoped file URLs/bookmarks and file-level accessThis is not raw USB/block-device passthrough. Validate bookmark renewal, app relaunch, disk image access and guest filesystem persistenceP1
Custom resolution and FPS, including 60/120 HzSettings and VMConfiguration expose resolution/frame-rate preferencesEnd-to-end application to the active renderer/display backend and frame pacing on the physical iPad are not verifiedP2
Static ELF diagnostic input/displayConsoleViewController captures stdout/stderr and accepts text input; Linux syscall read(0, ...) uses a bounded, interruptible 64 KiB queueThe path remains text-only with no independent framebuffer. QEMU's separate VNC-to-Metal and keyboard/controller path is the first-playable route and still needs physical validationP1 diagnostic
Touch gamepad with movable/resizable controlsTouchGamepadView has edit-mode movement and pinch-based sizing; ControllerInputManager maps controller eventsTouch and physical sticks/buttons are mapped to VNC keyboard/pointer events for QEMU; guests do not receive a native joystick device. Static ELF runtime input remains text-onlyP1
Physical controllersGameController input mapping and controller profiles existPhysical controller buttons/sticks map to VNC keyboard/pointer events; no dedicated native guest gamepad device is configured. Physical delivery remains unverifiedP1
Touch keyboardKeyboardOverlayView provides an on-screen keyboard; VMDisplayViewController has a separate F1–F12 touch barHardware-keyboard input is implemented via UIKit UIPress key-down/up/cancel routing, HID mappings, F1–F12 and held-key cleanup (033c62d8, 08ab0ae0); physical focus and guest delivery remain unverifiedP2
Hardware keyboard and F-key barVMDisplayViewController maps UIKit UIPress events to VNC key-down/key-up, including F1–F12, modifiers, navigation, system keys and printable ASCII; the touch F-key bar remainsPhysical-device focus, key repeat, non-ASCII layouts, key-up and guest delivery still need validationP2
Pointer lockPointer-lock preference existsGuest pointer capture, unlock gestures and backend-specific pointer semantics are not physically verifiedP2
Motion controls and VRCardboard-style display mode and motion/VR settings exist; MotionInputManager maps orientation to VNC pointer movementThis is a Cardboard motion-look prototype, not a stereo renderer, 6-DoF guest pose path, OpenXR or SteamVR implementationP3
Android experimentAndroid experiment toggle/settings exist; a DroidDeck port-status document is presentNo Android guest loader/runtime or working Android app execution path is establishedP3
tvOS and Siri RemotetvOS target and early Siri Remote interface prototype existVM launch and guest runtime actions remain placeholders; no tvOS guest execution is verifiedP3
visionOSvisionOS target is declared in project configurationNo reproducible visionOS build or guest runtime test is recordedP3
ARM64e supportLegacy Xcode project settings mention arm64 and arm64e, but current project.yml build generation targets arm64The active generated build path has no verified arm64e slice. Keep arm64 as the supported iOS ABI unless a specific arm64e-only requirement is demonstratedP2
GetMoreRam / extended memoryStosSign entitlement workflow and memory-budget logic exist; VMConfiguration reads available process memory and caps guest RAM conservativelyEntitlements are Apple-signing/team dependent. Free-team SideStore signing may not preserve increased-memory capability. This cannot be bypassed by the emulatorP0
Translation cache / CryptoKit integrityTranslationCache.swift uses CryptoKit SHA-256 for cache identity and artifact integrity; test_translation_cache.swift is compiled and executed by the Xcode 27 Core-Only workflowThe latest current-head Xcode workflow has not run because CI is quota-blocked; rerun the SHA-256/cache-corruption tests on the current iOS build before calling the cache validatedP1 validation
iOS build artifact validationtest_core_only_ipa_validator.py and the Core-Only workflow validate device-platform packaging and reject simulator bundlesNo current-head IPA was produced; Build 101 is an older-source, QEMU-free diagnostic artifact, not a full-system releaseP0
UTM/QEMU TCTI backendQEMU runtime build/release workflows define JIT and no-JIT variants; automatic acceleration can fall back to the experimental TCTI interpreter when JIT is unavailableTCTI is the selected no-JIT first-playable route (legacy TCI identifiers remain). The complete TCI framework/dependency closure is isolated under Frameworks/TCI, with loader-relative runpaths, re-signing and versioned-framework/symlink tests (e1660af8). Native bridge mode parity rejects a JIT callback export in TCI and requires it in JIT (71ee9407). The QEMU runtime archive/package validation succeeded on older source b8164935, but artifact upload remains licensing-gated. QMP ACPI shutdown, 120-second controlled quit and post-qemu_cleanup security-scope release are implemented in source but not physically verifiedP0
Guest audio, native gamepad, USB and 3DTouch and physical controllers map to VNC keyboard/pointer events; QEMU attaches USB keyboard/tablet and user-mode NATNo QEMU audio device, native guest joystick, raw USB passthrough or verified virtio-gpu/virgl/Metal 3D acceleration. VNC is a 2D display/input pathP1 after first playable
FEXCore primary, Box64 fallbackRuntimeBackendRouter now tests FEXCore-first selection and Box64-only fallback; no concurrent translator is selected for one processNeither dynamic translator is integrated as an operational iOS backend. FEXCore needs a Darwin core port; the BoxiOS snapshot is no-JIT and game-specificP1 after first playable
Dynamic ELF and broad Linux ABIELF64Loader handles static ET_EXEC and self-contained ET_DYN; GuestMachine runs bounded diagnostic guests through the interpreter/AOT hybridPT_INTERP/DT_NEEDED, general shared-library loading, openat/getdents64, execve/clone, signal and socket/epoll ABI are not implemented. The Box64 C/Swift bridge ABI is tested, but no Box64 library is linked; FEXCore has no Darwin runtime portP1 after first playable
MeloNX and SharpEmu referencesNames appear in project documentation/reference material, not as integrated x86 runtime dependenciesThey are separate console-emulation codebases; do not add them to Kenran Butō's x86 path without a distinct supported guest architecture and licence/architecture auditP3/separate scope
Vapor and StikStoreNo current source integration was found by repository searchDo not add speculative dependencies. StosSign and StikDebug are the current relevant signing/JIT integrationsP3/separate scope
Main/nightly iOS, tvOS and visionOS channelsMain/nightly release tags, iOS/tvOS/visionOS targets and a release workflow are declaredAt the audit snapshot GitLab and GitHub main were synchronized at 0d14f9c7; documentation-only commit 3a845f05 subsequently advanced GitLab while GitHub remained at 0d14f9c7, pending mirror sync. No current-head QEMU TCI IPA or physical boot is verifiedP1
AltStore source and xthrx's repo feedsSeparate website/AltStore-source repository and generation workflowThis is release/distribution infrastructure, not part of the guest execution core; keep its source catalogue and Docusaurus docs separate from runtime codeP2

Correct implementation order​

  1. QEMU TCI runtime: run the manual dual-mode QEMU build workflow and validate the no-JIT TCI variant. Complete qualified file-level and combined-work licensing review before enabling distribution.
  2. First playable iOS: after approval, package the TCI runtime into the current iOS IPA, sign/install through SideStore, and boot a known-good x86-64 Linux image on the physical iPad with JIT disabled.
  3. Physical interaction and state: verify VNC-to-Metal display, keyboard/controller input, virtual-disk persistence, clean stop, repeat boots and recovery after app restart.
  4. Kenran Butō user-mode path: keep the static ELF diagnostic guests as interpreter/GuestMemory/syscall tests; complete AOT correctness and fallback coverage independently of the QEMU TCI path.
  5. Dynamic user-mode engines: integrate FEXCore as primary and Box64 as a measured fallback only after a reproducible physical guest path exists.
  6. Windows compatibility: add PE loading, Win32/NT services, Wine/Proton and DirectX/Vulkan/Metal only after the x86 engine and ABI layers work.
  7. Additional platforms and polish: physically validate the implemented F-key/hardware-keyboard path, then finish pointer lock, 60/120 Hz pacing, Android, true VR, tvOS and visionOS after iOS guest execution is stable.

Current hard blockers​

  • The QEMU TCI release gate remains closed until qualified file-level and combined-work licensing review approves the exact QEMU/UTM/dependency closure. Do not set QEMU_GPL_COMPATIBILITY_REVIEW_APPROVED=true before that review.
  • GitLab pipelines 1308–1320 failed before runner allocation with ci_quota_exceeded; no hosted GitLab tests ran on the recent source commits. GitHub AOT/source validation and Build 100 passed on 3d25a637; current-head workflows on 0d14f9c7 are pending/queued.
  • GitLab and GitHub main are synchronized at 0d14f9c7. Build 100 is an unsigned QEMU-free diagnostic IPA, not the first playable VM release. QEMU runtime archive #57 succeeded on older source b8164935, but upload was blocked by the licensing gate; current-head QEMU build remains queued.
  • The QEMU runtime build has a full iOS-SE embed graph with optional graphics dependencies. Naively skipping ANGLE/epoxy/Vulkan/virgl/Mesa/MoltenVK/LLVM/DXMT build families would leave missing framework embeds. A safe minimal TCI profile must disable corresponding QEMU backends, prune only matching iOS-SE embeds, retain required SPICE/GStreamer/VNC/pixman/SLIRP dependencies and verify the complete Mach-O load graph.
  • The static ELF runtime is a bounded user-mode diagnostic, not a full-system Linux/Windows emulator. It does not support PT_INTERP/DT_NEEDED, general shared-library loading, broad filesystem/process/thread/signal/socket syscalls or a guest framebuffer. The current AOT/interpreter path is therefore not a complete general-purpose x86-64 Linux user-mode runtime.
  • FEXCore/Box64 are not operational iOS dynamic backends; the Box64 bridge ABI is tested but no Box64 library is linked, and FEXCore still needs a Darwin host port. Windows/PE, Wine/Proton, snapshots, USB passthrough, guest audio/3D and Android/VR/tvOS/visionOS guest execution remain incomplete.
  • No QEMU-enabled IPA, physical iPad guest boot, guest display/input, persistent-disk test, ACPI shutdown or repeat launch is verified. TCTI does not require JIT/StikDebug; StikDebug 3.2.2+ is only required for optional TXM/AOT/JIT validation.

Status rule: an option in a menu, a parser, a build workflow or a host smoke test is not equivalent to a running guest feature. Mark each item operational only after its complete path is tested on the target device.

Separate companion scope​

Butō Box is a standalone companion project/documentation surface, not a Kenran Butō runtime subsystem. Keep its site, documentation and build/release artifacts separate from the emulator's guest-execution core; do not treat a Butō Box page as evidence of emulator functionality.