So, what is blackra1n? blackra1n is a 30 second ALL device 3.1.2 jailbreak. Even the ipt3, but the ipt3 is tethered. In order to boot it, just rerun blackra1n.
Image via ModMyi
Follow the steps below to jailbreak all iPhone’s and iPod touches on OS 3.1.2:
Note for iPhone 3G and 3GS: Do NOT upgrade to iPhone 3.1.2 yet if you want to keep yourunlock as doing so will result in upgrade of your baseband which will make it almost impossible for you to unlock.
Step 1: Download and install the latest version of iTunes (download link given below).
Step 2: You will now need to first update/restore to the original iPhone OS firmware 3.1.2 on your iPhone by using the latest version of iTunes. Download link for iPhone Firmware 3.1.2 is given at the end of the post.

Step 3: Download blackra1n for Windows (download link at the end of the post).
Step 4: Start blackra1n app. If you are on Windows 7 or Vista, run the app with “Windows XP Compatibility” mode by enabling it from the “Properties” tab to avoid any errors during the jailbreak process.
Step 5: Click on “make it ra1n”:

Step 6: Let the app do its thing and wait for the phone to automatically reboot.
Step 7: You should now have “blackra1n” in the list of applications on your iPhone. Run “blackra1n”, download Cydia and let it install it.

Image Credit: elmarseillais
Step 8: Finally reboot your iPhone. Voila! You should now have fully jailbroken iPhone or iPod touch running on firmware 3.1.2.
You can follow me on twitter or join our facebook fanpage to keep yourself updated on all the latest iPhone jailbreaking and unlocking releases.