Monday, November 12, 2007

AFP Hack Gives Read/Write Access to iPhone, iPod Touch [Apple]

iphonefsGI.jpgAn iPhone hacker, known as Core, has managed to finalize an AppleTalk Filing Protocol hack that enables full read/write access to either an iPhone, or iPod touch, via Finder. Unfortunately, the work has just been completed, and as yet, it is not available via Installer.app. If you fancy trying it manually, you can find the complete instructions after the jump, courtesy of the great guys at TUAW.

To install by hand, use sftp to copy the tar file into /opt/iphone. Extract the archive on your iPhone or touch--the tar archive program is part of the BSD program; use tar xvf name-of-archive.tar--and run /opt/iphone/afp/startserver.sh &. The ampersand lets the program run in the background. (You will need to restart it after reboots.)

Once installed and running, go to Finder. Choose Go > Connect To Server, and enter the afp address for your iPhone, in my case afp://192.168.0.111. Just use the afp:// prefix with the local IP address of your iPhone. Enter your user id (root) and password (alpine) and your iPhone or iPod appears in the sources list for your Finder windows... To add new applications, just drop them into the Applications folder. To back-up your personal data, just copy /var/root/Library

To get cracking, hit the link to download the necessary file. Be sure to opt for the newer package, named afpd.with.registered.users.tgz. If you are not willing to get messing all up inside your iPhone or touch, wait a little while longer, as this awesomeness is bound to appear in Installer.app in the not too distant future. If you do give it a try, be sure to let us know how you get on. [Wickedpsyched via TUAW]