Solution that code that gives you iTunes is because mobile jailbreak been. To solve this problem I'll give you some advice.
1- first creates a backup but iCloud, uninstall iTunes on your PC or laptop, download it again.
2- connects the iPhone back into iTunes and atomaticamente will tell you if you want the last backup of your iPhone is loaded. You give not set up as new. Once restored factory you can now load the backup from iCloud.
If the problem remains the only option is to put the phone in DFU mode pressing both the power button and the power button until you get the logo on mobile you connect your phone to your PC with iTunes, iTunes will tell you to you detected an iPhone DFU follow the steps and go problem solved. Remember that this tends to happen a lot and have to keep trying changed the USB port of your PC or laptop iTunes to accept it. Do not take the sat now has it all under control. If to miss the jailbreak etc, if you take it there or pass anything but you must do the crazy saying that you've updated slam gives you Error -38 -1830 and continuously, if they see that you've done the jailbreak or asks you tell not that you do not know how it's done and do not know what is. It depends who treats you at the store Genius Bar you change it.