How to completely restore iphone 4?

So as it says, I have this iphone 4 with a passcode that i have no idea what it is, given by a friend and I can't seem to restore it. It's running on ios7 and when I try to restore it I encounter "error 3194", because its not synced to my laptop, now I have tried numerous things to get by this, ifaith, trying to downgrade, downgrading itunes etc. Its really getting on my nerves as i have no phone atm. I've tried pwned dfu mode with resn0w hoping to get somewhere but nothing. I'm hoping there's some tech guy/gal willing to help me out with this, with some sort of magic way of getting by it, I know there's. I have done this before just on ios6.1.3/.1.2. I'm really stuck and just want to get this done. Any help appreciated. Cheers.

Added (1). Hey, yeah i've tried that all before NOTHING seems to be working for me I hate apple so much I'm an android user but mine got robbed and i've had to resort to apple cheers anyways

Go to apple.com click on itunes click on download itunes then on next page uncheck boxes and click download itunes. This will repair what is missing in itunes. Click run or repair whatever prompt appears. Once installed restart computer. Open itunes and plug the cord into a different usb port on the computer. Plug cord into computer. Not phone. Turn phone completely off. Hold home button in and plug cord into phone continuing to hold button in until a prompt on itunes screen states a device is in recovery mode. Then let go of button. Set up as new device. This will get by the passcode but will not get by find my phone activation. Sometimes a different cord or computer might be needed if this gives same error code.