Rust (and Slint) on a Jailbroken Kindle

sverre.me

223 points by homarp a day ago


RAZKOM - 14 minutes ago

I jailbroke my kindle a while back and was super excited to do it, but then didn't really do anything past that. Besides de-amazoning it, I found no real value nor supplemental features that were actually worth while. That being said, I don't regret doing it, just kind of wish there was more.

sandreas - 21 hours ago

This is cool, thanks for sharing. I recently compiled Rust / Slint on a LicheeRV Nano, which is RISC-V 64bit musl[1]. It's a little portable audio player I'm working on, the compile process is done via custom Cross docker image.

Currently I'm evaluating Battery Pal[2], because the TP4057 Module was not stable enough to power USB-C to 3.5mm Adapters reliably. So far it seems to work as expected.

1: https://github.com/nanowave-player/nanowave-ui

2: https://pnlabs.ca/batterypal/

FlyingSnake - 20 hours ago

Great article. Hacking old kindles is fun! I encourage everyone to give it a try. The retro feel of eink makes it special for me.

I wrote about my experience in cross compiling zig on an old kindle some time ago.

https://samkhawase.com/blog/zig-kindle-gdb/

homarp - a day ago

the code: https://github.com/sverrejb/slint-kindle-backend

ilvez - 7 hours ago

Would be so nice to use those previous Paperwhites for something like this as well. Instead I just lose them while travelling. Just lost my last 2019/smth edition. 3rd one with such fate..

_hzw - 12 hours ago

I am working on a self-hosted library server for jailbroken kindle and opted for using pure Rust for the KUAL app to sync books and annotations with the server.

It's just running `cargo build --release --target armv7-unknown-linux-musleabihf` with a .cargo/config.toml:

``` [target.armv7-unknown-linux-musleabihf] linker = "rust-lld" rustflags = ["-C", "link-self-contained=yes"]. ```

the downside is I can't use any c-deps. :)

hardwaresofton - 21 hours ago

This is awesome! How reliable are kindle jailbreaks/avoiding updates, etc?

Have opted for other devices like the xteink (or a boox in the future) due to what seemed like a relatively small ecosystem around “aftermarket” kindle modifications.

The kindle would be a great option if it could be reliably jailbroken and loaded with custom software

DoctorOW - 21 hours ago

This looks cool, and one of the first posts I've seen on HN in a few months where I genuinely wanted to try it.

voidUpdate - 11 hours ago

Is there a list somewhere of jailbreak-able kindles? I've been thinking of getting one to toy with for a while, but I don't want to accidentally get one that is more heavily locked down, or that we cant run our own code on for some reason

KolmogorovComp - 19 hours ago

Tangential, how does slint fare compared to Druid/egui(?)

ElenaDaibunny - 15 hours ago

zig as a cross-compile backend for rust is so good.

ge96 - 3 hours ago

Funny I have a paperwhite too I hate that forced ad thing (on screen wake) which apparently you can pay to get rid of

- 11 hours ago
[deleted]
IshKebab - 21 hours ago

Good work! I guess you need to leave it plugged in?

nelox - 20 hours ago

[flagged]