Skip to content →

Category: web

overloaded iTouch

A jailbroken iTouch can do many wonderful tricks : by sarting up an AFDd server one can use it in Disk mode, exactly as an iPodClassic, one can use it as a WebServer by installing Apache and PHP and run a Wiki, one can install OpenSSH and secure shell to the rest of the world, one can even turn the iTouch into a music streamer via the FireFly server, one can …

And all of this on a gadget with only 116Mb RAM and one processor running at 412MHz… is asking for overload problems both on memory and battery. A couple of days ago I wanted to start up the iTouch and was greeted by a bright flickering screen and thought I’d finally bricked it…

Fortunately, there’s a simple lesson to be learned : with every new feature you install, learn how to switch if off and monitor your iTouch using the SysInfo.app (under Utilities) which allows to view basic system info (screenshot below) as well as all active processes.

Here a few tricks to turn on/off the major consumers :

  1. To turn off the Apache-sever, ssh into the iTouch and give a apachectl stop command (you can always restart it with apachectl start.

  2. To control OpenSSH, install the Services.app (under Utilities) which allows to toggle Wifi, Edge, SSH and Bluetooth on or off (screenshot below).

  3. To control APFd, use its control pannel to toggle the Broadcast active feature only when you need your iTouch in Disk mode (it will then appear under Shared in your Finder window, at least under Leopard. For more on this see Mount and use your iPod touch as a Thumb Drive.

  4. To control FireFly, use the UIctl.app (under Multimedia) and scroll down (after staring for about 15 seconds to a white screen) to org.fireflymediaserver.mt-daapd, tap it and start or stop the server.

Another major consumer is the MobileRSS.app (under Productivity). Maybe I should restrict my subscriptions to the hottest blogs only

4 Comments

IF on iTouch

Interactive Fiction (IF) describes software simulating environments in which players use text commands to control characters and influence the environment. Works in this form can be understood as literary narratives and as computer games. In common usage, the word refers to text adventures, a type of adventure game with text-based input and output. As the text-input is minimal (most commands have 1 letter abbreviations), text-games are ideal to be played on the iTouch.

Luckily, one of the most popular IF-interfaces, Frotz, is ported to the iPhone/iTouch as iPhoneFrotz. The easiest way to install is just to install the Frotz package using Installer.app. Just install the “Community Sources” package, which contains the installer repository (which hosts Frotz as well as other games and utilities), then look for Frotz under the Games section.

A collection of 3 Zork-derivatives (although not the original Infocom titles) is also available in the “Zork Z-Code” package.

There are hundreds of Z-Code games, and no one is likely to package your favorites for easy installation by Installer.app. But the games can be downloaded and copied to the phone without too much trouble.

Z-Code games are typically have filenames ending in .z3, .z4, .z5 or .z8 (depending on version), although game files from original Infocom media end in .dat. These should be copied to the phone’s Frotz/Games folder (under /var/root/Media).

Here is a link to the The IF archive and an archive of all Z-games. Another interesting site is the Inform 7-site

Inform is a design system for interactive fiction, a new medium for writers which began with adventure games in the late 1970s and is now used for everything from literary narrative fiction through to plotless conceptual art, and plenty more adventure games too. Since its introduction in 1993, Inform has become a standard tool.
Three years in the making, Inform 7 is a radical reinvention of the way interactive fiction is designed, guided both by contemporary work in semantics and by the practical experience of some of the world’s best-known writers of IF.

In place of traditional computer programming, the design is built by writing natural English-language sentences:
– Martha is a woman in the Vineyard.
– The cask is either customs sealed, liable to tax or stolen goods.
– The prevailing wind is a direction that varies.
– The Old Ice House overlooks the Garden.
– A container is bursting if the total weight of things in it is greater than its breaking strain.
Inform’s power lie in its ability to describe: to lay down general rules about “closed doors”, or “bursting containers”, or “unmarried men liked by Martha”. At its best, expressing IF in natural language results in source text which is not only quick to write, but very often works first time, and is exceptionally readable.

Inform 7 is available for most platforms and can be downloaded here.

Leave a Comment

top iTouch hacks

So, you did jailbreak your iTouch and did install some fun or useful stuff via the Install.app … but then, suddenly, the next program on your wish-list fails to install ??!! I know you hate to do drastic things to your iTouch, but sooner or later you’ll have to do it, so why not NOW?

Move the Applications Folder

The problem is that there are two disk partitions (a small one, meant only to host the apple-software and a large one to contain all your music, videos and stuff) and Install.app installs programs in the /Apllications folder on the smaller partition. So, we want to move it to the other partition using a symbolic link trick (as in the wiki-hack post). Here a walkthrough, more details can be found on Koos Kasper’s site.

  • Have BSDsubsystem and OpenSSH installed, so that you can ssh into the iTouch.
  • verify that the second line of the /etc/fstab file reads as below (or edit it if necessary, in my case it was already ok, perhaps this is done during jailbreak?) and reboot the iTouch (if you had to change it)

/dev/disk0s2 /private/var hfs rw 0 2

  • ssh into the iTouch and type in the following commands (to move the folder and make the symbolic link)

cd /
cp -pr Applications /var/root
mv Applications Applications.old
ln -s private/var/root/Applications /Applications

  • reboot the iTouch, ssh into it and remove the old Application-folder to free space

cd /
rm -rf Applications.old

From now on, all (most) new programs are installed on the larger partition. If you reinstall the OpenSSH application (as suggested) make sure to remove on your computer the old key for iTouch.

Stream your Music!

I use the iTouch to read my mail, to read RSS feeds, to administer this blog, to VNC to the home-server and when needed to ssh into the computer at work (running this blog) to restart the apache server. Unless I have to write a lot, there is no need to fire up a computer… But, when someone has a Mac running, I would like to be able to stream the music on my iTouch to hear it loudly. Here’s the procedure, via Rupert Gee’s blog :

  • Have the Auto-Lock set to “Never” in Settings/General
  • Install the UIctl applications (under Utilities)
  • Add a source to Install.app (click on Sources-button lower-right, Edit upper-right and then Add upper-left) http://home.mike.tl/iphone
  • Relaunch Install.app and install FireFlyMediaServer (under Multimedia).
  • Write down the address given during installation to change your password and monitor the Firefly-server (the default root password is ‘dottie’ and so the address should be

http://root:dottie@127.0.0.1:3689

  • Open up UIctl and scoll down to a line saying “org.fireflymediaserver.mt-daapd” and tap on it. Tap on “load-w” and then on “Do It”
  • Now, at the Mac your iTouch should be vusible under Shared in iTunes, click on it and give the password and your music is available!

2 Comments