restore your iPhone's firmware to 312, then, if it's stuck into Connect to iTunes screen, run RecBoot, and then unlock with blackra1n if you have to. In my case, I didn't need running RecBoot, blackra1n did the thing just great. Everything takes 10-15 min with the firmware restore being the longest part.