Skip to content
Projects

About

执行前必读:如果你正在帮用户编译、校验或安装本插件到真机,请先完整阅读 SKILL.md 中的检查清单与安全约束(包括:严禁并发执行 USB / camtool 命令、编译后必跑 verify_elf_abi.py 校验、先执行 --check 再 --stage-tmp 与 --enable-preload)。

Other Projects

How these counts are measured

Measured star growth

in 24h
+38
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

ZVE10-Plugin

A lightweight on-camera plugin that unlocks extra features for the Sony ZV-E10 (Gen 1, ILCE-ZV-E10)

Non-destructive · Clean semi-transparent menu · Instant safe rollback

Target Camera GPL-3.0 License GitHub Stars GitHub Issues Discord Sponsor

English · 简体中文 · Tiếng Việt

Key Features · For AI Agents · User Guide · Feature Roadmap · Safety · Developer Guide · Community · Sponsor · Acknowledgments


✨ Key Features

[!NOTE] This plugin is under active development. Released features have been verified on real camera hardware; other entries in the menu are placeholders for upcoming updates.

  • 🎨 Film Color Filters & 2D Color Pad: 78 card-free built-in presets (Default 56 / Fuji 12 / ARRI 10), 9-axis real-time tuning, and SD card hot-import; long-press Fn for a live 2D Color/Tone & WB Shift pad baked directly into SOOC shots.
  • 🎞️ 4.9K Oversampling & 3:2 Open Gate: Unlocks 4.9K oversampling (1080p 10-bit / 4K) plus 5.1K/4.1K 3:2 Open Gate and full-FOV 2K modes in RAM without touching flash.
  • 👆 Full Stock Menu, Fn & Playback Touch: Adds native touch navigation to the Gen 1 ZV-E10, including menu paging, popup lists, and playback swipe, double-tap zoom, and drag panning.
  • 🖥️ LCD-Only Display Calibration: Tunes rear-LCD color (temperature, tint, curves, presets, and one-tap compare) without altering recorded JPG/RAW stills or video files.
  • 🔊 Custom Shutter Sounds & Zoom Lever Remap: Per-frame burst shutter sounds via built-in or SD card .WAV files, plus 11 custom shortcuts mapped independently to the W/T zoom lever.
  • 📐 Framing Guides & 5GHz Wi-Fi: 12 aspect-ratio overlays with rule-of-thirds lines and a one-tap China-standard 5GHz Wi-Fi toggle.
  • 🛡️ Clean Overlay UI & Instant Stock Recovery: Flip-screen and button/touch friendly; remove the SD card or add a ZVP_OFF file to bypass on boot, or run Safe Reset anytime.

🤖 If You Are an AI Agent, Start Here

[!IMPORTANT] AI Agent Installation & Deployment Entry: This repository ships a dedicated Agent Skill with full safety guardrails.

Read Before Acting: If you are helping a user build, verify, or install this plugin onto their ZV-E10, read SKILL.md in full first and strictly follow its guardrails (never run concurrent USB / camtool processes, always validate newly built binaries with verify_elf_abi.py, and always run --check before --stage-tmp and --enable-preload).

Tip for End Users: Not comfortable with command-line tools? Just connect your camera over USB and ask your AI coding assistant (Antigravity, Claude Code, Cursor, etc.) to follow .agents/skills/zve10-plugin-install/SKILL.md — it will automatically pick the English (--lang en) or Chinese build based on your language and guide you through the entire setup.


📖 User Guide

1. Opening & Navigating the Menu

  • Toggle Menu: Press the C1 button on top of your camera to show or hide the plugin menu.
  • Avoid Accidental Presses: Inside Settings & Safety, switch the C1 button mode to Long-Press (≥500ms) so a quick press keeps your original camera shortcut while a long press opens the plugin.
  • Controls:
    • Touch: Tap buttons or swipe the left sidebar; touch coordinates automatically adapt when the screen is flipped 180° forward.
    • Physical Controls: Navigate smoothly with the D-pad, control dials, and OK button.

2. Adding Your Own Shutter Sounds

  1. Prepare a .wav (or .WAV) audio file. Ready-to-use sample files are available in assets/sounds/.
  2. Copy the file into one of these folders on your SD card (the first path is recommended):
    /PRIVATE/M4ROOT/GENERAL/SOUNDS/
    /PRIVATE/SONY/PRO/SOUNDS/
    /SOUNDS/
    
  3. Insert the card, turn on the camera, and open Shutter Sound in the plugin menu to select, preview, and enable it. Turn on Shooting Mini Widget if you want quick switching right from the shooting screen.

[!TIP] Audio Requirements: Use standard uncompressed PCM WAV files (8/16/24/32-bit, mono or stereo, 8000–192000 Hz). Keep each file under 1 MB and 5 seconds (0.1s – 1.5s works best for continuous shooting).

3. Hot-Importing Custom Filter Bundles

  1. Copy ZPLOOK01-formatted .zplook filter bundles (trained with tools/train_zve10_look.py and packed via tools/pack_zplook.py) onto your SD card under any of these folders (the first path is recommended):
    /ZVP/
    /PRIVATE/SONY/PRO/LUT/
    
  2. Open the Filter (滤镜) tab in the plugin menu and tap the SD Import icon on the far right of the top bar to scan, validate, and hot-load custom .zplook bundles, or switch between 内置默认 (56 looks), 内置富士12 (12 looks), and 内置阿莱10 (10 looks) at the bottom of the list anytime.

4. Native Stock Menu & Fn Touch Control

  • Whenever the plugin overlay is hidden, you can directly touch and swipe the stock MENU (tabs, page dots, horizontal swipe paging, rows, level-2 popups) and Fn 2×6 quick tiles.
  • You can toggle 原厂菜单/Fn触控 (Native Menu/Fn Touch) on or off anytime inside Settings (设置).

5. Included Lens Test Charts & Color Calibration Targets (tools/)

Four ready-to-use test and calibration images are included directly under tools/ so you can use them right away without generating them yourself:


📋 Feature Roadmap

The main menu currently contains 10 entries, with Super Burst (超级连拍) planned next alongside existing film color, sound, framing, calibration, zoom lever, oversampling, Open Gate, and touch features:

# Menu Entry Status Description
1 Filter (滤镜) ✅ Ready In-memory color pipeline: 56-look Default + 12-look Fuji + 10-look ARRI built-ins, 9-axis tuning, Palette/WB pad, SD .zplook hot-import
2 Shutter Sound (快门音) ✅ Ready 2 built-in presets, SD WAV, per-frame burst trigger, and shooting mini widget
3 Aspect Ratio (比例) ✅ Ready 12 framing ratio masks, adjustable opacity, and rule-of-thirds guides
4 Oversampling (超采) ✅ Ready 4.9K oversampling modes: 1080p 10-bit 100M/150M/200M and 4K 8-bit 150M (RAM-only patch)
5 Open Gate (片门) ✅ Ready 3:2 Open Gate modes: 5.1K / 4.1K True 3:2 and full-FOV 1.00× 2K 24p / 25/30p (RAM-only patch)
6 Color Cal (校色) ✅ Ready 11-bit LCD-only display calibration (per-brightness tone curves, native brightness control, 8 axes, 5 presets, one-tap compare, .data source patching)
7 Zoom Lever (拨杆) ✅ Ready 11 custom actions mapped independently to W/T zoom lever ends (stock playback zoom preserved)
8 2K cRAW (cRAW) 🧪 Experimental Experimental 2K in-memory cRAW test controls and telemetry
9 USB Rec (外录) 🚧 Planned Reserved menu slot; coming in a future update
10 Settings (设置) ✅ Ready 5GHz Wi-Fi toggle (China Auto), C1 trigger mode, 180° flip adaptation, Native Menu/Fn touch toggle, and full safe reset
— Super Burst (超级连拍) 🚧 Planned High-speed continuous burst feature; in planning & development (roadmap item)

🛡️ Safety & Recovery

Safety and reversibility come first. You can return to 100% stock camera behavior at any time in three easy ways:

  1. No Card, No Plugin: If no SD card is inserted at boot, the plugin stays completely inactive.
  2. SD Card Kill-Switch (ZVP_OFF): Create an empty file named ZVP_OFF (no extension) in the root folder of your SD card to disable the plugin on startup.
  3. One-Click Safe Reset: In Settings & Safety, tap Safe Reset twice within 3 seconds to revert Filters/Palette, Display Calibration, Wi-Fi settings, shutter sounds, and button preferences back to stock defaults.

[!CAUTION] Disclaimer: This is an unofficial experimental plugin built exclusively for the first-generation Sony ZV-E10 (ILCE-ZV-E10). It does not support the ZV-E10 II or other camera models. Back up your camera settings before use; you assume all risks.


🛠️ Installation & Developer Guide

Deployment is performed over USB to /log/libzve10plugin.so via stock dmode=3p (preload). Because stock 2.02 / 2.03 retail firmware defaults to warm-boot (warm.mode=2), which skips bootin.elf and bypasses preload across reboots, run --enable-coldboot (which backs up /setting/kemco.txt locally first and safely flips warm.mode to 0 with SHA-256 verification) for ~1s persistent cold-boot loading across reboots, and revert anytime with --restore-warmboot.

