HOW-TO:Install Kodi on Apple TV 2
- Requirements
- To Install Kodi on ATV2 you must have a jailbroken Apple TV 2 running versions 4.1 to 5.3
- Kodi only works on the second generation Apple TV (ATV2), which is the black version that outputs 720p. Kodi does not work on the newer third generation Apple TV (ATV3) that outputs 1080p (Full HD), because there is no jailbreak for the ATV3.
- If you have any issues, be sure to read the iOS FAQ!
1 Installing from the command line
- Open up your terminal/ssh application and enter the following command to log in to your ATV2. Note, you need to replace “YOUR.ATV2.IP.ADDRESS” with the IP address of the Apple TV:
-
ssh root@YOUR.ATV2.IP.ADDRESS
- EXAMPLE:
ssh root@192.168.1.5
- EXAMPLE:
-
- You will be asked for a password: default password is alpine
- Continue to enter the following commands:
-
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.kodi.tv/apt/atv2 ./" > /etc/apt/sources.list.d/xbmc.list
-
apt-get update
-
apt-get install org.xbmc.kodi-atv2
-
reboot
-
And you’re done! You should now be running Kodi v14.1 Helix for Apple TV 2. See here to verify your Kodi version.
2 Installing from NitoTV
![]() |
NOTICE: While this should work in theory, the official installation method for XBMC/Kodi is to use the command line instructions. If you have issues with any of the Nito installers then please try the command line instructions to see if that fixes the issue. Nito simply gives a GUI for those command line instructions, so it should work, but Team XBMC/Kodi has no control over those installers and cannot update them or see any errors from them, or anything like that. |
- NitoTV on the Apple TV 2
- Scroll right to the NitoTV menu on the Apple TV and choose the first option “Install Software“.
- Scroll down the list until you see “Kodi-ATV2” and click on that.
- From that menu press “install” and your Apple TV will install XBMC/Kodi and then do a SOFT reboot (no tethered boot required).
- XBMC/Kodi will now be in your Apple TV menu, scroll right to it, click and enjoy.
And you’re done! You should now be running Kodi v14.1 Helix for Apple TV 2. See here to verify your XBMC/Kodi version.
3 Updating
Either update through NitoTV or issue the following commands to update:
- Open up your terminal/ssh application and enter the following command to log in to your ATV2:
-
ssh root@YOUR.ATV2.IP.ADDRESS
- EXAMPLE:
ssh root@192.168.1.5
- EXAMPLE:
-
- You will be asked for a password: default password is alpine
- Continue to enter the following commands:
-
apt-get update
-
apt-get install org.xbmc.kodi-atv2
-
4 Development and custom builds
ALWAYS BACKUP YOUR USERDATA FOLDER WHEN USING DEVELOPMENT BUILDS!
Build | Description | URL |
---|---|---|
Nightly build | Nightly builds are unstable test builds that have the latest bug fixes and feature additions. They are not fully tested, so anticipate issues and be sure to backup your userdata folder | http://mirrors.kodi.tv/nightlies/darwin/atv2/ |
Monthly build | Monthly builds are more stable than nightly builds, but still contain lots of experimental new code. | http://mirrors.kodi.tv/snapshots/darwin/atv2/ |
Betas andrelease candidates | Betas and release candidates are builds that are being tested to see if they have any bugs left before becoming a stable release. Most major bugs should be fixed in these builds. | http://mirrors.kodi.tv/apt/pre-release/atv2/deb/ |
Older stable builds | If you wish to download an older version of XBMC/Kodi for whatever reason, you can do so with these same instructions below. | http://mirrors.kodi.tv/apt/atv2/deb/ |
- Open one of the above URL locations in a web browser and copy the url of the most recent file in that listing.
-
- EXAMPLE:
http://mirrors.kodi.tv/nightlies/darwin/atv2/kodi-20150120-e740097-master-atv2.deb
- EXAMPLE:
-
- Open up your terminal/ssh application and enter the following command to log in to your ATV2:
-
ssh root@YOUR.ATV2.IP.ADDRESS
- EXAMPLE:
ssh root@192.168.1.5
- EXAMPLE:
-
- You will be asked for a password: default password is alpine
- Continue to enter the following commands:
-
rm -f *kodi*.deb
-
apt-get update
-
wget URL-FROM-STEP-ONE-HERE
- EXAMPLE:
wget http://mirrors.kodi.tv/nightlies/darwin/atv2/kodi-20150120-e740097-master-atv2.deb
- EXAMPLE:
-
dpkg -i *kodi*.deb
-
rm *kodi*.deb
-
See here to verify your XBMC/Kodi version.
4.1 Going from Kodi to XBMC
Due to the name change, the steps for downgrading between Kodi (starting at v14 and up) to XBMC (v13.2 and lower) requires slightly different steps:
- Open one of the above URL locations in a web browser and copy the url of the version you wish to install.
-
- EXAMPLE:
http://mirrors.xbmc.org/apt/atv2/deb/old/org.xbmc.xbmc-atv2_12.2-0_iphoneos-arm.deb
- EXAMPLE:
-
- Open up your terminal/ssh application and enter the following command to log in to your ATV2:
-
ssh root@YOUR.ATV2.IP.ADDRESS
- EXAMPLE:
ssh root@192.168.1.5
- EXAMPLE:
-
- You will be asked for a password: default password is alpine
- Continue to enter the following commands:
-
rm -f *kodi*.deb
-
rm -f *xbmc*.deb
-
apt-get update
-
wget URL-FROM-STEP-ONE-HERE
- EXAMPLE:
wget http://mirrors.xbmc.org/apt/atv2/deb/old/org.xbmc.xbmc-atv2_12.2-0_iphoneos-arm.deb
- EXAMPLE:
-
wget http://mirrors.xbmc.org/apt/atv2/deb/org.xbmc.xbmc-seatbeltunlock_1.0-5_iphoneos-arm.deb
-
dpkg -i *xbmc*.deb
-
rm *xbmc*.deb
-
See here to verify your XBMC/Kodi version.
5 Uninstalling
5.1 Uninstalling just XBMC/Kodi
SSH into your Apple TV (Using the same instructions from above to login). Then run:
apt-get remove org.xbmc.xbmc-atv2
or
apt-get remove org.xbmc.kodi-atv2
It will ask you if you want to continue:
The following packages will be REMOVED: org.xbmc.kodi-atv2 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]?
Just enter “Y” to accept and continue.
5.2 Removing settings
XBMC/Kodi will uninstall from your Apple TV but will leave certain things (databases and everything in youruserdata folder) behind to make it easier if you wanted to reinstall. To delete those also run:
rm -Rf /private/var/mobile/Library/Preferences/XBMC
rm -Rf /private/var/mobile/Library/Preferences/Kodi
This will then be completely clear and XBMC/Kodi will be removed.
5.3 Deleting XBMC/Kodi dependencies
XBMC/Kodi has three dependencies that it installs along with itself when you first install XBMC/Kodi (org.xbmc.xbmc-seatbeltunlock, gawk, bsdiff). After uninstalling XBMC/Kodi you can also uninstall these 3 dependencies by running this command:
No comments