frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

It's School time: Adventures in hacking an old Kindle

https://samkhawase.com/blog/hacking-kindle/
176•FlyingSnake•7mo ago

Comments

dmitrygr•7mo ago
4 significant figures on weather temperature is kind of funny to look at. Must be some very accurate forecasts
mobilemidget•7mo ago
I was just here to write the same thing :) imagine it being 0.01 degrees too warm or cold
alnwlsn•7mo ago
Reminds me of those times I work with temperature sensors which report in eighths of a degree. 3 decimal places to give less than one decimal place of precision. You can round, but somehow that doesn't feel right.
FlyingSnake•7mo ago
I did that on purpose. My daughter is learning decimal place value system in school and I thought it would be a cool Easter Egg for her.
mahi_novice•7mo ago
Love this! Always fun to do stuff like this.
gitroom•7mo ago
lol i get weirdly obsessed with decimal places on stuff like this too - makes me laugh every time.
mtlynch•7mo ago
>I designed a backend API that collected the data in real-time data and exported it as a PNG image.

Does anyone know why in these Kindle modding dashboards, they always generate the dashbard image on an external server? Why isn't it possible to build all that functionality into an executable on the Kindle itself? You've got a Linux environment, so why can't you run all the logic locally?

dmitrygr•7mo ago
Most people today do not know how to program in the confines of 256MB of RAM and are not aware that languages other than javascript exist.
supportengineer•7mo ago
I expected the Kindle to do a few api calls and call ImageMagick but instead, in Cloudflare, it sets up a headless browser, and renders a web page to a PNG file on the server, and then only the final png image gets returned to the Kindle.
kovac•7mo ago
I built this dashboard. The price curves and text are rendered locally from the microcontroller and painted pixel by pixel. Letters use raster fonts stored locally, price curves are generated on the fly. It can be done, it takes a bit of care. Mine only has ~400KB memory. It must be a lot easier on the Kindle, I think it runs Java even.

https://www.asciimx.com/projects/etlas/

FlyingSnake•7mo ago
Thanks for sharing your project, it is very cool! I'll check it out and see if I can get it to work.

Kindle is very hackable if you're ready to endure some weird quirks. E.g. You can install Python on kindle or do custom software using various tools like Gcc, clang, Perl etc.

1: https://wiki.mobileread.com/wiki/Python_on_Kindle

2: https://wiki.mobileread.com/wiki/Kindle_Hacks_Information#Ki...

kovac•7mo ago
Sure, if you run into issues, feel free to drop me an email. My address is on the home page.

Thanks for sharing the resources! Great to connect with fellow e-paper enthusiasts :)

seba_dos1•7mo ago
...and if you're not ready for enduring weird quirks, just launch stuff out of Debian chroot within Xephyr. I've used Pidgin this way many years ago.
FlyingSnake•7mo ago
It is definitely possible to draw the images on the Kindle client, e.g. KoReader does that. I've mentioned 2 different ways in the article FBInk and Kindlet. I found it a bit cumbersome to use these tools and the tooling is bit iffy. It was easier for me to just download it from the server.

[1]: https://github.com/NiLuJe/FBInk

[2]: https://wiki.mobileread.com/wiki/Kindlet_Index

floren•7mo ago
I'm just curious about the best way to generate a dashboard image locally without invoking a web browser -- I'm quite terrible at web programming and would be much more comfortable with ImageMagick or even troff.
bigiain•7mo ago
In case the author ever sees this...

If you have that battery level available off the Kindle, you can use it to turn a wifi "smart plug" on and off, to automatically top the charge up only when required.

(Or, more old-school, use a powerpoint timer set to only power up for a short time each day. I did this way back, when the place I worked decided they needed iPads stuck next to meeting room doors to stop arguments about who had it booked, but when they first installed them they left them plugged into the charger 24x7, and the batteries in them would puff up in 8-12 months and kill the iPads. Putting the charger in a timer so they only charged hour a day saved them about $6,000 a year in puffed up iPads.)

password4321•7mo ago
Last week I xkcd#1053'd (aka lucky 10,000'd) https://chargie.org thanks to https://news.ycombinator.com/item?id=43766728#43767575 (additional anecdata: https://hn.algolia.com?query=chargie&type=comment)

