Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ebel3003

macrumors 6502a
Original poster
Jun 20, 2007
630
0
"The Google"
First off I'd like to disclaim that all I've done is further explain the process of Jailbreaking the iPod Touch. I take no credit or responsibility for the original guide and process, I just felt that less experienced users should understand what they are actually doing and accomplishing. With the knowledge gained from the explanation, you should (hopefully) understand the process and be able to troubleshoot any errors or mistakes you cause. This process is pretty safe, considering that you are only changing software, not hardware, so the device should be completely restorable. This guide will come in two parts Installation and Troubleshooting. I'm open to any contributions and questions. EDIT: Also, this guide was intended for Intel Macs.

Original is located here: http://www.touchdev.net/wiki/Jailbreak_Guide

Extra mirror if you can't use Rapidshare: http://fsandoval.net/jailbreak/

Step 1: Exploiting Safari
The first step is to run the TIFF exploit. Essentially what this is doing, is enabling the application iPHUC to gain access to the root directory of the iPod. This step is straightforward, but do not start if you intend to stop or you will be forced to restore at this point.

With Mobile Safari, open: http://jailbreak.toc2rta.com

Step 2: Using iPhuc to Extract the OS
Files you need:
iPHUC- http://rapidshare.com/files/61505779/Desktop_-_Jailbreak.zip.html
libreadline- http://rapidshare.com/files/61509655/opt.zip.html

Place the iPHUC contents onto your desktop and place the new "opt" folder onto the root portion of your computer. If the "opt" folder exists, place the file in that folder manually.

By using the TIFF exploit, we were able to switch a few folder names around and enable the ability to write to the OS's directories rather than just the Media directory. To start the process of extracting, you will want to start up iPHUC in Terminal.

If we've placed the files on our desktop:
Code:
cd Desktop
./iphuc

Execute the following command from within iPHUC:
Code:
getfile /dev/rdisk0s1 iphonefs/rdisk0s1 314572800

What the above getfile command is doing, is copying the contents of the OS to a disk image file, which you should save because if you make any mistakes, you can use this later and avoid having to restore and start from scratch.

After iPHUC has finished extracting the OS, find the file which should be located under the iphonefs folder. Rename the file from rdisk0s1 to rdisk0s1.dmg and open it. You should have a new disk image mounted similar to "Snowbird3A109a.UserBundle".

What you will want to do is open the "etc" directory of the disk image and replace the fstab file with the fstab file we were supplied with when we downloaded iPHUC. Once you have done that, you can eject the disk image and start the process of blasting the OS back to the iPod.

To send the newly modified OS back to the iPod, execute this command from within iPHUC:
Code:
putfile iphonefs/rdisk0s1.dmg /dev/rdisk0s1

Now exit iPHUC by typing "exit" and restart the iPod using Slide to Power Off. You have now Jailbroken the iPod, but that doesn't mean anything yet. We still need to install the SSH/SFTP Daemon so that we can fix syncing and install new applications.

Step 3: Installing and Starting SSH
Files you need:
INdependence: http://independence.googlecode.com/files/iNdependence_v1.2.1a_bin.dmg

Now what we'll be doing is installing SSH and SFTP so that we can fix Syncing and move new applications to your iPod. To begin we'll need to open up the application INdependence. This step is extremely easy, but can be easily messed up by using hard reboot instead of using Slide to Power Off. Make sure to use Slide to Power Off from here on out!

Move to the SSH tab under INdependence and click Install SSH/SFTP/SCP. Follow the directions they give you, which will be rebooting twice. Once complete, reboot once more using Slide to Power Off.

To confirm that you have SSH running, type the following command:
Code:
ssh -l root your.ipods.ip.address
NOTE: Do not take this command literally. First find out your iPod's ip address under Wireless Settings and replace the phrase "your.ipods.ip.address" with the actual iPod ip address.
NOTE 2: In the above command, -l is an L, not a 1.

The default password is "alpine". If you are not presented with any errors, you've logged in correctly and are ready to move onto the next step.

Step 4: Fixing Syncing and Installing Installer.app
Files you need:
Cyberduck- http://cyberduck.ch/

Download and open CyberDuck. Once running, log into your iPod Touch by using the same IP as above, the username root, and the password alpine. Make sure to use SFTP and not regular FTP. Once logged in, you will be presented with the folders on your iPod Touch.

If you aren't there already, navigate to /var/root and rename the following folders:
* Media needs to be renamed to Media_sym
* Mediaold needs to be renamed Media

Reboot your iPod Touch and connect it to iTunes to confirm that you have fixed syncing.

If you've confirmed syncing to be okay, then we're good to start installing applications.

Files you need:
Installer.app- http://iphone.nullriver.com/zips/Installer-2.63.zip

Using SFTP, copy Installer.app to the Applications folder located under the root folder. You will then need to connect via SSH in Terminal to your iPod again. From above:
Code:
ssh -l root your.ipods.ip.address
NOTE: Do not take this command literally. First find out your iPod's ip address under Wireless Settings and replace the phrase "your.ipods.ip.address" with the actual iPod ip address.

