By "restore mode", do you mean it keeps going back to the connect to itunes screen? If this is the case, you are probably on a tethered jailbreak, which means any time you lose power or restart your phone, you will have to run blackra1n.
This is normal if your phone was made after week 40 of 2009. You can check this by looking on your sim tray. The fourth and fifth digits (if I remember correctly) will tell you the week it was made.