Skip to content

Instantly share code, notes, and snippets.

@estysdesu
Last active September 21, 2024 13:11
Show Gist options
  • Save estysdesu/c90478aac75b732820be6720254aeda7 to your computer and use it in GitHub Desktop.
Save estysdesu/c90478aac75b732820be6720254aeda7 to your computer and use it in GitHub Desktop.
[Kindle 4: Jailbreak and SSH] #kindle #ssh #jailbreak

Following this guide: https://wiki.mobileread.com/wiki/Kindle4NTHacking#SSH.
Using Kindle 4.1 and macOS 10.14.

  1. Connect the Kindle. It should be recognized as a USB Mass Storage Device.
  2. Download the jailbreak archive
  3. Copy data.tar.gz, ENABLE_DIAGS, and diagnostic_logs to the Kindle folder.
  4. Restart the Kindle into Diagnostics Mode.
  5. Reboot the Kindle from the Diagnostics Mode. Reboot screen should show jailbroken screensaver.
  1. Download the USBNetwork archive needed to enable SSH over network access.
  2. Edit the usbnet/etc/config file if needed. I changed:
    1. K3_WIFI="true"
    2. USE_OPENSSH="true"
    3. (Optional) K3_WIFI_SSHD_ONLY="true" (only after first time connecting via SSH and setting up auto-enabled USBNetwork)
  3. (Optional) rename usbnet/DISABLED_auto to usbnet/auto to enable USBNetwork Utility start on device startup.
  4. Enable the USBNetwork Utility from the Kindle (enable the keyboard if needed); type:
    1. ;debugOn
    2. ~usbNetwork
    3. ;debugOff
  5. Connect the Kindle again.
  6. Manually configure the device IPv4:
    • IP Address: 192.168.15.201
    • Subnet: 255.255.255.0
  7. Obtain the Kindle root user password:
  8. SSH into the Kindle: ssh [email protected] and enter password from previous step
@cyrillkuettel
Copy link

cyrillkuettel commented Aug 30, 2024

By the way, you can just use telnet. This is a great trick if anyone has trouble with ssh [email protected],

Telnet is installed [source] from here easier to use:

telnet 192.168.15.244
mntroot rw
cd /mnt/us/usbnet/etc
# just put your public key in authorized_keys, so ssh will work in the future

Edit: And no, telnet doesn't require password :)

@Olzz20
Copy link

Olzz20 commented Sep 21, 2024

please make a video tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment