From ModMyiFone - Wiki
Part 3, AppTapp
This is part 3 of the OS X iPhone Unlock Guide. We will be installing Installer.app, as well as some other system apps.
Step 1
First, make sure you do not have iNdependence running.
Download and run AppTapp.
Click Continue.
Choose Firmware 1.0.2, and click Continue.
AppTapp will take about 90 seconds to run through its deal. Your iPhone will display a Please Connect to iTunes message, as well as restart once or twice. Don't worry.
You will get a Success message.
If you are using iTunes 7.4.1 and have a more recent iPhone you may get a message "Bootstrap failed, see Console log!" when trying to install AppTapp. You can get around this by removing iTunes 7.4.1 and its plist (use AppDelete to do this) and installing 7.4 from a DMG
Step 2
Now, on your iPhone, you will have a new icon for Installer. Click it. It will most likely ask you to connect to your WiFi network. If you don't have one, you're screwed. ;) Assuming you do, connect to it.
Good. Wait till you see the WiFi connected signal on the top bar of your iPhone (where it says what time it is, etc). When you do, click and install these apps, in this order:
Community Sources
DNS Tools
BSD Subsystem - this will take a couple minutes.
OpenSSH
Alright. You're ready to move onto the final part, part 4.