PDA

View Full Version : xbmc gone from my atv after auto-update?!


ravidium
2008-11-16, 11:52
so i was watching something on xbmc last night - left it running..and came back just now and it was still running hit menu and the atv rebooted twice and showed a progress bar as if it was doing an autoupdate (atv prompted me for an update a day ago and i ignored it) and after the update xbmc and everything that i installed xbmc/boxee etc is missing from the menu

just wanted to see if anyone else experienced this? what do you suggest i do? just reinstall it?

please advise

thanks

docbrown
2008-11-16, 14:03
to be safe i would do a factory restore by holding menu & - until it restarts then choose factory restore.

if your factory firmware is 2.1 i would leave it as is without updating to 2.2 and repatch with atvusb-creator.

you can disable auto update by typing this in ssh to appletv:

sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'

dafranca
2008-11-16, 19:12
It wasn't showing for me too. I am almost sure that the problem was caused due not enough space available on /dev/disk0s3.

ravidium
2008-11-16, 19:21
hmm i mean i have plenty of space on all my drives so that prolly not the issue on my end

i just checked itunes and its def running 2.2

so if i do a reset and repatch it - will it go back down to 2.1?

davilla
2008-11-16, 19:40
hmm i mean i have plenty of space on all my drives so that prolly not the issue on my end

i just checked itunes and its def running 2.2

so if i do a reset and repatch it - will it go back down to 2.1?

Need to watch where files are stored, OSBoot is /dev/disk0s3 which is only 900.0 MB and Media is symlinked to /mnt. /Users/frontrow is on Media (/dev/disk0s4) so files placed there will be on the largest disk partition. If you do a "sudo ls -l /" you will see the symlink structure.

If your AppleTV came with 2.1, then a factory restore will reset it to r2.1. Otherwise it will go back to the original shipped version. r2.1 dmg is still present on Apple servers, I would grab it now before it vanishes like all the previous versions. The URL is;

http://mesu.apple.com/data/OS/061-4632.2080414.gt5rW/2Z694-5428-3.dmg


For a method to manually update to r2.1 see;

http://wiki.awkwardtv.org/wiki/OSupdate


Anytime the AppleTV is updated or factory restored, all custom mods are lost and you have to re-patch using a patchstick. Nature of the beast :)

ravidium
2008-11-16, 19:47
ah okay! let me try factory restore and see where that takes me first before i do a manual downgrade

ill keep you posted

ravidium
2008-11-16, 19:55
to be safe i would do a factory restore by holding menu & - until it restarts then choose factory restore.

if your factory firmware is 2.1 i would leave it as is without updating to 2.2 and repatch with atvusb-creator.

you can disable auto update by typing this in ssh to appletv:

sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'


okay i just did a factory restore and it reset back to 2.1 which is great

can you please explain maybe step by step how to terminal in and disable the autoupdate

i appreciate it

dafranca
2008-11-17, 05:22
1) Open terminal
2) type: ssh frontrow@AppleTV.local
3) type password: frontrow
4) type: sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'
5) close terminal

xeonicxpression
2008-11-20, 07:35
how do we reverse it then, so we can update once davilla and maestroDD say it's ok?

davilla
2008-11-20, 07:53
how do we reverse it then, so we can update once davilla and maestroDD say it's ok?

edit "/etc/hosts" and remove "127.0.0.1 mesu.apple.com"

ravidium
2008-11-20, 08:15
1) Open terminal
2) type: ssh frontrow@AppleTV.local
3) type password: frontrow
4) type: sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'
5) close terminal

hey! just saw that 2.3 came out and realized i hadnt done this yet so i just gave it a try in the terminal and got this message back:

bash: -c: line 1: syntax error near unexpected token '>'
bash: -c: line 1: 'echo "127.0.0.1 mesu.apple.com" > > / etc/hosts'

please advise - i really dont wanna reinstall and patch it all again

im assuming i typed in something wrong with the > commands but i typed it as it was stated

ravidium
2008-11-20, 08:17
to be safe i would do a factory restore by holding menu & - until it restarts then choose factory restore.

if your factory firmware is 2.1 i would leave it as is without updating to 2.2 and repatch with atvusb-creator.

you can disable auto update by typing this in ssh to appletv:

sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'


k just tried it again

I think its cuz i put a space between the brackets and did it as "> >" instead of ">>" ..i did it again and i think it worked - is there anyway to know for sure?

davilla
2008-11-20, 08:32
k just tried it again

I think its cuz i put a space between the brackets and did it as "> >" instead of ">>" ..i did it again and i think it worked - is there anyway to know for sure?

">>" is an append, "> >" I think will replace the contents with the quoted text.

You need to list the contents of /etc/hosts to make sure you did not wipe out the original contents which would be the following




##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost


It will look like this if you did the command correctly.


##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 mesu.apple.com

ravidium
2008-11-20, 08:39
whats the command to list that directory

sorry noobie

davilla
2008-11-20, 08:50
whats the command to list that directory

sorry noobie

cat /etc/hosts


to edit it (if you also installed binutils)


sudo nano /etc/hosts


control-x to save and exit

ravidium
2008-11-20, 08:53
http://dl.getdropbox.com/u/121877/Picture%202.jpg

just did it - looks like that

am i all good?

thanks!

ravidium
2008-11-20, 08:55
oh and how do i install binutils so that i can edit it in the future when i can update

spideyk21
2008-11-22, 02:15
oh and how do i install binutils so that i can edit it in the future when i can update

By default the binutils are installed when you use the patchstick (http://code.google.com/p/atvusb-creator/). If not you can rerun the patchstick with only the bin utils selected.

You can check by typing nano test
You can also look in the /usr/bin folder.
cd /usr/bin

ravidium
2008-11-22, 22:30
perfect! thank you