Rust (and Slint) on a Jailbroken Kindle
4 hours ago
- #Kindle
- #Embedded
- #Rust
- Jailbroke a Kindle Paperwhite to repurpose it as a dashboard or clock.
- Used Zig and cargo-zigbuild to cross-compile Rust for ARMv7 with musl libc.
- Enabled SSH access via USBNetwork for transferring files and running apps.
- Implemented a Slint GUI backend by rendering to the framebuffer (/dev/fb0) and refreshing via ioctl.
- Handled touch input by reading from /dev/input/event1 and mapping Linux multi-touch events to Slint.
- Debugged issues like screen refresh and touch input to get a functional counter app.
- Published the Kindle backend for Slint as a crate on crates.io.