If your phone says “needs repair” and you tried to restore and got this error, you probably have a permanently damaged phone.You can try the DFU mode suggestion above and hope for the best. It usually means the PC lost communications with the phone.We would suggest going into an Apple store or contacting Apple.
Then i Pad restore tool -- Syncios Data Transfer will be a good choice.
You can restore what you want to your i Pad by this i Pad restore tool in simple steps.
Note: You need itunes 7.4 or greater for FW versions 1.1.1 and 1.1.2. Note: If you intend to jailbreak to install 3rd party apps, prior to restoring, be sure that the firmware version you are using can be hacked.
Note: if you need to restore a specific version of firmware onto your device, rather than click restore, hold shift (PC) or option (MAC) and click restore.
According to Apple’s website, third party security software often prevents i Tunes from connecting to Apple servers or your i Devices. Please see the following articles to troubleshoot these errors.