Piccola guida alla creazione di un Patchstick

jetmcquack Ottobre 19th, 2007

In English

Visto l’incredibile successo che ha avuto la AppleTV e l’incredibile carenza di una guida che spieghi passo passo come si fa a creare un patchstick, ho pensato di crearne una in Italiano che vi possa aiutare a creare il vostro:

Che Cosa e’ un Patchstick:

Un Patchstick e’ una chiavetta USB su cui e’ stato caricato un “sistema” per sbloccare la vostra AppleTV e renderne accessibili funzioni che altrimenti sarebbero inutilizzabili, nondimeno permette l’installazione dei Plugin, la vera potenza della melaTV

Di cosa avrete bisogno:

  • Di un Mac OS X 10.4.x Basato su Cpu Intel (Non funziona se non e’ Intel based)
  • Del file Patchstick.zip
  • Di una chiavetta USB di almeno 1 GB
  • Del file boot.efi contenuto in questa particolare immagine dmg (Attenzione ~170MB!!!)
  • Perian, vi servirà per permettere a AppleTV di leggere ogni file video esistente (opzionale)

Procedimento:

ATTENZIONE: Sebbene sia una procedura completamente legale, molto probabilmente invaliderà la garanzia della vostra AppleTV, quindi attenzione a quello che fate. Non mi assumo nessuna responsabilità se utilizzando tale procedura renderete inutilizzabile la vostra AppleTV

  1. (Opzionale) Installate Perian seguendo le sue istruzioni
  2. Scaricato il file patchstick.zip, unzippatelo
  3. Montante l’immagine qualcosa.dmg che avete scaricato in precedenza e dovrete avere un drive OSBoot
  4. Aprite terminal.app nella directory dove si trova il file patchstick unzippato
  5. digitate il comando :

    sudo ./createPatchstick

  6. Seguite le istruzione sullo schermo…

Quando lo script ha finito di andare rimuovete il vostro Patchstick e inseritelo nella AppleTV, quindi rebootate tenento premuto “Menu” e “-” dal telecomando per 6 secondi.

ATV farà un gran casino, si riavvierà molte volte, e compariranno delle scritte sullo schermo, dovete solo fare attenzione quando comparirà il messaggio di installazione ultimata, a quel punto potrete rimuovere il patchstick, e riavviare la appletv staccando la spina.

Ecco a voi ATV Loader tra i comandi possibili, da qui potrete scaricare e installare tutti i plugin esistenti e abilitare la console SSH. La vostra AppleTV e’ ora molto più figa!

Fatemi sapere se ha funzionato!

Compra subito la tua AppleTV!

English Version:

What is a Patchstick?
A patchstick is small usb pendrive with a built-in “system” that allows you to unlock your AppleTV and making it possibile to install on it plugins and enabling SSH console. Read more on: http://wiki.awkwardtv.org/wiki/Patchstick

What you will need:

  • A Mac OS X 10.4.x Based on Cpu Intel (Doesn’t work if not Intel based)
  • Patchstick.zip
  • USB pendrive (at least 1 GB of capacity)
  • the file boot.efi inside this dmg image (WARNING ~170MB!!!)
  • Perian, you will need this if you want your AppleTV to read any video type(optional)

Proceeding:
WARNING: Although this is a completly legal procedure much likely it will void your AppleTV guarantee. Pay attention on what you do, i decline all liability.

  1. (Optional) Install Perian following its own instructions
  2. Download the file patchstick.zip, and uzip it
  3. Mount the image something.dmg wich you have downloaded before and you should see a drive called OSBoot
  4. Open terminal.app in the directory where you have unzipped patchstick.zip
  5. Enter the command :

    sudo ./createPatchstick

  6. Follow the instructions on screen…

When the script has finished remove your patchstick and insert it in your AppleTV, then reboot pressing down “Menu” and “-” keys on the remote for 6 seconds.
ATV will reboot from the usb drive, and will do a lot of stuff, including rebooting many times. Don’tworry it’s ok. When you read the installation it’s done remove the usb patchstick and shut down the appletv unplugging it from the power, and restart it.
You should see now “ATV Loader” . It will let you install plugins and enable the ssh console!
Congratulation now you a have a cool AppleTV unlocked!
let me know if it worked

