View Single Post
Old 03-14-2018, 07:38 AM   #14
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by rola25 View Post
Hi

Quick and dirty serial console to kindle:

1. Create RUNME.sh with following content:

Code:
#!/bin/sh

# Unload Mass Storage Gadget Module
modprobe -r g_file_storage
# Load Serial Gadget Module
modprobe g_serial

# Infinite Loop for getty
while true; do
  getty -L 115200 -i -n -l /bin/bash /dev/ttyGS0
  sleep 1
done
2. Disconnect from USB
3. run ;log runme
4. Connect USB-Port to Computer, it is now recognised as new Serial Device
5. Open devmgmt.msc on Windows, Search for Serial Port Number in Ports (e.g. COM8)
6. Connect with Putty to Serial COM8 Speed 115200
7. After use you have to kill the RUNME.sh script in Terminal because it loops itself the getty process
8. If you want Mass Storage again, reboot kindle


Greetings from Austria
rola25
It works fine on my PW3

One note: if you have usbnetwork enabled, you have to disable it before (device must be in "usb mode" status)

Thanks for sharing
encol is offline   Reply With Quote