The Google wave is up! I have started a wave on the Appltv 3.0, XBMC and Nitotv. Checkout the Appltv Wave
The Google wave is up! I have started a wave on the Appltv 3.0, XBMC and Nitotv. Checkout the Appltv Wave

Again a followup on hacking the apple tv. This time I will cover syncing iTunes to an external drive INSTEAD of the internal hard drive. This tutorial was written by the patchstick team, the team behind aTVitter the first Twitter client for the Apple TV.
What you need:
- An “jailbreaked” / hacked Apple TV with external drive and SSH enabled (check the previous tutorial)
1. Connect via ssh to your AppleTV
ssh frontrow@appletv.local
Enter frontrow as password when prompted.
2. Change the synchronization target
cp -R /mnt/Media/* /mnt/Scratch/Volumes/
Replace
sudo mv /mnt/Media /mnt/Media.org
sudo ln -s /mnt/Scratch/Volumes/
Whenever asked for a password, enter frontrow.
3. Fix file ownerships
sudo chown -h frontrow:frontrow /mnt/Media
sudo chown -R frontrow:frontrow /mnt/Scratch/Volumes/
Whenever asked for a password, enter frontrow.
4. Reboot your AppleTV
sudo reboot

It has been a while since my last post. I promised the guys of atvitter (a twitter client for the appletv) to review there app, but I simple hadn’t had the time.
Soon I will start waving about Apple TV on this special wave page

Here is a little followup, on the “hacking the Apple TV” tutorial. In this tutorial I will explain how to run bittorrent on you Apple TV take 2. I will explain how to install transmission (bittorent client) on the Applet TV and run Clutch web-interface to control bittorrent from your browser.
What you need:
- An AppleTV with SSH enabled (check the previous tutorial)
- MAMP
- Transmission Bittorrent for Apple TV ( transmission 1.06 deamon and remote)
- Clutch
Step 1: Install Transmission
Download the Apple TV transmission Bittorrent files and unzip. Copy the two files on your AppleTV (using SSH or whatever else you want) in the /Users/frontrow directory .With the terminal SSH in to your Apple TV (ssh://forntrow@appletv.local pass: frontrow) in the terminal give the following command:
sudo chmod 755 transmission-*
sudo chown frontrow:frontrow transmission-*
Step 2: Install MAMP
The second step is installing MAMP webserver (Mac Apache SQL PHP)
Download MAMP and copy the MAMP folder on your AppleTV in the /Users/frontrow directory. With the terminal SSH in to your Apple TV (ssh://forntrow@appletv.local pass frontrow) in the terminal give the following command:
sudo ln -s /Users/frontrow/MAMP /Applications/MAMP
Step 3: Install Clutch
Uncompress the Clutch files. Save the file and copy the contents of the Clutch folder (not the folder itself) on your AppleTV in the /Users/frontrow/MAMP/htdocs directory. Give the command.
sudo chmod -R 775 /Users/frontrow/MAMP
Step 4: Make it work
To start Transmission Bittorrent and its interface when you boot your AppleTV (so it keeps working even after power failures) you should create two documents in the /System/Library/LaunchDaemons directory. Here are the necessary commands
sudo nano /System/Library/LaunchDaemons/apache.plist
This one creates a new file called apache.plist in the appropriate directory. Paste these rows inside:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Debug</key>
<true/>
<key>GroupName</key>
<string>frontrow</string>
<key>Label</key>
<string>org.apache.httpd</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Users/frontrow/MAMP/bin/startApache.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>apache</string>
<key>UserName</key>
<string>frontrow</string>
<key>WorkingDirectory</key>
<string>/Users/frontrow/MAMP/</string>
</dict>
</plist>
Press Ctrl-O to save the file and then Ctrl-X to exit. Repeat for the second file:
sudo nano /System/Library/LaunchDaemons/transmission.plist
This is the text to paste inside:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Debug</key>
<true/>
<key>GroupName</key>
<string>frontrow</string>
<key>Label</key>
<string>org.m0k.transmission</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Users/frontrow/transmission-daemon</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>transmission</string>
<key>UserName</key>
<string>frontrow</string>
<key>WorkingDirectory</key>
<string>/Users/frontrow/Library/Application Support/Transmission</string>
</dict>
</plist>
Reboot your AppleTV and check if Bittorrent on your AppleTV is working correctly by browsing to http://yourappletvipaddress:8888

On the iphone:
With the preferences in Clutch you can Change the download directory of Bittorent, to your external drive for example ( /Volumes/nameofyourdrive )
Thats it, Cheers!
Here is a little tutorial on how to Hack your Apple tv, to run Boxee, XBMC and enable a external-hard-drive.
This tutorial is an alternative to atvflash and is completely free!
After you hacked you apple TV with this you can play the following video formats:
- AVI, DivX, Xvid, FLV, WMV, RM and RMVB
- MKV formats supported up to 480p resolution (hardware limited)
- MPEG-1, MPEG-2, MPEG-3 and MPEG-4
- DVD files (VIDEO_TS/VOB)
- AVI support for: AAC, AC3 Audio, H.264, MPEG4, and VBR MP3
- Subtitle support for SSA and SRT
We will install:
- FTP/SFTP/SSH Access – Transfer files to and from the AppleTV
- NitoTV – Play DVD files, enable USB storage and much more
- XBMC – A fully customizable media center software
- Boxee – Watch and share media with your friends
- Sapphire 6.5 – Play and organize media using IMDB database
What you need:
- AppleTV running software v2.3 or later
- Mac running OS X v10.4 or later
- USB Flash Drive – sized 256MB – 2GB recommended drives
- Internet connection
Step 1: Make a usb patchstick
First we need to download the uber USB flash drive creator for the AppleTV, witch can be found onhttp://code.google.com/p/atvusb-creator/The usb flash drive creator will make a patchstick that enables SSH on your Appletv (so you can access the apple tv’s file structure) and installs Boxee and XBMC. The creation of the patchstick is pretty straight forward, just follow the onscreen instructions.
Update: manually download the Apple TV .DMG from iClarified and then manually select the dmg. Thx Clark

Step 2: Install the patchstick
1) turn of your apple tv (unplug the power)
2) Place the patchstick in the apple tv
3) Turn on your appletv (wait for the patchstick to do its thing)

4) After a minute or the patch should be installed (wait for instructions on your screen)
5) Remove the patchstick and restart your Apple TV.
Boxee, XBMC and SSH should now be installed and enabled on your Apple TV.
Step 3: Access your Appel TV
Because we enabled SSH on the Apple TV , we can now remotely access the Apple TV with Coda or Cyberduck on your Mac computer.
In coda (or an other SSH application) connect to the Apple TV via:
1) Select SFTP (SSH)
2) server: yourappletvip (or the ip-adress of your Apple TV)
3) username: frontrow
4) pass: frontrow
5) Press Connect (you will get access to the Apple TV)
Step 4: Enable external USB drives
Now we have remote access to the Apple TV we can enable external USB drive support.
We will do this by installing NitoTV.
You will need to download Nito tv to your Mac. Download.
1) Download Nito tv and unzip.
2) With Coda or Cyberduck login to your Appel TV and copy the content of the nito TV folder (installme and nito TV ) to the Apple TV
3) With the terminal Application>utilities> terminal login into the Apple TV.
4) ssh frontrow@yourappletvip
5) When prompted for a password, enter ‘frontrow’.
6) Now go to the directory where you placed Nito TV on your AppleTV and type the following command:
sudo ./installme (When prompted for a password, enter ‘frontrow’ again.)
7) Now restart your Apple TV. Now Nito tv is installed
Go To Nito tv and Install Smart Installer
That’s It, you can now watch almost any kind of video with your apple TV and use external hard-drives!
Boxee on Your Apple TV
Boxee on Your Apple TV