How wozt/ch-tv-research works
CH-TV-Research is a curated security and reverse-engineering toolkit for the CHiQ U43H7L MStar television. The main operator workflow is to use the command-line/GUI tools or WebUI client to inspect and control a device, while separate research branches investigate boot and storage, recovery, hardware interfaces, and browser/media behavior. The graph includes the major documented capabilities and central WebUI modules; several subsystem links rely on README statements because their implementation files were not sampled.
Main entry points: gtk_app.py GTK dashboard · curve.c Overlay animation · dfb2i.c DirectFB overlay · client.py Read-only client
Components 24
WebUI control
- GTK dashboard
mstar_webui/gtk_app.py - Read-only client
mstar_webui/client.py - TV configuration
mstar_webui/config.py - Control actions
mstar_webui/control.py - TV discovery
mstar_webui/discovery.py - Home Assistant
mstar_webui/home_assistant.py
Device operations
- tvtool console
tools/tvtool/tvtool.c - CLI controller
tools/tvtool/tvctl.py - Unbrick and flashing
analysis/unbrick - eMMC inspection
analysis/dump_emmc.py
TV hardware tools
- IR proxy
tools/irserv/irserv.c - DirectFB overlay
tools/dfbtest/dfb2i.c - Bitmap font
tools/dfbtest/font8x8_basic.h - Overlay animation
tools/dfbtest/rotating_line/curve.c - Parametric geometry
tools/dfbtest/rotating_line/parametric.c - Curve declarations
tools/dfbtest/rotating_line/curve.h - Geometry declarations
tools/dfbtest/rotating_line/parametric.h - Expression declarations
tools/dfbtest/rotating_line/expression.h - Hardware probes
tools/secprobe
Platform research
- Boot-chain analysis
analysis - Chromium audit
analysis/probes/chromium47-offline-audit.py - Media edge cases
analysis/media-tests
Other components
- Researcher
- CHiQ television
Connections 28
- Researcher → GTK dashboard: inspect or control
- GTK dashboard → Read-only client: uses
mstar_webui/gtk_app.py - GTK dashboard → TV configuration: uses
mstar_webui/gtk_app.py - GTK dashboard → Control actions: uses
mstar_webui/gtk_app.py - GTK dashboard → TV discovery: uses
mstar_webui/gtk_app.py - GTK dashboard → Home Assistant: uses
mstar_webui/gtk_app.py - Read-only client → CHiQ television: WebSocket queries
mstar_webui/client.py - Researcher → tvtool console: run diagnostics
- Researcher → CLI controller: drive console
- tvtool console → CHiQ television: UART, SSH, WebUI
- CLI controller → CHiQ television: device diagnostics
- Researcher → Unbrick and flashing: recover device
- Unbrick and flashing → CHiQ television: flash partitions
- Researcher → eMMC inspection: map storage
- Researcher → IR proxy: run IR proxy
- IR proxy → CHiQ television: forwards remote input
- Researcher → DirectFB overlay: show overlay
- DirectFB overlay → Bitmap font: renders text with
tools/dfbtest/dfb2i.c - DirectFB overlay → Overlay animation: draws animation
- Overlay animation → Parametric geometry: uses geometry
tools/dfbtest/rotating_line/curve.c - Overlay animation → Curve declarations: implements declarations
tools/dfbtest/rotating_line/curve.c - Overlay animation → Expression declarations: includes declarations
tools/dfbtest/rotating_line/curve.c - Parametric geometry → Geometry declarations: implements declarations
tools/dfbtest/rotating_line/parametric.c - Geometry declarations → Curve declarations: includes declarations
tools/dfbtest/rotating_line/parametric.h - Researcher → Hardware probes: probe hardware
- Researcher → Boot-chain analysis: study boot and storage
- Researcher → Chromium audit: audit browser
- Researcher → Media edge cases: exercise playback