Does Accelerometer Sensor work on my Samsung Galaxy S2? I have Samsung Galaxy S2 and i'm experiencing with an issue that is annoying me very much. 

When I do \auto rotate\ , the rotation happens after 4-5 seconds. 

I've done the calibrations and all that stuff that you will find on google or forums. 

After i checked secret code *#0*# , i noticed that: at Accelerometer Sensor I get:


  ACC Raw Data - X: changing numbers, y: changing numbers, z: 1024 


( z is not changing like X and Y)

After this test i noticed  that somthing is wrong with this phone, and i doubt that the problem is with the sensor.

The strange thing is that sometimes my phone and accelerometer WORKS JUST FINE, but most of times it doesn't work at all! 

So, does my phone have problem with sensor or something wrong with the software?

Here you can see in the graphic Accelerometer values
http://i.stack.imgur.com/OvUzb.png

Please Help Me!!!
Having an SGS2 myself, I just checked *#0*# and all 3 axis values change. So you definitely seem to have a problem here, either in software or hardware, and since you've already tried to search for solutions online and could not find anything which works, perhaps it's best to contact Samsung directly for help.