Test your phone
Testing cameras and sensors: proximity, compass, GPS
Short version
- Cameras: take a photo at every zoom level (0.5x, 1x, telephoto), near and far, then a video with sound — each level uses a different lens.
- Proximity: during a call, hold the phone to your ear — the screen must go dark and light back up as you move it away.
- Light: with auto-brightness on, shine a torch at the sensor at the top — the screen brightens on its own.
- Compass and GPS: open Google Maps outside — a blue dot with a narrow beam and a small circle means all is well; for a wide beam, move the phone in a figure 8.
- A sensor or camera dead after a screen replacement is usually a repair-shop matter — see the dedicated section.
What you're testing and why it matters
A phone has more cameras than it seems: on the back there are usually two or three separate modules — the main camera, the ultra-wide and, on many models, a telephoto — plus the front camera. Beside them works a row of tiny sensors: the proximity sensor that turns the screen off at your ear, the light sensor that moves brightness, the accelerometer and gyroscope that know how you tilt the phone, the magnetometer (the compass), GPS and the fingerprint or face readers. Each can fail separately — which is why each is tested separately.
3D phone. Highlighted parts: camera island, rear camera, front camera.
Each zoom level in the Camera app uses a different lens: 0.5x is the ultra-wide, 1x the main camera, and 2x, 3x or 5x the telephoto — the exact steps differ from model to model. In between, the zoom is digital, meaning a crop of the image, so test exactly on the marked steps. The proximity and light sensors sit at the top of the phone, around the earpiece and front camera, usually right under the screen glass — an important detail later in this guide.
0 of 14 done
The cameras: every lens, focus, flash, video
The full camera test is nearly identical to the one Apple recommends for a second-hand iPhone: photos in good and poor light, tapping the screen to focus, all cameras — including the telephoto and ultra-wide — and a video watched at the end. The same scheme works on any Android.
Set the stage
Wipe the rear lenses and the front one with a microfiber cloth — a grease smear looks exactly like a broken camera. Remove the case, the camera film and any magnetic mount: Apple says an accessory or a magnet near the camera can cause blur and odd focus behavior.
The main camera, in good light
Take a few photos and tap the screen right on the subject — focus should move there. Photograph something close, 10–15 cm away, then something far: the image should sharpen quickly, without “hunting” back and forth.
Every zoom level, in turn
Tap 0.5x, 1x and your phone's telephoto step in turn and take a photo with each. Then the trick that tells you which lens is dead: cover the rear cameras with your finger, one at a time — at each zoom level, the working lens is the one whose image disappears when you cover it.
No telephoto? No problem — test only the cameras your phone has.
The front camera
Switch to the front camera (the rotate button) and take a selfie, plus a shot with light coming from behind you. If you make video calls often, record a few seconds of video too — the front camera is a separate module and can fail on its own.
The flash and the torch
Somewhere dark, set the flash to stay on for every shot (not Auto) and take a photo — the LED must blink and light the scene. Then check the torch separately: from Control Center on iPhone, from the quick panel on Android. A black photo with the flash on means the LED or its link to the camera.
On “Auto” the phone decides when to fire — many photos without a flash are normal, not a fault.
A video with sound
Film 15–30 seconds while talking into the phone, then play the clip: the image should be smooth and focused, the voice clear. A three-in-one test — camera, microphone on recording and speaker on playback.
Tip
Bad photos don't automatically mean a dead part — dirt on the lens, a case or a magnet gives the same effect. If after cleaning one particular camera still shows a black screen, an error or a warped image, it's almost certainly that module: on a multi-camera phone only the dead module is replaced, not the whole island — see what a camera replacement involves.
Everyday sensors: proximity, light, rotation
These sensors work in silence and you only notice them when they're gone: the screen stays on at your ear, brightness stops adapting, the map points somewhere else. Each has a one-minute test.
Proximity — the test happens in a call
Call someone and hold the phone to your ear: the screen must go dark at once, so your cheek can't press anything. Move it away — it lights back up. Outside a call nothing visible happens, because the sensor works almost only during calls and in your pocket. A screen that stays on at your ear, or that won't light up after the call, means the proximity sensor needs a look.
Don't want to call anyone? A WhatsApp call or a voice message played at your ear works the same — what matters is that the phone is “in a call”.
MariaMobilePhone screen: Maria. Mobile
The light sensor — a torch is the proof
Turn on automatic brightness: on Samsung it's under Settings → Display → Adaptive brightness, on Pixel under Settings → Display & touch → Adaptive brightness, and on iPhone along the path in the image below. Then shine a torch at the top of the screen: within seconds, brightness rises on its own. Cover the sensor with a finger — it drops back.
Apple says it outright: on iPhone the ambient light sensor moves the brightness slider with the light around you — a slider that stays put means a sensor that can't see.
Rotation — the accelerometer at work
Turn on auto-rotate from the quick panel and turn the phone sideways: the picture should follow within two or three seconds. That checks both the accelerometer and the gyroscope — the same sensors that drive games and the level.
InternetBluetoothFlashlightAuto-rotateNFCBattery SaverPhone screen: Internet, Bluetooth, Flashlight, Auto-rotate, NFC, Battery Saver
Fingerprint, face and NFC
Lock and unlock the phone with your fingerprint several times, then with your face. If it fails often, delete the data and enrol again with clean, dry hands — Samsung warns that wet fingers, scars and thick protectors fool the reader. Re-enrolment is under Settings → Biometrics and security → Fingerprints on Samsung (on newer One UI, Security & privacy → Fingerprints) and under Settings → Face ID & Passcode (or Touch ID & Passcode) on iPhone. For NFC it's a single move: turn it on and hold the phone to a bank card or a shop terminal — it must react.
Menu path, screen by screen: 1. Settings: General; Accessibility ←; Display & Brightness; Battery. 2. Accessibility: VoiceOver; Zoom; Display & Text Size ←; Motion. 3. Display & Text Size: Color Filters; Reduce White Point; Auto-Brightness (on) ←
Warning
Compass and GPS: the test happens outdoors
The compass is really a magnetometer: it measures the Earth's magnetic field and is the easiest to disturb — a magnetic case, a magnetic car mount or a strong speaker can throw it well off. GPS is the opposite: a satellite receiver that needs open sky and barely works indoors.
Check the compass
Open Google Maps and look at the blue dot's beam — the cone that shows where the phone is pointing. Aim it at a street or landmark you know and compare with the map. On iPhone you can also open the Compass app: Apple recommends holding the phone flat, level, for accurate readings.
Calibrate with a figure 8
Beam wide or pointing the wrong way? In Maps tap the blue dot → Calibrate, or move the phone through the air drawing a figure 8 a few times — Google's official advice — until the beam narrows and points the right way. Do it away from cars, metal poles and magnetic cases.
On iPhone also check the Compass Calibration switch under Settings → Privacy & Security → Location Services → System Services — if it's off, the compass can't calibrate.
Compass calibrationMove the phone in a figure 8 until the beam narrows and points the right way.
DoneMove the phone through the air drawing a figure 8 Gesture on the phone screen: Move the phone through the air drawing a figure 8.
GPS gets tested outdoors
Step outside, away from tall buildings if you can, and open Maps. The blue dot should appear on your position within seconds, with a light blue circle around it — the smaller the circle, the more precise the location. Google says GPS finds your location to roughly 20 meters: walk 20–30 meters and watch whether the dot follows.
Note
Warning
The built-in tests, by brand
Manufacturers have left their own tests inside phones — handy when you want a second confirmation or you're testing without internet. Samsung and Xiaomi have full sensor and camera tests; Pixel and iPhone have no test menu for them, but there are the alternatives below.
- Open Samsung Members → Diagnostics → Phone diagnostics → Test all — or pick Sensors and Camera separately.
- Alternatively, dial
*#0*#in the Phone app: the SENSOR button shows live values from the sensors, and MEGA CAM and FRONT CAM start the cameras. - On the SENSOR screen, cover the top of the phone or tilt it: the numbers must move. Frozen values = a sensor to check.
Menu path, screen by screen: 1. Samsung Members: Diagnostics ←; Support. 2. Diagnostics: Phone diagnostics ←; Error reports. 3. Phone diagnostics: Test all; Sensors ←; Camera; Touch screen; Speaker
Phone screen: Sensor: Accelerometer; Proximity ←; Light; Barometer
*#0*# is always in English and differs slightly by model: next to each name you see live values and a graph — cover the sensor and watch the numbers move.Every button in that menu, explained, in the Samsung test codes guide.
- Open the CIT menu — hardware detection: through the code in the Phone app or through settings — the exact steps in the CIT guide.
- Run the Proximity sensor test and the other sensor tests, plus the camera test: cover the sensor or tilt the phone and see whether the values change.
- Mark Pass or Fail for each; a test that fails the same way twice is almost certainly the part, not a bad tap.
Phone screen: Check version info, Touch screen test, Display test, Proximity sensor test, Mic test, Vibration test, Speaker test, Key test
CIT tests other parts too, from the screen to the keys — the full list, with results explained.
- Pixel has no test menu for sensors or the camera: Settings → Device health & support (Pixel 6 and later) offers diagnostics for charging, the touch screen (Pixel 9+), Bluetooth, calls, mobile data and Wi-Fi — not for sensors.
- For the camera, Google's official steps are, in order: restart the phone, clear the Camera app's cache — long-press the icon → App info → Storage & cache → Clear cache — then update the app and the system.
- If other apps also fail when accessing the camera, “it's likely a hardware issue”, Google writes — meaning the camera module, not the app.
- Sensors still get tested as in the sections above: a call for proximity, a torch for light, Maps for compass and GPS.
Note
- iPhone has no visible test menu: sensors and cameras are checked through apps, exactly as in the sections above — Camera, a call, Maps, Compass.
- If the camera screen stays black, Apple recommends iOS Diagnostics: turn the phone off, start it while holding the side button for Recovery Assistant, then tap Diagnostics Mode → Mobile Resource Inspector → Start Diagnostic. If it finds an issue, service comes next.
- For part history: Settings → General → About → Parts and Service History — it shows on iPhone 11 and later (display and battery) and iPhone 12 and later (the cameras), except SE models — if a part was replaced, you'll see there whether it's a Genuine Apple Part or Unknown.
Menu path, screen by screen: 1. Settings: General ←; Accessibility; Display & Brightness; Battery. 2. General: About ←; Software Update; AirDrop. 3. About: Name; iOS Version; Serial Number; Parts and Service History — Front Camera · Genuine Apple Part ←
More about the labels there and what a non-genuine part means in the guide to genuine screens and batteries.
Why a sensor dies after a new screen
The proximity and light sensors sit at the top of the phone, attached to the display or right under it — on many models they are part of the same assembly or the same flex. That is why the commonest “dead sensor” shows up right after a screen replacement or after a new protector goes on. The same goes for the under-display fingerprint reader: it reads through the glass, and what you put on top matters.
- Protector or case over the sensor window — a protector with a thick black border or fitted crooked covers proximity and light; the first step is always to remove it and retest.
- Adhesive or dust — excess adhesive or dust left during fitting can block the sensor's tiny window.
- A non-genuine or badly fitted screen — Apple itself lists among the signs of a non-genuine display “the display not turning off during phone calls” and “degraded ambient-light-sensor performance” — precisely what you test here.
- A damaged flex — the sensor sits on a flex that can tear or be fitted at a strain during disassembly; the classic symptom is a sensor that works sometimes.
The compass
recalibrates with the figure-8 / in Maps
Auto-brightness
relearns your preferences on its own
Fingerprint and face
re-enrol in settings
Proximity, accelerometer, gyroscope
no user calibration — a part or a repair
Warning
When the test becomes a repair job
| What you found | The usual cause | What comes next |
|---|---|---|
| Black screen or error on one camera | the camera module or its flex | a repair — only the module is replaced |
| Blurry photos even after cleaning the lens | scratched lens or dead module | a repair |
| Focus “hunts” and never settles | a failed autofocus or stabiliser | a repair |
| Screen stays on at your ear in calls | proximity covered or dead | first remove the protector; then a repair |
| Erratic auto-brightness | light sensor covered or a part | retest without the case; then a repair |
| Compass frozen even after calibrating | dead magnetometer or interference | retest away from magnets; then a repair |
| GPS won't lock even outdoors, clear sky | antenna or module — rare | a repair |
| Fingerprint dead after a new screen | screen or protector incompatible with the under-display reader | a different protector; otherwise the screen |
Buying a second-hand phone? This set of tests, run in front of the seller, is the most direct evidence of its condition — the full checklist is in the used-phone check guide. If a dead camera or sensor came out of it, see what the repair involves in the guide to camera, speaker and microphone replacement, and for a diagnosis on the bench you'll find us at the service page or through the quote form.
Common mistakes when testing
Do
- Test GPS outdoors, with open sky — indoors it's normal for it to be weak or absent.
- Repeat a failed test once, without the case and the protector, before reaching a verdict.
- Tap the screen on the subject when shooting — that's how you check real focus, not chance.
- Hold the phone flat when reading the compass — Apple's recommendation for accurate readings.
Don't
- Don't test proximity outside a call — away from calls the sensor shows nothing visible.
- Don't judge the compass next to a magnetic case or a metal mount — move away and try again.
- Don't mistake the rattle of focusing parts for a fault — on phones with optical stabilization it's normal behavior.
- Don't install apps that “repair” or “calibrate” sensors — they can't; a dead sensor is a part, not a setting.
Frequently asked questions
Why doesn't my screen turn off when I'm on a call?
*#0*# → SENSOR, and on Xiaomi in CIT, under Proximity sensor test.How do I tell which lens is dead on a multi-camera phone?
My camera rattles when I shake the phone. Is it broken?
Can the proximity sensor be calibrated?
Why does Maps show me the wrong direction?
GPS doesn't work indoors or in my car — is it dead?
How can I tell if the flash is dead or switched off?
Does your phone look different, or is something missing here?
Menus and buttons differ from model to model and change with updates. If these steps do not match your phone or you cannot find what you need, tell us your model and what you see on the screen: we will answer you and update the guide.
Checked against
- Apple România — Dacă blițul sau camera unui iPhone sau iPad nu funcționează
- Apple România — Dacă dorești să cumperi un iPhone folosit
- Apple România — Despre ecranele iPhone originale
- Apple România — Utilizarea busolei pe iPhone
- Apple România — Ajustarea luminozității pe iPhone (senzorul de lumină ambientală)
- Google — Identifică și îmbunătățește precizia locației în Google Maps
- Google — Remediază problemele aplicației Cameră foto de pe Pixel
- Samsung România — Verifică starea dispozitivului și rulează diagnosticarea
- Xiaomi — How does the phone get into hardware detection?
- Apple România — Asistentul de reparații
Related guides
Buying a used phone? The complete 15-minute check
Everything to check on a used phone in 15 minutes: locks, IMEI, body, hardware, battery and parts — before you pay.
15 min · Needs care
Screen test: dead pixels, burn-in and dead touch zones
Run the screen tester: full colours, a touch grid and multi-touch — for dead pixels, burn-in and dead touch zones.
10 min · Anyone can do it
Samsung test codes: *#0*# and the rest, explained
Samsung's hidden test menu: *#0*#, the safe information codes and the ones best left to a repair shop.
15 min · Needs care
The Xiaomi, Redmi and POCO test menu (CIT): how to open it and what to check
The hidden hardware test menu on Xiaomi, Redmi and POCO: the code, the Settings route and how to read the results.
15 min · Needs care
Camera, speaker and microphone replacement
Cameras, speakers and microphones are small separate modules — which symptom needs which part, and how the swap goes on the bench.
10 min · Better in a service
Found something that doesn't work?
Send us your test results — we'll tell you what the repair involves.