View Single Post
Old 05-02-2019, 07:14 PM   #1369
kindle_man
Junior Member
kindle_man began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2019
Device: Kindle Touch
Unbricking instructions for Kindle Touch using Kubrick

This is my first post here. I was able to install version 5.1.2 on two old Kindle Touches I had lying around unused. I used Kubrick with some modifications. I made notes for myself in case I had to do it again and I thought I'd share them with people here. These instructions are for people well versed in Linux, but I added pretty detailed notes.

Done on a Kindle Touch. Adjust files accordingly.

Boot kubrick usb drive made with rufus. Start kubrick until it fails with error. Mount usb (usually /dev/sdb1 or /dev/sdc1. Can be found by running dmesg) on /media/cdrom.
Run command “mount /dev/sdb1 /media/cdrom” to accomplish this.
Go to /media/cdrom/kubrick (type “cd /media/cdrom/kubrick” and <enter>) and run “sh mountjava.sh”. Go back to /root (type “cd /root” and <enter>) and run “sh autostart.sh” to start kubrick, which should start now with no error. Go through steps on kubrick until usbnet is up and running. The only trick here is to be able to get Kindle in recovery mode while plugged into your computer. Follow the on-screen instructions. Then open command prompts on tty4 and tty6 by doing CTRL-ALT-Fn-F4 and CTRL-ALT-Fn-F6. On tty4 log in to the local machine (username: root and blank password). On tty6 log in locally and then ssh into the Kindle “ssh root@192.168.15.244” (password:mario). On tty4 (local machine’s command prompt): Transfer all scripts from /media/cdrom/kubrick/resources/scripts/kindle to Kindle using scp. The command is “scp /media/cdrom/kubrick/resources/scripts/kindle/* root@192.168.15.244:/tmp/” This transfers all the files to Kindle’s /tmp directory. Run command: “mkdir /tmp/kubrick_sfs” and then
“mount -o loop -t squashfs /media/cdrom/kubrick/resources/devices/k5/fastboot.sfs /tmp/kubrick_sfs”
Run command: “scp /tmp/kubrick_sfs/main_kernel root@192.168.15.244:/mnt/us/” (password: mario).
Run: “scp /media/cdrom/kubrick/kt_5.1.2-mmcblk0p1-main.img root@192.168.15.244:/mnt/us/” (password: mario). I copied the file “kt_5.1.2-mmcblk0p1-main.img” to the USB drive before I started. I got it from http://www.mediafire.com/file/5yj6l3...p1-main.img.gz

Everything else is done on tty6. Remember to toggle between the consoles (tty’s) with CTRL-ALT-Fn-F4 or CTRL-ALT-Fn-F6 key combinations. Be sure to issue command “mntroot rw” after logging in to Kindle to mount filesystem read/write. Issue command “cd /tmp” to change to /tmp directory.
Issue the following commands:
“dd if=/mnt/us/main_kernel of=/dev/mmcblk0 bs=4096 seek=65”
“dd if=/mnt/us/kt_5.1.2-mmcblk0p1-main.img of=/dev/mmcblk0p1 bs=4096”
“sh blast_mnt_us.sh”
“sh blast_var_local.sh”
“sh install_jailbreak.sh” <optional>
“sh reboot_main.sh”

When Kindle boots up it should be unbricked and on 5.1.2 and optionally jailbroken. Be sure to install “kindle-mkk-20141129” by adding the file “Update-mkk-20141129-k5-ALL_install.bin” to root directory from within Windows. The directory is /mnt/us on the Kindle. Then update kindle in the normal way through the menu. Once it boots back up, install KUAL-v2.7 by placing “KUAL-KDK-2.0.azw2” file in the documents directory on the Kindle – /mnt/us/documents, which is done when mounted in Windows (in Windows it’s just documents directory). Unzip “koreader-kindle-arm-kindle5-linux-gnueabi-v2019.04.zip” at the root of the Kindle in Windows (/mnt/us on Kindle) so that it creates koreader and extensions directories. Install usbnet by putting file “Update_usbnet_0.21.N_install_touch_pw.bin” in root directory on Kindle in Windows (/mnt/us on Kindle) and then updating device in normal way through menu. When it boots back up attach Kindle to Windows and go to usbnet/etc directory. Edit the file “config” and change the ip address to one that will work on your subnet and enable ability to connect over wifi. Leave everything else unchanged. Reboot Kindle one more time by holding in power button for 25 seconds or so. When it boots back up both koreader and usbnet should be available in KUAL. Usbnet can be toggled for wireless ssh connectivity from within usbnet. Be sure to log in over ssh and change the root password from “mario” to something else.

Good luck!
kindle_man is offline   Reply With Quote