Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Please Help Me!!!

share|improve this question

migrated from Oct 30 '11 at 12:08

This question came from our site for professional and enthusiast programmers.

Not a programming question. This is not the right place. – Raz Oct 30 '11 at 11:54
Yeah, except it is a programming problem, because he's developing an app and the output he's getting from his code isn't jiving with what is expected. – Al E. Oct 30 '11 at 13:47
Al Everett - you think that this is a problem with programming, not with sensor chip or whatever?! – Armend Krasniqi Oct 30 '11 at 15:40
It may very well be a problem with the sensor, but my point was that it should not have automatically been moved to here. – Al E. Oct 31 '11 at 16:06

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.

share|improve this answer
It's very very weird... today the accelerometer is working perfect. I didn't do nothing?! all 3 axis values change now. After this, yet i really don't know what is the problem on phone. Is it sensor or software issue!!!! – Armend Krasniqi Nov 2 '11 at 7:15
After i did the calibration of the compass (this app the accelerometer is not working. Again, cheking *#0*# at Accelerometer Sensor I get: ACC Raw Data - X: changing numbers, y: changing numbers, z: 1024 ( z is not changing like X and Y) – Armend Krasniqi Nov 2 '11 at 8:49

protected by Community May 1 '12 at 17:16

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.