1. Download Blackra!n
2. Run the little program
3. while it is searching for your iphone put it in DFU mode
4. soon the iphone screen will turn black
5. keep it black for about 30 seconds to a minute.
6. then hard restart your iphone.
7. It should work.