====== Kindle 4 NT ====== Model D01100 - 4th generation Kindle ===== Jailbreak ===== https://wiki.mobileread.com/wiki/Kindle4NTHacking Download jailbreak from http://www.mobileread.com/forums/showthread.php?t=191158 https://www.mobileread.com/forums/attachment.php?attachmentid=141180&d=1439936080 - Connect Kindle via micro USB to PC - copy the data.tar.gz, ENABLE_DIAGS and diagnostic_logs to the Kindle's USB drive's root - Safely remove the USB device, remove the cable and restart the Kindle (Menu -> Settings -> Menu -> Restart) - Device restarts into diagnostics mode. Select "D) Exit, Reboot or Disable Diags" (using the 5-way keypad) - Select "R) Reboot System" and "Q) To continue", press 'FW Left' (left on 5-way keypad) to select an option - Wait about 20 seconds: you should see the Jailbreak screen for a while, and the device should then restart normally - After the Kindle restarts, you should see a new book titled "You are Jailbroken", if you see this, the jailbreak has been successful. ===== SSH ===== http://www.mobileread.com/forums/showthread.php?t=88004 https://www.mobileread.com/forums/attachment.php?attachmentid=141341&d=1440341478 - copy Update_usbnetwork_0.57.N_k4_install.bin via usb to kindle root, then launch it by going to [Menu] -> Settings -> [Menu] -> Update Your Kindle. - reconnect kindle - edit Kindle/usbnet/etc/config - set wifi to true, wifi_sshd_only to true, openssh true, volumd true - add ssh keys to Kindle/usbnet/etc/authorized_keys - enable pubkeys in sshd_config - create file 'auto' in root - configure wifi in [Menu] -> Settings -> Wifi - reboot kindle writable root partition: mntroot rw ===== root password ===== Note serial number from menu -> settings -> device info Use javascript/online version to get likely root password: https://www.sven.de/kindle/ Or use python script: https://www.mobileread.com/forums/showthread.php?p=1873256 #!/usr/bin/env python import hashlib print("fiona%s"%hashlib.md5("XXXYOURSERIALXXX\n".encode('utf-8')).hexdigest()[7:11]) ===== KUAL ===== KUAL doesn't quite work right. Needs to be installed with disabled wifi, then works but stops working once wifi is enabled. https://www.mobileread.com/forums/showthread.php?t=203326 https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public/Touch/kindle-mkk-20141129-r18833.tar.xz https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public/KUAL/KUAL-v2.7.29-g7750a3a-20221017.tar.xz disable wifi -> aeroplane mode copy mkk installer for K4 into root copy v1 azw file into document folder menu->settings->menu->update kindle helper+ -> "prevent OTA updates" https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public/KUAL/kual-mrinstaller-1.7.N-r18983.tar.xz https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public/KUAL/kual-kual-plus-0.2.N-r13380.tar.xz https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public/KUAL/kual-gawk-1.5.N-r18977.tar.xz ===== Dashboard ===== This github creates a web page with chart js, then uses node js and chrome in headless mode to create a png image from it which is displayed on the kindle: https://github.com/rstreefland/kindle-octopus-agile-dashboard example url used by kindle for dashboard: http://192.168.1.2:6000/?token=12345678 {{:howto:pasted:20231103-123326.png?400}} Ssh into kindle and start dashboard: ssh root@192.168.1.20 #pw fiona4da /mnt/us/dashboard/start.sh ===== Links ===== https://www.mobileread.com/forums/showthread.php?t=203326 https://www.mobileread.com/forums/showthread.php?t=225030 https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Public_Key_Authentication https://www.mobileread.com/forums/showthread.php?t=352957 https://www.mobileread.com/forums/showthread.php?p=1873256 https://wiki.mobileread.com/wiki/Kindle4NTHacking https://hub.docker.com/r/shivjm/node-chromium/tags https://github.com/rstreefland/kindle-octopus-agile-dashboard/blob/main/kindle/local/fetch-dashboard.sh https://github.com/pascalw/kindle-dash/blob/main/docs/screenshotter/screenshot.js https://github.com/rstreefland/kindle-octopus-agile-dashboard