Do not update to iPhone 3.1.3 firmware yet if you want to preserve your unlock for iPhone 3GS, iPhone 3G, iPod touch 2G (new models) and iPod touch 3G. This is because the new iPhone 3.1.3 firmware updates baseband to 05.12.01 on iPhone 3GS and iPhone 3G which makes it impossible to jailbreak and unlock iPhone 3GS and 3G.
Follow the simply step by step instructions below to jailbreak and unlock iPhone 2G, jailbreak iPod 1G/2G (older models only) on 3.1.3 firmware. You can also jailbreak iPhone 3G with redsn0w 0.9.4 but doing so will make you loose your unlock.
Step 1: Update to original iPhone 3.1.3 firmware via iTunes. Downloading and installation instructions for iPhone 3.1.3 firmware can be found from here.

Step 2: Start redsn0w 0.9.4 and point it to the respective original iPhone 3.1.2 firmware to proceed. Yes you need to point it to iPhone 3.1.2 instead of 3.1.3 because redsn0w 0.9.4 is still unable to validate the latest firmware.
Step 3: Now select both “Install Cydia” and “Already pwned” options.
Step 4: Now make sure your device is both OFF and PLUGGED IN to the computer before you click “Next”.
Step 5: Connect your device in recovery mode by pressing the Power and buttons continuously.
At this stage you will be presented with a screen where you will have to quickly hold “Power” button and then while holding the “Power” button, you will now have to hold “Home” button too. Now after few seconds release “Power” button but keep holding “Home” button until installation begins.
Step 6: Sit back and enjoy while redsn0w will do all the rest for you. Once done, your iPhone 2G will restart automatically and you will find it jailbroken with iPhone firmware version 3.1.3.
Disclaimer: This guide is for testing & educational purposes only. I’m not responsible for any loss of important data or malfunctioning of your iPhone.
Note for iPhone 3G and 3GS Users: We strongly suggest that you stay away from this official upgrade until and unless the DevTeam or George Hotz releases new jailbreaking and unlocking tools for 3.1.3 firmware. We will let you know when it will happen. In the meantime you can follow our complete jailbreaking and unlocking guide for iPhone 3.1.2 firmware using blackra1n, PwnageTool, redsn0w, sn0wbreeze, ultrasn0w and blacksn0w.
Download iTunes 9.0.3 for Windows and Mac
Download the Original iPhone OS 3.1.3 firmware for iPhone
Download the Original iPhone OS 3.1.2 firmware for iPhone
Download redsn0w 0.9.4 for Windows [Fast Mirror link]
Download redsn0w 0.9.4 for Mac [Fast Mirror link]
if you like this article, you may want to subscribe , follow me on Twitter or or join us on Facebook.
Get your ihelplounge t-shirt here


