I’m running XBMC Media Center (xbmc.org) for several years now on my Windows 7 based HTPC. This computer is getting a bit noisy so I’m looking for an upgrade. XBMC is since January 2011 ported to iOS which mean you can install it on your (jailbroken) iPhone or iPad. Steve Jobs’ hobby project at Apple was the Apple TV. A nice little appliance to play your iTunes content on you tv screen, but still limited to iTunes content…
Because I want to play more media formats (which the Apple TV doesn’t support) from my NAS instead of iTunes I will test a jailbroken Apple TV2 with XBMC. In this post I’ll describe how to jailbreak the ATV and install XBMC.
The Apple TV
First unbox the ATV, as we are expecting of Apple it is packed in a nice little box containing a power cord, remote, user manual and of course the ATV itself. Please notice that it’s not shipped with a HDMI cable to connect it with your television!
Jailbreak the Apple TV (at your own risk!)
First we need to jailbreak the ATV, jailbreaking isn’t illegal but Apple announced that the practice “can violate the warranty”. You can find more background information about jailbreaking iOS on Apple devices on Wikipedia: iOS Jailbreaking.
Download and install before you start the latest version of iTunes from http://www.apple.com/itunes/download/. You also need a micro-usb cable to connect the Apple TV to you computer.
For the jailbreaking I’ll use the jailbreakingtool Seas0nPass. Download it from http://files.firecore.com/SP/Seas0nPass-win.zip for Windows (or http://files.firecore.com/SP/Seas0nPass.zip for mac), extract the archive and run Seas0nPass.
On the main window of Seas0nPass click ‘Create IPSW’, Seas0nPass will now download the latest Apple TV firmware and patch this file with the jailbreak.
After the preparation of the firmware Seas0nPass will ask you to connect the Apple TV to your computer using the micro USB cable (only connect the USB cable and not the power cord!).
Now it’s time to enter the ATV into DFU mode, in this mode it’s possible to load the modified firmware onto the ATV. The first time I tried I failed to get the ATV into DFU mode, I’ve solved this by disconnection the USB cable and reconnect it again. Then I’ve waited 5 seconds and connected the power cord, after about 20 more seconds I’ve hold the MENU and PLAY/PAUSE buttons on the remote and Seas0nPass detected the device in DFU mode. The normal mode probably failed because my laptop’s USB-port gives not enough power, maybe this problem wont occur on a normal desktop system.
Seas0nPass will now start iTunes and perform a scripted restore of the custom firmware onto the ATV. Don’t close iTunes during this process!
iTunes will notify you when the upgrade is complete, also Seas0nPass will display a ready message.
Installing XBMC on your Apple TV
Now the ATV is jailbroken we can install XBMC on it. First connect the ATV to your TV and the network. Follow the instructions on your TV to setup the ATV. After the firstrun setup we need to know the ip-address of the ATV. You can find this in ‘Settings’, ‘General’, ‘Network’.
Now we need to logon to the ATV using a SSH terminal (for windows: http://www.putty.nl, mac users can use Terminal). The username is root and the password alpine. Once connect execute the following commands to install XBMC (because of the stylesheet of my WordPress theme the commands are not optimal displayed, open this textfile so you can copy and past it into your terminal: xbmcinstall);
wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add -
echo "deb http://apt.awkwardtv.org/ stable main" > /etc/apt/sources.list.d/awkwardtv.list
echo "deb http://mirrors.xbmc.org/apt/atv2 ./" > /etc/apt/sources.list.d/xbmc.list
apt-get install org.xbmc.xbmc-atv2
We also want to prevent the ATV from automatic updating its software because this will crash XBMC, install ‘updatebegone’ by executing the following command;
apt-get install com.nito.updatebegone
After that we need to reboot the ATV to finish the installations;
After the reboot of the Apple TV XBMC is added to the menu and you can start exploring the great features of XBMC media center right on your Apple TV. I will write a followup article about how you connect your media. Enjoy!