But how do I restore ? My phone is not passing the apple logo screen...???
to restore, you have to get your phone into either restore mode, or DFU mode.
To get it into a restore mode, do this...
If its in a loop, then press the home and power buttons together for 10s.
Then let go of both of them. your phone should turn off.
Make sure your usb cable is plugged into the computer, but not to the phone.
Now hold the home button and while holding, plug in the usb cable into the phone. Wait about 23s and a restore screen "connect to itunes" should appear.
To get it into DFU restore mode, do this...
if its in the loop,... Your phone should be connected to the computer all times during this. Hold both home and power buttons together for 10s, once screen goes blank, then let go of the power button, and only hold the home button. Wait untill you see itunes pop up on the computer screen with a restore option.
Regarding your phone situation you mentioned above...
If you bought the phone with 3.13 already installed, then you most likely have baseband 5.12.01. It is not unlockable yet to the public.
First of all, are you on an AT&T network? if you are, dont bother with the unlock. Just jailbreak it with Spirit tool. If you need to unlock it for whatever reason, there is no unlock available for iphones with 3.13 new baseband 5.12.01. The thread here is describing how to deal with baseband 5.11.07 or lower.
Hope this helps. Let me know if you encounter other issues.