Amazing, it rly worked!
moto x (2 gen), X axis was stuck at -150,00 or something...
Tried for quite some time dropping the phone "gently"... then got a bit agressive, but no results...
When I was about to give up, I ended hitting it twice on the back and it magically started rotating again.
:D