>an interposing dongle [$25 on sale!] which provides a Bluetooth receiver and app that lets you set arbitrary preferences on your phone and fast charge, slow charge, or turn off the charger at configurable state of charge setpoints or times

Another option I learned about just now for Macbooks: https://github.com/AppHouseKitchen/AlDente-Charge-Limiter (macOS 11+; $25 Pro version)

And I saw your recommendation elsewhere in the previous discussion I dug up (https://news.ycombinator.com/item?id=31841051#31842078) because someone mentioned that power cycling the battery on a timer would still eventually encounter the same problem.

>Trades one problem for another. Now you are cycling the battery frequently which is going to do the same thing in the end.

coderatlarge•7mo ago
isn’t this what usb-pd is for?
Abishek_Muthian•7mo ago
I’d add using those old 1A charger for slow charging the device overnight to reduce heat generated during charging especially during summer.
FlyingSnake•7mo ago
Author here: Thanks for the suggestion. I do have a wifi smart plug and I can take a look at this near trick. So far it's easier to charge it once a month as it runs fine for 2-3 weeks in one charge.
stavros•7mo ago
Is there anything like this that can wake the Kindle up, get an image, and then sleep it again? I have an old Kindle that I want to show stuff on, but I don't want to keep it plugged in all the time.
kovac•7mo ago
I work on e-paper displays. Are you looking for something built with a Kindle?

This project of mine is similar to what you described with a power down mode. The power down and wake up can be automated. I'm looking to build a small business around such projects. Not sure how viable it is.

https://www.asciimx.com/projects/e-reader/

stavros•7mo ago
It does seem pretty viable, TRMNL are pretty popular:

https://usetrmnl.com

I made some stuff of mine for that display too, but the easiest way is to just use TRMNL's firmware, as it supports autoupdates and a few other nice features.

Here's mine:

https://www.stavros.io/posts/making-a-trmnl-device/

Plus this:

https://www.stavros.io/posts/making-the-timeframe/

And a few more things I never wrote about.

The Kindle project is just because I have a few Kindles lying around, so I might as well use them!

kovac•7mo ago
That's beautiful, thanks for sharing. I was wondering what may be the best way to do frames. Custom frames, here in Singapore, are a bit expensive relative to the rest of the parts.
stavros•7mo ago
3D printing is one good way, the other way I used is just to get a frame from IKEA and 3D print the inside white bit to my exact dimensions, which worked beautifully.

I should post that build too, with some photos, I really like it.

sciencesama•7mo ago
Develop a 3d case and a finished pcb. Check out trmnl
FlyingSnake•7mo ago
> wake the Kindle up, get an image, and then sleep it again

This is basically what I'm doing with this project. I tested the client by getting a dummy image initially. This line in the code puts it to sleep for x-duration. The kindle runs for ~2-3 weeks on a single charge.

[1^]: https://github.com/samkhawase/kindle-dash-client/blob/master...

stavros•7mo ago
That's what I wanted, thank you!
FlyingSnake•7mo ago
If you just want to test if your image works, I've created a handy script for testing. It downloads the image, displays it for 20 seconds, and reverts the Kindle back to its normal state.

https://github.com/samkhawase/kindle-dash-client/blob/master...

stavros•7mo ago
That will be useful, thanks. I'll try a proof of concept soon.
FlyingSnake•7mo ago
Best of luck!

Please feel free to ping me if you need any help.

stavros•7mo ago
That's very kind, I will, thanks (though your scripts are really straightforward so I don't anticipate any trouble).
seba_dos1•7mo ago
bash, rtcwake, any X11 client
megous•7mo ago
Hacking here seems to have been done by others.

Anyway, speaking of hacking... check out what pocketbook creators themselves did with some of the older pocketbook models. They managed to drive eInk display panel from a normal RGB LCD interface, because they used a SoC (A13) without eInk interface. One of the weirder things I saw during my reverse-engineering adventures. :D

badmonster•7mo ago
highlights for me:cf-wasm for image transformation and the graceful handling of real-world issues like BVG strikes.
marcod•7mo ago
I just realized I had a few Kindle Fires lying around in a box.

