Hey guys, upgraded my iphone 3gs to 4.0 the other day and used it for a while. Then I tried to downgrade to 3.1.3 and am now basically bricked. I can load a restore of the 4.0 beta 1 os but since I don't have a developer account my phone is stuck without activation. Whenever I try to load earlier firmwares I get stuck with an either 1604 or 1600 errors.
once you get the error, just run blackra1n, it obviously wont jailbreak it but it gets it out of the recovery loop, so run blackra1n, unplug the iphone, then press and power and home till it goes off and turn it back on again