Project

General

Profile

NexusSI902xCompassCalibration » History » Version 2

Paul Kocialkowski, 12/22/2014 11:58 AM

1 1 Paul Kocialkowski
h1. Nexus S (I902x) Compass Calibration
2
3
The compass sensor is calculated from both the accelerometer and magnetic field sensors, which needs calibration to be accurate.
4
If the values reported by the compass sensor are not right, you can recalibrate the magnetic field sensor with the following steps:
5
6 2 Paul Kocialkowski
Connect to the device via [[ADB]] with sufficient permissions and run:
7
<pre>
8
adb shell stop zygote
9
adb shell rm /data/misc/akmd_set.txt
10
adb shell start zygote
11
</pre>
12 1 Paul Kocialkowski
13
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.