My friend in 2014 (Feb) jailbroke my phone and I never updated it again as I have no laptop. I decided I wanted to remove jailbreak because all my apps will not run on my software 7.0.4 I tried to restore it from a friends laptop with the up to date iTunes but it keeps coming up with an error. 1167 I think it is. I've tried holding buttons down to make it go into recovery mode but it comes up with error and never works ? I done no what else to do ?
Apple has a list of error messages that come up when restoring iOS. That number isn't in the list. Verify the error you are receiving and compare it with the list on Apple's KB for restoring iOS.
Also, you can look in the console.app while trying to restore. It may give you more information about why it is failing.