Hi, I don't thinks it is a hardware issue. To rule out the hardware problem, just restore your iphone in iTunes.
open