Even Realities G2 firmware emulator
Explore firmware boot, display changes, and virtual hardware events in one place.
Getting started · Booting stock firmware · Scenarios · Commands · Video
Current support: The stock 2.4 hardware model is included, its initial memory patterns are generated automatically, and the pinned Renode image is available as a public container. You must provide the two matching stock firmware files.
The stock boot report accepts only its pinned G2 2.4 bootloader and main image. The separate Faceclaw 38 command below starts at the main firmware reset vector; it does not run the stock bootloader. Arbitrary custom firmware is not yet supported.
See the public reproducibility corrections for the test environment and remaining limits.
Blackwall runs Renode in Docker and generates an HTML report. You need Python 3.9 or later, Docker, the stock G2 2.4 boot and main images, and the pinned Renode Docker image. Firmware and the Docker image are not included in this repository.
Pull the pinned Linux ARM64 image, then create a Docker volume by specifying the required firmware files. Replace the example paths with the locations of your files.
docker pull --platform linux/arm64 ghcr.io/hmmhmmhm/blackwall-renode@sha256:4f5f20c390e8c0d2b6336cdb708023cd2110e98ebaed9ae59f995bc057cbc0f8
python3 blackwall assets --profile stock
python3 blackwall setup --source . --profile stock --boot-image /path/to/boot.bin --main-image /path/to/main.bin
python3 blackwall doctorFor the stock profile, the model comes from this repository and missing initial memory files are generated as verified 0xa5 fill patterns. assets displays the expected paths and hashes. If firmware files are already present at the profile paths under --source, the bootloader and main image options can be omitted. The default volume is named blackwall-assets; use --volume to choose another name. Existing volumes are never overwritten.
On Windows, you can use python instead of python3. The published image is Linux ARM64; other host architectures require Docker's ARM64 emulation. The current end-to-end public-checkout run was performed on macOS ARM64, not Windows or Linux. See preparing the files and Docker image.
The default scenario executes the original ARM binaries for the Even Realities G2 stock 2.4 bootloader and main firmware on a virtual board. After setup, run:
python3 blackwall report --scenario normal --serveYou can also specify the images at run time. Only images matching the selected profile's size, hash, and vectors are accepted.
python3 blackwall report --scenario normal --boot-image /path/to/boot.bin --main-image /path/to/main.bin --serveOpen http://127.0.0.1:8765/ to inspect the boot process and captured screens; press Ctrl-C to stop the server. Execution starts at the virtual bootloader entry and does not install firmware on physical glasses.
Reports and re-audit artifacts are stored in the directory printed by the command. Use --output /path/to/new-folder to choose a location. This directory contains copies of firmware and model inputs, so do not add it to the repository or share it.
After pulling the Renode image above, supply the extracted Faceclaw 38 main firmware image. This profile accepts the reviewed 3,829,832-byte image with SHA-256 4118af85ebb8e634493a61a3ce4a62ae37451e17cea6d0b8b08465f29538dd8f and validates its reset vectors. The firmware is not included.
python3 blackwall faceclaw38 --main-image /path/to/faceclaw-main.bin --output /path/to/new-private-outputOpen the resulting index.html to see the captured frame and bounded execution checks. This separate profile starts directly at the main reset vector; it does not establish bootloader-to-main compatibility or support other Faceclaw versions. Its output contains a copy of the firmware and must not be shared.
| Scenario | Description |
|---|---|
| normal | Observe boot, virtual input, and display output |
| unknown-boot-marker | Verify rejection of an unknown boot marker |
| Custom scenarios | Add JSON audit conditions to a built-in scenario |
python3 blackwall scenarios
python3 blackwall report --scenario unknown-boot-marker --serve
python3 blackwall report --scenario-file scenarios/screen-boot.json --serve| Command | Purpose |
|---|---|
python3 blackwall assets --source /path/to/support-files |
Show required file paths and hashes |
python3 blackwall setup --source /path/to/support-files |
Store verified inputs in a new Docker volume |
python3 blackwall doctor |
Check the Docker volume and input files |
python3 blackwall scenarios |
List built-in scenarios |
python3 blackwall report --serve |
Generate a report and start a local server |
python3 blackwall report --help |
Show firmware, output, and other options |
python3 blackwall faceclaw38 --main-image /path/to/main.bin --output /path/to/new-folder |
Run the reviewed Faceclaw 38 main-reset test |
Report timestamps use virtual time; some component locations in the 3D board model are estimates. No physical flashing or OTA is performed.
Documentation · Boot reproduction · Upstream projects and licenses · Work log
The results below apply to the pinned inputs and virtual models described in each reference.
| Area | Verified behavior | Evidence |
|---|---|---|
| Stock boot | Continuous execution from stock 2.4 original ARM bootloader reset through main firmware, UI, and display | Boot completion audit |
| Main firmware | Historical research runs recorded service startup and UI wait/resume paths from main reset for stock 2.4, stock 2.3, and Faceclaw; the public Faceclaw 38 command provides a separate bounded main-reset-to-frame test | Main boot validation |
| Display and fonts | Original UI and font processing, 576×288 framebuffer output, and successive frames | First screen · Post-screen lifecycle |
| Touch input | Virtual touch through original handlers and UI commands to a visible frame change | Touch input |
| Ring input path | Original ring input reflected in the UI and display through a virtual opposite-temple UART relay | Input validation |
| Sensor input path | Virtual FIFO and interrupts consumed by the original sensor task, including numeric processing | Sensor task |
| Reset | Reinitialization and UI/display recovery after virtual NVIC reset | Reset validation |
| Bootloader and recovery | Virtual recovery, interruption, stock restoration, and version combinations across 12 specified criteria | Final bootloader audit |
| Report | Captured screens, events, logs, and a virtual board model displayed over time in HTML | Desktop video |
| Run tools | Pinned inputs stored in a Docker volume, normal and rejection scenarios, and capture re-auditing | Volume workflow · Scenarios |
The stock boot and bootloader recovery results are limited to the virtual input/model combinations in the referenced documents. They do not establish full boot from the actual Boot ROM or physical device recovery.
These are candidate improvements; their order and scope may change as evidence becomes available.
| Area | Remaining work |
|---|---|
| IMU visualization and input | Display acceleration, angular velocity, orientation, sample timing, FIFO, and interrupts; add motion scenarios. Separately validate sensor-fusion results and accuracy against real data. |
| BLE testing and visualization | Exercise connections, service discovery, GATT reads/writes, notifications, timeouts, and reconnection; display packets and state changes over time. |
| R1 ring interaction | Model ring connection states and confirmed input events, then verify their effect on the display. Keep the existing UART relay separate from direct R1 BLE. |
| Even Realities official app communication | Investigate available protocol evidence; test connection, synchronization, notifications, and errors; determine what can connect to the actual official app. |
| 3D PCB accuracy | Obtain high-resolution images of both board sides and component identification evidence; improve shape, placement, and materials; distinguish confirmed locations from estimates. |
| Full boot and device configuration | Investigate the actual Boot ROM and early boot; model communication, power, and reset relationships between both temples and the charging case. |
| Display and GPU model | Expand font, image, and animation coverage, as well as GPU command, framebuffer, and interrupt models; investigate the accuracy of reference rendering. |
| Storage, power, and recovery failures | Test virtual MRAM/NOR partial failures, power loss, watchdogs, reboots, and version mismatches; record the point of failure. |
| Firmware comparison and tests | Compare compatibility, execution paths, frames, and events across stock, Faceclaw, and CFW candidates; explore scenarios with configurable inputs, timing, and expected results. |
| Report observability | Connect frames, packets, device states, and errors on the same virtual timeline; improve search, filtering, comparison, and event provenance. |
| Setup and reproducibility | Organize shareable model assets and provenance, Docker images, and input preparation; validate operating-system/CPU combinations and long-running stability. |
See the emulator capability catalog and documentation for detailed research and existing validation scope.
Blackwall is an independent, experimental project and is not affiliated with or endorsed by Even Realities.
The emulator does not guarantee that firmware will behave the same way on physical hardware. Use it at your own risk. The authors are not responsible for any damage, data loss, or other issues arising from its use.