Have it connected to your computer and keep rebooting your iPhone until iTunes finally picks it up. After it does (it would, don't worry) restore back to 3.1.3, jailbreak and unlock with Redsn0w again.
Have it connected to your computer and keep rebooting your iPhone until iTunes finally picks it up. After it does (it would, don't worry) restore back to 3.1.3, jailbreak and unlock with Redsn0w again.