First of all download the Quickpwn 2.2, which is a jailbreak utility for iPhone’s series.
Now, just open the iTunes and try your best to restore it.
You can see that the iPhone Error 1002 is displayed as “The iPhone could not be restored. An unknown error occurred (1002),” as shown in the image above.
Once you get the error 1002, simply open Quickpwn.
Now, you will get a pop-up message indicating that you must start your iPhone again.
Simply act in accordance with the instructions that come into view after you restart your iPhone.
The moment when an Apple boot logo appears, immediately close the Quickpwn.
You have successfully performed all the required steps; now your iPhone should normally boot up and iTunes will recognize your phone as new.