How to unlock an iphone when you forget the passcode?

I lost my iphone 4 a while ago, and I just recently found it while cleaning up my house for renovations. I charged it and it turns on and everything amazingly! But I have no idea what my passcode is! I looked up a couple ways to reset it all together, but none are working. It says I have to connect it to the computer I originally synced it too, but I got rid of that computer a while ago as well… So now I'm at a blank. I have pressed the lock and home button and connected to itunes but it won't work because its not the original computer. If anyone knows how I can get into this phone (it doesn't matter if it factory resets) please let me know!

Plugging it into iTunes is the only way. Or you could go to the apple store and they could do it for you

Apple's official instructions to restore an iPhone are:

1. Connect iPhone to your computer.
2.In iTunes, select iPhone in the Devices list, then click Summary at the top of the screen.
3. Click "Check for Update." iTunes tells you if there's a newer version of the iPhone software available.
4. Click Restore. Follow the onscreen instructions to complete the restore process. When restoring, it is recommended that you back up iPhone when prompted. When the iPhone software has been restored, you can either set it up as a new iPhone, or restore your music, videos, app data, and other content from a backup.
Please also note that Apple representatives can't unlock an iPhone for you without restoring the iPhone, which will erase everything on it.
youtube How to: Unlock Your iPhone When You Forgot Your Passcode

You have to run recovery or DFU mode which will restore the phone as new with All content erased.

http://support.apple.com/.../kb/HT1808

  • What to do if you forgot you iphone passcode and you didn't even put your iCloud account in? When i first got my iphone i set the passcode as 000000 but I somehow typed too fast and hit something else and i did it TWICE. I didn't even get a chance to log in my apple id account. I don't know what to do.
  • What do you do if you forget your iPhone password? There's a password that you put in when you start up the iPhone, but it is not the lock screen password. This password is used if you need to reset any of the settings. I forgot the password, how can I reset it?
  • What do you call a person who forget and always miss place things? For example, i just got a new IPhone and i went to the bathroom at school to check my hair after i was finished i left the bathroom. About ten mins later i realized i did not have my iphone. What would you call this. Oh i have also left my lab top on the bus never got it back. What would say is wrong?
  • What do I do when I forget my iPhone passcode? I was in the car with my sister yesterday and she saw me putting in my passcode so I changed it to something different but I think it was a complete random number and now I can't remember what it was. I haven't synced my phone to iTunes on my computer yet because I haven't needed music, but now I can't restore it. It says i need to unlock my iPhone before it can connect to it. Is there anything I can do?