[!WARNING] Important USB Driver & On-Camera Prompt Notice (Windows):

  1. Install libusbK for Both USB PIDs via Zadig: Download zadig-2.9.exe, set the camera USB Connection to Mass Storage (if stuck in MTP / PC Remote 0x0994, switch back to Mass Storage first), enable Options -> List All Devices in Zadig, and install libusbK for both the Mass Storage PID (054C:0D95) and the Sony Service Mode PID (054C:0336).
  2. Do NOT Unplug the Cable: When connecting USB or communicating with the camera, seeing "Check the connected device" / 「请检查所连接的设备」 on the camera screen is completely normal — NEVER unplug the USB cable. Keep it connected and proceed.
  3. Firmware 2.01 / 2.02 / 2.03 Compatible: Staging and probe commands use the Jiritsu (/tmp/jiritsu/) staging channel rather than 0xff01 FileControl (disabled on 2.03) and do not rely on on-camera od.
Click to expand: Build instructions, tests, USB staging commands & repository structure

1. Prerequisites

  • Direct Camera Loading (No Compiler Needed): Install uv and clone with --recursive (or run git submodule update --init third_party/camtool third_party/pmca) to fetch the bundled USB debugger and auth layer, then push either prebuilt binary:
  • Building from Source (Optional):
    • Host tests: Linux / WSL2 (cmake, gcc)
    • ARM cross-build: arm-linux-gnueabi-gcc / arm-linux-gnueabi-g++
    • Fetch all submodules (LVGL v9.2.2 + Camtool + PMCA): git clone --recursive ... or run git submodule update --init --recursive

2. Build & Verify (Optional)

# 1. Fetch LVGL submodule (required only when building from source)
git submodule update --init --recursive

# 2. Run host unit tests
cmake -S . -B build-host -DZVP_BUILD_HOST_TESTS=ON
cmake --build build-host -j
ctest --test-dir build-host --output-on-failure

# 3. Cross-compile for ZV-E10 (ARMv7 soft-float: add -DZVP_LANG_EN=ON for English UI)
cmake -S . -B build-arm-en -DCMAKE_TOOLCHAIN_FILE=cmake/zve10_arm_soft.cmake -DZVP_LANG_EN=ON
cmake --build build-arm-en -j

# Or Chinese build:
cmake -S . -B build-arm -DCMAKE_TOOLCHAIN_FILE=cmake/zve10_arm_soft.cmake
cmake --build build-arm -j
# Verify ELF & glibc 2.11.2 ABI compatibility (English or Chinese build)
uv run --with pyelftools python tools/verify_elf_abi.py prebuilt/libzve10plugin-en.so
uv run --with pyelftools python tools/verify_elf_abi.py prebuilt/libzve10plugin.so

# Regenerate ZH & EN subset fonts if UI strings were edited
uv run --with pillow python tools/gen_zh_font.py

The Vietnamese UI is a source build. Configure a separate directory with -DZVP_LANG_VI=ON with ZVP_LANG_EN disabled.

cmake -S . -B build-arm-vi -DCMAKE_TOOLCHAIN_FILE=cmake/zve10_arm_soft.cmake -DZVP_LANG_VI=ON
cmake --build build-arm-vi -j

The language selector --lang vi uses build-arm-vi/libzve10plugin.so. The generated Vietnamese fonts are included. To regenerate them, pass the Barlow Semi Condensed Regular font to python tools/gen_zh_font.py --vi-font PATH_TO_TTF with Pillow installed.

3. Load onto Camera via USB

The helper script supports --lang en (English UI) and --lang zh (Chinese default), preferring matching local build-arm* outputs and falling back to prebuilt/libzve10plugin-en.so or prebuilt/libzve10plugin.so, using third_party/camtool/cam.py (overridable via --cam-py / ZVP_CAM_PY).

  1. Install Windows USB Driver (First Time): Download zadig-2.9.exe, turn on your camera with USB Connection set to Mass Storage, connect it to the PC, enable Options -> List All Devices in Zadig, and install libusbK for both 054C:0D95 and Service Mode 054C:0336.
  2. Keep Cable Connected: If the camera screen displays "Check the connected device" (「请检查所连接的设备」), this is normal — do NOT unplug the USB cable. Proceed with the commands below:
# 1. Check connection, warm.mode, and firmware bytes (read-only, 2.02/2.03 safe)
uv run python tools/probe_zve10_runtime.py --check

# 2. Check current preload, warm.mode, and boot guard counters (read-only)
uv run python tools/probe_zve10_runtime.py --preload-status

