Installing XBMC Apple TV is powerful…
Hopefully by now you have jailbroken your Apple TV 2G. Now it’s time to install a media center.
XBMC or Xbox media center is an open source application created for use on a hacked first generation Xbox. Once the Xbox started to age an initiative started to grow for XBMC to be developed into a computer application. It has turned into a successful HTPC app that can play almost any codec. Lucky for us they have developed a client for the Apple TV 2G. It’s free of charge and will allow us to play almost any video file. Something the ATV 2G out of the box cannot do. The XBMC team continues to develop the client and new XBMC Plugins and XBMC Addons are being added regularly by the community. Take a look at our comprehensive XBMC Plugin / XBMC Addons list to get an idea of what XBMC is capable of. Okay, let’s install XBMC Apple TV 2G.
Pre-ATV 2G XBMC Install checklist
1. Apple TV 2G has been jailbroken. Check out our guide to jailbreaking with Seas0nPass.
2. PC or Mac connected to the same network as ATV 2G
3. A SHH Client Windows (Putty) or Mac (Terminal
Step 1: Get the IP Address of your ATV 2G. To do so navigate to Settings > General > Network.
Step 2: Launch SSH Client
MAC: Open Terminal and type: ssh root@192.168.1.104(Your IP Address)
Windows: Open Putty and fill in:
Host Name: Your IP Address
Port: 22
Connection Type: SSH
Step 3: Logging into the Apple TV 2G
Mac: You will be asked for a password, which if you did not change is: “alpine” without the quotations.
Windows: Type in “root” as the login without the quotations
Step 3.1(WINDOWS ONLY): Logging into the Apple TV 2G – Windows Only
Windows: You will be asked for a password, which if you did not change is: “alpine” without the quotations.
Type in “alpine” without the quotations. Note that you will not see the cursor move as you enter the passcode. Hit enter once typed.
You can now begin the XBMC Apple TV 2G client installation.
Step 4:
Type the following command…
MAC and Windows: apt-get install wget
Step 5:
Type the following command…
MAC and Windows: wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add –
Step 6:
Type the following command…
MAC and Windows: echo “deb http://apt.awkwardtv.org/ stable main” > /etc/apt/sources.list.d/awkwardtv.list
Step 7:
Type the following command…
MAC and Windows: echo “deb http://mirrors.xbmc.org/apt/atv2 ./” > /etc/apt/sources.list.d/xbmc.list
Step 8:
Type the following command…
MAC and Windows: apt-get update
Step 9:
Type the following command…
MAC and Windows: apt-get install org.xbmc.xbmc-atv2
DONE!
Congratulations, you have successfully installed XBMC Apple TV 2G client on your hardware. Please let us know if you have questions and we will do our best to assist.
thanks for your help!
Any time Rob.
I keep getting this as the last line no matter what method of install i use. Please help!
E: Sub-process /usr/bin/dpkg returned an error code (1)
Have you tried apt-get -f install to force an install of the files that didn’t get loaded Then try apt-get upgrade again, apt-get -f install repeatedly until only the package that has the error is left?
I stuck in step 6 cause it said that “-sh: deb: command not found”
Hi Nasos,
That error usually occurs when something is typed incorrectly. Please make sure it is EXACTLY the same as posted above. Pay attention to special characters and spaces. Let us know how things work out.
Im getting a connection error when I try logging in using terminal.
“ssh: connect to host XXX port 22: Connection refused”
Any ideas?
Whoops, ATV2 was completely JB.
Sorry.
when I type in step 6 and 7 nothing happens. Goes back to root, is that normal?
No, you should see some action. When you got back in to the Apple TV was XBMC installed? Double check for any typos. Let me know how it works out.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
67:f0:ee:67:86:fc:48:27:b7:45:9e:6b:2d:d8:f0:bd.
Please contact your system administrator.
Add correct host key in ~/.ssh/known_hosts to get rid of this message.
Offending key in ~/.ssh/known_hosts:8
RSA host key for 192.168.11.65 has changed and you have requested strict checking.
Host key verification failed.
This means that you have jailbroken multiple times and your router gave the same ip the subsequent times. The signature from the apple tv host was invalid (since it was stale from the last ssh session). To fix:
open ~/.ssh/known_hosts
then delete the entry associated with the ip address of your apple tv.Thanks Bud! We appreciate it!
getting this error
malformed line 1in source list etc/apt/ sources.list.d
also the list of sources could not be read
im running xp
I’m getting the same error as tim:
Malformed line 1 in source list /etc/apt/sources.list.d/xbmc.list (dist)
not sure what this means. does it mess anything up if i start over? Do i have to restore in itunes, or can i just start back at the top of the list of ssh commands?
Looks like there’s a problem with your xbmc.list file.
Try this:
Repeat Step 7:
# echo “deb http://mirrors.xbmc.org/apt/atv2 ./” > /etc/apt/sources.list.d/xbmc.list
Then try Step 8:
“apt-get update” again.
If you still get
“Malformed line 1 in source list /etc/apt/sources.list.d/XBMC.list (dist)”
Check to see if “XBMC” is capitalized in the error.
If so,then you probably have a xbmc.list and a XBMC.list file in the /etc/apt/sources.list.d/ directory. You can check by typing:
# ls /etc/apt/sources.list.d/
In this case you can delete the capitalized XBMC.list with:
# rm /etc/apt/sources.list.d/XBMC.list
and try “apt-get update” again.
Let me know how it works out for you.
login as: root
root@192.168.0.12‘s password:
LNKNPRKFN:~ root# apt-get install wget
E: Type ‘.deb’ is not known on line 1 in source list /etc/apt/sources.list.d/awkwardtv.list
E: The list of sources could not be read.
LNKNPRKFN:~ root# wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add –
/usr/bin/apt-key: line 161: run-parts: command not found
–2012-01-21 01:56:38– http://apt.awkwardtv.org/awkwardtv.pub
Resolving apt.awkwardtv.org… 74.208.75.216
Connecting to apt.awkwardtv.org|74.208.75.216|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1698 (1.7K) [text/plain]
Saving to: `STDOUT’
100%[=======================================>] 1,698 –.-K/s in 0.001s
2012-01-21 01:56:39 (1.70 MB/s) – `-‘ saved [1698/1698]
OK
LNKNPRKFN:~ root# echo .deb http://apt.awkwardtv.org/ stable main. > /etc/apt/sources.list.d/awkwardtv.list
LNKNPRKFN:~ root# echo .deb http://mirrors.xbmc.org/apt/atv2 ./. > /etc/apt/sources.list.d/xbmc.list
LNKNPRKFN:~ root# apt-get update
E: Type ‘.deb’ is not known on line 1 in source list /etc/apt/sources.list.d/awkwardtv.list
LNKNPRKFN:~ root# apt-get install org.xbmc.xbmc-atv2
E: Type ‘.deb’ is not known on line 1 in source list /etc/apt/sources.list.d/awkwardtv.list
E: The list of sources could not be read.
LNKNPRKFN:~ root# login as: root
root@192.168.0.12‘s password:
LNKNPRKFN:~ root# apt-get install wget
E: Type ‘.deb’ is not known on line 1 in source list /etc/apt/sources.list.d/awkwardtv.list
E: The list of sources could not be read.
LNKNPRKFN:~ root# wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add –
/usr/bin/apt-key: line 161: run-parts: command not found
–2012-01-21 01:56:38– http://apt.awkwardtv.org/awkwardtv.pub
Resolving apt.awkwardtv.org… 74.208.75.216
Connecting to apt.awkwardtv.org|74.208.75.216|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1698 (1.7K) [text/plain]
Saving to: `STDOUT’
100%[=======================================>] 1,698 –.-K/s in 0.001s
2012-01-21 01:56:39 (1.70 MB/s) – `-‘ saved [1698/1698]
OK
LNKNPRKFN:~ root# echo .deb http://apt.awkwardtv.org/ stable main. > /etc/apt/sources.list.d/awkwardtv.list
LNKNPRKFN:~ root# echo .deb http://mirrors.xbmc.org/apt/atv2 ./. > /etc/apt/sources.list.d/xbmc.list
LNKNPRKFN:~ root# apt-get update
E: Type ‘.deb’ is not known
I also had the same problem as Ira. How do I start over??
Open iTunes with your AppleTV connected and do a restore. This will restore it to factory settings, and then you can proceed to re-jailbreak and install XBMC. 🙂
I get the same error as Ira no matter what I do. Please help!!
Malformed line 1 in source list /etc/apt/sources.list.d/awkwardtv.list (dist parse)
after the last step I getr this message:
E: Couldn’t find package org.xbmc.xbmc-atv2
Please help!
Looks like you typed something wrong, try it again and make sure to type everything exact.
I get this message after typing ‘apt-get update’:
E: Type ‘.deb’ is not known on line 1 in source list /etc/apt/sources.list.d/awkwardtv.list
What’s wrong?!
For some reason when you copy and paste the commands into the Putty window, it changes the quotation marks around “deb to .deb
In the step 3 and 4 make sure to change the period (.) to “
Apple-TV:/etc/apt/sources.list.d root# apt-get install org.xbmc.xbmc-atv2
Reading package lists… Done
Building dependency tree… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
org.xbmc.xbmc-atv2: Depends: com.nito.updatebegone but it is not installable
Depends: org.xbmc.xbmc-seatbeltunlock but it is not going to be installed
E: Broken packages
Apple-TV:/etc/apt/sources.list.d root#
ANY IDEAS???
I’ve jail broken my apple tv 2, followed the codes…and nothing has happened… ???
No matter what i do ive followed all the instructions on a number of sites and they all say they were successfull but xbmc is not on the apple tv 2 with the fc logo after the jailbreak was done. HELP ME PLS.
after typing on the 4th command i get malformed line 1 in source list /etc/apt/sources.list.d/awkwardtv.list The list of sources could not be read. any ideas.
Not sure why you are getting that error, have you restored to default and tried from step one again?
It says access denied when i type in alpine. where can i check my changed password?
I don’t have the new style Apple TV so I can’t try this myself, but I’m wondering if there is an error in your instructions?
In step 3 you write that a Mac user should type “alpine” for the password and a Windows user should type “root” for the password, but then in step 3.1, which you write is for Windows only, it says to type “alpine” for the password.
Hi thanks for the question. The Windows installation requires one additional step when compared to Mac. The user needs to “login as” before they are prompted for a password. root is the login.
Hope that answers your question.
DASHCOM websites are springing up throughout the world.
Just just because a link is on Piratebay
does not mean that the users are installing, so because of this, the flawed data.
Now, movies aren’t the one thing that piracy trackers allow links too.