For some reason it is doing this,i think it has something to do with being jailbroken and i might have tried to install first gen firmware with my iphone 2nd gen too. Is there a way to restore everything, maybe to like when you fist get it and it asks you to activate through itunes?

thanks