Why can't i get my iphone 4 out of recovery mode?

I bought an iphone 4 from my friend today and when i plug into itunes it says its in recovery mode, and the iphone will not turn on at all no matter what i do without a computer. When i plug it in, the apple logo comes up for half a second and the the itunes plugin thing comes up. I'm on the latest version of itunes, and when its preparing for the restore, my computer keeps making the beeping noises when it connects and disconnects over and over, and it says the iphone "iphone" could not be restored. An error has occurred. So what should i do? Is there any way to get out of recovery mode without a computer? I really need help because i need the phone for music until i get it activated, so please any help would be appreciated.

I'm straight to the point make this best answer thank you

Download recboot and there are instructions

  • Iphone 5c stuck in recovery mode and Itunes won't recognize the phone, or that its in recovery mode? I tried updating to IOS 8 and it has the connect to itunes screen. Well i plugged it into my computer and opened itunes and got no notifications or anything. I really don't know what to do. I've seen online something about DFU mode… But i don't know what that is, is it jailbreaking? Will it erase my phone? Also. My phone is not backed up so help please.
  • How to get my Iphone out of recovery mode? - 1 I've plugged into itunes and tried to restore it and the same error message occurs every time. So now my iphone is stuck on a screen that shows a cord an arrow and a itunes symbol and can't move beyond that.
  • How to get my iPhone 4 out of Recovery mode? My phone is stuck on recovery mode I have tried and held down the home and power button to restart and it comes up with the USB > Itunes. I have and it tells me to restore, I have restored then it comes up with error -1. How do I restore and recover my iphone? Ahh
  • How to get my iphone 4 out of recovery mode loop? I recently jailbreaked my sisters iphone 4 running ios 5.1.1 using absinthe after a while ios 6.0.1 came out and she told me to upgrade to ios6 so i just went to itunes and downloaded ios6 and upgraded, but when her phone rebooted it got stuck in recovery mode loop. What should i do to get it out?