Basically you bought a budget phone and HTC cut corners in its production
If you check the web youll find no solutions for this problem with HTC playing dumb about it
try to get a different replacement from provider preferably not HTC.
Use any warrenty options to get rid of a useless phone.
And...