You have programs that you can download from Android Market (Play Store) and with them you can re-calibrate G-sensor of your phone.
Can't remember now how those applications are called. If I remember, I'll edit this post.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service