Safe Update 1.1 Step by Step
Originally posted on iClarified, wikified, and renumbered the steps.
Contents
Requirements
To follow these steps you will need to have:
- SSH enabled on your AppleTV (I won't get into that but the main page is a good start).
This can all be done with the built in safe update from nitoTV's installation manager: NitoTV#Safe_Update
Step One: IP Address
Make you sure know the ip address of your AppleTV. You can find this in your AppleTV menus under Settings:Network.
Step Two: Download
Download the update from apple. The DMG is accessible from http://mesu.apple.com/data/OS/061-2988.20070620.bHy75/2Z694-5248-45.dmg and it weighs in at 179MB (188,072,708 bytes).
Step Three: Send it to the AppleTV
From Mac OSX
- Open a new Terminal window from your OSX Applications:Utilities folder and navigate to the folder you stored the update DMG in;
- Type
sftp -1 frontrow@apple_tv_ip_address
into the terminal window (substituting apple_tv_ip_address with your apple tv's ip address). Note: the password is "frontrow"; - Enter
put 2Z694-5248-45.dmg
The dmg will now copy to your AppleTV. Once transfer is complete typebye
which will close the sftp connection.
From KDE
- Open Konqueror;
- Navigate to the folder where you put the update DMG in;
- Right-click on the DMG, select "Copy" from the context menu;
- Open a new tab;
- Type
fish://frontrow:frontrow@apple_tv_ip_address/Users/frontrow
in the address bar (again, substituting apple_tv_ip_address with your apple tv's ip address). You may have to accept the apple_tv_ip_address to continue, and you may have to type the "frontrow" password again; - Select "Edit" from the main menu, then "Paste 1 file".
Step Four: SSH
- Type
ssh -1 frontrow@apple_tv_ip_address
in a terminal window (once more, substituting apple_tv_ip_address with your AppleTV's ip address). You will have to type the "frontrow" password again; - Next type in
sudo mount -uw /
and if prompted enter "frontrow" for the password.
Step Five: Backing up
Now you can execute the following commands to make a backup of your 1.0 Software.
mkdir 1.0.backup cp -p -r "/System/Library/PrivateFrameworks/Backrow.Framework" ~/1.0.backup cp -p -r "/System/Library/CoreServices/Finder.app" ~/1.0.backup
Step Six: Extracting
Now execute the following commands to extract the files necessary from the 1.1 update.
mkdir 1.1.files 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 Seven: Replacing
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 Eight: Fix 'sleep'
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 Nine: Prevent new upgrades
To make sure the software update doesn't automatically do a full upgrade to 1.1, make it impossible to reach the update server.
sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'
Step Ten: Reboot
Reboot the AppleTV by executing
sudo reboot
and you should have your AppleTV working smoothly by now...