How to calibrate the HTC Magic compass

If you have like me used the HTC Magic built-in magnetic compass for a while you might have noticed that it is not always properly aligned. Here is a procedure to re-calibrate the compass and accelerometers in the mobile so that it should give you pretty accurate readings once more:

  1. It does not matter if you are running any special software or not but I recommend you put the phone in the desktop home state.
  2. Make sure you are standing in an open space, preferably out doors, away from power lines, rail roads, large magnetic objects.
  3. Hold it flat with the display facing the sky. Hold it steady and make sure you do not drop it in the next moment!
  4. move it in front of you in large figure-8 patterns in five complete rounds.
  5. Hold the phone upright with the display facing your belly.
  6. Repeat the figure-8 movement again for five complete rounds.

The calibration of the compass and accelerometers should now be pretty good.

If at any time you feel the compass is not showing you the right direction or seems ”stuck” even if you are turning, then repeat this calibration and it will come alive again. Certain applications such as the metal detector application may also screw the calibration and you might need to repeat this after using such software.

Om du som jag har använt dig av HTC Magics inbyggda kompass ett tag så har du kanske märkt att den inte alltid visar så rätt. Här nedan följer en procedur hur man kan få den kalibrerad enkelt och visa rätt igen:

  1. Det spelar ingen roll om du kör någon sorts mjukvara eller inte men jag rekommenderar att du stänger av program och låter den vara på den vanliga desktopen.
  2. Se till att du står bra i ett öppet område, helst utomhus och inte i närheten av kraftiga magnetiska fält eller objekt.
  3. Håll telefonen platt i handen med displayen rakt upp mot himlen. Tappa den inte i nästa moment!
  4. För telefonen i stora åttor framför dig i åtminstone fem hela varv.
  5. Håll telefånen nu med högtalaren rakt upp och displayen mot din mage.
  6. För telefonen återigen i åttor framför dig.

Accelerometrarna i telefonen skall nu ha hittat sin jämvikt och kompassen bör stämma relativt väl. Du behöver göra om denna kalibrering ca 1 gång om dagen i normalfallet.