r/lowlevel • • 13h ago

Can't call subroutine from a linked in object file in GBA assembly

Thumbnail reddit.com
1 Upvotes

r/lowlevel • • 21h ago

GitHub - razecrs/windissect: Turns Windows binaries and their PDBs into proven C, C++ and Rust interfaces, with per-build history and diffs.

Thumbnail github.com
1 Upvotes

r/lowlevel • • 21h ago

I emulated a Realtek Smart TV SoC in QEMU and booted full Android TV 9

Thumbnail github.com
1 Upvotes

I 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:

  1. Hardware Timer Reversal Realtek's timer registers count down, breaking Linux's monotonic sched_clock. I patched the QEMU model to expose limit - count
  2. Freestanding PID 1: Built mini_init in pure ARM32 syscalls without glibc to manage Android cgroups, permissions, and bypass crashing OEM telemetry daemons.
  3. 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.
  4. 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 • • 21h ago

Inventing Your Own Math As A Computer Programmer

Thumbnail leetarxiv.substack.com
0 Upvotes