I tried that way, but didn't work, then looking other pages I tried this:
*#*#3424#*#* – Run HTC function test program
The G-Sensor test run did fail with Error
After that, go to Settings, device, then Calibrate G-Sensor.
Finally run the test again, was Succesful this time, and problem was...