[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115632":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":42,"updatedAt":43,"readmeContent":44,"aiSummary":45,"trendingCount":16,"starSnapshotCount":16,"syncStatus":46,"lastSyncTime":47,"discoverSource":48},115632,"bionz-x-research","ivica00\u002Fbionz-x-research","ivica00","BIONZ X clean-room execution environment, hardware contracts, and firmware research. Project discord:","https:\u002F\u002Fdiscord.gg\u002FRtFk5vvnM",null,"Python",74,10,5,6,0,3,17,14,59.32,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"a6400","bionz-x","camera-firmware","clean-room","cxd90045","emulator","firmware","ilce-6400","ptp","reverse-engineering","sony","sony-alpha-cameras","unicorn-engine","usb","uvc","zv-e10","2026-11-23 11:48:13","2026-11-23 19:57:32","# Sony BIONZ X Universal Emulator, Modding & Custom OS Platform\n\nAn 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.\n\n> **Canonical upstream:** [ivica00\u002Fbionz-x-research](https:\u002F\u002Fgithub.com\u002Fivica00\u002Fbionz-x-research). This research branch contributes native Unicorn continuation, bounded USB\u002FGPU and A6400A packet experiments, and toolchain\u002FQEMU updates. Original upstream research, code and contributor attribution are retained.\n\n**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.\"\n\n> **[📦 Install & Use Camera Mods (Mod Loader v2, Touch Menu, ARRI Look)](mods\u002FREADME.md)** · **[🖥️ Run QEMU Emulator (`sony-a6400`)](qemu-a6400\u002FREADME.md)** · **[🔬 Develop & Hot-Reload Mods in QEMU](qemu-a6400\u002FMOD_DEVELOPMENT.md)** · **[📷 Add a BIONZ X Camera](docs\u002FADDING_A_BIONZX_CAMERA.md)** · **[🎥 UVC \u002F PTP Liveview](docs\u002FCONTRIBUTING_UVC_PTP.md)**\n\n---\n\n## Project Goals\n\nStock USB attach boundary: original startup code inhibits the physical USB\nkey; messages reach Linux input processing but its live subscription is\nsuppressed. Paired captured-code traces identify the native owner\u002Fstore and\nthe initialization release path. Its original readiness check is blocked by\n`ModelCamera` (`0x0B`); native stores change readiness `1,0,1,0`, while\n`ModelStillRec` is ready. The exact state dependency remains open. No ready\nflag, application event or new hardware response was supplied\n([E0619](docs\u002Fevidence\u002F0619-native-usb-release-model-camera-readiness.md)).\n\nContributor boot scores for the merged read-back windows and the v11 speed\npatches are filed with the pull-request comments:\n[E0614](docs\u002Fevidence\u002F0614-f280-clock-readback-contributor-boot-score.md),\n[E0615](docs\u002Fevidence\u002F0615-f350-readback-contributor-boot-score.md),\n[E0616](docs\u002Fevidence\u002F0616-tb-jmp-cache-bits-14-contributor-boot-score.md),\n[E0617](docs\u002Fevidence\u002F0617-v11-sd-insert-check-contributor-boot-score.md),\nand [E0618](docs\u002Fevidence\u002F0618-f388-readback-contributor-boot-score.md).\nThey keep captured step 26 (`0x0323`\u002F`0x0320`). This workspace did not re-run\nthat scorer, and no physical camera result is claimed.\n[E0637](docs\u002Fevidence\u002F0637-camcore-f301-contributor-boot-score.md) records the\nsame kind of score for the merged CamCore window at `0xF3010000`: unmodelled\naddresses 2,322 to 1,310, still step 26.\n[E0643](docs\u002Fevidence\u002F0643-cxd90045-miscreg-efuse-and-a6400a-jiritsu-chunk-planner.md)\ndecodes `DGU5` `MISCREG`\u002FeFuse (`0xF2915000=0x00000500`, `0xF2915010=0x0c01002b`\non live `ILCE-6400`), confirms no kernel signature verification in `a6400`\u002F`a6400A`,\ndocuments synchronous `libJiritsu.so` `dlopen` (`0x5D08`), and adds the offline\n`\u003C= 512 KiB` RAM-chunk partition dump planner (`--mode plan-chunk-dump`).\n[E0644](docs\u002Fevidence\u002F0644-a6400-liro-ram-section-is-avcam-data.md) supersedes\n[E0642](docs\u002Fevidence\u002F0642-a6400-f30a-fill-engine-and-liro-ram-section.md)'s\nsub-core inference, confirming the LIRO `ram` section is `av-cam` RW data.\n\nQEMU EP0 milestone: original firmware now completes six host-driven standard\ncontrol transfers to address 1, configuration 1 and UDC `configured` in two\nfresh runs. The optional mode preserves the older descriptor replay and\nrejects unsupported ownership\u002FDMA cases. The enumerated original function\nis bus-power\u002FHID; UVC remains unverified\n([E0598](docs\u002Fevidence\u002F0598-qemu-token-driven-ep0-configuration.md)).\n\n| Goal | What it means | Current milestone |\n| :--- | :--- | :--- |\n| **1 · Emulate Every BIONZ X Model** | Run original bootloaders, Linux kernels (`ARM-CXD900X0`), and `im.elf` UI\u002FISP stacks offline in **QEMU** and **Unicorn** across the `CXD90045` family | **13 bodies \u002F 9 kernels mapped** ([`PLATFORM_MODEL.md`](docs\u002FPLATFORM_MODEL.md)); **8 registered profiles** (`ILCE-6400` verified execution target + 7 sourced reference profiles, [E0570](docs\u002Fevidence\u002F0570-ilce-7rm4a-offline-sourced-profile.md)) |\n| **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 ([E0577](docs\u002Fevidence\u002F0577-qemu-real-mods-relocation-and-hot-reload.md)) and `ILCE-6400` RAM ([E0555](docs\u002Fevidence\u002F0555-arrivederci-menu-exit-recompute-and-cc8-refill.md)); ships **MTF2 Touch** ([E0520](docs\u002Fevidence\u002F0520-mtf2-full-menu-touch-verified-on-a6400.md)), **Arrivederci ARRI Look** ([E0556](docs\u002Fevidence\u002F0556-arrivederci-classic-fitted-matrix.md)), and **Open Gate 3:2** feasibility ([E0578](docs\u002Fevidence\u002F0578-a6400-open-gate-3-2-recording-feasibility.md)) |\n| **3 · Custom OS & Open Camera Stack** | Replace closed camera bottlenecks with open, verified kernel\u002Fuserspace modules—native composite USB webcam (UVC+PTP), persistent WinUSB debugging, custom OSD\u002FISP pipelines, and an open replacement OS layer | **USB Debugger v2** ([E0401](docs\u002Fevidence\u002F0401-usb-debugger-v2-ring-recover-and-mode-boundary.md)), **29.8 FPS PTP Liveview** ([E0349](docs\u002Fevidence\u002F0349-p1-foreign-get-jpeg-succeeds-in-pc-remote.md)), **Composite UVC+PTP enumeration** & EP0 pre-arm bridge ([E0476](docs\u002Fevidence\u002F0476-status-prearm-fix-build-audit-unicorn.md)) |\n\n---\n\n## Emulation Architecture & Progress: QEMU vs. Unicorn\n\nThis project uses two complementary emulators:\n\n- **QEMU ([`qemu-a6400\u002F`](qemu-a6400\u002FREADME.md)) — 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\u002FPPF 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.\n- **Unicorn (`src\u002Fa6400\u002F`) — Deterministic Contract & Instruction Engine:** Fast Python + Unicorn harness split into **L2** (`UnicornMachine` kernel boot & MMU\u002FTLB), **L3** (`InterpreterProbe` user-space syscall\u002FIPC\u002Fthread engine), and **isolated ARM\u002FThumb unit harnesses** for verifying mods and kernel patches in CI without booting a full VM.\n\n### Compact Stage Matrix\n\nLegend: `🟢 Verified` · `🟡 Partial \u002F Opt-in` · `⚪ Open Boundary` · `⛔ Not Supported`\n\n| Stage \u002F Subsystem | QEMU (`sony-a6400` Full Board) | Unicorn (`L2` Kernel \u002F `L3` Userspace) | Key Evidence & Docs |\n| :--- | :--- | :--- | :--- |\n| **CPU, SMP & Boot** | 🟢 4× Cortex-A5 SMP, `kemco` handoff, CXD4115 timers | 🟢 L2 boots `vmlinux.bin` (`0xDA9`), native CP15\u002FTLB maintenance, original linker and BusyBox\u002Fash builtin roundtrips | [E0522](docs\u002Fevidence\u002F0522-qemu-a6400-smp-four-cores-and-cxd4115-timers.md), [E0533](docs\u002Fevidence\u002F0533-unicorn-native-thumb-userspace-continuation.md), [E0560](docs\u002Fevidence\u002F0560-unicorn-nonsecure-af-exception-return.md) |\n| **Storage & Mounts** | 🟢 18 captured partitions, CMD1 sector mode, qcow2 overlay | 🟢 Read-only ext2 (`nflasha7`\u002F`15`), FAT12 `\u002Fsetting` (`nflasha2`), 88 devnodes | [E0524](docs\u002Fevidence\u002F0524-reproducible-captured-qemu-boot-and-liro-waits.md), [E0307](docs\u002Fevidence\u002F0307-nflasha2-setting-namespace-uipc-unregister-and-idle-state.md) |\n| **RTOS (`av-cam` \u002F LIRO)** | 🟡 40 `.ko` loaded, `entry_main`, `VD_Sequence` reaches step 32 (`EVSEL_LATE_US=500`) | 🟢 Static & slice execution of CC 3D-LUT, EC Gamma, DMM & Open Gate 3:2 tables | [E0557](docs\u002Fevidence\u002F0557-qemu-a6400-hs-root-order-passes-step-12.md), [E0505](docs\u002Fevidence\u002F0505-av-cam-cc-3dlut-and-ec-gamma-pipeline.md), [E0578](docs\u002Fevidence\u002F0578-a6400-open-gate-3-2-recording-feasibility.md) |\n| **UI & Display (`im.elf`)** | 🟢 Sugilite P3D\u002FPPF renders EVF OSD & Rear-LCD Menu (`640×480`) | 🟡 L3 reaches 88+ threads; allocator ownership remains unresolved and strict GLES replay stops on unknown shared contents | [E0572](docs\u002Fevidence\u002F0572-qemu-a6400-rear-lcd-layout-on-panel.md), [E0526](docs\u002Fevidence\u002F0526-stella-allocator-size-isolation-and-padding-trial.md), [E0530](docs\u002Fevidence\u002F0530-gles-tgid-completion-and-shared-memory-boundary.md) |\n| **Inputs & Touch** | 🟢 Web Rear Panel (`ADC`, `GPIO`, sub-micro, wheel, `MENU`); ⛔ **No touch panel** | 🟢 Isolated harnesses for touch press\u002Frelease (`MTF2`) & menu vtables | [E0573](docs\u002Fevidence\u002F0573-qemu-a6400-rear-panel-controls.md), [E0520](docs\u002Fevidence\u002F0520-mtf2-full-menu-touch-verified-on-a6400.md) |\n| **Mod Loader & Mods** | 🟢 `Mod Loader v2` installs in guest `im.elf`, relocates & hot-reloads `.mod` files | 🟢 10-scenario `MLCR` core + `SMOD v2` relocation & trampoline checks | [E0577](docs\u002Fevidence\u002F0577-qemu-real-mods-relocation-and-hot-reload.md), [E0576](docs\u002Fevidence\u002F0576-mod-loader-v2-reload-request.md) |\n| **Live Sensor \u002F YUV** | 🟡 Opt-in deterministic luma reaches the stock guest's CamPig\u002FYdet, RC0 DMA and rear LCD via VPH ch51 | ⚪ Sensor feeder unwired; DMM `0x0167046a` JPEG queue contract decoded | [E0591](docs\u002Fevidence\u002F0591-qemu-a6400-first-live-view-frame.md), [E0349](docs\u002Fevidence\u002F0349-p1-foreign-get-jpeg-succeeds-in-pc-remote.md) |\n| **USB, Wi-Fi\u002FBT, HDMI, Lens** | 🟡 Opt-in DWC3: original bus-power\u002FHID reaches configured through six EP0 controls; no UVC\u002Fdata 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\u002FHDMI\u002Flens | [E0598](docs\u002Fevidence\u002F0598-qemu-token-driven-ep0-configuration.md), [E0534](docs\u002Fevidence\u002F0534-original-process-usb-gadget-registration-and-otg-boundary.md), [E0476](docs\u002Fevidence\u002F0476-status-prearm-fix-build-audit-unicorn.md) |\n\n### Parallel Offline Contract Follow-Ups\n\n- **Native Unicorn continuation:** [E0533](docs\u002Fevidence\u002F0533-unicorn-native-thumb-userspace-continuation.md) removes re-entrant CPU helpers and manual Thumb recovery. Two updater replays execute ash `echo`\u002F`pwd`; the separate post-`uname` child\u002FCOW exception remains open. This is independent of the QEMU display result.\n- **USB delivery versus startup:** [E0524](docs\u002Fevidence\u002F0524-original-local-osal-setconfig-route.md) executes isolated synchronous-to-asynchronous SETCONFIG delivery with balanced fixture ownership; startup state 0 does not handle that event. [E0534](docs\u002Fevidence\u002F0534-original-process-usb-gadget-registration-and-otg-boundary.md) uses the process's own heap and reaches states `1 -> 5 -> 6 -> 7`, but `created=0` at OTG `SET_MODE`. No event or hardware acknowledgement is fabricated.\n- **Allocator and GPU corrections:** [E0526](docs\u002Fevidence\u002F0526-stella-allocator-size-isolation-and-padding-trial.md) shows that the isolated log constructor fits its `0x4C` request; padding is not a verified fix. [E0530](docs\u002Fevidence\u002F0530-gles-tgid-completion-and-shared-memory-boundary.md) verifies TGID completion\u002Freset and distinguishes 128 KiB software-shared memory from the GPU BAR. Strict L3 replay produces no frame.\n- **A6400A service packets:** [E0525](docs\u002Fevidence\u002F0525-a6400a-jiritsu-senser-offline-packets.md) maps all 18 Jiritsu commands and seven repeatable packet fixtures. Opt-in [E0532](docs\u002Fevidence\u002F0532-a6400a-dmm-metadata-bounds-and-lifetime.md) adds bounded single-extent DMM metadata\u002Flifetime and an eighth synthetic reply. USB, authentication, filesystem operations and authentic allocation remain unsupported; the profile stays `reference`.\n- **Earlier captured-profile waits:** [E0527](docs\u002Fevidence\u002F0527-qemu-task43-initialization-flag-wait.md) identifies Task 43's first display wait as mask 3, not its later `0x3373` loop. That no-peripheral observation is retained separately from the later QEMU device models and rear-panel progress.\n\n### What Is Not Supported Yet\n\n- **Live camera sensor, shutter & recording (QEMU & Unicorn):** The QEMU frame uses synthetic luma, not a real sensor stream or validated RAW\u002Fcolor ISP. AF\u002FAE, still capture and movie recording to SD are unverified (see [QEMU checkpoint](qemu-a6400\u002FSTATUS.md)).\n- **Touch-panel hardware in QEMU:** The `sony-a6400` board has no emulated touch controller, so touch mods (`MTF2`) cannot be exercised via clicks in QEMU ([`MOD_DEVELOPMENT.md`](qemu-a6400\u002FMOD_DEVELOPMENT.md)).\n- **USB Gadget (UVC \u002F PTP \u002F MSC) in QEMU:** The stock view-driven server-start gate remains unqualified ([E0589](docs\u002Fevidence\u002F0589-qemu-usb-mode-gate-and-defrootview.md)). Explicit diagnostic commands and optional captured-register\u002Fhost-token policies now enumerate the original bus-power\u002FHID function to UDC configured ([E0598](docs\u002Fevidence\u002F0598-qemu-token-driven-ep0-configuration.md)). 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.\n- **Peripherals & Radios (QEMU & Unicorn):** Wi-Fi \u002F Bluetooth (`BCM4339`), HDMI output, E-mount lens communication, audio I\u002FO, are unmodelled; the hardware watchdog (`0xF2402000`) is modelled only as opt-in `watchdog=on` ([E0636](docs\u002Fevidence\u002F0636-qemu-cxd4115-hardware-watchdog-opt-in.md)).\n- **Full Unicorn L3 GUI & Non-a6400 Boot:** `InterpreterProbe` (Unicorn L3) does not yet produce a GUI frame (`stella` heap & GPES barriers), and only `ILCE-6400` is a verified execution target (other `CXD90045` bodies are reference profiles).\n\n---\n\n## Universal Modding & Available Mods\n\n**[Mod Loader v2 (`MLCR`)](docs\u002FMOD_LOADER_V2_DESIGN.md)** 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](docs\u002Fevidence\u002F0577-qemu-real-mods-relocation-and-hot-reload.md)).\n\n| Mod | What it does | Status |\n| :--- | :--- | :--- |\n| **[MenuTouchFull (`MTF2`)](mods\u002Fmenu_touch_full\u002FREADME.md)** | Full-menu touch navigation: tabs, page dots, swipe paging, row select\u002Fopen, popup scroll & apply | Verified on `ILCE-6400` ([E0520](docs\u002Fevidence\u002F0520-mtf2-full-menu-touch-verified-on-a6400.md)); `SMOD v2` usable & hot-reloads in QEMU |\n| **[Arrivederci](mods\u002Farri_isp\u002Farrivederci\u002FREADME.md)** | ARRI LogC3 Classic tone curve + fitted Q10 color matrix for S-Log3 \u002F S-Gamut3.Cine | Usable in Modset v2 ([E0555](docs\u002Fevidence\u002F0555-arrivederci-menu-exit-recompute-and-cc8-refill.md), [E0556](docs\u002Fevidence\u002F0556-arrivederci-classic-fitted-matrix.md)); turn OFF before power-off |\n| **ModsTabLook** | Renders the custom `MODS` tab icon artwork (`E0522`) | Auto-enabled in QEMU mod-dev mode ([E0522](docs\u002Fevidence\u002F0522-mods-tab-icon-and-uxd-image-container.md)) |\n| **Command items** (`--action`) | A Mods row without ON\u002FOFF: 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](docs\u002Fevidence\u002F0592-mod-loader-command-items-usb-streaming-entry.md)); no UVC streaming mod uses it yet. The QEMU virtual USB host reaches the DWC3 model, but the guest never starts a gadget ([E0593](docs\u002Fevidence\u002F0593-qemu-dwc3-virtual-host-and-gadget-start-gap.md)) |\n| **Open Gate (3:2)** | Staged `IMX284` 3:2 (`1620×1080` \u002F `3240×2160`) recording path via `DMM` & `ZIMA DVENC` | Offline feasibility mapped ([E0578](docs\u002Fevidence\u002F0578-a6400-open-gate-3-2-recording-feasibility.md)); untested on hardware |\n\n👉 **[Read `mods\u002FREADME.md` for step-by-step installation (QEMU & physical `ILCE-6400`)](mods\u002FREADME.md)**\n\n---\n\n## Multi-Camera Support (`CXD90045` Platform)\n\nRegistered profiles live in [`src\u002Fa6400\u002Ftargets\u002F`](src\u002Fa6400\u002Ftargets\u002Fcatalog.py) and share the cross-body `CXD90045` model ([`PLATFORM_MODEL.md`](docs\u002FPLATFORM_MODEL.md)). Guide: **[Adding a BIONZ X camera](docs\u002FADDING_A_BIONZX_CAMERA.md)**.\n\n| Body | Kernel Group | Status | Notes \u002F Evidence |\n| :--- | :--- | :--- | :--- |\n| **`ILCE-6400`** | `a6400` \u002F `a6600` source | **Verified Execution Target** | Full QEMU & Unicorn L2\u002FL3 execution, physical RAM-only mods |\n| **`ILCE-6400A`** | `1.01` packaged | **Sourced Reference** | Native `GetModelInfo` (`0032858730`), packaged Jiritsu command map and bounded offline DMM replies ([E0554](docs\u002Fevidence\u002F0554-a6400a-v101-jiritsu-command-dispatch.md), [E0525](docs\u002Fevidence\u002F0525-a6400a-jiritsu-senser-offline-packets.md), [E0532](docs\u002Fevidence\u002F0532-a6400a-dmm-metadata-bounds-and-lifetime.md)) |\n| **`ILCE-6600`** | `a6400` \u002F `a6600` source | **Sourced Reference** | Identical 14,401 kernel function symbols; `0x413b` command delta |\n| **`ZV-E10`**, **`ILCE-7C`** | Shared build | **Sourced Reference** | Identical 14,460 kernel function symbols; `ZV-E10` UVC stack cataloged ([E0321](docs\u002Fevidence\u002F0321-zve10-uvc-enablement-manifest.md)) |\n| **`ILCE-6100`**, **`ILCE-7M3`**, **`ILCE-7RM4A`** | Shared symbol list | **Sourced Reference** | `ILCE-7RM4A` 1.13 gadget-core symbols decoded ([E0570](docs\u002Fevidence\u002F0570-ilce-7rm4a-offline-sourced-profile.md)) |\n\n---\n\n## Live Status Telemetry\n\nRecorded offline suite: **2091 tests**, with 88 skip records and no failures\u002Ferrors in the integrated checkout ([rebase validation and limits](docs\u002FTOOLCHAIN.md#upstream-rebase-integration-2026-11-18)). Skips are not passes. Separate QEMU milestones are the [USB mode gate](docs\u002Fevidence\u002F0589-qemu-usb-mode-gate-and-defrootview.md) and [first firmware-driven live-view frame](docs\u002Fevidence\u002F0591-qemu-a6400-first-live-view-frame.md). Earlier narrative highlights are preserved in [docs\u002Farchives\u002Freadme-latest-progress-2026-11-18.md](docs\u002Farchives\u002Freadme-latest-progress-2026-11-18.md) and [docs\u002Farchives\u002Freadme-latest-progress-2026-11-15.md](docs\u002Farchives\u002Freadme-latest-progress-2026-11-15.md).\n\n![Research status: demonstrated results and remaining boundaries](docs\u002Fimages\u002Fresearch-status.svg?v=5c61f7d4070b)\n\n![Daily automated test suite growth: 2091 tests across 32 days](docs\u002Fimages\u002Ftest-growth.svg?v=7c3d215972bb)\n\n---\n\n## How to Help (No Camera Needed)\n\nPlease 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](CONTRIBUTING.MD#work-in-the-main-repository).\n\n**Top 3 open tasks right now:**\n\n1. **Resolve remaining live-view sequencer gates (QEMU):** Stock firmware displays the deterministic test image and consumes fresh Ydet records. Trace the captured boot's separate step-26 gate and verify the older packaged step-32 case without bypassing either ([E0591](docs\u002Fevidence\u002F0591-qemu-a6400-first-live-view-frame.md)).\n2. **Complete native USB gadget startup (Unicorn \u002F UVC):** Qualify OTG\u002Fclass\u002Fgadgetcore completion after original registration, then prove process-owned SETCONFIG production, delivery and teardown ([E0534](docs\u002Fevidence\u002F0534-original-process-usb-gadget-registration-and-otg-boundary.md)). The isolated local delivery route is already executable.\n3. **Establish GPU shared backing and rendering (Unicorn L3):** TGID completion\u002Freset is verified, but strict replay stops on unsupplied shared bytes. Recover initialization and functional GPU work without assumed success ([E0530](docs\u002Fevidence\u002F0530-gles-tgid-completion-and-shared-memory-boundary.md)).\n\nMore guides: [Contributing to UVC \u002F PTP](docs\u002FCONTRIBUTING_UVC_PTP.md) · [UVC\u002FPTP progress log](docs\u002FUVC_PTP_STATUS.md) · [USB Debugger v2](docs\u002FNATIVE_USB_DEBUGGER.md).\n\n---\n\n## Quick Start\n\nRequires Python 3.11+ and dependencies from [`requirements.txt`](requirements.txt) (no camera needed).\nThe current research environment uses Python 3.15.2 in `.venv`; the previous\n`venv\u002F` remains available for rollback. See [verified toolchain setup and upgrade\nresults](docs\u002FTOOLCHAIN.md) for REA 6.9.0, Ghidra 12.2 and patched QEMU 11.1.3.\n\n```powershell\n# Windows (PowerShell)\n.\\.venv\\Scripts\\python.exe -m pip install -r requirements.txt\n.\\.venv\\Scripts\\python.exe -m unittest discover -s tests -q\n```\n\n```bash\n# Linux \u002F macOS\npython3 -m pip install -r requirements.txt\npython3 -m unittest discover -s tests -q\n```\n\n| What to check | Command |\n| :--- | :--- |\n| Full offline suite (2091 tests) | `python -m unittest discover -s tests -q` |\n| Structure, profiles & doc sync | `python -m unittest tests.test_repository_layout tests.test_target_profiles tests.test_research_status_sync -v` |\n| Status card matches data | `python -m tools.research.render_research_status --check` |\n| Windows launchers | [`scripts\u002F`](scripts\u002F) (`launch_cinemahud_ptp.bat`, `launch_cinemahud_android.ps1`, `launch_cinema_mpv.bat`, `start_camera_shell.bat`) |\n\nRun scripts as Python modules from the repo root (`python -m tools.research.\u003Ctool>`). Firmware images, backups, and captured artifacts stay local and are excluded from Git.\n\n---\n\n## Repository Layout & Safety Rules\n\n| Folder | What's inside |\n| :--- | :--- |\n| [`qemu-a6400\u002F`](qemu-a6400\u002FREADME.md) | Out-of-tree QEMU v11.1.3 `sony-a6400` machine, browser rear panel & mod-dev hot-reload |\n| [`mods\u002F`](mods\u002FREADME.md) | RAM-only camera mods (`MenuTouchFull`, `Arrivederci`, `ModsTabLook`) & install guide |\n| `src\u002Fa6400\u002Fexecution\u002F` | Unicorn L2\u002FL3 ARM emulator and verified OS, USB, and GPU contracts |\n| `src\u002Fa6400\u002Ftargets\u002F` | Device profiles and validation for supported Sony `CXD90045` cameras |\n| `src\u002Fa6400\u002Fdebug\u002F` | USB debugger protocol, log ring buffer, and WinUSB transport |\n| `tools\u002Fresearch\u002F` & `tools\u002Fnative_camera\u002F` | Firmware analysis scripts, Mod Loader v2 (`mlv2\u002F`), C helpers, and status-card generator |\n| `probes\u002F` | Safe, read-only ARM probe for other BIONZ X cameras |\n| [`a6400-lut-converter\u002F`](a6400-lut-converter\u002FREADME.md) | Offline ISP table fitting, ARRI presets, and 8-bit 4:2:0 preview |\n| `tests\u002F`, `docs\u002F`, `docs\u002Fevidence\u002F` | Automated contract checks, architecture notes, and dated evidence logs |\n| `android\u002F`, `camera-daemon\u002F` | Android liveview client (`CinemaHUD`) and camera-side composite USB webcam daemon |\n| `firmware\u002F`, `backups\u002F`, `artifacts\u002F` | Local firmware dumps and generated outputs (never committed to Git) |\n\n**Safety & Epistemic Rules:**\n- **Honest claims only:** Host-written UI or camera logic is **not** firmware compatibility. Every claim links to a dated evidence record.\n- **No flash writes:** Never modify internal camera flash, install custom firmware, or alter boot partitions.\n- **Clean-room emulation:** Original firmware owns application logic; unknown OS services stop and report where they stopped instead of faking success.\n- **Safe hardware checks:** Read-only camera inspection is allowed; writes, mode switches, and module loads require explicit scope. Bulk `\u002Fdev\u002Fmem` memory sweeps are banned ([`AGENTS.MD`](AGENTS.MD)).\n\n---\n\n## Links & Attribution\n\n[Documentation index](docs\u002FINDEX.md) · [Current state](docs\u002FCURRENT_STATE.md) · [Evidence index](docs\u002Fevidence\u002FREADME.md) · [Related research repositories](docs\u002FRELATED_REPOSITORIES.md) · [Architecture](docs\u002FARCHITECTURE.md) · [Roadmap](docs\u002FROADMAP.md) · [Contributing](CONTRIBUTING.MD) · [Repository layout](docs\u002FREPOSITORY.md) · [Agent rules](AGENTS.MD) · [Archived README](docs\u002Farchives\u002FREADME-2026-11-09.md)\n\n- **Cross-generation BIONZ X research:** [Oein\u002Fa5000-emulator](https:\u002F\u002Fgithub.com\u002FOein\u002Fa5000-emulator) by Park SungHyun (Oein) — clean-room reference for DMP SMAPH\u002FP3D command-list format and 8×8 Morton tiling (`docs\u002FRE_GPU_P3D_CMD.md`, CC BY 4.0), `GICD_ITARGETSR` bootloader pre-routing (`docs\u002FHARDWARE.md`), and `im.elf` UI bringup gates (`docs\u002FRE_UI_BRINGUP.md`).\n\nIndependent research; not affiliated with or endorsed by Sony. Sony, a6400, ILCE-6400, and BIONZ X are trademarks of their respective owners.\n","这是一个面向索尼BIONZ X图像处理器（CXD90045）相机的开源逆向工程与仿真研究项目，提供清洁室执行环境、硬件接口契约定义及固件行为分析能力。核心功能包括基于QEMU与Unicorn引擎的离线固件仿真、USB\u002FPTP\u002FUVC协议交互实验、运行时模块热加载与定制OS开发支持，覆盖ILCE-6400、ZV-E10等13款Alpha系列机型。项目强调实证驱动，所有结论均标注验证方式（如离线仿真、只读观测或物理内存运行），不宣称完整固件兼容。适用于相机固件安全研究、功能定制化开发（如触控菜单、ARRI色彩科学）、协议调试及嵌入式逆向学习等场景。",2,"2026-11-24 04:51:35","CREATED_QUERY"]