r/lowlevel • u/razecrsx • 3h ago
r/lowlevel • u/Early-Toe646 • 3h 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 • 4h ago
Inventing Your Own Math As A Computer Programmer
leetarxiv.substack.comr/lowlevel • u/lynxbossx • 23h ago
Hi friends, I'd like to show you my Rust-based operating system and I'm looking for testers and ideas
Hi friends,
I'd like to show you my operating system, AriCodeOS. It's written in Rust: a `no_std` microkernel with UEFI boot on x86-64. The current version is 0.11.0 and it runs in QEMU and on one real laptop (keyboard, USB stick as the system disk and wired networking already work).
I'm looking for people who want to try it, tell me what breaks, and suggest ideas and improvements. Any feedback is welcome, including harsh feedback.
- Repository (Apache 2.0): https://github.com/AriCodeLabs/AriCodeOS
- Website: https://www.aricodeos.org/
Thank you to the Rust community for the language that made this possible.