i recently bought a new iphone 3gs off craigslist, unlocked/jailbroken, but me being stupid, i went to settings and erased the data. that then caused the phone to crash and basically now it's in recovery mode at all times. before i erased the data, it was the 3.1.3 firmware but i don't know whether it was the new or old bootloader. also i tried numerous things such as trying to restore it through different firmware .ipsw, but it gives me the error code 1942 or something.. is there any solution to this? thanks!