Firmware Hero
0

G2H Matter Camera firmware

Custom all-Matter firmware for the Aqara Camera Hub G2H + reversible vendor-HomeKit disable patch (no vendor binaries redistributed)

  • Custom firmware
  • Alpha
  • Medium brick risk
  • Reversible

Source code

This project hasn't been claimed by its maintainer yet, so its details come from the community. Is it yours? Claim it

Before you start

How hard is it?
HardUses the command line or developer tools.
What you need
  • Comfort with the command line
  • A computer
Can it break my device?
Small chance of trouble, with a way to recover.
Can I undo it?
Yes. You can go back to the official software.
Get itOpens github.com

Did it work for you?

Did G2H Matter Camera firmware work on your Aqara Camera Hub G2H?

No reports yet.

One-tap reports from owners. Bricked reports are checked before they count.

Compatibility

Devices: Aqara Camera Hub G2H.

No compatibility information yet.

Getting started

From the project's README ("Quickstart"):

  1. Install the Matter app (adds our service; does not touch the vendor app): see docs/INSTALL.md (network install) or docs/REPRODUCE.md (the camera's own app.bin boot path). Provide a per‑device Matter identity and the enabled flag as described.

  2. Disable the vendor HomeKit (optional): see firmware-patch/HOMEKIT-DISABLE.md. A size‑preserving one‑byte change to the camera's hap.tcp mDNS service‑type string (hap→xap) makes the camera unrecognizable to HomeKit controllers, so it disappears from HA / Apple Home and can't be paired. Applied in the boot‑time build via the camera's native hexdump patch technique, behind a cold‑boot guardian that auto‑reverts on failure. Verified live (no hap advert after the patch).

  3. Pair over Matter: see docs/PAIRING.md.

Read the full instructions

Risk and recovery

Brick risk
Medium
Reversible
Yes
Requires opening the device
No

From the project's README ("⚠️ Read first"):

  • This is unofficial, reverse‑engineered firmware work. Use at your own risk. It can brick video/streaming if a step goes wrong. There is no warranty.
  • Everything here is designed to be reversible: the original vendor camera stays in /local/app.tar.xz, and the HomeKit‑disable install uses a time‑boxed cold‑boot guardian that auto‑reverts to the known‑good boot if a boot does not come up healthy.
  • You need root Telnet access to your own camera and basic comfort with a shell.
  • Respect the licenses of the third‑party components (see docs/ and licenties references); respect Aqara's rights — do not redistribute their binaries.

Read the full instructions