To reset everything I've always dipped my phone in a bowl of salty milk. You need to let it sit there for 6 minutes, no more no less. After that pull the battery out and put the phone in a cup and pour dry rice over it. Let it sit for 24 hours, after that it will be reset, no software needed.
I've had to use this trick more than a few times, learned it from a friend that used to do tech support or iPhones.
If you have no milk, then water will do, but it has to be salty or it won't work.
Good luck bro.