Install SSH with a Take 2 Patchstick for the AppleTV

Posted February 22, 2008 at 6:40pm by iClarified | Please help us and submit a translation by clicking here | 36090 views

These are detailed instructions on how to create a Take 2 Patchstick to install SSH onto your AppleTV.

In order to perform this tutorial you need a usb stick that has been freshly formated in Mac OS Extended (Journaled) format.

UPDATE***: I have posted an EASIER version of this tutorial HERE.

Step One
Connect your USB Stick to the computer.

Step Two
Insert your OSX Tiger Install CD into the computer.

Step Three
Download the Patchstick 2.0 prep files from here:
Small USB Stick (~1GB, 512MB)
Large USB Stick (~4GB)

Step Four
Extract the folder Patchstick from Patchstick2.0.zip onto the Desktop


Step Five
Download and install Pacifist from here

Step Eight
Launch Pacifist from your Applications folder.


Step Nine
Click the large Open Package... button.


Step Ten
Navigate to the /System/Installation/Packages directory on your OS X Tiger Install CD and select Essentials.pkg. The click the Open button.




Step Eleven
On your desktop, open the Patchstick folder and navigate to the Files/System/Library/Extensions directory. Do this by double clicking on Files, then double click System, then double click Library, then double click Extensions.


Step Twelve
Now we will copy a list of files from the Pacifist to your Extensions folder you have open. Use the Find bar in Pacifist to search for the name of the file and then once found simply drag it to the open Extensions folder.

AppleACPIPlatform.kext
AppleAPIC.kext
AppleEFIRuntime.kext
AppleFileSystemDriver.kext
AppleFlashNVRAM.kext
AppleHDA.kext
AppleHPET.kext
AppleIRController.kext
AppleRTC.kext
AppleSMBIOS.kext
AppleSMC.kext
AudioIPCDriver.kext
BootCache.kext
GeForce.kext
IO80211Family.kext
IOACPIFamily.kext
IOATAFamily.kext
IOAudioFamily.kext
IOGraphicsFamily.kext
IOHIDFamily.kext
IONDRVSupport.kext
IONetworkingFamily.kext
IOPCIFamily.kext
IOPlatformPluginFamily.kext
IOSCSIArchitectureModelFamily.kext
IOStorageFamily.kext
IOUSBFamily.kext
IOUSBMassStorageClass.kext
NVDANV40Hal.kext
NVDAResman.kext
OSvKernDSPLib.kext
System.kext

As an example I will do the first one. Enter AppleACPIPlatform.kext into the find bar.


Pacifist will locate the file and highlight it.


Drag the file to the open Extensions folder. You will be prompted to confirm the extraction. Click the Extract button.


You may be asked for your Administrator Name and Password. Enter these then click the Ok button.


You should now see the file in your Extensions folder.


Do this for every extension in the list above until you have 32 files in the Extensions folder.


Step Thirteen
Now open the Patchstick folder from your desktop again. This time navigate to Files/System/Library/Frameworks.



Step Fourteen
Search for Kerberos.framework and copy it to the Frameworks folder...


Step Fifteen
Now in Pacifist open BaseSystem.pkg from the Mac OS X Install CD.




Step Sixteen
Search for and copy CoreFoundation.framework and IOKit.framework to your Frameworks folder.


Step Seventeen
From your Patchstick folder on the Desktop navigate to Files/usr/lib. Find these files and copy them to the lib folder.
dyld
libgcc_s.1.dylib
libncurses.5.4.dylib
libSystem.B.dylib



Step Eighteen
From your Patchstick folder on the Desktop navigate to Files/usr/lib/system. Find libmathCommon.A.dylib and copy it to the system folder.


Step Nineteen
Download the Mac OS X 10.4.9 Combo Updater from here

Open the download with Pacifist. You will find a file called AppleIntelCPUPowerManagement.kext in the /System/Library/Extensions folder.


Open the Patchstick folder on the desktop again and navigate to the System/Library/Extensions folder. Drag the AppleIntelCPUPowerManagement.kext file from the Pacifist into here.


