There is probably a similar thread, but I couldn't find it and also I think my problem is a bit more specific.
So I have a 3GS which was on 3.1.2 firmware, with old bootrom and saved SHSH files on Cydia. I updated it to 4.0.1 but forgot about probably the main thing here, that I didn't have an original sim for the iPhone and so it got stuck and needed an activation.
Then I downloaded a custom 4.0.1 firmware already unlocked but couldn't complete it because it showed repeatedly 1600 on iTunes and also 1601 with recovery mode.
After all that, after trying on and on with random programs and advices my iPhone got stuck in recovery mode. Tried to get it out of recovery mode using RecBoot and it doesn't work.
For now, I only want to get it off recovery mode! :spinme

