Performing a factory reset using hardware buttons
If you can’t turn HTC One on or access settings, you can still perform a factory reset by using the hardware buttons on HTC One.
Important: The Fast boot option in Settings > Power must not be selected.
Press and hold the VOLUME DOWN button, and...