Project

General

Profile

GalaxyS2I9100CompassCalibration » History » Version 4

Paul Kocialkowski, 07/10/2015 02:39 PM

1 4 Paul Kocialkowski
h1. Galaxy S 2 (I9100) compass calibration
2 1 Paul Kocialkowski
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 4 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/akfs.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.