I had this problem, and if I remember, you have two options: You can use your computer restarts several times until, in Safe Mode, then you can undo what you did. The other option is to iOS 5.0.1 ipsw download for 4S Apple's website and order for the repair of your machine (if you press Shift restoration). I hope I helped!