Have you tried taking the phone apart and cleaning the connectors?
In case you run into troubles here is how to: