How to Test Android Sensors in 2026: A Comprehensive Guide
Mar 23, 2026 • Filed to: Device Data Management • Proven solutions
Dr.Fone Basic:
Better Control for Your Phone
Manage, transfer, back up, restore, and mirror your device
Introduction
Modern Android smartphones are packed with powerful hardware sensors that enable core features — from auto-rotating the screen to silencing calls when you flip your phone face-down. When these sensors malfunction, it can lead to frustrating issues like the screen staying on during calls, incorrect orientation, or broken step-counting. Knowing how to perform an Android sensor test is the first step toward diagnosing and fixing these problems.
What are Android phone sensors? Android sensors are hardware components embedded in your device that detect physical conditions such as motion, orientation, light levels, proximity, magnetic fields, and atmospheric pressure. Common sensor types include:
- Proximity Sensor — detects objects near the screen (used to turn off the display during calls)
- Accelerometer — measures linear acceleration and detects screen rotation
- Gyroscope — tracks rotational movement for gaming and AR apps
- Ambient Light Sensor — adjusts screen brightness automatically
- Magnetometer / Compass — enables map navigation and orientation
- Barometer — measures air pressure for weather and altitude apps
- Fingerprint Sensor — biometric authentication hardware
To check phone sensors on Android, you can use built-in hidden test codes, dedicated sensor testing apps, or manufacturer diagnostic tools. This guide covers all three methods, plus troubleshooting tips, so you can complete a full mobile sensor test and get your device back to peak performance in 2026.
Part 1. How To Test the Proximity Sensor on Android
Quick Answer: To test the proximity sensor on Android, you can use a manual hand test, a phone call test, a built-in diagnostic menu (on select devices), or a dedicated sensor testing app. The proximity sensor should register a "NEAR" state when an object is within 1–5 cm of the front of the device and revert to "FAR" when removed.
The proximity sensor is one of the most critical sensors in any Android device. It detects the presence of nearby objects without physical contact, using infrared light. Its primary function is to automatically turn off the touchscreen display when you hold your phone to your ear during a phone call — preventing accidental touches from your cheek or fingers. A faulty proximity sensor can cause:
- The screen staying on (or not turning off) during active calls
- Accidental touchscreen inputs while on a call
- The display not waking up after a call ends
- Voice assistant activating unintentionally during calls
Before using any app or code, try these two quick manual checks for a proximity sensor test on Android:
- Hand wave test: Open the dialer app and wave your hand slowly in front of the top edge of your phone. If the screen dims or turns off, the sensor is responding correctly.
- Phone call test: Make a call to a friend and raise the phone to your ear as normal. If the screen turns off automatically, the proximity sensor is working. If the screen stays lit, this confirms a sensor issue.
If neither manual test confirms the sensor is working, follow the built-in diagnostic steps below:
For Android 8.x (select manufacturers):
- Step 1: Find and tap Settings on your home screen.
- Step 2: Tap System > About Phone.

- Step 3: Look for the Support option and tap it.
If it's your first time, you will need to tap ACCEPT to accept the privacy policy.
- Step 4: Tap the Test tab and scroll down to find Ear proximity.
Follow the on-screen instructions to test the proximity sensor. The result will show either PASS or FAIL. A PASS result means the sensor is detecting objects within range; a FAIL result indicates you may need to clean the sensor area, recalibrate, or seek a hardware repair.
Note: These built-in diagnostic steps are available on certain Android models (such as select Sony and HTC devices running Android 8.x) and may not be available on all devices. For broader compatibility, use one of the sensor testing apps covered in Part 3.
Part 2. Android Sensor Test Code — Hidden Dialer Codes Explained
Quick Answer: The most widely used Android sensor test code is *#*#0588#*#*, which opens a dedicated proximity sensor diagnostic screen. Additional hidden codes can access the full hardware test menu, accelerometer checks, and more — depending on your device brand and Android version.
Android sensor test codes (also called service codes or secret dial codes) are special numeric strings entered through the phone dialer that bypass the standard settings interface and launch hidden diagnostic tools built into the Android firmware or device manufacturer's system software. These codes are most reliable on Samsung, Huawei, Xiaomi, and stock Android devices, and the available codes vary by device model and Android version.
Here's how to use the Android sensor test code for a proximity sensor check:
- Step 1: Open the phone dialer app on your Android device.
- Step 2: Use the Android secret code for the proximity sensor test.
Dial *#*#0588#*#* on your phone. This will open the proximity sensor test screen.

