To unlock your iPhone 3GS, you need to have Cydia installed in order to access UltrasnOw. If you don’t have Cydia installed, install RedsnOw and walk through the process. You can then unlock your iPhone by following these steps:

  • Open the Cydia app.
  • Press the manage tab at the bottom of the Cydia screen.
  • Click on Sources.
  • Press the Edit button on the top right hand corner of the screen.
  • Press Add on the top left hand corner of the screen.
  • When the text box appears, enter Cydia/APT URL.
  • Press Add Source.
  • Press Return to Cydia.
  • Press Done in the top right hand corner of the screen.
  • Select repo666.ultrasn0w.com under “Entered by User”.
  • Press select UltrasnOw under the repo.666.ultrasn0w.com.
  • Press install in the upper right hand corner of the screen.
  • Press Confirm
  • Choose “Reboot Device Button” when it comes available.
  • Your iPhone 3GS is now unlocked.

Resource: iPhoneHacks