What can I do when I forget my iphone passcode?

One of my friends put a passcode on my phone, so I asked her what it was, and she tells me she doesn't know because she was just goofing around putting random numbers. It won't let me restore the phone without the passcode. It won't let me put it in DFU mode or Recovery mode. Verizon can't do anything, and we have no local Apple stores. Plus I can't get another phone for a year. Does anyone know of any way they can help me!

Connect your phone to iTunes. On the left hand bar, click (your name) iPhone. (Below devices). Scroll down and you'll see restore. BUT FIRST YOU HAVE TO SYNC So YOU CAN GET YOUR APPS, PICS ETC.

Connect to itunes restore and from icloud everything is back to normal

  • 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 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?
  • Told my iPhone to forget a device on Bluetooth radio? I have a radio like boom box thing almost. It's small and it's Bluetooth. I told my iPhone to forget that device on accident and I'm having a party tonight and need it. I don't know how to get it back. The radio just sits there I can't like turn Bluetooth on that, or at least don't know how.
  • Is there anyway I can bypass my passcode on my iPhone 4 or it's a 5 I'm not sure but I can't remember the passcode but I need it I know you can restore but I don't want to do that because I don't think I have the computer I backed it up to back then. And i don't know what update this is. Like I haven't see the emergency button there at all in any videos