Hello again.
Here's my custom kernel for Kindle 3 with some nice features :
- Rescue shell access over USB-Serial
- Kexec support
- Patched Recovery Mode
1. Rescue shell Boot procedure :
- After kernel is loaded by bootloader it creates required nodes and loads g_serial module for serial-over-usb mode.
- It waits 70s for connection with host machine
Connection parameters :
If user connected to Kindle terminal ( let's say via minicom )
Spoiler:
It asks for login and password, which is :
Code:
login : root
password : fiona
If no connection is found, Kindle boots as usual.
1.1 Additional scripts :
start-os - starts Kindle OS
2. Recovery mode Boot procedure :
- Reboot Kindle holding power switch for 20s, and then hold enter key on keyboard for 80s
- From Recovey mode press ALT+E to export mmcblk0p1 over USB
3. Kexec kernel execution :
- run "kexec -l <path to your uImage>"
- run "kexec -e"
v0.1
Enjoy.
PS: In not-so-far future I'll prepare similiar kernels for KT & KNT with shell over usbNetwork and scp support.