Archive:Install Kodi on Apple TV 2

From Official Kodi Wiki
Revision as of 15:44, 12 September 2011 by >Procrastinator (→‎Installing from Cydia)
Jump to navigation Jump to search

The following how-to requires you to have a jailbroken ATV2 running:

Newer versions may also work but aren't officially supported.

Introduction

XBMC for iOS devices (including ATV2) is a work-in-progress. Although currently available versions of this software generally work well, do bear in mind that as a work-in-progress these are not completely stable or bug-free. The two versions that are available for installation are the "Cydia build", and the "Latest Nightly". The Cydia build is a version that has been available for while, and its bugs and issues are well known and understood. The Latest Nightly is the version at the bleeding edge of development, incorporating the latest code from the XBMC project. This means that issues which have been documented for the Cydia build may have been fixed in the Nightly, but there is also a risk that new, undocumented bugs may be present in this version.

Installing from Cydia

To install the Cydia build:

  1. Open up your terminal/ssh application and enter the following command to log in to your ATV2 (the password will be alpine by default):
  2. ssh root@<YOUR.ATV2.IP.ADDRESS>
  3. Issue these three commands in your Terminal window, in sequence:
  4. apt-get install wget 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 update apt-get install org.xbmc.xbmc-atv2

After XBMC is successfully installed, the ATV2 will restart, and XBMC should then be available as an option in the ATV2's main menu:

ATV2.jpg

Installing the latest nightly build

Here's an example of a successful install (where the ATV2 had an IP of 192.168.1.100 and the .deb package file was from Sept 10)
A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits

Nightly builds incorporate the latest program code from developers and are created by an automated build bot; each night's build constitutes the "latest" version of XBMC that is publicly available.

NOTE: You must install the Cydia version before you can install nightly builds. You only need to install the Cydia version once.
  1. Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the most recent file in that listing.
  2. In that url you just copied, make note of the file name after "../atv2/". For example it will look something like "xbmc-20110822-e391fde-master-atv2.deb".
  3. Open up your terminal/ssh application and enter the following command to log in to your ATV2:
    ssh [email protected]
  4. You will be asked for a password: default password is alpine
  5. Continue to enter the following commands:
    wget URL-FROM-STEP-ONE-HERE
    dpkg -i FILENAME-FROM-STEP-TWO-HERE
    rm FILENAME-FROM-STEP-TWO-HERE
  6. You should now have the latest nightly build of XBMC for ATV2.

Note: If the dpkg -i command hangs, stop it with CTRL+C so it can proceed to use the updated removal script in the new package.