Hello as many sometimes it does not work solutions for this error (1015) when trying to update or restore your iPhone, I leave this tutorial simple so they can restore without any problem. The solution is to stick a iOS 4.1 so you can restore.
Important: Before you do the procedure to get even the iPhone SIM.
Tools:
redsnow 0.9.6b6
Download redsn0w 0.9.6b6 for mac:
Download redsn0w 0.9.6b6 for Windows:
Now we have everything ready in our pc we will:
1.-Open iTunes and give Shift + Restore (leave the window to select the iOS 4.1), began to restore.
2.-When that starts to restore it will give the error (1015), we give accept.
Open 3.- Tyniumbrella and upper left select your iPhone (iPhone will not be as numbers come out that's your iPhone), and give to exit recovery.
4.-The iPhone will continue with the restoration process and ends when we stop in emergency calls.
We 5.- jailbreak 4.1, when I finish the install ultrasnow repo iphoneame.com/repo we put our sim and go!
Note: I recommend leaving the iPhone in 4.1 to avoid future mistakes, because if we give update or restore a possible error;)