Galaxy Tab 2 10.1 (P51xx) Compass Calibration

The compass sensor is calculated from both the accelerometer and magnetic field sensors, which needs calibration to be accurate.
If the values reported by the compass sensor are not right, you can recalibrate the magnetic field sensor with the following steps:

  1. adb shell stop geomagneticd
  2. adb shell rm /data/system/yas.cfg
  3. adb shell start geomagneticd

Then start an application using the compass sensor and move the device in every direction, with a rotation around each axis: the device should now be calibrated.

Updated by Paul Kocialkowski over 10 years ago · 2 revisions

Also available in: PDF HTML TXT