So have you forgotten your iPhone’s passcode and you can’t remember it? In the past, the only solution, if you have forgotten the passcode, was to restore the device using iTunes and lost all your data but thanks to Gecko iPhone toolkit as it is now possible to get your forgotten passcode back within half an hour. Not only the iPhone, you can also recover it if you have iPod Touch or the iPad.

Note: This guide is solely for people who have lost their passcode or for those who just want to know the procedure for educational purpose. This guide is not intended for those who want to break into others devices.

Supported devices: iPhone 3GS, iPhone 4, iPad 1, iPod Touch 3G and iPod Touch 4G.
iPhone 3G, iPhone 4S and iPad 2 are not supported.
If your iPhone, iPod Touch or iPad has disabled on the lock screen, then follow this guide first.
Things you need:
1. Gecko iPhone toolkit. Download here.
2. iTunes must be installed on your computer. You won’t be using iTunes in this tutorial but it is required as it contains all usb drives for iOs devices.
3. iOs 5.0.1 firmware file for your device. Example: If you have iPhone 3GS then download 5.0.1 for 3GS. Download it here. Even if your device is running iOS 5.0 or 5.1.1, you still have to download iOS 5.0.1 for your device so don’t confuse yourself regarding this.
Step 1: Open Gecko iPhone toolkit. Under ‘Read lockscreen password’, select your device from drop down list and click boot.
Gecko iphone toolkit
Step 2: Click ok and then select the 5.0.1 IPSW file you download earlier for your device.
Step 3: Once you select the iPSW file, gecko toolkit will launch Redsnow.
Gecko iphone toolkit running redsn0w
Step 4: Follow the on-screen instructions to put your device in DFU mode. Then choose ‘Jailbreak’ and let Redsn0w do it’s task.
Step 5: Once you see Done! on redsn0w, close it by clicking cancel and go back to gecko toolkit.
Step 6: Now simply click Launch button and leave the rest to gecko toolkit. It will read your devices’ passcode in about 15-20 minutes so keep patience.

Once all is done, you will see your passcode under ‘Password read information’ window.

Caution: Do not unplug your device while the procedure is running.