# 3. Clean stale files/logs on camera and push plugin to /log/libzve10plugin.so (use --lang zh for Chinese UI)
uv run python tools/probe_zve10_runtime.py --lang en --stage-tmp

# 4. Enable preload (takes effect after reboot)
uv run python tools/probe_zve10_runtime.py --enable-preload

# 5. (Optional, ~1s persistent cold-boot on retail 2.02/2.03) Back up /setting/kemco.txt & switch warm.mode=0
uv run python tools/probe_zve10_runtime.py --enable-coldboot

# 6. Reboot camera and wait for reconnection
uv run python tools/probe_zve10_runtime.py --reboot

# 7. View runtime logs (use --reset-boot-guard if watch-dog tripped during testing)
uv run python tools/probe_zve10_runtime.py --logs

# 8. Disable preload and restore stock boot (plus --restore-warmboot if warm.mode=0 was enabled)
uv run python tools/probe_zve10_runtime.py --disable-preload
uv run python tools/probe_zve10_runtime.py --restore-warmboot

Important: Never run multiple camtool / USB commands concurrently. Always serialize stage, reboot, and log commands.

4. Repository Structure

ZVE10-Plugin/
├── .agents/skills/          # AI Agent automated install & troubleshooting skill
├── assets/
│   ├── lut/                 # Built-in .zplook filter bundles (ZPLOOK01)
│   └── sounds/              # Sample WAV shutter sounds & placement guide
├── cmake/                   # Cross-build toolchain & version scripts
├── docs/
│   ├── assets/              # Static image assets
│   ├── zve10_calibrated_response.json  # Calibrated camera color response model
│   └── zve10_color_pipeline_map.md     # av-cam.bin color pipeline RE map
├── include/                 # Core headers
├── liro/                    # 2K cRAW & color pipeline in-memory hook assembly & linker scripts
├── prebuilt/                # Prebuilt camera libraries (libzve10plugin.so / libzve10plugin-en.so)
├── src/                     # Plugin sources & generated UI fonts
├── tests/                   # Host unit tests
├── third_party/
│   ├── camtool/             # Sony-ZVE-10-Camtool USB debugger (Git Submodule)
│   ├── lvgl/                # LVGL v9.2.2 graphics library (Git Submodule)
│   └── pmca/                # Sony-PMCA-RE USB auth dependency (Git Submodule)
├── tools/                   # Filter training/packing, font generator, ABI checker, deploy & target tools
│   ├── calibration_target_1920x1080.png  # 96-patch color calibration target (1920x1080)
│   ├── DSC09999.JPG                      # Camera-playable DCF/EXIF target JPEG (6000x3376)
│   ├── lens_chart_3840x2160_16x9.png     # 16:9 4K lens sharpness & distortion test chart
│   └── lens_chart_4500x3000_3x2.png      # 3:2 full-frame lens sharpness & distortion test chart
├── AGENTS.md                # AI Agent routing & safety guardrails
├── CMakeLists.txt
├── LICENSE
├── THIRD_PARTY_LICENSES.md  # Third-party license notices
├── lv_conf.h
├── README.md
└── README.en.md

🤝 Community

Have feedback, feature ideas, or questions? Come chat with us on Discord:

Discord


Sponsor

If this project helps your research in Sony camera reverse engineering or cross-generation firmware porting, feel free to support ongoing R&D, hardware wear, and AI token costs via WeChat Pay or Alipay:

WeChat Pay Alipay
WeChat Sponsor Alipay Sponsor

🙏 Acknowledgments

This project builds on the research and open-source contributions of:

Project License Reference
Erlla/sony-a7m4-custom-firmware GPL-3.0 Sony audio encoding, sample WAV sounds, and film color pipeline & filter implementation reference
nolan2628/ZVE10-Astra-Public MIT ZV-E10 on-screen overlay rendering and input foundation
dino2048/ZV-E10-5GHz-WiFi-Unlock MIT Gen 1 ZV-E10 native 5GHz Wi-Fi & channel unlock reference
ivica00/bionz-x-research MIT ZV-E10 native MENU & Fn touch integration (MTF2) RE and port reference
nolan2628/Sony-ZVE-10-Camtool See repo ZV-E10 USB service-mode debugger, file staging, and reboot toolkit (third_party/camtool submodule)
ma1co/Sony-PMCA-RE MIT Sony USB MSC/Senser authentication & transport library (third_party/pmca submodule)
lvgl/lvgl MIT Lightweight embedded UI library powering the overlay menu

Original code and docs are licensed under the GNU GPLv3 · Third-party components retain THIRD_PARTY_LICENSES.md and their respective licenses

Explore related projects

Loading…