Apple TV 2 & XBMC Resources

I wanted to provide some resources, tutorials and links for those people who want to jailbreak a second generation apple tv (running 4.4.4 or lower) and install XBMC on it.

This solution has provided my family and me almost all our media entertainment for the last year at 1/4 the price of cable.

I may add additional information as I get feedback in order to give more details as people ask.

  • Using seasonpass to jailbreak atv2 (good tutorial with links to all you need are on the Firecore site) http://support.firecore.com/entries/387605
  • You may also decide to use ATV (black) from fire core, which costs about $15-30, but you don’t have to. It makes it uber-simple to install, but you can just ssh into your ATV to install the components you want- requires a bit more knowledge of terminal commands, but there are tutorials for that as well (see below)
  • Installing/configuring XBMC tutorial http://wiki.xbmc.org/?title=XBMC_Online_Manual
  • iOS support for XBMC at the XBMC Forum http://forum.xbmc.org/forumdisplay.php?fid=137

Please look for me on the forums as well using the name: fritzboyle and I can help with issues or point you in the right direction for solutions.

MegaUpload Taken Down

The SOPA & PIPA legislation certainly was knocked down and political backing withered away once the public outcry was too much for even Washington to ignore. That didn’t stop the government from overstepping their bounds again.

A federal indictment and arrests occurred today and the sites were taken down. NY Times article.

It’s surprising the US government was able to coordinate in order to bring down a file sharing site actually based in elsewhere.

I’m having a hard time swallowing the idea of arresting people who run a company in one country based on, at best,¬† shaky laws from a different country. The US, again, acts like we are the World Police.

Unfortunately, we really are closer to the marionettes portrayed in the film. [NOTE- I am referring to SupePACs, big business, Hollywood, the Military Industrial Complex, etc really running the country].

MegaUpload supporters took down the DOJ site as well as some entertainment sites. Anonymous took credit for the DOS attacks. The sites were back up within a few hours as well.

But lets not get all into the conspiracy theories and anarchy talk. Lets talk about something closer to home.

The XBMC Icefilms plugin, which I use extensively, relies heavily on MegaUpload for many of its files. Taking the site down effectively makes the plugin useless. This makes me sad. This makes my family sad. We cut the cable many months ago and are having a hard time finding a way to get the entertainment we need. We are willing to pay for what we actually are interested in.

The fact that Icefilms is a legitimate way for people to share access to (mostly) media they own or resources that are community property makes it a great part of my home media setup. Others obviously feel the same.

The hacker community over at XBMC Hub had a new update to Icefilms for XBMC on iOS within hours (v 1.0.22) that uses 2Shared as an alternative.

I take two things from this:

  1. Big media companies are in their death throws and are stopping at nothing to try and hold on to the monopoly and current price structures they have
  2. How artists create and disseminate their works and how consumers want to access it is changing

I hope we are able to make the transition peacefully and that the new media consumption paradigms will allow for more & greater personal and collective expression, sharing and results in a richer human condition.

 

UPDATE:

MegaUpload already has a new IP. They don’t have a demain¬† name yet, but it proves my point that you cannot keep these changes from happening.

UPDATE 2:

The Megaupload site referred to previously is likely to be a DOS site. Don’t use it. In the meantime, there have been several updates to Icefilms for XBMC (now v 1.0.23) that now redirect users to 2Shared. This is another file sharing site that really is not up to par with others (hence it was used sparingly before).

XBMC 11 Beta Released

I’ve been jailbreaking my Apple TV2 essentially from the day I got it. My family and I use two main features on it:

Netflix streaming and XBMC.

If you are not familiar with it, this add-on available either as an install via zip or using the ATV Flash (Black) makes your Apple TV into a streaming powerhouse that allows you to access nearly all television content like a DVR. XBMC works on nearly any OS and has been in development for years.

The beta version of XBMC 11 has now been released. Version 11 “Eden” adds lots of new features and improvements to the open source home theater software for both Mac and Windows. See more after the break Continue reading

Apple TV root XBMC issue solved

I was having all kinds of difficulties with XBMC on my Apple TV2 and was trying to remove it and start all over.

It didn’t work out even when resorting to SSH through terminal.

Then I was able to find a solution over in the FireCore forums.

 

Basically required that I manually remove all the files.

Re: How to deinstall pakages?
liudgervr wrote:

please need some help. Got the same problem.

Apple-TV:~ root# apt-get remove org.xbmc.xbmc-atv2

E: Could not get lock /var/lib/dpkg/lock – open (35: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Apple-TV:~ root# cd var

-sh: cd: var: No such file or directory

Apple-TV:~ root# cd /var

Apple-TV:/var root# dpkg –get-selections > myapps.txt

Apple-TV:/var root# tail myapps.txt

shell-cmds install
sqlite3-lib install
syslogd install
system-cmds install
tar install

uikittools install
unzip install
wget install
zip install
zodttd install

Apple-TV:/var root# dpkg –configure -a
dpkg: status database area is locked by another process

 

What to do?

 

and for the same reason I am unable to install the maintenance update

 

I ran into this same problem tonight, and was able to solve it by removing the package directory manually. It turns out that `rm` was hanging on some files while removing the package directory, so when you try to uninstall again the lock is still in place. If you do a `ps -ef` you should see the offending processes at the bottom like this:

 

0 199 164 0 0:00.28 ttys001 0:00.94 apt-get remove org.xbmc.xbmc-atv2

0 200 199 0 0:00.06 ttys002 0:00.10 /usr/bin/dpkg –status-fd 18 –force-depends –force-remove-reinstreq –force-remove-ess

0 201 200 0 0:00.01 ttys002 0:00.02 /bin/sh /var/lib/dpkg/info/org.xbmc.xbmc-atv2.prerm remove

0 202 201 0 1:49.30 ttys002 2:02.82 rm -rf /Applications/XBMC.frappliance

 

 

To fix this, run `rm -rfv /Applications/XBMC.frappliance`. It will hang periodically on some files, so just pres [Ctrl + C] to terminate the command when you see it stop. Then just rerun the same command and it seems to take off again where the last one failed.

It took me about 10+ times of rerunning that command to remove all the files/directories. Once it’s all gone, you will need to kill the hung `rm` process so that apt-get can fail and remove it’s lock. Just do another `ps -ef` and locate the PID (the second number) for the rm -rf process (mine was 202 above). So I would run `kill 202` to stop the process. Finally just run `apt-get remove org.xbmc.xbmc-atv2` to make sure everything is removed OK, and restart your Apple TV.