Project

General

Profile

NexusSI902xCompassCalibration » History » Revision 2

Revision 1 (Paul Kocialkowski, 01/20/2014 06:20 PM) → Revision 2/3 (Paul Kocialkowski, 12/22/2014 11:58 AM)

h1. Nexus S (I902x) 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: 

 Connect to the device via [[ADB]] with sufficient permissions and run: 
 <pre> 
 # adb shell stop zygote 
 # adb shell rm /data/misc/akmd_set.txt 
 # adb shell start zygote 
 </pre> 

 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.