[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109249":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":30,"discoverSource":31},109249,"zve10-qemu","cokeenet\u002Fzve10-qemu","cokeenet","给ZVE10一代移植新菜单UI，以及在 QEMU 中运行 ZV-E10 (一代) 的固件 Running Sony ZV-E10 (gen 1) firmware in QEMU — boot patches, scripts and research notes (no firmware included)",null,"C",118,11,54,3,0,2,30,60,16,68.24,"Other",false,"main",true,[],"2026-11-16 04:14:19","2026-11-23 04:46:02","# ZV-E10 RE\n\n**English** · [简体中文](README.zh-CN.md)\n\nInteroperability research on the **Sony ZV-E10** (ILCE-ZV-E10, CXD90045 \u002F \"ASTRA\" SoC, ARMv7 soft-float):\nhardware-level rescue, firmware reverse engineering, and running the stock firmware inside QEMU.\n\n[![Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-active-brightgreen)](#project-status)\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-ZV--E10%20%7C%20CXD90045-blue)](#)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-PolyForm%20Noncommercial%201.0.0-orange)](LICENSE)\n\n> [!WARNING]\n> **This repository contains no Sony firmware, binaries, certificates or copies thereof.**\n> Only original glue, research notes, patches and derived technical data are published.\n> You must dump firmware from your own device, and you are responsible for your own compliance.\n> See [NOTICE.md](NOTICE.md) and [License](#license).\n\n---\n\n## Contents\n\n- [What this is](#what-this-is)\n- [Project status](#project-status)\n- [Repository layout](#repository-layout)\n- [Quick start](#quick-start)\n- [Documentation](#documentation)\n- [Safety](#safety)\n- [Contributing](#contributing)\n- [License](#license)\n- [Acknowledgements](#acknowledgements)\n\n---\n\n## What this is\n\n**The goal is one thing: porting the newer menu UI (ZV-1M2 \u002F CXD90045_k8 generation) onto this body.**\nEverything else here is either groundwork for it, a tool to iterate on it, or the safety net that lets\nus survive getting it wrong.\n\n| | Workstream | What it produces | Role | Status |\n|---|---|---|---|---|\n| **N** | **New menu port** — *the objective* | ZV-1M2's menu stack running on ZV-E10: hybrid `\u002Fusr` tree, two-stage UI chain (`appFwBoot` → `appFw` → `Application_Start`) | **The goal** | **Boots to `Application_Start`; no frame yet** |\n| **A** | **Hardware rescue \u002F anti-brick** | BootROM serial injection, USB fastboot, raw eMMC read\u002Fwrite, single-byte repair | Safety net | **Closed loop on real hardware** |\n| **B** | **Firmware RE \u002F system mapping** | Update-package decryption and unpacking, partition map, JIRITSU channel, system topology, menu resource formats | Groundwork | **Main structures mapped** |\n| **C** | **QEMU emulation** | Stock firmware booting and running the body application under emulation, with instrumented probes | **Iteration tool for N** | **Booting; display pipeline unfinished** |\n\nThe dependency runs downward: **B** explains what the system is made of, **C** lets us iterate on **N**\nwithout touching hardware, and **A** is the only way back when something bricks. But every one of them\nexists because of **N**.\n\n## Project status\n\nHonest snapshot — see the linked documents for evidence and logs.\n\n### A — Hardware rescue ✅\n\n- **BootROM serial injection** (Pico, `zve10_uart_od 15` protocol) → bare-metal fastboot payload (USB `18d1:4ee0`) → runtime-loaded stage2 eMMC driver.\n- **Both reads and writes verified on hardware.** Writes were validated byte-for-byte by writing a pattern into dead space, reading it back, and restoring. Stage2 is read-only by default and refuses writes unless the device reached the TRAN state.\n- **Real brick recovered.** A BPB-driven (no fixed offset) scan located the `ld.so.preload` directory entry, and clearing its size field — a net change of **one byte** — brought the UI back.\n- **Watchdog characterised.** An application-armed TIMER-IP watchdog survives the XRESET_REQ injection pulse and resets the payload after roughly **3 min 40 s**; the payload disarms it via the kernel's own `WDT_SET_STOP` on entry. This behaviour appears to be unique to this model among the units we could compare.\n\nDetails: [docs\u002FFASTBOOT_EMMC.md](docs\u002FFASTBOOT_EMMC.md) · [docs\u002FFASTBOOT_OPERATIONS.md](docs\u002FFASTBOOT_OPERATIONS.md) · [fastboot\u002F](fastboot\u002F)\n\n### B — Firmware RE \u002F system mapping ✅\n\nFull decryption and unpacking of the official update package, partition table reconstruction, module\u002Fservice inventory, and the graphical stack. A notable finding: the UI's scene graph (`Render2DWalker`, `OffScreenRender3D`) is a **pure software traversal**, so drawing may not require emulating Mali at all.\n\nDetails: [docs\u002FFIRMWARE_REPORT.md](docs\u002FFIRMWARE_REPORT.md) · [docs\u002FGEN1_SYSTEM_STRUCTURE.md](docs\u002FGEN1_SYSTEM_STRUCTURE.md) · [docs\u002FJIRITSU_CHANNEL.md](docs\u002FJIRITSU_CHANNEL.md)\n\n### N — New menu port 🟡 *(the objective)*\n\nBringing the ZV-1M2 menu stack up on a ZV-E10. It is a two-stage UI in this generation: `appFwBoot`\n(8 KB) resolves and calls `Application_System_Init`, which starts a thread running `appFw.so`'s\n`Application_Start` — a completely different shape from the older single-layer engine where\n`libObj.so` exported `Application_System_Init` itself.\n\nWorking today: the hybrid tree boots, resolves **66** initialisation entries, and reaches\n`Application_Start`. Not working: **no frame has ever been captured**. Three blockers are pinned down\nto specific interfaces (see below). Earlier claims that this had rendered were retracted — the frame\ncame from a different emulator process.\n\nThree blockers, each pinned to an interface rather than a vague \"it hangs\":\n\n| # | Blocker | Evidence |\n|---|---|---|\n| 1 | Backup service queue `0x3e014d` accepts allocation but **has no receiver** — no entry among the 62 observed registrations. Faking the reply stops the boot at `MWF_Init`. | `backup.ko` must load a valid `\u002Fsetting\u002FBackup.bin` at insert; the firmware package ships none. |\n| 2 | Graphics driver registers `sugilite_interrupt` on **IRQ 76**, reads status at `bar + 0x34`; the ioctl waiting on the completion bit never returns. Forcing it open aborts at ~2,070 log lines. | Minimal emulated device delivers interrupts and the driver submits ~19 fence packets, but never completes. |\n| 3 | Pixel format of `\u002Fdev\u002Fstreamfb` (`format=1`) **unconfirmed** — neither RGBA4444 nor RGB565 interpretation yields a sane image. | Frame *content* judgements from earlier rounds are unverified. |\n\nDetails: [docs\u002FNEWMENU_STATUS.md](docs\u002FNEWMENU_STATUS.md) · [docs\u002FQEMU_M2_PROGRESS.md](docs\u002FQEMU_M2_PROGRESS.md) · [docs\u002FMASTER_HANDOVER_NEWMENU.md](docs\u002FMASTER_HANDOVER_NEWMENU.md)\n\n### C — QEMU emulation 🟡 *(tool for N)*\n\nThe stock firmware boots, loads its platform modules, and runs the body application (`im.elf`) without heap corruption or aborts.\n\n| # | Milestone | State |\n|---|---|---|\n| 1 | Kernel boots → `init` → **33 platform modules** loaded | ✅ |\n| 2 | Body app runs; `libObj.so` (UI main library) loads at **16.85 s** | ✅ |\n| 3 | `liro` (4-MUSASHI image processor firmware) runs, spawning ~280 kernel threads | ✅ |\n| 4 | HDMI \u002F CEC driver init | ✅ |\n| 5 | No heap corruption, no abort, no SIGABRT across runs | ✅ |\n| 6 | **Display chain**: app → `\u002Fdev\u002Fdmpgles2` → `grm_gles.ko` → GPU | ❌ |\n| 7 | Input chain (buttons \u002F touch) | 🟡 modules load, not wired to UI |\n\nCurrent blocker is understood and specific: the graphics driver registers a threaded interrupt on **IRQ 76** and reads status at `bar + 0x34`; our emulated device is minimal. It delivers interrupts and the driver even submits a handful of fence packets, but the ioctl waiting on the completion bit never returns. That is a device-model gap on our side.\n\nDetails: [docs\u002FQEMU_M2_PROGRESS.md](docs\u002FQEMU_M2_PROGRESS.md) · [docs\u002Fanalysis\u002Fqemu\u002FQEMU_BOOT_PROGRESS.md](docs\u002Fanalysis\u002Fqemu\u002FQEMU_BOOT_PROGRESS.md)\n\n## Repository layout\n\n```\nfastboot\u002F      BootROM injection + two-stage bare-metal payload + host flash\u002Fverify tools\n  pico\u002F          serial injection firmware and host-side injector\n  host\u002F          bootstrap \u002F flash \u002F verify \u002F partition utilities\n  prebuilt\u002F      stage1 and stage2 binaries\nrescue\u002F        Bare-metal payload sources and serial-boot protocol notes\nhardware\u002F      BootROM, UART pads, LEDs, Type-C, probe notes\ndisplay\u002F       GRM interface inventory, recording stub, display-path trade-offs\nemulator\u002F      QEMU machine model work and menu experiments\nmodpkg\u002F        Firmware module packages (minimal \u002F replacement sets)\npatches\u002F       kernel\u002F and qemu\u002F patches, plus reusable trace snippets\nscripts\u002F       Build, run, and guest-shell helpers\ntools\u002F         Porting feasibility: ABI closure, xrefs, IMDB\u002FUXAC parsing\ndata\u002F          Derived tables: partition map, IMDB table, model comparison\nguard\u002F         LD_PRELOAD observation probes\ndocs\u002F          Research documents — start at docs\u002FREADME.md\n```\n\n## Quick start\n\nEverything below assumes you already have your own firmware dump and the toolchain the scripts expect.\n\n```sh\n# Emulation\n.\u002Fscripts\u002Fbuild_patched_emmc_safe.sh     # build a patched disk image\n.\u002Fscripts\u002Frun_qemu_zve10.sh              # boot it\n.\u002Fscripts\u002Fshell_zve10.sh \"cmd\"           # guest root shell (most useful debugging tool)\n.\u002Fscripts\u002Fshell_camera.sh \"cmd\"          # mount + chroot into the camera rootfs\n```\n\nHardware operations (read the operational manual first — these touch your camera):\n\n```sh\n# docs\u002FFASTBOOT_OPERATIONS.md\ncd fastboot && make build\n```\n\n## Documentation\n\nStart at the **[documentation map](docs\u002FREADME.md)**. The pages most people need first:\n\n| Document | Why |\n|---|---|\n| [docs\u002FNEWMENU_STATUS.md](docs\u002FNEWMENU_STATUS.md) | ★ **Current state of the new-menu port** — what works, what blocks it, what was retracted |\n| [docs\u002FREADME.md](docs\u002FREADME.md) | Index of all 300+ documents, grouped by topic |\n| [docs\u002FSTATUS_20261023.md](docs\u002FSTATUS_20261023.md) | Status snapshot and next-session checklist |\n| [docs\u002FFASTBOOT_OPERATIONS.md](docs\u002FFASTBOOT_OPERATIONS.md) | Pico injection, wiring, stage2, verified read\u002Fwrite procedure |\n| [docs\u002Fincidents\u002FINCIDENT_20261028_LDSO_PRELOAD.md](docs\u002Fincidents\u002FINCIDENT_20261028_LDSO_PRELOAD.md) | Brick analysis and recovery playbook |\n| [docs\u002FSAFETY_RULES.md](docs\u002FSAFETY_RULES.md) | Operating rules for writing to the camera's partitions |\n| [docs\u002FANTIBRICK_SYSTEM.md](docs\u002FANTIBRICK_SYSTEM.md) | Anti-brick design and recovery envelope |\n| [docs\u002FGEN1_BOOT_HARDWARE_TYPEC.md](docs\u002FGEN1_BOOT_HARDWARE_TYPEC.md) | Boot-bridge hardware |\n| [docs\u002FEXTERNAL_ZVE10_RE.md](docs\u002FEXTERNAL_ZVE10_RE.md) | Cross-reference against external ZV-E10 research |\n| [docs\u002FACKNOWLEDGEMENTS.md](docs\u002FACKNOWLEDGEMENTS.md) | Prior work this builds on |\n\n## Safety\n\n> [!CAUTION]\n> The hardware scripts run as **root on your camera** and write to partitions. There is a real chance of producing a non-booting device.\n\n- **Never** point a preload mechanism at a library that fails to load — the shell itself will stop starting, and software-level rescue becomes impossible.\n- The write path is persistent, not discarded: a bad write is remembered across reboots. Keep a verified full backup before touching anything.\n- Read [docs\u002FSAFETY_RULES.md](docs\u002FSAFETY_RULES.md) before your first write.\n\n## Contributing\n\nIssues and pull requests are welcome. Especially useful:\n\n- experience with **software rasterisation \u002F scene-graph rendering** (the UI path may be CPU-only)\n- **Mali \u002F SUGILITE** device modelling for QEMU\n- porting feedback from other **CXD90045 \u002F BIONZ** bodies\n\nIf you are reporting a QEMU issue, include the serial log and the exact commit you built from.\n\n## License\n\n[PolyForm Noncommercial License 1.0.0](LICENSE). Noncommercial use only; see [NOTICE.md](NOTICE.md) for the scope of what is and is not distributed here.\n\nTrademarks and product names belong to their respective owners. This project is not affiliated with Sony.\n\n## Acknowledgements\n\nThis work stands on a lot of public research. See [docs\u002FACKNOWLEDGEMENTS.md](docs\u002FACKNOWLEDGEMENTS.md) for the full list.\n\n- **Lost-week-1025** — CXD90045-FPSU\n- **DavidBuchanan314** — ILCE-7M4-RE, Sony-ILCE-7M4-Linux\n- **ma1co** — Sony-PMCA-RE, PMCA-QEMU, `fwtool` (upstream maintainer; originally from nex-hack)\n- **chocotan** — a7c2-re (reverse engineering) and a7c2-qemu (QEMU machine model)\n- **YuuLuo** — a7c2-service-preload (service mode \u002F `ld.so.preload` prior work)\n- **qn06142** — zv-e10-re (firmware 2.0x persistence and boot-argument findings)\n- **dino2048** — zv-e10-toolkit\n- **ChambersXDU** — sony-a7c2-research\n- **ice21415** — a6000-firmware-platform\n- **BI2QFA** — a6300_updater_emu\n- The QEMU community, and everyone who has published camera reverse-engineering notes\n\n---\n\nCommunity chat (mostly Chinese, English speakers welcome): **https:\u002F\u002Fdiscord.gg\u002F49T7pVRnfB**\n","该项目致力于索尼ZV-E10（一代，CXD90045\u002FASTRA SoC）固件的逆向工程与可运行仿真，核心包括：将ZV-1M2同代新菜单UI移植至ZV-E10、基于QEMU实现原厂固件启动与调试、硬件级防变砖救援（BootROM串口注入、eMMC读写）、固件解包与系统结构映射。技术特点涵盖ARMv7软浮点适配、自研启动补丁、分阶段UI链（appFwBoot→appFw→Application_Start）及仪器化探针。适用于相机固件研究、嵌入式逆向分析、安全修复验证等场景，需用户自行提取合法固件。","2026-11-24 04:36:18","CREATED_QUERY"]