- Step 3: Place your hand over the proximity sensor
The sensor is usually located near the top of the device, adjacent to the front camera. Slowly move your hand toward and away from the sensor to trigger it.
- Step 4: Observe the sensor reading on the screen.
The reading should change from "FAR" to "NEAR" when your hand is within range. If the reading doesn't change, remains stuck on one value, or shows inconsistent results, this is a strong indicator of a faulty proximity sensor that requires further calibration or professional repair.
Other useful Android hidden sensor test codes (varies by device):
- *#*#0*#*#* — Samsung full hardware/sensor test menu (LCD, touch, vibration, sensors)
- *#*#2664#*#* — Touchscreen test
- *#*#0842#*#* — Vibration and backlight test
- *#*#1472365#*#* — GPS test (some Samsung models)
- *#*#3264#*#* — RAM version information
- *#07# — SAR (radiation level) test and hardware info (Samsung)
Note: Not all codes work on every Android device. If a code doesn't respond, your device model or Android version may not support it. In that case, use one of the sensor testing apps in Part 3 for a comprehensive mobile sensor test.
Part 3. Best Android Sensor Testing Apps for a Complete Phone Sensor Check
Quick Answer: The best apps to check sensors in Android are Sensor Box, Sensors Test, DeviceInfo HW, and Sensors MultiTool — all available free on Google Play. These apps can detect every sensor installed on your device, display real-time data, and run diagnostic tests with pass/fail results.
If the hidden dialer codes don't work on your device, or you want a more comprehensive and visual way to run a phone sensor check, dedicated sensor testing apps are the best solution. These apps tap into the Android Sensor API to read live data from every sensor in your device, making them ideal for identifying faulty, missing, or miscalibrated sensors.
Dr.Fone App (iOS) & Dr.Fone App (Android)
Your One-Stop Expert for Screen Unlock, Smart Clean, Data Recovery, Change Location, and Phone Management of Mobile Devices!
- Effortlessly unlock various locks on your device.
- Instantly free up storage space by smart clean.
- Rapidly recover different kinds of lost phone data and information.
- Easily changes GPS location on Android devices.
- Easily manage cluttered and private device content.
Here are the four top-rated Android sensor testing apps available on the Play Store, including what each one tests and why it's useful:
- Sensor Box

Sensor Box for Android is a popular, beginner-friendly app that automatically detects all available hardware sensors on your device and displays them in a clean visual interface. It shows which sensors your phone supports and which are missing, making it easy to run an Android proximity sensor test or check any other sensor at a glance. Sensor Box uses animated indicators for each sensor type — including accelerometer, gyroscope, magnetic field, light, proximity, sound, and more — so you can immediately see whether each sensor is actively responding to real-world input.
- Sensors Test

Sensors Test is a more technically detailed app that provides full real-time data readouts for every sensor supported by your smartphone. It displays sensor values numerically and graphically, allowing you to observe how each sensor responds to movement, light changes, or nearby objects. This app is ideal for users who want to dig deeper into their device's sensor behavior — for example, checking whether the accelerometer readings drift, or verifying that the magnetometer (compass) is accurately calibrated. The app provides a comprehensive description of each sensor, including its type, vendor, maximum range, resolution, and power consumption.
- DeviceInfo HW

DeviceInfo HW is a comprehensive hardware diagnostic app that goes beyond sensors to give you a full picture of your device's internal components. For sensor testing, it detects all installed sensors and allows you to run live tests directly within the app. In addition to sensors, DeviceInfo HW covers LCD display quality, multi-touch response, camera hardware, battery health, Wi-Fi/Bluetooth chips, and storage health — making it one of the most complete free tools available for a full Android phone sensor check. It's especially useful when you want to rule out whether a sensor problem is actually caused by a related hardware issue.
- Sensors MultiTool