I wanted to give one to a friend who didn't have a good phone so she could listen to audio books. Turns out those old Fires are no longer updated and Android is so old I can't even install anything current on it.

I hope to change that with https://kindlemodding.org/ which was mentioned, so appreciate the writeup :)

theblazehen•7mo ago
They don't cover the Kindle Fires, however you can get a _slightly_ newer Android from https://xdaforums.com/f/kindle-fire-android-development.1309...
marcod•7mo ago
Darn, I checked XDA but must have been in the wrong forum because that's really what I was looking for - thanks!
wintermutestwin•7mo ago
https://kindlemodding.org/

I appreciate finding that site as well, but I thought it strange that I couldn't find a "why jailbreak" section. Does anyone here know?

I don't want Amazon's spying on me so I have just kept it in Airplane mode since I bought it 9 years ago. It seems to work fine ¯\(ツ)/¯

larodi•7mo ago
Old kindles should be donated to engineering schools and academia to break it into pieces and do new hacks with them. Amazon produced so many of them there’s always one 7” lying around at a friend’s desk.
myself248•7mo ago
Are you aware of a school that proactively declares that they accept such donations?

Speaking in my volunteer post as the coordinator of a makerspace electronics lab, we were buried in e-waste "abandonations" (someone literally unloaded a pickup truck full of mouse-eaten boxes of plastic junk outside our door one morning, and it took us a week of volunteer hours to dispose of it all properly) until we got very aggressive about requiring advance approval by the appropriate coordinator.

larodi•7mo ago
No, but I've been campaigning at university where I teach to do it. As you may expect - very few people at academia do bold moves just out of love for knowledge these days. So, perhaps, I'm going to have to do it myself sooner or later.

I believe the tagline should be - "welcome to the hackaton. you live in a post-singularity world where only legacy chips are available, and the establishment controls all the silicon producing facilities. your job is to bring equipment back to live in order to help the resistance"

Of course the entry exam is having students spend a day without mobiles, in order to get used to this reality :D

myself248•7mo ago
Every syllabus should be part manifesto. I love this.
ishanmahapatra•7mo ago
Unfortunately, Winterbreak doesn’t work on Kindles with the latest firmware (5.18.1 or 2). And there’s no way to downgrade the firmware to an earlier one without having previously jailbroken your device.

So now it’s a waiting game to see when the new method for the latest firmware will be ready for the public.

goodboyjojo•7mo ago
cool read. its always good to breath life into an old device with hacking and modding
shlip•7mo ago
A bit tengential to the subject here, but maybe someone can tell which kindle is the easiest to jailbreak without it having to be registered ? I see that Windbreak needs device registration and that's a bit of a show stopper for me...
myself248•7mo ago
Same, same. I picked up a couple of used ones at an estate sale and I just want them as e-ink tablets. It's weird to me that there's no from-the-ground-up total firmware replacement for these.
sciencesama•7mo ago
The bootloader is locked !!
butz•7mo ago
It might be faster, and cheaper, to build SVG file and render it on server directly to correct format.

Show HN: Gemini Pro 3 hallucinates the HN front page 10 years from now

https://dosaygo-studio.github.io/hn-front-page-2035/news
2895•keepamovin•22h ago•833 comments

Revisiting "Let's Build a Compiler"

https://eli.thegreenplace.net/2025/revisiting-lets-build-a-compiler/
132•cui•7h ago•19 comments

Rust in the kernel is no longer experimental

https://lwn.net/Articles/1049831/
679•rascul•10h ago•461 comments

PeerTube is recognized as a digital public good by Digital Public Goods Alliance

https://www.digitalpublicgoods.net/r/peertube
581•fsflover•20h ago•113 comments

Map of All the Buildings in the World

https://gizmodo.com/literally-a-map-showing-all-the-buildings-in-the-world-2000694696
15•dr_dshiv•5d ago•5 comments

Putting email in its place with Emacs and Mu4e

https://eamonnsullivan.co.uk/posts-output/email-setup/2025-12-3-putting-email-in-its-place/
63•eamonnsullivan•6d ago•13 comments

