Hot topics

How to calibrate your smartphone's sensors for increased accuracy

AndroidPIT samsung galaxy note 9 9060
© nextpit by Irina Efremova

Sensors are easily overlooked. These small components are much more important than you might think because they make the features you use most often on your smartphone possible, and they can even save battery life. So, you'll want to keep your smartphone's sensors in good working order. In this article, we show you how to do just that by calibrating them.

Jump to section:

Check to see if your sensors are working

Test the problem across multiple apps

Sensors are vital for many of the basic functions on your phone, but they’re known to stop working the way they should from time to time. Before deciding if it's broken and taking it in for repair, you should try to calibrate it.

Sometimes, you'll notice the problem when an app that uses a particular sensor isn't interpreting the data correctly. In order to find out if that's the case, the only thing you have to do is download a different app that uses the same sensor and try it out.

For example, if you're playing a racing game and the car doesn't respond to your movements, try it in another racing game to see if the problem persists, or if it's just a game bug or poor programming. If the problem persists no matter which app you're using, that suggests an issue with the motion sensor of your smartphone.

It's not just motion sensors that can start to malfunction for no apparent reason. Problems with other sensors can also lead to poor battery life. For example, the proximity sensor saves power by turning the display off while you're talking on the phone, and your smartphone also uses a sensor to measure ambient light and adjust the display brightness accordingly.

Use a diagnostic app

Diagnosing whether an issue comes from a sensor isn't always as easy as trying to replicate the problem on another app. On occasion, you'll need to use one of the following specialized apps to dive into the depths of your smartphone in order to check if the sensors are taking measurements: Sensors Multitool.

It's not difficult to test if your sensors are working properly with an app. / © NextPit

In some cases, like in Sony's Xperia devices, phones come with a diagnostic tool. You can find it by going to Settings > About phone > Diagnostic, or just open the app from the app drawer. If you go to the Test tab, you can check the performance of each sensor separately or do a complete diagnostic test.

Use hidden menus and secret codes

For those devices that don’t come with their own diagnostics features, there is an option to test sensor performance within the hidden menus. To access them, you'll need to go the phone dialer and put in a certain number combination. Android has secret codes to access each of its hidden settings, but there are some codes which change according to the manufacturer. You can test the performance of your sensors as well as other features like the camera, the display or the audio in different diagnostic modes.

AndroidPIT secret codes ussd 9209
Just type secret codes into your dialer app. / © NextPit

Here are some examples. We have the code, *#*#4636#*#* in order to access status information about multiple components and usage statistics. For Xperia devices, we also have this code, *#*#7378423#*#*, which during Service tests, you'll be able to check if on-screen items are working properly. To find the code you need, simply check out our full list of Android secret codes.

Calibrating sensors

There are a lot of reasons you might want to calibrate your phone's sensors. It might not be necessary, but you want to make sure that everything is calibrated perfectly. Or maybe something's not working properly, and you'd like to run this feature to see whether it's broken or not. Whatever your reason, some of your sensors can be calibrated, although how you can go about doing it depends as much on your particular model of smartphone as it does on Google Play.

Use built-in calibration features

Some brands have built-in calibration options for particular sensors. For example, on some LG devices, starting with LG G2, you can calibrate the motion sensor by going to Settings > General tab > Motion. All you need to do is follow the directions and in a matter of seconds, your sensor will be calibrated. To find out if your smartphone has similar options, just type a quick search for the name of the sensor in your phone's Settings menu.

Use an app from the Play Store

Some brands don't let you calibrate all the sensors though, like Sony, so in this case, it would be better to jump onto the Play Store and find an app that can recalibrate the particular sensor that you're trying to fix or give a little tune-up. There are a ton of highly rated, free apps for various sensors like Accelerometer Calibration Free, Quick TuneUp-Phone Calibration, Proximity Sensor Reset and Compass Direction Optimizer - Gyroscope Tester.

Factory reset

If there isn't an app available, there is another, more drastic way to do it. Resetting your phone to factory settings will normally recalibrate all the sensors automatically. Obviously, you have to backup everything before you do a factory reset, because you'll lose all your data!

AndroidPIT xposed framework
Users with Xposed framework modules have even more options. / © ANDROIDPIT

Rooted phones have more options

Root users with cooked ROMs, Xposed modules and other apps for this type of user have even more options to personalize and control the sensors on their smartphones. For example, the aggressive Proximity Sensor Fixer app, which only works if you've rooted your phone. 

However you diagnose and calibrate your phone, share your methods with us below! Do you use a third-party app? Does your custom ROM include a calibration option?

Comparison: The best foldable phones

  Best large foldable Best clamshell flip Best foldable alternative Best passport foldable Best flip alternative Price pick
Image OnePlus Open product image Samsung Galaxy Z Flip 5 Product Image Samsung Galaxy Z Fold 5 Product Image Google Pixel Fold Product Image Motorola Razr+ (2023) Product Image Motorola Razr (2023) Product Image
Rating: OnePlus Open
Rating: Samsung Galaxy Z Flip 5
Rating: Samsung Galaxy Z Fold 5
Rating: Google Pixel Fold
Rating: Motorola Razr+ (2023)
Rating: Motorola Razr (2023)
Price Comparison
Go to comment (6)
Brittany McGhee

Brittany McGhee

Brittany loves to keep up with the latest technology and innovation, so she is excited to have the opportunity to write about the wonderful world of Android. She thinks spreadsheets and numbers are fun, in addition to reading books and volunteering.

To the author profile
Liked this article? Share now!
Recommended articles
Latest articles
Push notification Next article
Write new comment:
All changes will be saved. No drafts are saved when editing
Write new comment:
All changes will be saved. No drafts are saved when editing

  • CJ Brown 29
    CJ Brown Sep 14, 2018 Link to comment

    To diagnose and calibrate your phone - this is a wonderful suggestion that everyone should follow if they experience problems with their smartphone. 😀👍

    If I choose Android codes (imput through the dialer function) vs downloading an App through Google Play? It's probably due to the fact another Article will follow this one suggesting not to download "unnecessary apps" (one could lol at that, but it's up to the user to decide what Apps they want to keep on their smartphone - and I found this Article quite useful).

    Dean L.Sorin

  • 27
    Sorin Jan 5, 2018 Link to comment

    My phone says in a report that last month I made 4 km on foot. It is much less than I did in reality. Now I understand that I really had to calibrate the sensor! Thanks for the article.

    Dean L.CJ BrownBrittany McGhee

  • Gypsy Chick 3
    Gypsy Chick Feb 17, 2017 Link to comment

    Would this improve the GPS working on the map apps on my phone? Do you recommend any specific app? Hubby and I have a Huawei Mate 7 (each), but his GPS seems to work better than mine.

    SorinCJ Brown

  • Dean L. 34
    Dean L. Feb 10, 2017 Link to comment

    Never thought about this much, but now I realize that that's what my compass app is doing when I start using it again (I use it maybe twice a month). It goes through the setup process to calibrate itself.

    SorinCJ BrownBrittany McGhee

  • Selvig 3
    Selvig Feb 10, 2017 Link to comment

    Any idea when Xposed will be available for Nougat?

    SorinCJ Brown

    • Jerry's W. 20
      Jerry's W. Feb 13, 2017 Link to comment

      When it's ready


Write new comment:
All changes will be saved. No drafts are saved when editing