# Kindle Dashboard The goal is to have a dashboard that can show me... the weather. /Very/ creative I know. I do want the battery to last a long time though. We have to: 1. *Unlock the Kindle* https://kindlemodding.org Including, installing MPRI and KUAL (above) 2. *Install Screensaver Hacks* https://www.mobileread.com/forums/showthread.php?t=225030 The newer ones are listed under "Packages targeting the Kindle 5". 3. *Install OnlineScreenSaver* For me, the package I needed was https://github.com/FalconFour/onlinescreensaverPW2. It wasn't working reliably, so I modified it *TODO*. 4. *Serve the dashboard* I wrote a simple web server to show the weather: https://pypi.org/project/kindle-dashboard/ ## Flaky Flash The auto-update stopped working the very next day. When I plugged it in I found a 0 bytes `config.sh` file. Whenever I tried to write my files again, the problem repeated. It seemed the files were not saving. Running `fsck.vfat` revealed discrepancies between the filesystem metadata and the file contents. I tried changing my USB cable and using a safer unmount strategy; I had forgotten to `udisksctl power-off` before unplugging. It was all to noavail. I came across https://github.com/whitslack/flakyflash. It was a bit confusing to run, but eventually I ran the command ``` flakyflash --verbose --free-clusters=read,f3write,reread /dev/sda1 ``` Once I had it compiled, I ran it and it didn't complain. I unplugged and replugged the device and then ran: ``` flakyflash --verbose --free-clusters=f3read /dev/sda1 ``` It found 5 bad clusters.