Why is my jailbroken iPhone not booting? I have an iPhone 3GS with firmware version 3.1.3 running on tethered jailbreak (blackra1n). Yesterday the wifi didn't work so naturally I: 


reset network settings (as I did once or twice before).
got the recovery mode screen (as expected).
Connected it to my laptop.
ran blackra1n.


and then, instead of booting like it normally does, my iPhone just rebooted itself and went back to recovery mode. I tried doing this several times with no luck. Has this happened to anyone? Any solutions?

Thanks.

Edit: This is pretty urgent, as currently I don't have a cell phone, so I would appreciate even half-ideas if you have any and don't have time for a full answer.

Update: I have restored my iPhone, but now I am stuck on activation, and can't seem to solve it. Tried using redsn0w, but it's stuck on "Waiting for reboot" after the second upload. Any ideas?

Update 2: Got redsn0w to complete the process, but after it finishes, it just goes back to the iTunes/emergency call screen...

Update 3: I was able to perform restore to 3.1.3, but now I just get the apple logo and it doesn't do anything... It seems problems are just piling on...
I've had this happen once before. Is your phone in an "endless loop" of reboots? If so, my solution was to put the phone in DFU mode and restore it and just try the jailbreak over again. Sometimes things get loopy and it just doesn't work correctly. Give it another shot.

How to Put an iPhone Into DFU Mode