Tag Archives: accelerometer

Restore phone orientation sensing

Last week, my Samsung Galaxy Light SGH-T399 phone with Android 4.2.2 stopped responding to orientation changes. When I rotated the phone from vertical (“portrait”) to horizontal (“landscape”), the display no longer rotated accordingly. In vain I clicked on the Screen rotation button.

sensor test screens markedupI feared that I’d physically broken the orientation sensor when I dropped the phone the previous day.  I loaded a rotation app, but found that it was a pain to use.  Eventually I discovered (thanks, Google) that by typing an odd sequence of keys, I could peek beneath the operating system and directly examine the data streams from the sensors. When I did this, the phone’s screen rotation function returned.

Here’s how:

  • Run the phone app, which displays the dial screen.
  • In sequence, press the *#0*# buttons on the dial screen.
  • A hardware test screen with 14 buttons should appear.
  • Tap the Sensor button
  • You’ll see the numeric outputs of the Accelerometer, Proximity, and Magnetic sensors
  • Press the IMAGE TEST and Graph buttons for the Accelerometer. The displays should respond to movement of the phone.
  • Cross your fingers
  • Restart phone

That did the trick for me. Your mileage may vary.

Visit my website: http://russbellew.com
© Russ Bellew · Fort Lauderdale, Florida, USA · phone 954 873-4695

Advertisements