Sensors MultiTool is a versatile sensor monitoring app designed for both casual users and developers. It displays a real-time list of all sensors detected by your device and provides live numeric data for each one. The built-in "sensor testing" mode lets you isolate and check sensors in Android one by one, making it easy to pinpoint which specific sensor is behaving abnormally. The app also includes a sensor logger feature, which records sensor readings over time — useful for identifying intermittent sensor failures that don't appear in a quick one-time test. Additionally, Sensors MultiTool can export sensor data logs, making it helpful for users who want to share results with a repair technician.
Part 4. Troubleshooting Android Sensors — How to Fix Common Sensor Problems
Quick Answer: If your Android sensor is not working, start by restarting your device, then try cleaning the sensor area, running a software update, or using a calibration app. If hardware damage is suspected, contact your device manufacturer or visit a certified repair center.
Even after running a sensor check and identifying an issue, the problem isn't always a broken hardware component. Many Android sensor failures are caused by software glitches, dust or debris blocking the sensor, or miscalibration from a recent software update. Before assuming hardware damage, work through the following troubleshooting steps in order:
- Restart the device. A simple restart clears temporary software glitches and resets the sensor management services running in the background. This resolves many minor sensor issues — particularly problems that appeared suddenly after heavy app usage or a system update. Hold down the power button, select Restart (not Power Off), and wait for the device to fully reboot before retesting the sensor.
- Clean the sensor area. Physical obstruction is a common but often overlooked cause of proximity sensor failure. Dust, screen protector edges, or cosmetic case lips can partially or fully cover the sensor window at the top of your device. Use a soft, dry microfiber cloth to gently wipe the front top edge of your phone. If you use a thick screen protector, try temporarily removing it and retest the sensor. Avoid using liquids or compressed air directly on the sensor.
- Calibrate the sensors. Sensor calibration corrects accumulated drift or offset errors that develop over time, especially in the accelerometer, gyroscope, and magnetometer. You can recalibrate these sensors by using a dedicated calibration app from the Play Store, or by navigating to Settings > Motion > Sensitivity Settings on supported Samsung and LG devices. For the compass/magnetometer specifically, you can often recalibrate by moving your phone in a figure-8 motion several times.
- Install a software update. Sensor bugs are sometimes introduced by a specific Android or manufacturer firmware update and later patched in a subsequent release. Go to Settings > System > Software Update (or Settings > About Phone > System Update) and check for any available updates. Installing the latest firmware often resolves sensor-related bugs without any hardware intervention.
- Contact a Repair Service Center. If the sensor still fails after all of the above steps, the issue is likely a hardware defect — such as a physically damaged sensor caused by a drop, water exposure, or manufacturing fault. In this case, contact your device manufacturer's official support team or take the phone to a certified repair center. Attempting to replace sensors yourself can void your warranty and risks causing further damage.
By systematically working through these steps, most Android sensor issues can be resolved without professional repair. Use the sensor testing apps from Part 3 to re-test after each step so you know exactly when the issue has been fixed.
Part 5. Best Tips for Checking Overall Android Performance
Testing individual sensors is just one part of keeping your Android device in top condition. If you want a deeper understanding of your phone's overall health — including CPU performance, RAM usage, storage capacity, and battery condition — it's worth running a full hardware diagnostic using a dedicated performance tool.
One of the most reliable tools for this is the Dr.Fone Device Details feature, which generates a comprehensive, real-time report on your device's hardware and software specifications. Rather than checking sensors one at a time, Dr.Fone aggregates all device health data into a single readable report, helping you quickly identify performance bottlenecks, hardware anomalies, or compatibility issues with specific apps.

