Difference between revisions of "Safe Update 1.1 Step by Step"

From AwkwardTV
Jump to: navigation, search
m (-cat Tutorials (not a plugin tutorial), +cat 1.1)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Originally posted on [http://www.shalomlevytam.com/index.php?m=08&y=07&entry=entry070814-173602 Shalom's blog]
+
Originally posted on
 +
[http://www.iclarified.com/tutorials/appletv iClarified], wikified, and renumbered the steps.
  
****To Do make the page nice....
 
  
 +
== Requirements ==
 +
To follow these steps you will need to have:
  
<pre>
+
* SSH enabled on your AppleTV (I won't get into that but [[Main_Page|the main page]] is a good start).
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)
+
This can all be done with the built in safe update from nitoTV's installation manager:
 +
[[NitoTV#Safe_Update]]
  
  
Step One:
+
== Step One: IP Address ==
Make you sure know the ip address of your apple tv. You can find this in your apple tv menus under Settings:Network
+
Make you sure know the ip address of your AppleTV. You can find this in your AppleTV menus under Settings:Network.
  
Step Two:
+
== Step Two: Download ==
Download the update from apple. 2Z694-5248-45.dmg
+
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:
+
== Step Three: Send it to the AppleTV ==
Open a new Terminal window from your osx Applications:Utilities folder and navigate to the folder you stored the update dmg in.
 
  
Step Four:
+
=== From Mac OSX ===
Type sftp -1 frontrow@youripaddress into the terminal window substituting 'youripaddress' with your apple tv's ip address. Note: the password is frontrow.
+
* Open a new Terminal window from your OSX Applications:Utilities folder and navigate to the folder you stored the update DMG in;
 +
* Type <pre> sftp -1 frontrow@apple_tv_ip_address </pre> into the terminal window (substituting ''apple_tv_ip_address'' with your apple tv's ip address). Note: the password is "frontrow";
 +
* Enter <pre> put 2Z694-5248-45.dmg </pre> The dmg will now copy to your AppleTV. Once transfer is complete type <pre> bye </pre> which will close the sftp connection.
  
Step Five:
+
=== From KDE ===
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.
+
* 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 <pre> fish://frontrow:frontrow@apple_tv_ip_address/Users/frontrow </pre> 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 Six:
+
== Step Four: SSH ==
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:
+
* Type <pre> ssh -1 frontrow@apple_tv_ip_address </pre> 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.
+
* Next type in <pre> sudo mount -uw / </pre> and if prompted enter "frontrow" for the password.
  
Step Eight:
+
== Step Five: Backing up ==
 
Now you can execute the following commands to make a backup of your 1.0 Software.
 
Now you can execute the following commands to make a backup of your 1.0 Software.
  
mkdir 1.0.backup
+
  mkdir 1.0.backup
mkdir 1.1.files
+
  cp -p -r "/System/Library/PrivateFrameworks/Backrow.Framework" ~/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
cp -p -r "/System/Library/CoreServices/Finder.app" ~/1.0.backup
 
  
Step Nine:
+
== Step Six: Extracting ==
 
Now execute the following commands to extract the files necessary from the 1.1 update.
 
Now execute the following commands to extract the files necessary from the 1.1 update.
  
hdiutil mount 2Z694-5248-45.dmg
+
  mkdir 1.1.files
cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/Backrow.Framework" ~/1.1.files
+
  hdiutil mount 2Z694-5248-45.dmg
cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/AppleTV.Framework" ~/1.1.files
+
  cp -p -r "/Volumes/OSBoot 1/System/Library/PrivateFrameworks/BackRow.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/PrivateFrameworks/AppleTV.Framework" ~/1.1.files
cp -p -r "/Volumes/OSBoot 1/System/Library/CoreServices/Finder.app" ~/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:
+
== Step Seven: Replacing ==
 
Execute the following commands to remove the old files and replace them with the newly extracted ones.
 
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/BackRow.Framework
sudo rm -r /System/Library/PrivateFrameworks/iPhotoAccess.Framework
+
  sudo rm -r /System/Library/PrivateFrameworks/iPhotoAccess.Framework
sudo rm -r /System/Library/CoreServices/Finder.app
+
  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/Backrow.Framework /System/Library/PrivateFrameworks
sudo cp -p -r ~/1.1.files/AppleTV.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/iPhotoAccess.Framework /System/Library/PrivateFrameworks
sudo cp -p -r ~/1.1.files/Finder.app /System/Library/CoreServices
+
  sudo cp -p -r ~/1.1.files/Finder.app /System/Library/CoreServices
  
Step Eleven:
+
== Step Eight: Fix 'sleep' ==
 
To fix an issue with the sleep fuction no longer working please execute the following:
 
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 chmod u+s /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper
sudo chown root:wheel /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 Twelve:
+
== Step Ten: Reboot ==
Reboot the Apple TV by executing
+
Reboot the AppleTV by executing
  
sudo reboot
+
  sudo reboot
</pre>
 
  
 +
and you should have your AppleTV working smoothly by now...
  
[[Category:Tutorials]][[Category:How-to]]
+
[[Category:How-to]][[Category:1.1|Update, Safe]]

Latest revision as of 13:39, 28 February 2008

Originally posted on iClarified, wikified, and renumbered the steps.


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 type
     bye 
    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...