Is it possible to repair an accelerometer?
I had the same problem. making sure my cover was secure, I dropped the phone from 3 feet onto a carpeted surface directly on the "5:00" corner (lower right side corner). It unstuck the accelerometer and it's now working normally.