Restore your One X to factory settings
You can restore your HTC One X to factory settings by following the instructions below. This can be useful if your phone continually freezes, fails to respond or you’ve forgotten the security locks you’ve set up to access the phone.
With the phone turned off, press and hold the Volume Down button and then press and hold the Power button.
Release both buttons once the screen showing three Android images appears.
Press the Volume Down button twice to select 'FACTORY RESET'.
Press the Power button to confirm the selection.