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 onb8164935completed 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 QMPquit/native-stop fallback and releases security-scoped URLs only after nativeqemu_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(commit7f85bbb8); 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 targeted7a00703cand job18430237194failed 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 -npassed, 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(run45971260877) is an older-source, unsigned, QEMU-free diagnostic ZIP; ZIP SHA-2562fb95d6fe40a5f62faa1995082a533fdf9aaf55cee064bfd39e58228ffb0f2d5, embedded IPA SHA-256070aa96ef95f49deb546147bbaea4b9ab267ee69c1ef574edd8d2ac8daf25ed4. 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/FEXcommit1dc6ed4932bd231df1c53dd7b8043ffdee0ac34a. 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 andbash -npass. No Xcode build or FEXCore archive has been produced. GitHub main still contains the earlier workflow/script revision. -
c117d636extends the native GuestMachine smoke test to verify stdin read/write return values;b1d4c08cfixes stop while blocked inread(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. -
a8c3f870and7a00703charden 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_FSandARCH_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.brkgrowth is bounded by the stack guard, not by the mmap allocation hint.MAP_FIXEDuses replacement semantics;MAP_FIXED_NOREPLACErelies 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/0x87and, in30a05994, atomic memory-form 1/4/8-byte XCHG through mutex-serialized native guest memory, including cross-page operations and permission checks. af00bcebadds conservative CPUID and monotonic virtual RDTSC;adf6a271handles PAUSE as a no-op.afda2d49and1678a2d5harden and test the core-only IPA validator for iOS device platform values and reject simulator bundles/platforms.8c5d6f94fixes the static ELF program-header mapping and the native GuestMachine smoke build's C bridge;1678a2d5adds 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;a612ace5updates 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_powerdownrequest, removes-no-shutdown, waits up to 120 seconds before controlled QMPquit/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
45970544787and source validation run45970544723passed on3d25a637. Core-Only IPA Build 100 run45970545143passed 462 Python tests and iOS ARM64 packaging. Artifact15185346993is a 25,423,979-byte unsigned QEMU-free diagnostic ZIP (SHA-256e8d3daef02b8ca653611f76f44dc258180095dd67b2ad33a5cf908c88900b328); the IPA SHA-256 is78f4b6e683bff941cf5fa704181f66778b8b7d386f634e0a94731f79d928b11e. 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 TCIidentifiers. - 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.
6803ae1brepairs the malformed TCI target-list patcher;1c9e6cfeand37011be3restore 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 byci_quota_exceeded.- GitLab exact-head pipeline IID 1245 on
1678a2d5failed before runner assignment withci_quota_exceeded; no tests ran. GitHub run45582606913on olderad65030dfailed at the now-fixed ELF program-header mapping. - GitLab and GitHub
mainboth point to0d14f9c7d169f6c864c457116b8202ca2a0f631d. The current-head source validation, AOT, platform, core-only IPA and QEMU runtime workflows are pending/queued.
Feature parity
| Earlier request | Current source state | Remaining work / limitation | Priority |
|---|---|---|---|
| Launch into VM, Hypervisor, VR or OS modes | Launch setup and VM configuration expose OS profiles, a QEMU full-system backend, TCI/JIT acceleration selection and a Cardboard/VR display option | QEMU 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 verified | P0 |
| Default Ubuntu and import a custom OS | Ubuntu profile, custom image import, QEMU disk-image path and full-system runtime selection exist | The QEMU TCI runtime still needs its licensing approval/package and a physical Linux boot; importing an image is not booting it | P0 |
| Full Windows 10, not just PE inspection | Windows 10 profile and QEMU full-system build workflow exist | No QEMU runtime artifact or physical Windows boot is verified. The current PE loader is read-only and WindowsRuntime refuses launch | P1 |
| Install and launch EXE files | Library can import PE files and inspect their headers/sections | No complete PE mapping, imports/DLL loader, Win32/NT services, Wine/Proton or runnable Windows process path | P1 |
| SteamOS support | SteamOS Gaming Mode profile uses 2 GiB/2 vCPUs on iOS/tvOS and 4 GiB/4 vCPUs on desktop | This 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 insufficient | P1 |
| Steam Store inside the app | iOS library has an embedded WKWebView Store route | This is the web Store, not the desktop Steam client, game installer, compatibility layer or verified purchase/download integration. tvOS Store remains a placeholder | P2 |
| Remove Dream Store | No Dream Store source reference was found in the current main tree | Already absent; no removal change is needed | Done |
| Continue last session | Session metadata and configuration restoration exist | It restores metadata/configuration, not a suspended guest CPU/RAM snapshot | P1 |
| VM/config save slots | VMSaveSlotStore persists named configuration and session metadata | It does not snapshot guest RAM, device state or arbitrary game-save contents. Add a real disk/snapshot contract and crash-safe restore | P1 |
| External drives and storage access | ExternalDriveStore uses security-scoped file URLs/bookmarks and file-level access | This is not raw USB/block-device passthrough. Validate bookmark renewal, app relaunch, disk image access and guest filesystem persistence | P1 |
| Custom resolution and FPS, including 60/120 Hz | Settings and VMConfiguration expose resolution/frame-rate preferences | End-to-end application to the active renderer/display backend and frame pacing on the physical iPad are not verified | P2 |
| Static ELF diagnostic input/display | ConsoleViewController captures stdout/stderr and accepts text input; Linux syscall read(0, ...) uses a bounded, interruptible 64 KiB queue | The 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 validation | P1 diagnostic |
| Touch gamepad with movable/resizable controls | TouchGamepadView has edit-mode movement and pinch-based sizing; ControllerInputManager maps controller events | Touch 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-only | P1 |
| Physical controllers | GameController input mapping and controller profiles exist | Physical controller buttons/sticks map to VNC keyboard/pointer events; no dedicated native guest gamepad device is configured. Physical delivery remains unverified | P1 |
| Touch keyboard | KeyboardOverlayView provides an on-screen keyboard; VMDisplayViewController has a separate F1–F12 touch bar | Hardware-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 unverified | P2 |
| Hardware keyboard and F-key bar | VMDisplayViewController 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 remains | Physical-device focus, key repeat, non-ASCII layouts, key-up and guest delivery still need validation | P2 |
| Pointer lock | Pointer-lock preference exists | Guest pointer capture, unlock gestures and backend-specific pointer semantics are not physically verified | P2 |
| Motion controls and VR | Cardboard-style display mode and motion/VR settings exist; MotionInputManager maps orientation to VNC pointer movement | This is a Cardboard motion-look prototype, not a stereo renderer, 6-DoF guest pose path, OpenXR or SteamVR implementation | P3 |
| Android experiment | Android experiment toggle/settings exist; a DroidDeck port-status document is present | No Android guest loader/runtime or working Android app execution path is established | P3 |
| tvOS and Siri Remote | tvOS target and early Siri Remote interface prototype exist | VM launch and guest runtime actions remain placeholders; no tvOS guest execution is verified | P3 |
| visionOS | visionOS target is declared in project configuration | No reproducible visionOS build or guest runtime test is recorded | P3 |
| ARM64e support | Legacy Xcode project settings mention arm64 and arm64e, but current project.yml build generation targets arm64 | The active generated build path has no verified arm64e slice. Keep arm64 as the supported iOS ABI unless a specific arm64e-only requirement is demonstrated | P2 |
| GetMoreRam / extended memory | StosSign entitlement workflow and memory-budget logic exist; VMConfiguration reads available process memory and caps guest RAM conservatively | Entitlements are Apple-signing/team dependent. Free-team SideStore signing may not preserve increased-memory capability. This cannot be bypassed by the emulator | P0 |
| Translation cache / CryptoKit integrity | TranslationCache.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 workflow | The 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 validated | P1 validation |
| iOS build artifact validation | test_core_only_ipa_validator.py and the Core-Only workflow validate device-platform packaging and reject simulator bundles | No current-head IPA was produced; Build 101 is an older-source, QEMU-free diagnostic artifact, not a full-system release | P0 |
| UTM/QEMU TCTI backend | QEMU runtime build/release workflows define JIT and no-JIT variants; automatic acceleration can fall back to the experimental TCTI interpreter when JIT is unavailable | TCTI 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 verified | P0 |
| Guest audio, native gamepad, USB and 3D | Touch and physical controllers map to VNC keyboard/pointer events; QEMU attaches USB keyboard/tablet and user-mode NAT | No QEMU audio device, native guest joystick, raw USB passthrough or verified virtio-gpu/virgl/Metal 3D acceleration. VNC is a 2D display/input path | P1 after first playable |
| FEXCore primary, Box64 fallback | RuntimeBackendRouter now tests FEXCore-first selection and Box64-only fallback; no concurrent translator is selected for one process | Neither dynamic translator is integrated as an operational iOS backend. FEXCore needs a Darwin core port; the BoxiOS snapshot is no-JIT and game-specific | P1 after first playable |
| Dynamic ELF and broad Linux ABI | ELF64Loader handles static ET_EXEC and self-contained ET_DYN; GuestMachine runs bounded diagnostic guests through the interpreter/AOT hybrid | PT_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 port | P1 after first playable |
| MeloNX and SharpEmu references | Names appear in project documentation/reference material, not as integrated x86 runtime dependencies | They are separate console-emulation codebases; do not add them to Kenran Butō's x86 path without a distinct supported guest architecture and licence/architecture audit | P3/separate scope |
| Vapor and StikStore | No current source integration was found by repository search | Do not add speculative dependencies. StosSign and StikDebug are the current relevant signing/JIT integrations | P3/separate scope |
| Main/nightly iOS, tvOS and visionOS channels | Main/nightly release tags, iOS/tvOS/visionOS targets and a release workflow are declared | At 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 verified | P1 |
| AltStore source and xthrx's repo feeds | Separate website/AltStore-source repository and generation workflow | This is release/distribution infrastructure, not part of the guest execution core; keep its source catalogue and Docusaurus docs separate from runtime code | P2 |
Correct implementation order
- 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.
- 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.
- Physical interaction and state: verify VNC-to-Metal display, keyboard/controller input, virtual-disk persistence, clean stop, repeat boots and recovery after app restart.
- 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.
- Dynamic user-mode engines: integrate FEXCore as primary and Box64 as a measured fallback only after a reproducible physical guest path exists.
- Windows compatibility: add PE loading, Win32/NT services, Wine/Proton and DirectX/Vulkan/Metal only after the x86 engine and ABI layers work.
- 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=truebefore 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 on3d25a637; current-head workflows on0d14f9c7are pending/queued. - GitLab and GitHub
mainare synchronized at0d14f9c7. Build 100 is an unsigned QEMU-free diagnostic IPA, not the first playable VM release. QEMU runtime archive #57 succeeded on older sourceb8164935, 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.