Skip to main content

Phones

Android Phone Camera Not Working

If your Android camera is showing a black screen, crashing on launch, or failing to focus, the issue could range from software permission conflicts to a failed camera module. Step-by-step diagnostic instructions will help you identify the cause.

Symptoms

  • Camera app opens to a black screen and immediately crashes or freezes
  • Error message reading 'Warning: Camera Failed' or 'Can't connect to camera'
  • Flashlight toggle is greyed out or says 'Camera in use by another app'
  • Photos are permanently blurry or the lens makes a buzzing vibration sound
  • Front selfie camera works, but switching to the rear camera crashes the app
  • Third-party apps like WhatsApp or Instagram show a black camera preview

Quick troubleshooting

  1. Step 1

    Force stop and clear Camera app storage

    Open your phone's Settings, navigate to Apps, and tap on Camera. Select 'Force Stop', then open 'Storage & Cache' and tap 'Clear Cache' followed by 'Clear Storage'. Reopen the camera app to see if default configuration clears the error.

  2. Step 2

    Test camera functionality in Safe Mode

    Press and hold your device's power button, then tap and hold 'Power Off' until the 'Reboot to Safe Mode' prompt appears. Once in Safe Mode, test the stock camera app; if it works, a recently installed third-party app is hijacking camera permissions.

  3. Step 3

    Run hardware diagnostics via system dialer code

    Open your Phone app and dial diagnostic codes like *#0*# (Samsung) or *#*#64663#*#* (Xiaomi/Motorola) to enter factory testing mode. Tap the 'MegaCam' or 'FrontCam' test to see if the hardware hardware layer responds independently of the main UI.

  4. Step 4

    Inspect lens assemblies for mechanical OIS failure

    Look closely at the rear camera glass while attempting to focus. If you hear a high-pitched buzzing, see a jittery screen preview, or notice the lens physically shaking, the internal magnet assembly responsible for Optical Image Stabilization has failed due to a fall.

  5. Step 5

    Inspect and reseat internal camera flex cables

    If software troubleshooting fails, open the back panel using heat and guitar picks after heating the adhesive. Inspect the camera flex cables under a magnifying glass for tear marks, reconnect them firmly to the motherboard, and test before applying fresh adhesive.

Likely causes

  • Corrupted Camera app cache or corrupted system camera service files
  • A third-party app locking background camera access in the permissions manager
  • Outdated Android system software or a recent buggy OS update
  • Physical shock damage breaking the internal Optical Image Stabilization (OIS) gyro
  • Unseated or damaged camera flex cable connector on the mainboard
  • Liquid or moisture intrusion short-circuiting the camera module components

What's going on

When an Android camera stops working, it usually points to one of two areas: software stack miscommunication or internal hardware failure. The Android OS relies on a specialized background service (CameraHAL) that bridges the gap between third-party software applications and the physical camera sensor.

If this background service crashes, encounters corrupted memory cache files, or gets locked by an app running in the background, your camera will present a black screen or throw immediate error popups. However, if your phone recently suffered a drop, physical impact, or water exposure, internal components like the optical image stabilization (OIS) magnets or the delicate ribbon cable connectors may be broken. You can explore broader device issues in our /problems section.

Symptoms people notice

  • The native Camera application closes automatically a few seconds after launching.
  • Switching from the rear lens to the front camera freezes the entire screen.
  • System quick-settings reveal the flashlight tile is greyed out and unclickable.
  • The camera view jitters continuously and makes a quiet buzzing or hum noise.
  • Apps like Instagram, Snapchat, or Banking apps report that the camera is unavailable.
  • The view remains solid black, though light indicators show camera permission is active.

Likely causes

  1. Corrupted App Cache: Stored temporary data inside the stock camera app can become corrupted following an unexpected shutdown or update.
  2. App Permission Conflicts: Security apps, social media, or torchlight utilities running in the background holding onto the camera hardware permission interface.
  3. Failed Hardware Stabilization (OIS): Drops on hard surfaces dislodge small mechanical electromagnets inside the camera, ruining focus and causing sensor shake.
  4. Unseated Flex Ribbon Connectors: Internal physical shock can pop the tiny press-fit motherboard connector loose from its socket.
  5. Liquid Damage: Water entering through speaker grilles or rear glass cracks can short the dedicated power rails supplying the camera module.

Quick checks first

Before opening up your phone or considering a hardware replacement, go through these fast software sanity checks:

  • Restart your phone: Perform a hard restart by holding the Power and Volume Down buttons for 10 seconds. This forcefully terminates locked background tasks.
  • Check for pending updates: Go to System Settings > Software Update to install any patch that addresses known device camera bugs.
  • Revoke permissions: Open Settings > Privacy > Permission Manager > Camera. Temporarily deny camera access to non-essential third-party applications.
  • Clean the lens glass: Smudges, cheap lens protectors, or trapped dust under the outer camera glass can prevent laser autofocus systems from locking focus.

For general DIY hardware teardowns and tool recommendations, take a look at our hardware /guides.

When it's a real repair

If the hardware diagnostic test (using vendor codes) fails to turn on the camera sensor, or if the view physically vibrates and buzzes while held stationary, software toggles will not fix the issue. Drops frequently shatter internal glass optics or snap the microscopic copper traces inside the flex cable.

In these instances, replacing the camera module is necessary. Most modern Android devices utilize modular rear camera blocks that snap into place on the main motherboard using standard board-to-board connectors. If water ingress occurred, you may also need to clean surface oxidation off the motherboard circuitry using isopropyl alcohol before installing a new part.

DIY vs professional repair

Replacing a camera module on an Android smartphone ranges from moderate to advanced in difficulty depending on how the device opens:

  • Moderate: Android phones with removable plastic or aluminum back panels requiring basic driver kits and plastic spudgers.
  • Advanced: Modern glass-sandwich flagships requiring precise heat application (to loosen glass adhesive), suction tools, replacement adhesive gaskets, and careful disconnection of fragile display or battery ribbons.

If you lack heat guns, fine tools, or feel uncomfortable handling delicate flex cables without tearing them, reaching out for mail-in options or consulting technician help via LML Experts can prevent secondary damage to your motherboard or screen.

Next steps

Start by executing the cache-clearing and Safe Mode troubleshooting methods outlined above to eliminate software glitches. If you determine the hardware module is dead, visit our comprehensive /guides directory for tear-down walkthroughs tailored to your brand. You can also drop your specific symptoms in our /community forum to get feedback from experienced fixers, or read verified part source suggestions in /reviews.

Next steps

This often involves: Camera Repair. Try the DIY guide if you're comfortable opening the device. Still stuck? Browse related problems for similar symptoms.

Related problems