Saturday, February 16, 2008

AppleTV | AppleTV 1.1 Safe Update

Well here is a go at something that really frustrated me! The AppleTV 1.1 Safe Update. For those of you that don't know, if you do a software update from the AppleTV directly it will disable alot of the features that were available on the 1.0 Software.
To follow these steps you will need to have:

- SSH enabled on your Apple TV (I won't get into that just yet but http://wiki.awkwardtv.org is a good start)


Step One:
Make you sure know the ip address of your apple tv. You can find this in your apple tv menus under Settings:Network

Step Two:
Download the update from apple. 2Z694-5248-45.dmg

Step Three:
Open a new Terminal window from your osx Applications:Utilities folder and navigate to the folder you stored the update dmg in.

Step Four:
Type sftp -1 frontrow@youripaddress into the terminal window substituting 'youripaddress' with your apple tv's ip address. Note: the password is frontrow.

Step Five:
Enter put 2Z694-5248-45.dmg. The dmg will now copy to your AppleTV. Once transfer is complete type bye which will close the sftp connection.

Step Six:
Type ssh -1 frontrow@youripaddress into the terminal window substituting 'youripaddress' with your apple tv's ip address. Note: the password is frontrow.

Step Seven:
Next type in sudo mount -uw / and if prompted enter frontrow for the password.

Step Eight:
Now you can execute the following commands to make a backup of your 1.0 Software.

mkdir 1.0.backup
mkdir 1.1.files
cp -p -r "/System/Library/PrivateFrameworks/Backrow.Framework" ~/1.0.backup
cp -p -r "/System/Library/CoreServices/Finder.app" ~/1.0.backup

Step Nine:
Now execute the following commands to extract the files necessary from the 1.1 update.

hdiutil mount 2Z694-5248-45.dmg
cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/Backrow.Framework" ~/1.1.files
cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/AppleTV.Framework" ~/1.1.files
cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/iPhotoAccess.Framework" ~/1.1.files
cp -p -r "/Volumes/OSBoot 1/System/Library/CoreServices/Finder.app" ~/1.1.files

Step Ten:
Execute the following commands to remove the old files and replace them with the newly extracted ones.

sudo rm -r /System/Library/PrivateFrameworks/Backrow.Framework
sudo rm -r /System/Library/PrivateFrameworks/iPhotoAccess.Framework
sudo rm -r /System/Library/CoreServices/Finder.app
sudo cp -p -r ~/1.1.files/Backrow.Framework /System/Library/PrivateFrameworks
sudo cp -p -r ~/1.1.files/AppleTV.Framework /System/Library/PrivateFrameworks
sudo cp -p -r ~/1.1.files/iPhotoAccess.Framework /System/Library/PrivateFrameworks
sudo cp -p -r ~/1.1.files/Finder.app /System/Library/CoreServices

Step Eleven:
To fix an issue with the sleep fuction no longer working please execute the following:

sudo chmod u+s /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper
sudo chown root:wheel /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper


Step Twelve:
Reboot the Apple TV by executing

sudo reboot

No comments: