r/lowlevel • u/tinymoat • 13h ago
r/lowlevel • u/razecrsx • 21h ago
GitHub - razecrs/windissect: Turns Windows binaries and their PDBs into proven C, C++ and Rust interfaces, with per-build history and diffs.
github.comr/lowlevel • u/Early-Toe646 • 21h ago
I emulated a Realtek Smart TV SoC in QEMU and booted full Android TV 9
github.comI reversed a TCL Smart TV board (Realtek RTD2841 / RTK284x SoC, AArch32) with no public datasheets and wrote a custom QEMU machine model to boot its commercial Android 9 Pie firmware.
I just reached the milestone where the full 1080p launcher boots and can be navigated with a host mouse and IR remote.
The big hurdles I had to solve:
- Hardware Timer Reversal Realtek's timer registers count down, breaking Linux's monotonic sched_clock. I patched the QEMU model to expose limit - count
- Freestanding PID 1: Built mini_init in pure ARM32 syscalls without glibc to manage Android cgroups, permissions, and bypass crashing OEM telemetry daemons.
- Mali GPU Replacement**: With no proprietary GPU drivers, I debloated the ROM and bound ARM32 Google SwiftShader so SurfaceFlinger could render the entire desktop on the CPU.
- Native Input: Added a virtual USB OHCI controller and mapped Venus IR scancodes for direct mouse and keyboard navigation in the host window.
Demo video is in the repo:
r/lowlevel • u/DataBaeBee • 21h ago