Difference between revisions of "AppleTV 2.1 Safe Update"

From AwkwardTV
Jump to: navigation, search
m (added nito warning because you shouldn't safe update)
 
(21 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Template:Banner}}
 
{{Template:Banner}}
 +
 +
=Warning=
 +
Safe Update is recommended against by Nito! Read [http://forum.awkwardtv.org/viewtopic.php?f=2&t=1801&st=0&sk=t&sd=a&start=30#p10986 this] for more info.
  
 
==Overview==
 
==Overview==
Line 5: Line 8:
 
I am just creating a basic stripped down page on how to perform a safe update procedure with the new Take 2 update released on 02-12-08.  
 
I am just creating a basic stripped down page on how to perform a safe update procedure with the new Take 2 update released on 02-12-08.  
  
'''NOTE:''' None of the PlugIns will work on Take 2 yet, even the leopard versions will not load, it appears to be a whitelist issue, i imagine this will be resolved relatively soon.
+
'''NOTE:''' Not all of the plugins work on take 2 yet, there are a few in beta and only Couch Surfer is full.
  
 
==> '''NOTE:''' The 1080i resolution seems to be missing after doing the safe update.  Perhaps there is a required change in the HDMI firmware update?
 
==> '''NOTE:''' The 1080i resolution seems to be missing after doing the safe update.  Perhaps there is a required change in the HDMI firmware update?
 +
 +
 +
To shed some light about the HDMI firmware update question, here's a quote from an AppleInsider.com review:
 +
 +
The 2.0/2.1 updates include four software upgrades:
 +
 +
    * An EFI firmware update.
 +
    * An IR firmware update. (2.1 only)
 +
    * A firmware update for the Apple TV's HDMI video hardware that enables 1080p output through upconversion and HDCP copy protection.
 +
    * Updated Mac OS X software with support for HD downloads, rentals, AirTunes and more.
  
 
The safe update procedure is basically identical to the last one, with one extra framework to add and one extra framework to swap in.
 
The safe update procedure is basically identical to the last one, with one extra framework to add and one extra framework to swap in.
Line 13: Line 26:
 
==Procedure==
 
==Procedure==
  
Download the dmg for [http://mesu.apple.com/data/OS/061-3561.20080212.ScoH6/2Z694-5274-109.dmg Take 2]  
+
Download the dmg for [http://mesu.apple.com/data/OS/061-5044.20080709.de43E/2Z694-5485-1.dmg AppleTV 2.1]  
  
 
Copy this over to your frontrow folder through ssh or a mounted remote drive
 
Copy this over to your frontrow folder through ssh or a mounted remote drive
  
  scp 2Z694-5274-109.dmg frontrow@AppleTV.local:frontrow
+
  scp -1 2Z694-5485-1.dmg frontrow@AppleTV.local:~/
  
 
frontrow as password
 
frontrow as password
Line 26: Line 39:
  
 
  cd ~
 
  cd ~
 
+
  hdiutil mount 2Z694-5485-1.dmg
  hdiutil mount 2Z694-5274-109.dmg
 
 
    
 
    
 
after the image is mounted we are going to go to the PrivateFrameworks, CoreServices and Frameworks folder and make backups of all the current important files to revert to 1.1 if desired.
 
after the image is mounted we are going to go to the PrivateFrameworks, CoreServices and Frameworks folder and make backups of all the current important files to revert to 1.1 if desired.
  
 +
sudo mount -o remount,rw /dev/disk0s3 /
 
  cd /System/Library/PrivateFrameworks/
 
  cd /System/Library/PrivateFrameworks/
  sudo mv BackRow.framework BackRow.framework.11
+
  sudo mv BackRow.framework BackRow.framework.20
  sudo mv AppleTV.framework AppleTV.framework.11
+
  sudo mv AppleTV.framework AppleTV.framework.20
  sudo mv iPhotoAccess.framework iPhotoAccess.framework.11
+
  sudo mv iPhotoAccess.framework iPhotoAccess.framework.20
  
 
  cd /System/Library/CoreServices/
 
  cd /System/Library/CoreServices/
  sudo mv Finder.app Finder11.app
+
  sudo mv Finder.app Finder20.app
  
 
  cd /System/Library/Frameworks/
 
  cd /System/Library/Frameworks/
  sudo mv QuartzCore.framework QuartzCore.framework.11
+
  sudo mv QuartzCore.framework QuartzCore.framework.20
 +
sudo mv CoreVideo.framework CoreVideo.framework.20
  
  
okay now everything for 1.1 is backed up now to move in the new Finder and frameworks
+
 
 +
okay now everything for 2.0 is backed up now to move in the new Finder and frameworks
  
  
Line 68: Line 83:
 
now just kill the finder and the new one should load up
 
now just kill the finder and the new one should load up
  
  kill `ps awwx | grep [F]inder | awk '{print $1}'
+
  kill `ps awwx | grep [F]inder | awk '{print $1}'`
 +
 
 +
Airtunes
 +
 
 +
sudo cp -r /Volumes/OSBoot\ 1/usr/libexec/airtunesd /usr/libexec/airtunesd
 +
sudo cp -r /Volumes/OSBoot\ 1/System/Library/LaunchAgents/com.apple.airtunesd.plist /System/Library/LaunchAgents/com.apple.airtunesd.plist
 +
 
 +
You need to copy the new "mach_kernel.prelink" from the 2.1 update file as well as follows:
 +
 
 +
cd /
 +
sudo mv mach_kernel.prelink mach_kernel.prelink.old
 +
sudo cp /Volumes/OSBoot\ 1/mach_kernel.prelink /mach_kernel.prelink
 +
sudo chown root:wheel /mach_kernel.prelink
 +
 
 +
Reboot your AppleTV and AirTunes should be working for you.
  
 
==Afterword==
 
==Afterword==
  
This is hot off the presses so I know the finder loads and appears to work okay, report any problems here on the wiki, on the forum or in the chatroom.
+
This is hot off the presses so I know the Finder, Airtunes and iPhone remote appears to work okay, report any problems here on the wiki, on the forum or in the chatroom.
 +
 
 +
[[Category:ATV2|Update, Full]][[Category:2.0]]

Latest revision as of 17:55, 7 September 2008

<Google>WIKI</Google>

Warning

Safe Update is recommended against by Nito! Read this for more info.

Overview

I am just creating a basic stripped down page on how to perform a safe update procedure with the new Take 2 update released on 02-12-08.

NOTE: Not all of the plugins work on take 2 yet, there are a few in beta and only Couch Surfer is full.

==> NOTE: The 1080i resolution seems to be missing after doing the safe update. Perhaps there is a required change in the HDMI firmware update?


To shed some light about the HDMI firmware update question, here's a quote from an AppleInsider.com review:

The 2.0/2.1 updates include four software upgrades:

   * An EFI firmware update.
   * An IR firmware update. (2.1 only)
   * A firmware update for the Apple TV's HDMI video hardware that enables 1080p output through upconversion and HDCP copy protection.
   * Updated Mac OS X software with support for HD downloads, rentals, AirTunes and more.

The safe update procedure is basically identical to the last one, with one extra framework to add and one extra framework to swap in.

Procedure

Download the dmg for AppleTV 2.1

Copy this over to your frontrow folder through ssh or a mounted remote drive

scp -1 2Z694-5485-1.dmg frontrow@AppleTV.local:~/

frontrow as password

ssh -1 frontrow@AppleTV.local

frontrow as password

cd ~
hdiutil mount 2Z694-5485-1.dmg
  

after the image is mounted we are going to go to the PrivateFrameworks, CoreServices and Frameworks folder and make backups of all the current important files to revert to 1.1 if desired.

sudo mount -o remount,rw /dev/disk0s3 /
cd /System/Library/PrivateFrameworks/
sudo mv BackRow.framework BackRow.framework.20
sudo mv AppleTV.framework AppleTV.framework.20
sudo mv iPhotoAccess.framework iPhotoAccess.framework.20
cd /System/Library/CoreServices/
sudo mv Finder.app Finder20.app
cd /System/Library/Frameworks/
sudo mv QuartzCore.framework QuartzCore.framework.20
sudo mv CoreVideo.framework CoreVideo.framework.20


okay now everything for 2.0 is backed up now to move in the new Finder and frameworks


Private frameworks (same as last safe update)

sudo cp -r /Volumes/OSBoot\ 1/System/Library/PrivateFrameworks/AppleTV.framework /System/Library/PrivateFrameworks/AppleTV.framework
sudo cp -r /Volumes/OSBoot\ 1/System/Library/PrivateFrameworks/BackRow.framework /System/Library/PrivateFrameworks/BackRow.framework
sudo cp -r /Volumes/OSBoot\ 1/System/Library/PrivateFrameworks/iPhotoAccess.framework /System/Library/PrivateFrameworks/iPhotoAccess.framework

Frameworks (new for take 2)

sudo cp -r /Volumes/OSBoot\ 1/System/Library/Frameworks/QuartzCore.framework /System/Library/Frameworks/QuartzCore.framework
sudo cp -r /Volumes/OSBoot\ 1/System/Library/Frameworks/CoreVideo.framework /System/Library/Frameworks/CoreVideo.framework

Finder

sudo cp -r /Volumes/OSBoot\ 1/System/Library/CoreServices/Finder.app /System/Library/CoreServices/Finder.app

Fixing helper permissions

sudo chmod u+s /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper

now just kill the finder and the new one should load up

kill `ps awwx | grep [F]inder | awk '{print $1}'`

Airtunes

sudo cp -r /Volumes/OSBoot\ 1/usr/libexec/airtunesd /usr/libexec/airtunesd
sudo cp -r /Volumes/OSBoot\ 1/System/Library/LaunchAgents/com.apple.airtunesd.plist /System/Library/LaunchAgents/com.apple.airtunesd.plist

You need to copy the new "mach_kernel.prelink" from the 2.1 update file as well as follows:

cd /
sudo mv mach_kernel.prelink mach_kernel.prelink.old
sudo cp /Volumes/OSBoot\ 1/mach_kernel.prelink /mach_kernel.prelink
sudo chown root:wheel /mach_kernel.prelink

Reboot your AppleTV and AirTunes should be working for you.

Afterword

This is hot off the presses so I know the Finder, Airtunes and iPhone remote appears to work okay, report any problems here on the wiki, on the forum or in the chatroom.