Once connected to your iPod, run the following commands to open Installer.app on your iPod. We're also going to get a CHMOD out of the way because it's convenient:
Code:
chmod -R a+x /Applications/*
Code:
/Applications/Installer.app/Installer

If it opened on your iPod, all is good. Now you'll just need to close it, but leave your SSH connection active for the moment. To close it, press CTRL+C on your keyboard.

With Mobile Safari, open: http://conceitedsoftware.com/iphone/beta/
Tap yes to add it to Installer.app, then using SSH again type the same command as above:
Code:
/Applications/Installer.app/Installer

Hit refresh to get the new package listing, scroll down to Trip1PogoStick, tap to get more info, then tap Install. Once installed, reboot the iPod Touch. If all is well, you should be presented with a new Installer icon on your springboard. You can now start installing applications.

Thanks for reading, hopefully this provided a little more explanation and is a little less vague. I just wanted to help out less experienced users, so if you don't find this useful, please don't flame! :) I may post a few fixing solutions later, if you've messed up and don't want to restore.

Lastly, please point out if I missed anything!

EDIT: And one more thing.. Working Mail.app located on page 2.
 
that worked great! thanks so much. can you detail how to get the iphone apps on as well? i have the apps but don't know how to get them on. thanks.
 
Installing iPhone apps are pretty simple. Assuming you followed this guide, using SFTP you should be able to drag the iPhone apps into the /Applications/ directory on your iPod Touch. You may have to rename them to include ".app" as the extension, though, depending on where you got them.

Mail and Maps are the only applications I haven't gotten working. I still need to get ahold of the GMM.framework for Maps to work. Guess I'll keep searching! :)
 
Installing iPhone apps are pretty simple. Assuming you followed this guide, using SFTP you should be able to drag the iPhone apps into the /Applications/ directory on your iPod Touch. You may have to rename them to include ".app" as the extension, though, depending on where you got them.

Mail is the only application I haven't gotten working. I still need to get ahold of the GMM.framework for it to work. Guess I'll keep searching! :)

thanks, it was the adding .app part that i wasn't doing. you've been a huge huge help, thank you so much.
 
any chance that an even easier way to jailbreak the ipod touch will release in the near future? I hope so...:)

I'm sure there will be a GUI jailbreak in the near future. I've actually considered writing one myself, but there's still some unknown factors I would have to look into.
 
I'm sure there will be a GUI jailbreak in the near future. I've actually considered writing one myself, but there's still some unknown factors I would have to look into.

i'm having problems with the mail and maps applications. have you gotten those ones working yet? i know i must be missing those files listed in the directions, any ideas on how to get those? and with those files, where do i place them? thanks again.
 
i'm having problems with the mail and maps applications. have you gotten those ones working yet? i know i must be missing those files listed in the directions, any ideas on how to get those? and with those files, where do i place them? thanks again.

Maps seems to require another framework which ships with the iPhone, but not the iPod Touch. I'm working on tracking this file down at the moment, but I won't be able to post it here.

Mail I'm not sure about yet, I'm still tinkering with that. Pretty sure I need to get ahold of MobileMailSettings.bundle from somewhere to make this one work.
 
Will the next iPod Touch software update totally brick jailbreak'd Touches?

I really really want to do this but I don't want to brick my iPod, or be without the latest official Apple updates.
 
Maps seems to require another framework which ships with the iPhone, but not the iPod Touch. I'm working on tracking this file down at the moment, but I won't be able to post it here.

Mail I'm not sure about yet, I'm still tinkering with that. Pretty sure I need to get ahold of MobileMailSettings.bundle from somewhere to make this one work.

i found the files. i'll have them in a couple minutes. what should i do with them after that?
 
i found the files. i'll have them in a couple minutes. what should i do with them after that?

I'm actually downloading the files as well. I'm hoping all it will take is placing the applications in the /Applications/ folder, and then placing the following files on the iPod.

MobileMailSettings.bundle to /System/Library/PreferenceBundles/MobileMailSettings.bundle

GMM.Framework to /System/Library/Frameworks/GMM.Framework

I'll post success or failure in about 5 to 10 minutes.
 
Okay
I have a problem
I was on step three, when iNdependence continually said waiting for iphone

After about 30 minutes i force quit the app and had to do a hard reboot on the touch.
It is now stuck on the Apple logo, any help?

Fixed, starting process over
 
So far I've gotten Maps to work now, still working on playing with Mail.

Okay
I have a problem
I was on step three, when iNdependence continually said waiting for iphone

After about 30 minutes i force quit the app and had to do a hard reboot on the touch.
It is now stuck on the Apple logo, any help?

Fixed, starting process over

I'd restore and start from ground zero.

Edit: Tried starting Mail via SSH to see if I can get an error out of it. "zsh: bus error /Applications/MobileMail.app/MobileMail"
 
I may have found the solution. Waiting for my account information to connect and verify. Will post again in several minutes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.