These are instructions on how to jailbreak your iPhone 3GS on the 3.0.x iPhone firmware using RedSn0w for Windows. The Mac version of this tutorial is here. The 3G version of this tutorial is here . The 2G version of this tutorial is here
This tutorial can be used to jailbreak before applying the UltraSn0w unlock. You can find instructions on how to apply the unlock here.
** If you would like to jailbreak on the 3.0.1 firmware you can follow these exact instructions; however, in Step Two use this 3.0.1 iPhone firmware file instead of the 3.0 one. Continue with the instructions as indicated.**
Create a folder on your desktop called Pwnage
Download RedSn0wfrom here and place it in the Pwnage folder. Likewise, download the latest 3.0 firmware from below and place it in the same folder.
3.0.0 (3GS): iPhone2,1_3.0_7A341_Restore.ipsw
Extract the RedSn0w executable from the zip file to the Pwnage folder.
Connect your iPhone to the computer and launch iTunes.
Select your iPhone from the list of devices on the left. Now hold down shift and click the Restore button. Restore is preferred as it won't create any wasted space on your iPhone.
Navigate to the Pwnage folder on your desktop and select the firmware ipsw. Click the Open button to continue.
Once iTunes has finished updating your iPhone to the desired firmware you may launch redsnw0w.exe from the Pwnage folder on your desktop.
Once RedSn0w opens click the Browse button
Select the firmware ipsw we placed in the Pwnage folder on our desktop then click Open
Once the firmware has been verified click the Next button to continue.
Make sure Cydia is selected and click the Next button.
RedSn0w will now instruct you on how to put your iPhone into recovery mode. Disconnect you iPhone 3GS from the computer then power it off. Then hold down the Home button while reconnecting the device to the computer. Don't let go of the button until RedSn0w detects the iPhone and begins installation.
Your iPhone will now reboot
RedSn0w will then begin uploading the new RAM Disk and kernel.
Once this is complete you will be notified that RedSn0w is done. Click the Finish button. When your iPhone finishes rebooting (5 minutes or so) it will be jailbroken with Cydia on the SpringBoard.