Step Twenty
Download the AppleTV 1.1 Updater from here

Open the download with Pacifist. You will find a file called boot.efi in the Files/usr/standalone/i386 folder


Open the Patchstick folder on the desktop again and open the Files folder. Drag the boot.efi file from pacifist into this folder.


Step Twenty One
Open a new Terminal window by launching it from Applications:Utilities.


Step Twenty Two
Execute the following commands into the Terminal window:

cd ~/Desktop/Patchstick


chmod 755 /Files/boot.efi


sudo ./createPatchstick. If prompted for a password enter your Administrator password.


Notice the last command listed the different disks present. You must figure out which disk is for your usb stick. Mine was /dev/disk2. Now enter sudo ./createPatchstick /dev/disk2. (Make sure to remember to replace /dev/disk2 with your usb stick location).


You will now be prompted to confirm the partitioning of your usb stick. Type yes then hit enter.


The script will partition your usb stick and copy over the necessary files. This will take about five minutes. When done you will be told that your disk is now unmounted and ready to patch your AppleTV!!!!



THANKS***: Just want to say thanks to everyone who helped me out with this, especially ton, who was a great help!

Share
Add Comment
Matt Browne - September 18, 2008 at 6:40pm
The Apple TV 1.1 Updater link no longer works. Does anyone know where I can find this?
Cousincocaine - June 9, 2008 at 9:40am
chmod 755 /Files/boot.efi is wrong (somewere around step 20) and needs to be chmod 755 Files/boot.efi or chmod 755 ~/Desktop/PatchStick/Files/boot.efi nice tutorial. cc
crazyastro - March 12, 2008 at 12:55pm
There is an error with the steps outlined above
I had no problem creating the patchstick on a 4GB USB drive following these instructions. However, each time there was a kernel panic before it would install SSH, so I could never get into the ATV. For me, I had to use the instructions at atv4windows, to get the patchstick working. but the files are the same, so there is probably a small error in the scripts or something. after I got SSH installed, it was easy to get all the codecs installed.
I am currently uploading 720p movies at podtropolis.com if you want to play 720p resolution movies on your Take 2 unit.
jupil - March 12, 2008 at 12:46pm
hmmm, great tutorial but it doesn\'t work here. My tv is almost 1 year and i made the patchstick with tiger shipped with my imac 1,5 year ago. I made my first on a 1Gb stick and got kernel panic\'s. I made then a new one on a 4 Gb stick and then i saw couple times apple logo and then i had to choose language, then asked to reboot, intro movie and then all was normal like before but no ssh enabled. What is the problem please i\'m already busy tried 3 days. help greetzz Jupil
jam_uk - March 12, 2008 at 5:28am
iClarifed - my take as a newbie on the subject. If this helps with your new tutoiral: This morning I have successfully patched my ATV. Thanks to the Riddler for nudging me in the right direction. The Patchstick I created has worked. I used this tutorial on Leopard with Tiger install disk and ATV 2.0: http://www.iclarified.com/entry/index.php?enid=708 Note, step 22: chmod 755 /Files/boot.efi should be chmod 755 Files/boot.efi If you get any errors about cannot change directory then just reformat the USB drive a few times, make sure it\'s named correctly. Once the patchstick is created, TURN OFF your ATV, unplug and leave it for 5mins. Plug is the USB patchstick, switch on the ATV, wait to boot then press menu + \'-\'. It will now restart and boot from the patchsitck, you should see lines of code showing you the install. Mine at this point stopped mentioning the Kernel, I wasn\'t sure if it had completed or failed. After a few mins I then again pressed menu + \'-\' to restart the ATV and removed the USB patchsitck. The restart, repair, restore menu came up and I selected restart. The ATV rebooted as normal, then on the Mac I successfully connected via SSH using: ssh frontrow@AppleTV.local and password frontrow This is far as I have got so far. I hope that helps anyone with the same issue.
37 More Comments
Follow iClarified