Kodi Community Forum
[RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux) (/showthread.php?tid=97949)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


- pmcd - 2011-04-24

Sam.Nazarko Wrote:Try md5sum, check result -- you'd have to parse gunzip output to md5sum, as compression won't match.

Code:
mount -t hfsplus -o rw,force /dev/sdb3 /mnt/atv
cd /mnt/atv

Put that in a file called patchstick.sh on /dev/sdb1 and it will auto mount and change the path.


Thanks. The whole problem with the dd sda piped to gzip is that it also copied the free space and so it filled up a 16 gig flash drive and ended with an error! Is there a way of getting dd to ignore the free space on the internal drive?

The internal drive is 320gigs. Most of it is empty. Only the Recovery partition has anything in it. That leaves EFI, Media and OSBoot which are almost empty.

What I am saying is dd () |gzip -c > () yields an enormous file! So that method can't work with a flash drive.

philip


- Sam.Nazarko - 2011-04-24

It shouldn't take that much space. As the freespace is just 0s and can be compressed into nothingness. E.g. the 512MB swap file is only 9MB on my server.

Personally, I would just use rebuild.sh if you ever wanted frontrow back -- see the atvusb-creator trunk. As a developer on the project I'd be more than happy to assist you if you had any issues with it.


- bass63 - 2011-04-24

Sam, I can confirm it is taking too much space. I've tried to back up internal drive using the same method and process ran out of space after filling up 8 GB USB-flash. I have a 40GB HDD which is EMPTY, I mean there's nothing but two clean OS - FrontRow and CrystalUbuntu (I only do streaming on my aTV). I was wandering myself what is the deal and why zeros at free space aren't compressing....


- Sam.Nazarko - 2011-04-24

bass63 Wrote:Sam, I can confirm it is taking too much space. I've tried to back up internal drive using the same method and process ran out of space after filling up 8 GB USB-flash. I have a 40GB HDD which is EMPTY, I mean there's nothing but two clean OS - FrontRow and CrystalUbuntu (I only do streaming on my aTV). I was wandering myself what is the deal and why zeros at free space aren't compressing....

Hello Dimitry, it's been a while. That's weird. Same command I used to create the archives. As I said to Paul, use the rebuild.sh script if you must restore. This buillds up all your partitions again using atv-bootloader. I'm probably going to design a rescue USB stick program at some point -- it's on the cards as I feel its unfair to potentially jeopardise people's working frontrow systems with this and offer no recourse.


- illiac4 - 2011-04-24

Hi!

One maybe a little off topic questionSmile

Is it possible to install into this release some small web server? Which one would someone recommend? It has to be simple and lightweight.

The other thing i'd like to do is to install FireFlyMedia server on ATV with your distribution. I'll report back but i think this should not be a bigger problem.

TNX


- Sam.Nazarko - 2011-04-24

lighttpd? It does not fork.


- da-bitsch - 2011-04-24

Sam.Nazarko Wrote:That won't be necessary but thanks for the offer. Debating whether or not to deploy Airplayer in the next update.

Airplayer imlementation would be awesome and when shairport is getting a bit more stable that would also be lovely!


- Sam.Nazarko - 2011-04-24

Mm, it would: but I have to update Python then which could mess up XBMC builds. Already having a very annoying Sqlite dependency issue at the moment with the PVR builds


- Ilia - 2011-04-24

Can't you keep 2 version of python? That's what I did, and made sure air player uses the correct one

I did the same with perl too for shairport


Restarting XBMC? - pmcd - 2011-04-25

Is there a way to restart/reboot XBMC without having it drop down to the Ubuntu login window?

philip


- AngryUndead - 2011-04-25

illiac4 Wrote:Is it possible to install into this release some small web server? Which one would someone recommend? It has to be simple and lightweight.

Lighttpd or nginx.

Check this out: http://www.wikivs.com/wiki/Lighttpd_vs_nginx


- illiac4 - 2011-04-25

TNX it works.

This are commands for someone if want to try out.

Install:
sudo apt-get install lighttpd
sudo apt-get install php5-cgi
sudo lighty-enable-mod cgi
sudo /etc/init.d/lighttpd start

I'm using also PHP navigator.
http://navphp.sourceforge.net/


- Sam.Nazarko - 2011-04-25

Ilia Wrote:Can't you keep 2 version of python? That's what I did, and made sure air player uses the correct one

I did the same with perl too for shairport

Probably. No time at the moment though

pmcd Wrote:Is there a way to restart/reboot XBMC without having it drop down to the Ubuntu login window?

philip

Yup. You need to setup Policykit and hal (see comments on blog)

illiac4 Wrote:TNX it works.

This are commands for someone if want to try out.

Install:
sudo apt-get install lighttpd
sudo apt-get install php5-cgi
sudo lighty-enable-mod cgi
sudo /etc/init.d/lighttpd start

I'm using also PHP navigator.
http://navphp.sourceforge.net/

Ahh. You're using the CGI module -- this can be buggy and lighty soon loses its performance gain. lightppd is great for static pages but imo its cgi module is buggy at this time


- Thomss - 2011-04-25

Amazing work thank you so much, I have it working just about to order a Broadcom Crystal HD Decoder Mini Card BCM70010/BCM70012 - once this arrives and my library plays I will be donating £££.

excellent stuff.


Using without Crystal HD - nchall - 2011-04-26

Sam:

Thanks for all your work on this.

I am using your image on an ATV1 without a Crystal HD, and with a Harmony Remote and the recompiled atvclient.ccp. After a few problems I have it almost working the way I want currently.

Two questions though:

I'd like to be able to use the XBMC Android remote. It doesn't seem to be fully working with your image. Any ideas as to why? Specifically won't list TV shows and on screen remote doesn't function. Possibly related to keymap or changes to atvclient.

I'm trying to use a wireless keyboard app on my phone to input text to XBMC. Since this is Linux, should I just pursue this through Linux, or do you have any ideas how to do this? Maybe run a VNC service in the background?

Thanks again.