Here's what Dr.Fone Device Details covers in its full device sensor check and performance report:
- Accurate hardware data — Trust in the accuracy and authenticity of the information provided, sourced directly from system-level APIs.
- Real-time performance monitoring — Allows you to observe your device's optimal performance anytime, tracking CPU load, RAM usage, and thermal status.
- Comprehensive device overview — Get a comprehensive and detailed view of your phone's performance, covering battery health percentage, storage read/write speeds, and sensor availability.
- App compatibility analysis — Understand which hardware features your device supports, so you can determine compatibility with demanding apps and games.
Whether you're buying a second-hand Android phone and want to verify its condition, diagnosing a performance issue on your current device, or simply staying informed about your hardware, the Dr.Fone Device Details feature gives you all the data you need in one place.
You may also like:
2026 Update: The best 12 apps for Android hardware test
Newest 40 Android codes to unlock hidden features on your phone in 2026
Pro tips for how to check your Phone battery health easily
Conclusion
Android sensors are the invisible backbone of your phone's most important features — from call screen management to navigation, gaming, and fitness tracking. Whether you're dealing with a broken proximity sensor, an unresponsive gyroscope, or simply want to verify that all your device's hardware is functioning correctly, this guide has provided three reliable approaches: manual testing methods, hidden Android sensor test codes, and dedicated sensor testing apps.
By following the steps in this guide, you can perform a thorough Android sensor test, accurately identify any hardware issues, and apply the right troubleshooting fix — without needing technical expertise or a trip to a repair shop. Bookmark this page and revisit it whenever you notice unusual behavior from your Android device's sensors in 2026.
Frequently Asked Questions About Android Sensor Test
To check if your Android sensors are working, you can use three methods: (1) Run a manual test by waving your hand near the proximity sensor or rotating the device to test the accelerometer; (2) Dial the hidden sensor test code *#*#0588#*#* from your phone dialer to open the built-in proximity sensor diagnostic screen; (3) Download a free sensor testing app such as Sensor Box or Sensors MultiTool from the Google Play Store to check all sensors — including accelerometer, gyroscope, magnetometer, and light sensor — with real-time data readings and pass/fail results.
The most widely supported Android sensor test code is *#*#0588#*#*, which launches a dedicated proximity sensor test screen where you can verify whether the sensor correctly transitions between "FAR" and "NEAR" states. On Samsung devices, *#*#0*#*#* opens a full hardware test menu that covers multiple sensors, the LCD display, and the touchscreen. Other useful codes include *#*#2664#*#* for touchscreen testing and *#*#0842#*#* for vibration and backlight tests. Note that code availability varies by device manufacturer and Android version.
To test the proximity sensor on an Android phone, follow these steps: (1) Open the phone dialer and dial *#*#0588#*#* — this opens the proximity sensor test screen on most Android devices; (2) Slowly move your hand toward the top of the phone where the sensor is located; (3) The screen should display "NEAR" when your hand is within range and revert to "FAR" when you move it away. Alternatively, make a phone call and raise the device to your ear — if the screen turns off automatically, the proximity sensor is functioning correctly. If neither method produces the expected result, use a sensor testing app like Sensor Box or Sensors Test for a more detailed diagnosis.
Most modern Android phones include the following sensors: proximity sensor, accelerometer, gyroscope, ambient light sensor, magnetometer (digital compass), barometer, fingerprint sensor, and GPS receiver. Higher-end devices may also include a heart rate sensor, SpO2 sensor, or depth-sensing camera. To check all phone sensors at once, download a free app like Sensors MultiTool or DeviceInfo HW from the Google Play Store. These apps read data from the Android Sensor API and display every sensor installed on your device, along with real-time values, sensor status, and hardware specifications — giving you a complete picture of your device's sensor capabilities.
Dr.Fone Basic:
Better Control for Your Phone
Manage, transfer, back up, restore, and mirror your device
Android Erase
- Android Diagnostics
- 1. Fix Android Microphone Issues
- 2. Test NFC on Android Device
- 3. Check Android Device in Minutes
- 4. Apps For Sensor Check Android
- 5. Apps for Testing Device's Hardware
- 6. Tools for Conducting Screen Tests
- 7. Ways to Check Phone's Vibrations
- 8. Check Mobile Signal Strength
- 9.Realme Touch Screen Test Codes
- 10.Android Codes To Test Touch Screen
- 11.Phone Processor Speed Tests
- Erase Android
- 1. Delete Browsing History on Android
- 2. Clear App Data and Cache on Android
- 3. Delete Photos from Android
- 4. Wipe Android When It's Lost
- 5. Wipe Cache Partition on Android
- 6. Delete Text Messages on Android
- 7. Delete WhatsApp Backup
- 8. Wipe Data or Factory Reset
- 9. Erase Android Data Before Selling
- 10. Delete Contacts on Android
- 11.Delete Multiple Contacts on Android
- 12.Wipe Android Phone before Selling
- 13.Delete Photos on Android
- 14.Remove Pre-installed Apps
- 15.Delete Apps on Android
- 16. Access Trash on Android
- Android Reset
- 1. Restart Phone without Power Button
- 2. Reset Phone without Volume Buttons
- 3. Factory Reset Android Phone
- 4. Hard Reset Android Phone Using PC
- 5. Hard Reset Locked Infinix Phone
- 6. Factory Reset Lenovo Phone
- 7. Factory Reset Android Tablets
- 8. Factory Reset Lenovo Tablets
- 9. Format Your Android Phone
- 10. Hard Reset Android Phones
- 11.Reset Android Without Home Button
- 12.Restart Your Android Phone
- 13.Soft Reset Android Devices
- 14.Reset Android without Losing Data
- 15.Ways to Hard Reset Tecno Spark
- 16.Updated Android Factory Reset Code
- Data Erase Apps
- 1. Speed Booster for Android
- 2. Android Cleaners to Boost Device
- 3. Data Erase Apps to Protect Privacy
- 4. Data Eraser Apps to Wipe Android
- 5. 15 Best Cleaning Apps for Android
- Sell Old Android




Daisy Raines
staff Editor