(And sorry for my bad english!)

Buy now your AppleTV!

19 Responses to “Piccola guida alla creazione di un Patchstick”

  1. […] Cerofolini has written a simple tutorial (in both Italian and English) of how you can get your Apple TV ssh-enabled.  It is pretty much the […]

  2. […] Como no había probado el método PatchStick, decidí hacerlo.Para ello consulté en appletvhacks.net el manual que referenciaban. […]

  3. marcoon 04 Nov 2007 at 16:06

    Quando lancio il comando sudo ./createPatchstick mi chiede la password! che cosa devo mettere?

  4. jetmcquackon 04 Nov 2007 at 17:56

    devi mettere la password dell utente root, quella dell amministratore x intenderci! ogni volta che eseguì un comando sudo te la chiederà!

  5. […] AppleTV soft Hack - by nassos! […]

  6. […] found this short tutorial to unlock your Apple TV and open it up to all those awesome services available on AkwardTV, like […]

  7. […] che verranno mano a mano sbloccate dalle stesse persone straordinarie che hanno prodotto gia il patchstick e lo hanno reso […]

  8. Thiebaudon 09 Nov 2007 at 01:48

    Ciao Francesco,

    I tried several times to run your script, succeeded once (without Perian), installed Perian on my iMac Intel Mac OS 10.4.10, then run multiple times the script but I get always something apparently wrong at the very end of it when trying to dismount all mounted volumes:

    “gpt add: unable to open device ‘/dev/disk1′: Resource busy”

    If I look at the script, I can see the command which fails:
    gpt add -b $START -s $SIZE -i 1 -t “5265636F-7665-11AA-AA11-00306543ECAC” $THEDISK

    I cant’ understand what the script tries to do here. I’d be grateful if you could tell me what’s wrong and how dangerous it could be to boot my Apple TV on this USB stick with this script error.

    I’ve copied below the full execution output of the script.

    Many thanks!

    Thiebaud

    xxxx:~/Desktop/Patchstick xxxx$ sudo ./createPatchstick /dev/disk1

    — Generation of Apple TV Patchstick —

    Created by Marook.
    Thanks to: MacTijn, Alan_Quatermain & ericIII

    —————————————–

    Are you sure you want to partition disk /dev/disk1? [yes|no]yes

    Partitioning /dev/disk1:
    Started partitioning on disk disk1
    Creating Partition Map
    5% ..Formatting Disk 10% ..Formatting Disk 100% ..
    Finished partitioning on disk disk1
    /dev/disk1
    #: type name size identifier
    0: GUID_partition_scheme *3.8 GB disk1
    1: EFI 200.0 MB disk1s1
    2: Apple_HFS Patchstick-root 80.0 MB disk1s2
    3: Apple_HFS Patchstick 3.4 GB disk1s3
    Patitions done.
    Creating System folders…
    Copying System Extentions…
    Copying System files…
    Adding Kerberos…
    Copying Patchstick files…
    - Found Perian component. Adding it to the Patchstick…
    Changing Patchstick-root to Apple TV Mode…
    Disk /dev/disk1 unmounted
    gpt remove: /dev/disk1: 1 partition(s) removed
    Disk /dev/disk1 unmounted
    gpt add: unable to open device ‘/dev/disk1′: Resource busy
    Disk /dev/disk1 unmounted

    Your disk /dev/disk1 is now unmounted and ready to patch your AppleTV.
    Enjoy… :-)

  9. Thiebaudon 11 Nov 2007 at 01:18

    Hi,

    I solved my problem: it came from the size of my USB stick, it was too big (4 GB). I used a 256 MB instead and it worked in the end.

    Thanks,

    T.

  10. forli65on 13 Nov 2007 at 10:38

    ho un pc intel con installato mac osx 10.4 e apple tv con firmware 1.0
    per prima cosa un saluto a tutti.

    devo sbloccare la mia appletv, non ho un mac (per ora). mi sono addentrato nell’installazione di mac os 10.4 su un pc intel.
    sembra tutto bene, seppure con qualche difficoltà, ma vedo che sale il sistema operativo, tastiera e mouse ok, penne usb riconosciute, sembra anche veloce. proseguo con la mia avventura.
    ho caricato l’immagine 2z694…dmg e vedo sul desktop che mi carica un drive osboot
    ho scompattato il file patchstick sul desktop
    con terminal ci sono andato dentro
    ho lanciato il comando “sudo ./createpatchstick”
    ho visto l’elenco dei dischi e ho scelto qullo della penna usb da 1 gb
    seguo le istruzioni
    vedo che partiziona la penna, formatta e crea cartelle
    da degli errori ogni tanto di copia, mi sembra in /system/extension come se non trovasse dei file
    finisce dopo qualche minuto smontandomi la penna e scrivendo di inserirla nella apple tv
    inserisco la penna, da telecomando premo menu e il -
    resetta, carica qualche cosa ma si ferma quasi subito, ho aspettato diversi minuti, ho riavviato l’apple tv ma è tutto come prima.

    avete qualche idea, devo completare l’installazione mac che ho sul pc con qualche cosa, oltre a perian?
    il drive osboot che vedo sul desktop, devo spostare qualche file nella penna, o basta fare solo open del file .dmg?

    grazie mille per l’attenzione

  11. forli65on 13 Nov 2007 at 15:38

    questo è il testo a video nella creazione della patchstick.

    andreas-computer:~/desktop/temp3/patchstick aa$ sudo ./createPatchstick /dev/disk2
    — Generation of Apple TV Patchstick —
    Created by Marook.
    Thanks to: MacTijn, Alan_Quatermain & ericIII
    —————————————–
    Are you sure you want to partition disk /dev/disk2? [yes|no]yes

    Partitioning /dev/disk2:
    Started partitioning on disk disk2
    Creating Partition Map
    5% ..Formatting Disk 10% ..Formatting Disk 100% ..
    Finished partitioning on disk disk2
    /dev/disk2
    #: type name size identifier
    0: GUID_partition_scheme *973.8 MB disk2
    1: 48465300-0000-11AA-AA11-00306543 Patchstick-root 80.0 MB disk2s1
    2: 48465300-0000-11AA-AA11-00306543 Patchstick 893.8 MB disk2s2
    Patitions done.
    Creating System folders…
    mkdir: /Volumes/Patchstick-root/sbin: File exists
    mkdir: /Volumes/Patchstick-root/etc: File exists
    mkdir: /Volumes/Patchstick-root/dev: File exists
    mkdir: /Volumes/Patchstick-root/OSBoot: File exists
    mkdir: /Volumes/Patchstick-root/stuff: File exists
    ln: /Volumes/Patchstick-root/bin/sbin: File exists
    Copying System Extentions…
    cp: /System/Library/Extensions/IOPlatformPluginFamily.kext: No such file or directory
    cp: /System/Library/Extensions/IO80211Family.kext: No such file or directory
    cp: /System/Library/Extensions/AudioIPCDriver.kext: No such file or directory
    cp: /System/Library/Extensions/AppleSMC.kext: No such file or directory
    cp: /System/Library/Extensions/AppleIRController.kext: No such file or directory
    cp: /System/Library/Extensions/AppleHPET.kext: No such file or directory
    cp: /System/Library/Extensions/AppleHDA.kext: No such file or directory
    cp: /System/Library/Extensions/AppleEFIRuntime.kext: No such file or directory
    cp: /System/Library/Extensions/AppleIntelCPUPowerManagement.kext: No such file or directory
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/scsi-commands with non-directory /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/scsi-commands
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Versions/Current with non-directory /System/Library/Frameworks/IOKit.framework/Versions/Current
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Headers with non-directory /System/Library/Frameworks/IOKit.framework/Headers
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Resources with non-directory /System/Library/Frameworks/IOKit.framework/Resources
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/CoreFoundation.framework/Versions/Current with non-directory /System/Library/Frameworks/CoreFoundation.framework/Versions/Current
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/CoreFoundation.framework/Headers with non-directory /System/Library/Frameworks/CoreFoundation.framework/Headers
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/CoreFoundation.framework/Resources with non-directory /System/Library/Frameworks/CoreFoundation.framework/Resources
    Copying System files…
    Adding Kerberos…
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/Current with non-directory /System/Library/Frameworks/Kerberos.framework/Versions/Current
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Headers with non-directory /System/Library/Frameworks/Kerberos.framework/Headers
    cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Resources with non-directory /System/Library/Frameworks/Kerberos.framework/Resources
    Copying Patchstick files…
    - Perian not found in /Library/QuickTime. Skipping…
    Changing Patchstick-root to Apple TV Mode…
    Disk /dev/disk2 unmounted
    gpt remove: /dev/disk2: 1 partition(s) removed
    Disk /dev/disk2 unmounted
    Disk /dev/disk2 unmounted

    Your disk /dev/disk2 is now unmounted and ready to patch your AppleTV.
    Enjoy… :-)

  12. spikenycon 16 Nov 2007 at 02:46

    When I try to follow this part of the instruction

    Open terminal.app in the directory where you have unzipped patchstick.zip
    Enter the command : sudo ./createPatchstick

    I get: command not found
    Can you help me?

    How do I open the terminal app in the right directory?

    Thanks!

    S

  13. ryanoffon 17 Nov 2007 at 23:20

    Has anyone been able to get the Patchstick to work while running Leopard?

    I kept getting an error, “No space left on device” while running the createPatchstick script on my Intel iMac running Leopard and a 512MB USB memory stick. So I modified the script to increase the size of the partitions it was creating as follows:

    diskutil partitionDisk $THEDISK 2 GPTFormat HFS+ Patchstick-root 200M HFS+ Patchstick 100M

    After this small modification, the script would finish without any errors. But when I boot up my ATV with the Patchstick plugged in, I get a few screens of errors and it finally ends with a line talking about a certain kernel version. Nothing seems to have changed on my ATV after a reboot.

    I can’t seem to get this to work. I am guessing it is because of Leopard. Will there be an updated Patchstick script for Leopard?

    Any advice?

  14. […] Apple TV Patchstick - Guida alla Creazione (tags: apple hack appletv) […]

  15. martindolphinon 30 Dic 2007 at 22:46

    I’ve got the same problem - it fails when I boot Apple TV with the stick and complains about kernels and ACPI drivers

    Has anyone been able to get this to work?

    Thanks

  16. ovoon 08 Gen 2008 at 22:41

    una domanda: ma quando inserisco la patchstick nell’apple Tv, e faccio il reset.. poi quanto bisogna aspettare perche’ il patch finisca il suo lavoro?

    io vi ho provato piu’ volte…. e dopo il contdown

    ..30 seconds…
    ..20 seconds…
    ..10 seconds…

    appaiono altre scritte e alla fine si ferma su una schermata *****I386 (o simile).

    il ledi lell’ATV lampeggia in giallo e non succede nulla…. quando riavvio, tutto come prima…..

    che devo fare? :-(

    HELP!
    grazie!!!

  17. Marovanon 13 Gen 2008 at 22:02

    scusatemi per la banalita’ e l’ovvieta’ della domanda , ma non riesco proprio a venirne fuori …
    da poco ho un mac book pro , e sono emigrato dal pc con window …
    come cavolo faccio ad aprire terminal.app nella cartella dove ho scaricato il file patch ???

    che comandi si usano per entrare/uscire dalle directory ?? In windows per esempio col prompt di dos sono cd e cd..
    mi date una mano per favore ??

    grasssssie

  18. Mario Espositoon 20 Gen 2008 at 08:05

    Ho visto che nelle istruzioni rihiedi Tiger e cercando in giro ho visto che sembra esserci una incompatibilita’ di fondo con Leopar. Hai per caso trovato un workaround al problema??

  19. Alan Fordon 01 Mar 2008 at 12:22

    Ciao a Cisco ed a tutti i partecipanti su questo blog

    ho seguito le istruzione per la creazione della patchstick, tutto sembra procedere correttamente ma dopo il reset della ATV quest’ultima esegue semplicemente un riavvio e tutto è come prima.
    I primi tentativi sono stati fatti con una penna USB da 2GB ma leggendo quanto detto da Thiebaud ho provato con una da 512MB. Stesso risultato.

    Vi prego di aiutarmi se avete qualche consiglio da darmi.

    Alan Ford

Trackback URI | Comments RSS

Leave a Reply