I faked my iPhone firmware and now it's doing funky stuff?

This is a pretty long story:
I have a jailbreak on my iPhone 4. I have iFile so i decided to "spoof" my iOS version to download apps built for iOS 8. So i tried it and it didn't work. I had a few themes in WinterBoard so i decited to change my theme. I chose one and chose Respring. The iPhone went into respring mode, and started doing something, like updating stuff or something. I shut it down and it turned on again. Is anything gonna happen or can i restore it via iTunes? Please help, i don't wanna lose my iPhone.

Added (1). The iPhone turned on by itself, i force shutdowned it (it didn't start anything)

Added (2). I already almost lost it, its bios fried

Well you messed up the OS trying to jailbreak it, so who knows what damage you did.