Accelerometer+Android

You need to show the inputs to your equations; saying it only rotates a little and it doesn't work helps no-one.