An open, evidence-backed reverse-engineering, emulation (QEMU + Unicorn), and runtime modding platform for Sony BIONZ X (CXD90045) cameras—starting with ILCE-6400 and scaling across 13 mapped camera bodies.
Canonical upstream: ivica00/bionz-x-research. This research branch contributes native Unicorn continuation, bounded USB/GPU and A6400A packet experiments, and toolchain/QEMU updates. Original upstream research, code and contributor attribution are retained.
You don't need a camera to contribute. Roughly 90% of the work is offline Python & C. Every claim below is strictly labelled by what was actually demonstrated (offline emulation, read-only observation, or physical RAM-only run), and nothing is presented as a percentage of "full firmware compatibility."
🪟 1-Click Windows Mod Manager GUI · 📦 Install & Use Camera Mods (Mod Loader v2, Touch Menu, ARRI Look) · 🖥️ Run QEMU Emulator (
sony-a6400) · 🔬 Develop & Hot-Reload Mods in QEMU · 📷 Add a BIONZ X Camera · 🎥 UVC / PTP Liveview
Stock USB attach boundary: original startup code inhibits the physical USB
key; messages reach Linux input processing but its live subscription is
suppressed. Paired captured-code traces identify the native owner/store and
the initialization release path. Its original readiness check is blocked by
ModelCamera (0x0B); native stores change readiness 1,0,1,0, while
ModelStillRec is ready. The exact state dependency remains open. No ready
flag, application event or new hardware response was supplied
(E0619).
Contributor boot scores for the merged read-back windows and the v11 speed
patches are filed with the pull-request comments:
E0614,
E0615,
E0616,
E0617,
and E0618.
They keep captured step 26 (0x0323/0x0320). This workspace did not re-run
that scorer, and no physical camera result is claimed.
E0637 records the
same kind of score for the merged CamCore window at 0xF3010000: unmodelled
addresses 2,322 to 1,310, still step 26.
E0643
decodes DGU5 MISCREG/eFuse (0xF2915000=0x00000500, 0xF2915010=0x0c01002b
on live ILCE-6400), confirms no kernel signature verification in a6400/a6400A,
documents synchronous libJiritsu.so dlopen (0x5D08), and adds the offline
<= 512 KiB RAM-chunk partition dump planner (--mode plan-chunk-dump).
E0644 supersedes
E0642's
sub-core inference, confirming the LIRO ram section is av-cam RW data.
E0647 traces a
single-page /dev/mem camera reboot to PA 0x000F8000 (external abort FSR 0x008 in the
persisted /proc/klog, which Sony's exception monitor turns into a warm reboot), enforces
tools/devmem_policy.py, models the abort opt-in in QEMU (lowmem-abort=on), and confirms
a SIGBUS-catching reader (ro_page v2) survives the read on the camera.
E0648 decodes body–lens
focus command IDs (0x41–0x4A and first-generation 0x1C–0x3C) and their capability
bitmap gate in av-cam.bin, and
E0649 confirms via a
read-only check on live ILCE-6400 with a Sigma 18-50 F2.8 DC DN that ORIL lens capability
records are not retained in Linux im.elf memory.
Camera Wi-Fi on a physical ILCE-6400 2.00 (over its own AP): the packaged orb-server
carries 221 ScalarWebAPI camera methods, and what the camera advertises follows its state. At
drive mode Continuous it offers 47 with burst shooting instead of the shutter; at Single it
offers 50 with actTakePicture, and a photograph was taken over Wi-Fi
(E0658,
E0659,
E0664). Sony's decompiled Android
client grades what is portable from the 47-method state
(E0660,
E0661). File transfer is
a different camera mode that no network call switches
(E0662). Tools:
tools/research/camera_remote.py, camera_panel.py (browser panel with live view) and
camera_transfer.py.
Correction to the application-layer IPC table: E0663
shows that the 29 call sites of E0483 called other imports (a fixed-stride PLT map gave each
import its neighbour's name) and fixes four call-graph decoding defects. The a6400 libObj.so
holds 763 IPC call sites, 544 with a constant queue id or command; six ids match ids observed at
runtime in the emulator, and the input handler sends to queue 0x014A0429. E0484's finding that
no ObjDisplay_* symbol has a direct caller holds on all thirteen bodies.
QEMU without a camera capture: tools/research/qemu_packaged_inputs.py builds the boot
inputs from Sony's public a6400 updater, including a byte-identical emmc.img and powered
sub-micro frames from the packaged warm-boot image; only ulogio.bin still comes from the
ZV-E10 updater. The stock firmware draws its P-mode OSD and stops at the packaged step-32
wait, which QMP xp reads directly
(E0665).
Captured ILCE-6400A 1.01 in QEMU and full SMOD v2 mod port: the 17-partition capture (emmc.img
ed231fc0…), with its own /setting/ulogio.bin (ULOGIO=) and WBI-derived powered sub-micro RX
frames (5effe8d4…), boots all four Cortex-A5 cores, 9 eMMC mounts, 40 live .ko modules, LIRO,
and im.elf SetContentTarget/EEStart with zero exceptions, rendering the stock rear-LCD
P-mode OSD, Auto Power Save + S1 wake, and interactive Setup/Camera Settings menus
(E0678). Mod Loader v2 (shim at
0x05D76800, core.bin, mlv2_guard) and all nine available ILCE-6400 runtime mods
(MenuTouchFull, ModsTabLook, Arrivederci v5, OpenGate32, OpenGateSensor,
OpenGate_5400_Test, RCRAW_Enable_Test, RCRAW_W2_Probe, and UsbStreamingTest) are now ported
to ILCE-6400A 1.01 (mods/ilce_6400a/) with strict target isolation
in the BIONZ X Mod Manager, nested SMNU submenus + PhotonBin 6MP
(E0680), and standalone FAT32/exFAT
MLV2.TAR SD auto-boot (E0681),
passing all Unicorn suites and live QEMU ILCE-6400A 1.01 rear_panel.py + SD auto-boot sessions
(E0679).
QEMU EP0 milestone: original firmware now completes six host-driven standard
control transfers to address 1, configuration 1 and UDC configured in two
fresh runs. The optional mode preserves the older descriptor replay and
rejects unsupported ownership/DMA cases. The enumerated original function
is bus-power/HID; UVC remains unverified
(E0598).
| Goal | What it means | Current milestone |
|---|---|---|
| 1 · Emulate Every BIONZ X Model | Run original bootloaders, Linux kernels (ARM-CXD900X0), and im.elf UI/ISP stacks offline in QEMU and Unicorn across the CXD90045 family |
13 bodies / 9 kernels mapped (PLATFORM_MODEL.md); 8 registered profiles (ILCE-6400 verified execution target + 7 sourced reference profiles, E0570) |
| 2 · Universal Modding Across Models | Position-independent (SMOD v2) runtime mods with per-library relocation (--reloc-layout), hot-reloadable in QEMU and RAM-only on physical cameras |
Mod Loader v2 (MLCR) runs in QEMU on ILCE-6400 (E0577) and ILCE-6100 (E9103) and ILCE-6400 RAM (E0555); ships MTF2 Touch (E0520), Arrivederci ARRI Look (E0556), Film Simulations / Studio / Live Picker (ILCE-6100 & ILCE-6400, E9101, E9102), and Open Gate 3:2 feasibility (E0578) |
| 3 · Custom OS & Open Camera Stack | Replace closed camera bottlenecks with open, verified kernel/userspace modules—native composite USB webcam (UVC+PTP), persistent WinUSB debugging, custom OSD/ISP pipelines, and an open replacement OS layer | USB Debugger v2 (E0401), 29.8 FPS PTP Liveview (E0349), Composite UVC+PTP enumeration & EP0 pre-arm bridge (E0476) |
This project uses two complementary emulators:
- QEMU (
qemu-a6400/) — Full-System Board (sony-a6400): Out-of-tree QEMU v11.1.3 machine emulating 4× Cortex-A5 SMP cores, native eMMC partitions, 40 kernel modules,av-cam.bin(LIRO RTOS),im.elf, Sugilite P3D/PPF OSD, and an interactive browser rear panel (rear_panel.py) with live mod hot-reload. The earlier v10.1.0 build and evidence remain preserved. - Unicorn (
src/a6400/) — Deterministic Contract & Instruction Engine: Fast Python + Unicorn harness split into L2 (UnicornMachinekernel boot & MMU/TLB), L3 (InterpreterProbeuser-space syscall/IPC/thread engine), and isolated ARM/Thumb unit harnesses for verifying mods and kernel patches in CI without booting a full VM.
Legend: 🟢 Verified · 🟡 Partial / Opt-in · ⚪ Open Boundary · ⛔ Not Supported
| Stage / Subsystem | QEMU (sony-a6400 Full Board) |
Unicorn (L2 Kernel / L3 Userspace) |
Key Evidence & Docs |
|---|---|---|---|
| CPU, SMP & Boot | 🟢 4× Cortex-A5 SMP, kemco handoff, CXD4115 timers |
🟢 L2 boots both nflasha1 updater (E0653) and captured nflasha3 main firmware (E0656) through stock /sbin/init, 39 .ko modules, LIRO entry_main, im.elf DMP_2D_Initialize : 0, and /bin/ash |
E0522, E0653, E0656 |
| Storage & Mounts | 🟢 18 captured partitions, CMD1 sector mode, qcow2 overlay | 🟢 Read-only ext2 (nflasha7/15), FAT12 /setting (nflasha2), 88 devnodes |
E0524, E0307 |
RTOS (av-cam / LIRO) |
🟡 40 .ko loaded, entry_main, captured and reconstructed packaged VD_Sequence reach step 42 with distinct opt-in hardware replies |
🟢 Static & slice execution of CC 3D-LUT, EC Gamma, DMM & Open Gate 3:2 tables | E0591, E0505, E0578 |
UI & Display (im.elf) |
🟢 With REAR_CONTROLS=1, stock FINDER/MONITOR (Auto / Monitor(Manual)) renders Rear-LCD & Menu (640×480) without overlay patch; late blank traced to guest add_off_factor: 0x8 |
🟡 L3 runs unmodified im.elf to 1.50B insns (120 threads, 0 heap ownership errors without padding), completes 24 Sugilite GPU/IRQ 76 jobs, and presents transparent viewRootPowerSw.uxc 640×480 OSD A/B frames; populated child views await RTOS CheckerBootState/CheckerBootType |
E0651, E0652, E0657 |
| Inputs & Touch | 🟢 MENU and directional presses in the original menu; 🟡 wheel and AF/MF–AEL reach guest input, application response unverified; ⛔ No touch panel | 🟢 Isolated harnesses for touch press/release (MTF2) & menu vtables |
E0573, E0520 |
| Mod Loader & Mods | 🟢 Mod Loader v2 installs in guest im.elf, relocates & hot-reloads .mod files; native tab and swipe inputs change the guest menu only with MenuTouchFull ON |
🟢 15-scenario MLCR core + SMOD v2 relocation & trampoline checks |
E0577, firmware qualification and native replay |
| Live Sensor / YUV | 🟡 Opt-in deterministic luma reaches the stock guest's CamPig/Ydet, RC0 DMA and rear LCD via VPH ch51 | ⚪ Sensor feeder unwired; DMM 0x0167046a JPEG queue contract decoded |
E0591, E0349 |
| USB, Wi-Fi/BT, HDMI, Lens | 🟡 Opt-in DWC3: original bus-power/HID reaches configured through six EP0 controls; no UVC/data endpoints, radio, HDMI, lens or audio qualification | 🟡 Original-process USB startup reaches FSM state 7 and gadget registration, then stops at guarded OTG SET_MODE; ⛔ no radio/HDMI/lens |
E0598, E0534, E0476 |
- Native Unicorn updater & main firmware: E0653 verifies
nflasha1continuation past the post-unamechild/COW fault and D16AT_HWCAPparity (0x0000E0D7). E0656 boots capturednflasha3main firmware onUnicornMachine(--mmio stop, read-onlyemmc.img) through stock/sbin/init, 9 partition mounts, 39.komodules,LIROentry_main,im.elfDMP_2D_Initialize : 0, and/bin/ash(uname -a,/proc/cpuinfo,mount,/proc/modules); single-core execution leavesav-camCPUs 1–3 offline and claims no Unicorn GUI frame. E0676 adds the opt-in QEMU SYSV/VPH frame clock and evselext-vdpath on that same machine. E0677 adds the oracle-backed SIO channel-3 start/done path, GPIO port-1 input0x32, and ADC done with released-key results0x3FF. A captured-firmware replay that passes theObjMicwait is still open. - USB delivery versus startup: E0524 executes isolated synchronous-to-asynchronous SETCONFIG delivery with balanced fixture ownership; startup state 0 does not handle that event. E0534 uses the process's own heap and reaches states
1 -> 5 -> 6 -> 7, butcreated=0at OTGSET_MODE. No event or hardware acknowledgement is fabricated. - Allocator and GPU corrections: E0526 shows that the isolated log constructor fits its
0x4Crequest; padding is not a verified fix. E0530 verifies TGID completion/reset and distinguishes 128 KiB software-shared memory from the GPU BAR. E0657 traces all former L3 heap aborts to Unicorn 2.1.4 Thumb-2 stale-ITSTATEskips (1.50Binstructions,0ownership errors without padding), recoverssugilite_open4-byte +rm_rqueue_init128 KiB shared initialization, and verifies24Sugilite GPU jobs +24IRQ 76 completions presentingviewRootPowerSw.uxc's transparent640×480OSD A/B root frames (DefRootViewCheckerBootState/CheckerBootTypeawait RTOSav-cam.binproducers). - A6400A service packets: E0525 maps all 18 Jiritsu commands and seven repeatable packet fixtures. Opt-in E0532 adds bounded single-extent DMM metadata/lifetime and an eighth synthetic reply. USB, authentication, filesystem operations and authentic allocation remain unsupported; the profile stays
reference. - Earlier captured-profile waits: E0527 identifies Task 43's first display wait as mask 3, not its later
0x3373loop. That no-peripheral observation is retained separately from the later QEMU device models and rear-panel progress.
- Live camera sensor, shutter & recording (QEMU & Unicorn): The QEMU frame uses synthetic luma, not a real sensor stream or validated RAW/color ISP. AF/AE, still capture and movie recording to SD are unverified (see QEMU checkpoint).
- Touch-panel hardware in QEMU: The
sony-a6400board has no emulated touch controller, so touch mods (MTF2) cannot be exercised via clicks in QEMU (MOD_DEVELOPMENT.md). - USB Gadget (UVC / PTP / MSC) in QEMU: The stock view-driven server-start gate remains unqualified (E0589). Explicit diagnostic commands and optional captured-register/host-token policies now enumerate the original bus-power/HID function to UDC configured (E0598). A genuine UVC function, non-EP0 data endpoints, transfer chains, packetization and video remain unqualified; the USB Streaming Test item still only counts loader lifecycle calls.
- Removable media in QEMU: The virtual SD slot and USB scenarios verify SD hotplug and sector persistence separately from eMMC. Sony firmware mounts the SD filesystem; playback and still capture remain unverified. A separate non-Sony virtual USB Mass Storage fixture enumerates and reads (E0650).
- Peripherals & Radios (QEMU & Unicorn): Wi-Fi / Bluetooth (
BCM4339), HDMI output, E-mount lens communication, audio I/O, are unmodelled; the hardware watchdog (0xF2402000) is modelled only as opt-inwatchdog=on(E0636). - Populated Unicorn L3 shooting/menu GUI & Non-a6400 Boot:
InterpreterProbe(Unicorn L3) presentsviewRootPowerSw.uxc's transparent640×480RGBA4444 OSD A/B root frames via SugilitePSC0+PPF(E0657), while populated shooting/menu screens await RTOSav-cam.bin/ sub-micro boot-mode producers, and onlyILCE-6400is a verified execution target (otherCXD90045bodies are reference profiles).
Mod Loader v2 (MLCR) installs a tiny permanent RAM shim in im.elf (viewUnified2.so hooks) and loads a position-independent core (core.bin) plus relocatable SMOD v2 .mod packages—requiring zero flash writes and restoring stock behavior on reboot. Using --reloc-layout, a single .mod binary shifts its library addresses at load time to run across both QEMU and physical camera memory layouts (E0577).
| Mod | What it does | Status |
|---|---|---|
MenuTouchFull (MTF2) |
Full-menu touch navigation: tabs, page dots, swipe paging, row select/open, popup scroll & apply | v1 verified on ILCE-6400 (E0520); v2 tab taps and swipes verified from the native guest touch queue. ZV-E10: hardware-verified full main menu + 12-tile Fn menu touch via direct RAM injection (details; Mod Loader is untested on ZV-E10 at the moment) |
| Arrivederci | ARRI LogC3 Classic tone curve + fitted Q10 color matrix for S-Log3 / S-Gamut3.Cine | Usable in Modset v2 (E0555, E0556); turn OFF before power-off |
| ModsTabLook | Renders the custom MODS tab icon artwork (E0522) |
Auto-enabled in QEMU mod-dev mode (E0522) |
Command items (--action) |
A Mods row without ON/OFF: pressing it starts the mod and closes the menu to the shooting screen, like the ZV-E10 "USB Streaming" entry | Loader feature verified in Unicorn and QEMU (E0592); no UVC streaming mod uses it yet. The QEMU virtual USB host reaches the DWC3 model, but the guest never starts a gadget (E0593) |
| Open Gate (3:2) | Candidate IMX284 3:2 (1620×1080 / 3240×2160) recording path via DMM & ZIMA DVENC |
Buffer selection verified; recording unproven. The stock guest mounts virtual SD but did not save an AVCHD clip. |
👉 Read mods/README.md for step-by-step installation (QEMU & physical ILCE-6400)
If you just want to install mods or unlock camera tweaks on your ILCE-6400 without using the command line, use the BIONZ X Mod Manager GUI:
- One-time prerequisite (Windows 10/11): Install Python 3.11+ and check "Add python.exe to PATH" at the bottom of the installer (or use a prebuilt
BionzX-Mod-Manager.exerelease bundle if you downloaded one). - Start the app: Open this project folder and double-click
scripts/launch_mod_manager.bat. On first run it automatically prepares its own isolated environment (.venv-gui) and opens the Sony BIONZ X Mod Manager window (or browser tab if WebView2 is unavailable). - Download official tools (first run only): If a yellow banner appears at the top, click Download Official Release (or open the Tools & Setup tab and click Download / Prepare Tools). The app automatically downloads and verifies Mod Loader v2, the USB helper, and Arrivederci v5.
- Connect your camera: On the camera, go to
MENU → Setup (briefcase icon) → USB Connectionand select Mass Storage. Plug the camera into your computer with a data-capable USB cable and click Scan Camera. - Toggle mods & install in 1 click: Switch your desired Runtime Mods (such as Menu Touch Full or Arrivederci v5) or Permanent Tweaks (such as Unlimited Video Recording or Unlock All 35 Languages) ON or OFF, then click 1-Click Install to Camera and follow the on-screen prompt. (On a brand-new camera, the first click sets up the USB helper and asks you to turn the camera OFF and ON once, then click 1-Click Install to Camera one more time.)
- Use your mods on the camera: Unplug the USB cable and open
MENU → Mods (tab 7)on the camera to switch installed runtime mods on or off at any time. Turning the camera off clears RAM-only runtime mods back to stock firmware (important: always toggle Arrivederci OFF inMENU → Modsbefore turning the camera off).
👉 Full guides: Windows Mod Manager GUI Guide (docs/MOD_MANAGER_GUI.md) · Detailed Mod & CLI Guide (mods/README.md)
A native ARM touch layer ported and verified on physical Sony ZV-E10 (WW356015, FW 2.02 / 2.03, body_version = 100.110.035). It hooks postMousePress and postMouseRelease in /libObj.so and dispatches touch events into the camera's internal UI framework.
Important
Mod Loader is currently untested on Sony ZV-E10: Mod Loader v1 and v2 (SD-card .mod loader and the 7th Mods menu tab) have not yet been ported or tested on the ZV-E10. At the moment, this touch mod is deployed via direct volatile RAM injection into im.elf (libObj.so RX zero padding) using the camera's USB Senser terminal mode.
- Zero flash writes:
/dev/nflasha*is completely untouched. - 100% volatile & reversible: A camera power cycle restores completely stock firmware behavior.
Verified Live Hardware Capabilities:
- Main Menu Navigation:
- Tapping tabs 1..5 immediately switches tabs.
- Tapping page indicator dots or swiping horizontally pages left/right.
- Single tap selects/highlights any menu row.
- Double tap opens level-2 dropdown popup dialogues (via native synchronous
openLevel2Popup).
- Popup Dialogues:
- Tapping an item selects and applies the setting, closes the popup, and refreshes the parent menu.
- Vertical swiping scrolls multi-item dialogues.
- Tapping outside the popup cancels/dismisses it without changes.
- Fn (Function) Menu in Live Preview:
- Tapping any of the 12 tiles (2×6 grid) selects that tile using shortest circular path ring navigation (
ViewFnMenu::ProductAction). - Second tap (or double tap) opens the tile's setting dialogue (
Decideaction). - Tapping upper screen area (
y < 260) cancels and dismisses the Fn overlay (KEY_FN).
- Tapping any of the 12 tiles (2×6 grid) selects that tile using shortest circular path ring navigation (
Current Status & Limitations:
- Mod Loader Untested: Mod Loader is not yet ported for ZV-E10; deployed directly to volatile DRAM over Senser terminal shell.
- Fn Continuous Sliders: Fn tiles that open continuous scrolling slider dialogs (e.g. ISO slider) crash on tap (investigation in progress).
- My Menu (Tab 6): Touch on Tab 6 is unhandled (matching upstream a6400).
Quick Deploy (via Senser Terminal):
# 1. Switch camera to Senser mode (bind libusb-win32 if needed via Zadig)
python -m tools.research.deploy_zve10_menu_touch --switch-only
# 2. Build payload and request structures (requires Zig or arm-linux-musleabi)
python -m tools.research.build_zve10_menu_touch
# 3. Upload and perform live DRAM injection into im.elf
python -m tools.research.deploy_zve10_menu_touchFull technical details: tools/native_camera/zve10/README.md and docs/porting/zv-e10/.
Registered profiles live in src/a6400/targets/ and share the cross-body CXD90045 model (PLATFORM_MODEL.md). Guide: Adding a BIONZ X camera.
| Body | Kernel Group | Status | Notes / Evidence |
|---|---|---|---|
ILCE-6400 |
a6400 / a6600 source |
Verified Execution Target | Full QEMU & Unicorn L2/L3 execution, physical RAM-only mods |
ZV-E10 |
Shared build | Verified Execution Target (RAM) | Full Main Menu touch + 12-tile Fn menu touch verified on physical hardware (FW 2.02/2.03) via volatile direct DRAM injection into im.elf. Mod Loader currently untested on ZV-E10. UVC stack cataloged (E0321) |
ILCE-6400A |
1.01 captured + packaged |
Verified QEMU & Mod Target | Captured 4-core QEMU stock UI boot (E0678), Mod Loader v2 + 10 SMOD v2 mods + PhotonBin 6MP (SMNU) + FAT32/exFAT SD auto-boot verified in Unicorn + live QEMU (E0679, E0680, E0681, mods/ilce_6400a/), native GetModelInfo (0032858730), Jiritsu command map (E0554) |
ILCE-6600 |
a6400 / a6600 source |
Sourced Reference | Identical 14,401 kernel function symbols; 0x413b command delta |
ILCE-7C |
Shared build | Sourced Reference | Identical 14,460 kernel function symbols |
ILCE-6100 |
Shared symbol list | Verified MLCR + Film Sims (QEMU / Offline) | Picture Profile gate decoded & opt-in PP_UNLOCK=1 overlay (E9101, E9102); MLV2_TARGET=a6100 Mod Loader v2 + multi-target Film Simulations (mods/film_sims/), Film Sim Studio (tools/film_sim_studio.py), FilmSimLive, and FilmTexture SMOD v2 mods built for both ILCE-6100 1.00 and offline-verified ILCE-6400 2.00 targets (E9103) |
ILCE-7M3, ILCE-7RM4A |
Shared symbol list | Sourced Reference | ILCE-7RM4A 1.13 gadget-core symbols decoded (E0570); GetModelInfo command binaries byte-identical to a6400A (opcode 0x7A confirmed offline; SCSI-side routing still needs the camera), read-only probe generalized (E0645); physical read-only on 1.13: Mass Storage 054C:0D9D, PC Remote 054C:0D9F, native GetModelInfo ILCE-7RM4A after one BUSY (E0646) |
The local 1.01 research retains two verified captures: 60 MiB from nflasha5 and 2 MiB from normal-mode MSC LUN 1. The binaries stay in ignored local storage; the evidence records give their paths and SHA-256 hashes. LUN 1's backing partition is unverified.
The historical expanded-scope review verified the existing captures but obtained no new partition bytes. A complete firmware dump remains unqualified. See the local a6400A evidence series for the full history.
The E0643 supervised worker follow-up implements single-slot 512-KiB RAM chunk transfers and preserves three failed startup receipts. Actual shell output exposes overlapping rootfs/ext2 mounts; RAM backing and partition acquisition remain unqualified. Owned files were removed, USBSTOR restored and native responsiveness verified after battery removal. No new raw partition bytes are claimed.
The later safe RAM qualification identifies the existing candidate directories as nflasha7/ext2 and physically verifies a separate 2-MiB private tmpfs with nodev/nosuid/noexec. Unmount, owned-file removal, original USBSTOR and post-battery native responsiveness are verified. Pattern transfers remain blocked below the unchanged 8-MiB memory floor; no firmware partition bytes were acquired.
The 2026-11-21 native-reader follow-ups reclaim unmapped boot/asset page cache via read-only POSIX_FADV_DONTNEED (MemFree 8.5 -> 24.7 MiB without lowering the 8-MiB guard), publish responses via atomic rename, and complete all 17 allowed nonzero nflasha* partitions (1,354,694,656 bytes: nflashaB0, B1, 1..7, 10..13, 15..18) with independent SHA-256 verification (nflasha5 matches E0673 bit-for-bit). Owned files/tmpfs removal, USBSTOR restoration, owner battery-removal recovery, and native postflight are verified. Excluded /dev/nflasha23 and whole-device /dev/nflasha remain omitted, and mounted extents (including nflasha6) are live snapshots rather than a factory-pristine whole-eMMC backup.
Upstream recorded offline suite: 2091 tests, with 88 skip records and no failures/errors in its integrated checkout (rebase validation and limits). Skips are not passes. The late black-screen capture, LIRO RAM section analysis, CamCore contributor score, USB mode gate, and first firmware-driven live-view frame are separate findings. Earlier narrative highlights are preserved in docs/archives/readme-latest-progress-2026-11-18.md and docs/archives/readme-latest-progress-2026-11-15.md.
E9001
traces Appframework's CreateFramebuffer(640,480) to a GRM-MA open for DMM
unit 0x4092e: captured-e0044 refuses it (-9, with no captured base or
handle) and the guest aborts, while checkpoint restore no longer fabricates a
sys__newselect deadline.
E9002
fixes checkpoint resume so --grm-pools cannot be silently ignored (the
restored policy is recorded, conflicts fail closed) and records that the
labelled legacy single-pool boot passes CreateFramebuffer(640,480) without
establishing the 0x4092e unit mapping.
E9003 shows
the next stop is a timer-paced wait: Appframework polls 0x00910042 and
0x00910041 until --uipc-timer-service emulated removes the poll storm, after
which it idles without loading OSD or viewUnified2.
E9004 shows that
wait is a fixed 20 ms sleep (19,815 us measured), and the 32 MiB surface is
byte-identical across about 220 ticks: the app is waiting, not rendering.
E9005 records that REA
cannot deep-analyze this ARM ELF on the current Windows host; a direct scan
finds six 20,000 us sites in libObj, only one of which was seen in the early
wait window.
E9006
maps unit 0x4092e to its captured OSD A extent (0x23A80000, 0x96000):
the app allocates it, maps /dev/stream there, writes the full 614,400-byte
frame (currently a black clear) and loads viewUnified2.so.
- E0676 / E0677 add opt-in QEMU SYSV/VPH/evsel frame clock and oracle-backed SIO ch3, GPIO
0x32, and ADC0x3FFperipheral models toUnicornMachine. - UVC / 5 GHz Wi-Fi Streaming & CinemaHUD tooling: adds offline-tested UVC-PTP adapter (
uvc_ptp_adapter.c), Run B26 pre-arm harness (tools/research/run_b26_uvc_prearm.py), BCM4339 5 GHz Wi-Fi liveview bootstrap/daemon/client (tools/native_camera/wifi_5ghz_bootstrap.sh,camera-daemon/src/wifi_stream.c,tools/research/wifi_uvc_client.py), and CinemaHUD updates.
Daily automated test suite growth: 2091 tests across 32 days
Please bring BIONZ X research, fixes, and camera support to this repository early. Reuse the tracking issue for your camera model and open a draft pull request with your first verified result. Shared evidence and fixes can then help every compatible body. See the contribution and attribution policy.
Top 3 open tasks right now:
- Prove stock SD playback and still capture (QEMU): Captured startup reaches step 42 with an opt-in lens rail reply; the older packaged step-32 Ydet wait is a separate replay (E0591). Stock firmware mounts SD, but the original display of a seeded JPEG and a new photo surviving restart remain unverified (E0650).
- Complete native USB gadget startup (Unicorn / UVC): The opt-in original FUSB path enters the bound DWC3 reset and stops before PL310 sync (E0655). Qualify reset and gadgetcore commit, then prove process-owned SETCONFIG delivery and teardown. The isolated local route is already executable.
- Establish GPU shared backing and rendering (Unicorn L3): TGID completion/reset is verified, but strict replay stops on unsupplied shared bytes. Recover initialization and functional GPU work without assumed success (E0530).
More guides: Contributing to UVC / PTP · UVC/PTP progress log · USB Debugger v2.
Requires Python 3.11+ and dependencies from requirements.txt (no camera needed).
The current research environment uses Python 3.15.2 in .venv; the previous
venv/ remains available for rollback. See verified toolchain setup and upgrade
results for REA 6.9.0, Ghidra 12.2 and patched QEMU 11.1.3.
# Windows (PowerShell)
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe -m unittest discover -s tests -q# Linux / macOS
python3 -m pip install -r requirements.txt
python3 -m unittest discover -s tests -q| What to check | Command |
|---|---|
| Full offline suite (2091 tests) | python -m unittest discover -s tests -q |
| Structure, profiles & doc sync | python -m unittest tests.test_repository_layout tests.test_target_profiles tests.test_research_status_sync -v |
| Status card matches data | python -m tools.research.render_research_status --check |
| Windows launchers | scripts/ (launch_cinemahud_ptp.bat, launch_cinemahud_android.ps1, launch_cinema_mpv.bat, run_film_sim_studio.bat, start_camera_shell.bat) |
Run scripts as Python modules from the repo root (python -m tools.research.<tool>). Firmware images, backups, and captured artifacts stay local and are excluded from Git.
| Folder | What's inside |
|---|---|
qemu-a6400/ |
Out-of-tree QEMU v11.1.3 sony-a6400 machine, browser rear panel & mod-dev hot-reload |
mods/ |
RAM-only camera mods (MenuTouchFull, Arrivederci, ModsTabLook) & install guide |
src/a6400/execution/ |
Unicorn L2/L3 ARM emulator and verified OS, USB, and GPU contracts |
src/a6400/targets/ |
Device profiles and validation for supported Sony CXD90045 cameras |
src/a6400/debug/ |
USB debugger protocol, log ring buffer, and WinUSB transport |
tools/research/ & tools/native_camera/ |
Firmware analysis scripts, Mod Loader v2 (mlv2/), C helpers, and status-card generator |
probes/ |
Safe, read-only ARM probe for other BIONZ X cameras |
a6400-lut-converter/ |
Offline ISP table fitting, ARRI presets, and 8-bit 4:2:0 preview |
tests/, docs/, docs/evidence/ |
Automated contract checks, architecture notes, and dated evidence logs |
android/, camera-daemon/ |
Android liveview client (CinemaHUD) and camera-side composite USB webcam daemon |
firmware/, backups/, artifacts/ |
Local firmware dumps and generated outputs (never committed to Git) |
Safety & Epistemic Rules:
- Honest claims only: Host-written UI or camera logic is not firmware compatibility. Every claim links to a dated evidence record.
- No flash writes: Never modify internal camera flash, install custom firmware, or alter boot partitions.
- Clean-room emulation: Original firmware owns application logic; unknown OS services stop and report where they stopped instead of faking success.
- Safe hardware checks: Read-only camera inspection is allowed; writes, mode switches, and module loads require explicit scope. Bulk
/dev/memmemory sweeps are banned (AGENTS.MD).
An opt-in ZV-E10 adapted-menu integration runs prepared private inputs on the upstream QEMU board, with native event and scanout checks. This does not qualify stock boot or physical controls.
External comparison: ZV-E10 adapted-menu receipt records an original English Sony menu under an AP-only adapter. It is separate from upstream stock-firmware boot progress and does not advance the a6400 compatibility or test-count claims.
Documentation index · Current state · Evidence index · Related research repositories · Architecture · Roadmap · Contributing · Repository layout · Agent rules · Archived README
- Cross-generation BIONZ X research: Oein/a5000-emulator by Park SungHyun (Oein) — clean-room reference for DMP SMAPH/P3D command-list format and 8×8 Morton tiling (
docs/RE_GPU_P3D_CMD.md, CC BY 4.0),GICD_ITARGETSRbootloader pre-routing (docs/HARDWARE.md), andim.elfUI bringup gates (docs/RE_UI_BRINGUP.md).
Independent research; not affiliated with or endorsed by Sony. Sony, a6400, ILCE-6400, and BIONZ X are trademarks of their respective owners.