Proximity, auto-rotate or face unlock not working? How to test your phone's sensors

Namrata Roy
Updated: June 18, 2026
Proximity, auto-rotate or face unlock not working? How to test your phone's sensors
Phones are full of tiny sensors you never think about — until one fails and the screen lights up against your ear mid-call, the display won't rotate, or face unlock stops recognising you. Each symptom points to a specific sensor, and many are fixable without a repair. Here's how to test them and tell software from hardware.

Which sensor is misbehaving?

Match the symptom to the sensor — it's the fastest way to diagnose:

SymptomSensor involved
Screen stays on / you cheek-tap during callsProximity sensor
Display won't auto-rotateAccelerometer / gyroscope
Brightness won't auto-adjustAmbient light sensor
Compass / maps direction wrongMagnetometer
Face unlock failsFront camera / IR sensors

Test the sensors yourself

Our free sensor test checks the motion and orientation sensors so you can confirm whether they're responding at all. For the proximity sensor, make a call and cover the top of the screen — it should switch the display off; for auto-rotate, enable rotation and turn the phone sideways.

Try the software fixes first

A lot of sensor issues are software or accessory problems, not failed hardware:

  • Restart the phone to reset stuck sensor services
  • Install pending updates (sensor bugs are often patched)
  • Remove a screen protector covering the proximity or face-unlock sensors at the top
  • Take off a case that overlaps sensor cut-outs
  • Re-enroll your face for face unlock; recalibrate the compass by moving the phone in a figure-8

The proximity sensor — the most common complaint

If the screen stays lit during calls and your ear keeps muting or hanging up, the proximity sensor isn't reading correctly. After ruling out a screen protector or case over the top of the screen, the usual hardware cause is a previous screen replacement with a cheap panel, or damage after a drop.

When it's a hardware fault

Suspect hardware if a sensor failed right after a screen replacement, a drop, or water exposure, or if software fixes do nothing. Sensors are usually part of a flex cable or the front assembly, so the fix is a component replacement. iTweak diagnoses which sensor and shows you before quoting, for Apple and Android, with warranty and a digital invoice.