Inspired by the Kindleberry Wireless Project and the occasional glimpses of sun as spring rolls in I came up with the KindleDroid concept.

My aim was to get out into the sunshine in a park without WIFI while still working productively. A full keyboard and mouse &/or touch control I considered a must. I was looking for real text/code editing power in the sun, as laptop screens do not do well in direct bright sunlight - Video viewing, Skype calls etc I consider acceptable on phone. - Using the Kindle and Smart phone together I have all the tools I need for a day working from the park.

I was impressed with the Kindleberry Wireless Max came up with, getting Raspberry PI and Kindle touch into one bag of mobile joy.

Here I am leveraging the power of an Android smartphone to replace 5 items from his bag:

Pi + Bluetooth dongle + WiFi Dongle + USB hub + Travel router

Reducing items to be carried to park to:

1. Smart phone (HTC M8) (rooted)

2. Bluetooth Keyboard

3. Bluetooth Mouse (soon to be replaced by touch)

4. Kindle (Paperwhite 7th gen in my case) (Jailbroken)

(you can use your own kindle/phone versions)

The setup I want help getting to is to replace mouse by Kindle touch screen use (pen top is my stylus)

Mostly we use a fraction of the smart phones capability. For this project it has all the needed hardware squeezed into it already, running as fast and power efficiently as was economically viable at time of release of the phone.

First let me outline the quick n dirty version:

Android (N) running: alpha VNC server + Leena Desktop UI (or SENTIO)

Jailbroken Kindle PW3 running VNC Viewer + KUAL + KTerm (USBnetwork hack included in jailbreak)

Setup outline:

Enable wifi hotspot on phone

Connect Kindle to hotspot

Connect bluetooth devices to phone

Procedure:

Enable VNC server alpha on phone

Enable Leena/SENTIO

Enable SSH via WIFI on kindle (more info)

Use Kterm to get your kindle IP and phones - "ifconfig"

Connect to Kindle Via ssh -

Start VNC viewer - (or use a KUAL script to launch and connect the VNC viewer)

Example code:

Line to run viewer from ssh session: /mnt/us/extensions/vncviewer/bin/kvncviewer.sh -password "passwordhere" 192.168.43.1:5901 &

(Phones IP address here)

kvncviewer.sh (code working on PW3)

#!/bin/sh

cd $(dirname "$0")

LD_LIBRARY_PATH=.

export LD_LIBRARY_PATH

#orient=`lipc-get-prop com.lab126.winmgr orientationLock`

lipc-set-prop com.lab126.powerd preventScreenSaver 1

#lipc-set-prop com.lab126.winmgr orientationLock L

while :; do eips ''; usleep 80000; done &

./kindlevncviewer -config config.lua "$@"

#lipc-set-prop com.lab126.winmgr orientationLock $orient

lipc-set-prop com.lab126.powerd preventScreenSaver 0

Result:

Keyboard and mouse work as expected - you can even touch phone screen to navigate

Catch here is as my phone and kindle are not using the same resolutions + limitations of alpha I was only able to display at 75% of screen size.

I quickly abandoned this version wishing a desktop served and optimized for my Kindle.

Outline Of Shiny Version (Full Linux desktop):

Phone:

Android (N) crDroid 7.1.1

Linux(kernal 3.4.0-gdb1273a)

Deploy Linux (Ubuntu/LXDE) - VNC GUI enabled and set to Kindle res

Kindle:

Jailbroken Kindle PW3 running VNC Viewer + KUAL + KTerm (USBnetwork hack included in jailbreak)

Setup outline:

Enable wifi hotspot on phone

Connect Kindle to hotspot

Connect bluetooth devices to phone

On phone start Linux (running VNC desktop session)

Enable SSH via WIFI on kindle (more info)

Use Kterm to get your kindle IP and phones - "ifconfig"

Connect to Kindle Via ssh -

Start VNC viewer - (or use a KUAL script to launch and connect the VNC viewer)


Result:

This example pushes every available pixel wasting none.

Giving a nice desktop, which of course can be customized.

I need help with keyboard/mouse/touch in this setup - If you can help plz join the discussion.

Currently I can work around the Linux desktop on phone not picking up the bluetooth keyboard and mouse by using a laptop to either:

  1. Run a keyboard...
Read more »