Amazon EC2 M9g Instances

https://aws.amazon.com/ec2/instance-types/m9g/
73•AlexClickHouse•4d ago•21 comments

When a video codec wins an Emmy

https://blog.mozilla.org/en/mozilla/av1-video-codec-wins-emmy/
187•todsacerdoti•4d ago•34 comments

Bruno Simon – 3D Portfolio

https://bruno-simon.com/
641•razzmataks•21h ago•149 comments

Mistral releases Devstral2 and Mistral Vibe CLI

https://mistral.ai/news/devstral-2-vibe-cli
652•pember•22h ago•304 comments

If you're going to vibe code, why not do it in C?

https://stephenramsay.net/posts/vibe-coding.html
532•sramsay•20h ago•495 comments

Django: what’s new in 6.0

https://adamj.eu/tech/2025/12/03/django-whats-new-6.0/
312•rbanffy•17h ago•94 comments

Running Linux on a RiscPC – why is it so hard?

https://thejpster.org.uk/blog/blog-2025-12-02/
18•zdw•1w ago•6 comments

Cloth Simulation

https://cloth.mikail-khan.com/
59•adamch•1w ago•10 comments

Pebble Index 01 – External memory for your brain

https://repebble.com/blog/meet-pebble-index-01-external-memory-for-your-brain
518•freshrap6•22h ago•501 comments

Italy's longest-serving barista reflects on six decades behind the counter

https://www.reuters.com/lifestyle/culture-current/anna-possi-six-decades-behind-counter-italys-ba...
220•NaOH•5d ago•116 comments

Passing the Torch: James Gross on the Next Chapter of Micromobility Industries

https://micromobility.io/news/how-charging-is-reshaping-the-business-of-shared-scooters-and-e-bikes
15•prabinjoel•6d ago•0 comments

10 Years of Let's Encrypt

https://letsencrypt.org/2025/12/09/10-years
700•SGran•18h ago•287 comments

Are the Three Musketeers allergic to muskets? (2014)

https://www.ox.ac.uk/news/arts-blog/are-three-musketeers-allergic-muskets
44•rolph•7h ago•25 comments

Donating the Model Context Protocol and establishing the Agentic AI Foundation

https://www.anthropic.com/news/donating-the-model-context-protocol-and-establishing-of-the-agenti...
251•meetpateltech•20h ago•111 comments

McDonald's pulls AI Christmas ad after backlash

https://www.bbc.co.uk/news/articles/czdgrnvp082o
18•mindracer•39m ago•11 comments

So you want to speak at software conferences?

https://dylanbeattie.net/2025/12/08/so-you-want-to-speak-at-software-conferences.html
192•speckx•18h ago•100 comments

Writing our own Cheat Engine in Rust

https://lonami.dev/blog/woce-1/
87•hu3•5d ago•12 comments

Cloudflare error page generator

https://github.com/donlon/cloudflare-error-page
70•sawirricardo•11h ago•11 comments

The stack circuitry of the Intel 8087 floating point chip, reverse-engineered

https://www.righto.com/2025/12/8087-stack-circuitry.html
121•elpocko•19h ago•54 comments

A supersonic engine core makes the perfect power turbine

https://boomsupersonic.com/flyby/ai-needs-more-power-than-the-grid-can-deliver-supersonic-tech-ca...
127•simonebrunozzi•21h ago•212 comments

Linux CVEs, more than you ever wanted to know

http://www.kroah.com/log/blog/2025/12/08/linux-cves-more-than-you-ever-wanted-to-know/
74•voxadam•14h ago•33 comments

Kaiju – General purpose 3D/2D game engine in Go and Vulkan with built in editor

https://github.com/KaijuEngine/kaiju
198•discomrobertul8•22h ago•90 comments

30 Year Anniversary of WarCraft II: Tides of Darkness

https://www.jorsys.org/archive/december_2025.html#newsitem_2025-12-09T07:42:19Z
245•sjoblomj•1d ago•166 comments

Qt, Linux and everything: Debugging Qt WebAssembly

http://qtandeverything.blogspot.com/2025/12/debugging-qt-webassembly-dwarf.html
77•speckx•16h ago•24 comments