A Look at the Kindle

Yes, it runs Linux. Yes, you can hack it.
The Kindle Is Open to Experimentation

The Kindle's main menu has an Experimental item on it. This submenu has three choices: Basic Web, Ask Kindle NowNow and Play Music.

Basic Web is what it claims to be—a basic Web browser. It has two viewing modes: Default and Advanced. Default strips out most formatting and just provides the content of the page you're viewing. Advanced mode tries to render some of the page's layout.

Ask Kindle NowNow is a human-powered search service from Amazon. You can ask a question and submit it, and then real people will research it on-line and send up to three responses to your Kindle. The service is free for now, but I can't imagine it will remain free indefinitely. To test it, I sent the question: “When will the successor to the Kindle be announced?” About 30 minutes later, I had three answers on my Kindle and in my e-mail inbox. They were all along the lines of “not this year”. The first one was the best; it was well researched and included statements from Amazon on the subject. The other two were short and not as informative, but still good. The responses also included links. Clicking on the links opens up the Kindle Web browser to the page in question—rather handy.

Figure 6. Ask Kindle NowNow any question, and people will try to answer it.

Playing music on the kindle works for MP3 files. No other formats work. There's also no playlist support and no user interface apart from the Play button on the Experimental page. There are two undocumented keyboard shortcuts you can use: Alt-F to skip to the next song and Alt-P to Play/Pause the music. It's not the most useful of music players, but it does play music.

The Kindle's Openness

Because the Kindle runs on Linux, you can download the source code to the Kindle from Amazon's Web site. Several bits of the code, like the GUI layer, are not available.

The source code tar file weighs in at 72.4MB. When untarred, you are left with a gplresults directory. Inside this directory are the following tar.bz2 files: alsa-lib-1.0.6.tar.bz2, alsa-utils-1.0.6.tar.bz2, binutils-2.16.1.tar.bz2, bsdiff-4.3.tar.bz2, busybox-1.01.tar.bz2, bzip2-1.0.3.tar.bz2, dosfstools-2.11.tar.bz2, e2fsprogs-1.38.tar.bz2, freetype-2.1.10.tar.bz2, gcc-3.4.2.tar.bz2, jpeg-6b.tar.bz2, libpng-1.2.8.tar.bz2, linux-2.6.10-lab126.tar.bz2, module-init-tools-3.1.tar.bz2, ncurses-5.4.tar.bz2, ppp-2.4.4b1.tar.bz2, procps-3.2.7.tar.bz2, taglib-1.4.tar.bz2, u-boot-1.1.2.tar.bz2, uClibc-0.9.27.tar.bz2, util-linux-2.12.tar.bz2 and zlib-1.2.3.tar.bz2.

We can deduce several things from this list: the Kindle boots with Das U-Boot, it uses FreeType for fonts, ALSA for audio, and it is using a Linux 2.6.10 kernel. I'm not a programmer, so I didn't delve into the code to see what was changed, reworked or added.

Hacking the Kindle

One of the more interesting pieces of code on the Kindle is BusyBox. Its presence suggests there is support for a command-line interface of some sort. It turns out there is, but it's not easy to access.

If you take the back cover off the Kindle, there is a little covered access port next to the battery. This access port can be removed with a small flat-head screwdriver. Under the cover is a small ribbon connector port, which functions as a console port. See Resources for links to the full details of the hack.

Figure 7. The console port on the back of the Kindle is small.

Exposing the Kindle's Secrets

Thanks to the intrepid hacker who hacked into the Kindle through the console port, several hidden features of the Kindle have been brought to light.

First, there is a basic picture viewer built in to the Kindle. To enable it, you need to create a folder on the Kindle called pictures or dcim. In that folder, you can organize your photos into subfolders. Press Alt-Shift-Z while in the main menu of the Kindle, and each folder will appear as a separate “book” on the last page of the list of books.

Figure 8. The options for the picture viewer app are few.

While viewing pictures, you can use the menu to enable and disable dithering and shrink to fit. You also can view photos in full-screen mode. While looking at your pictures, you can press Alt-Shift-0 to set the current picture as the picture for the Kindle screensaver. You also can press F to toggle full-screen mode.

A picture viewer isn't the only hidden application. There also is a Minesweeper game. You can launch it from the Kindle home screen by pressing Alt-Shift-M. From the menu, you can select different grid sizes from 4x5 to 8x10 to 14x14. Unfortunately, the novelty of having Minesweeper on the Kindle wears off as soon as you start playing. The Kindle's E Ink display just isn't suited to quick changes to the screen. Moving the cursor in Minesweeper is an exercise in patience: you press L, wait a few seconds, and with any luck, the cursor moves one space to the left. The slowness of the gameplay is probably why Amazon never provided a proper link to Minesweeper in the interface. I'm glad Amazon didn't take it out though, as it shows the Kindle is at least marginally capable of running a wide variety of software.

Figure 9. You can play Minesweeper, if you have the patience for it.

The Browser has a few neat keyboard shortcuts, including links to Google Maps to show your current location (Alt-1), nearby gas stations (Alt-2), nearby restaurants (Alt-3) and nearby hotels (Alt-4). When you press Alt-5, a little box pops up asking “Are you looking for something nearby?”, and you enter what you're looking for, and it searches for it. Well, it would, if any of these shortcuts worked. Instead of working, the Kindle just goes to Google Maps and puts “Not Avail,Not Avail” into the location box. Either it just doesn't work in my area, or there is some switch waiting to be thrown at Amazon or Sprint to enable it.

Finally, there are several global shortcuts that come in handy. The first is Alt-Shift-R, which reboots the Kindle. Next is Alt-Shift-., which restarts only the Kindle GUI. This last one is the most useful, for me anyway—Alt-Shift-G is a global screenshot shortcut.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Awesome photos o

Kindle Case's picture

Awesome photos of the kindle 1 - it looks so old when you compare it the latest Kindle 3 - looks kinda clunky now.

bernard

bernard's picture

I have been sharing a nice thank you.

i want this =) great design

Serkan's picture

i want this =) great design and usefull thing...

Medrano

tokno

Vizyondakiler's picture

A stylish design...
Sinema,Vizyondakiler

Grat article, thank you.

Tarihte Bugun Bir Sey Oldu's picture

Grat article, thank you.

thx

emmy's picture

thank you my site : www.yuhoha.com

Levent

Levent's picture
White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState