You open the camera and get a warning triangle with Camera failed, and nothing you tap brings the preview back. The photo you were about to take is gone but your existing photos are untouched. The message comes from the handoff between the app, the camera service and the module, and which of those three failed decides what will actually fix it.
Quick steps
- Note whether the message appears on launch or after a moment
- Test a second camera app
- Check the system-wide camera toggle in Quick Settings
- Review the camera permission and privacy dashboard
- Close every app that might hold the camera
- Rule out a thermal lockout
- Clear the camera app's cache
- Clear its storage only if the cache did not help
- Reboot into safe mode to exclude third-party apps
- Check free storage against a few hundred megabytes
- Install pending system and camera component updates
- Uninstall the camera app's updates and let them reinstall
- Test the front camera against the rear
- Reset only if safe mode fails too
- Describe the fault with all four facts at the repair counter
Things you'll need
- A second camera app to test with
- About 2 GB of free storage
- A cool room, if the phone has been running hot
- About 20 minutes
Step-by-step
Method 1 of 3: Find Out Whether It Is the App or the Camera
Step 1: Read "Camera failed" as a Driver Handoff Failure
The camera app asks the system for the camera device, the system asks the camera service, and the service opens the hardware. "Camera failed" with a warning triangle appears when the service could not open it or the app lost the handle. Nothing has gone wrong with your photos, and in most cases nothing has gone wrong with the lens either.
Reference: Android Developers — Camera API · Related guide: Phone Too Hot: Camera Will Close · On 52runoob — How to Take Better Photos With Your Phone
Step 2: Test a Second Camera App Before Anything Else
If a different app can use the camera, the hardware and the service are fine and the fault is in one app's own state. If every app fails, the service or the hardware is at fault. This one test decides which half of this guide applies, and it takes two minutes.
Reference: Android Help — Find, open and close apps on Android · Related guide: Android Phone Slow With Only 2GB or 3GB of RAM · On 52runoob — TikTok Lagging and Freezing on Mid-Range Android Phones
Step 3: Check the Camera Access Toggle in Quick Settings
Both platforms have a system-wide camera cut-off that a single tap in Quick Settings can leave on. When it is on, no app can open the camera at all, and some report it as a failure rather than a permission error. Look for the camera icon in the notification shade before you go any deeper.
Reference: Android Help — Check if your camera or microphone is on or off · Related guide: Android System UI High CPU on Android · On 52runoob — Speed Up a Slow Phone
Step 4: Review the Permission and the Privacy Dashboard
An app that lost camera permission because it was denied once, or because a privacy review revoked it, cannot open the device. The privacy dashboard shows exactly which apps used the camera and when, which tells you whether the app ever had access. Grant the permission again from the app's own settings page.
Reference: Android Help — Manage permissions from the privacy dashboard · Related guide: Android Phone Slow When Internal Storage Is Nearly Full · On 52runoob — How to Take Better Photos With Your Phone
Step 5: Check Whether Another App Is Holding the Camera
Android gives the camera to one client at a time. A video call left running in the background, a scanner app, or a social app's in-app camera can hold the handle, and the next app to ask gets a failure. Close everything from the recents view, then try again with nothing else running.
Reference: Android Help — Fix an Android device that freezes or won't respond · Related guide: Instagram Reels Lagging on Android · On 52runoob — Chrome Using Too Much RAM on an Android Phone
Method 2 of 3: Clear What the Camera Cannot Get Past
Step 6: Rule Out a Thermal Lockout
A phone that is hot disables the camera before it disables anything else, because the sensor and the image processor are the biggest heat sources. If the failure only happens after gaming, navigation or charging in the sun, it is thermal and no software step will change it. Let it cool and the camera returns.
Reference: Android Help — Speed up a slow Android device · Related guide: Phone Slow When It Gets Hot: Thermal Throttling · On 52runoob — Phone Too Hot: Camera Will Close
Step 7: Clear the Camera App's Cache
The camera app keeps a preview buffer and a settings database, and a corrupt one makes every launch fail at the same point. Clearing the cache removes both without touching your photos, because photos live in shared storage rather than in the app's own data. This is the single most effective software step.
Reference: Google Play Help — Fix an installed Android app that isn't working · Related guide: Phone Slow Because the Cache Partition Is Full · On 52runoob — WhatsApp Cache Taking Up 10 GB
Step 8: Clear Storage Only if the Cache Did Not Help
Clearing storage resets the camera's own settings, which is occasionally what fixes a stubborn failure. It does not delete photos. It does reset grid lines, resolution choices and any manufacturer-specific modes, so expect to set those again. Do this only after the cache alone changed nothing.
Reference: Google Play Help — Fix problems downloading apps with basic troubleshooting steps · Related guide: Free Up Storage on Your Phone · On 52runoob — Cannot Take Photo: Not Enough Storage
Step 9: Reboot Into Safe Mode to Rule Out Third-Party Apps
Safe mode disables every app you installed. If the camera works there, one of your apps is interfering, usually a filter, scanner or privacy tool that registers a camera service of its own. Uninstall the most recently added app first, then the ones that ask for camera access.
Reference: Android Help — Fix an Android device that's restarting or crashing · Related guide: Facebook App High CPU and Overheating on Android · On 52runoob — Android Phone Slow After a Factory Reset
Step 10: Check That Storage Is Not Full
The camera needs a few hundred megabytes to open, because it writes a preview cache before it takes anything. A phone at the edge of full storage fails to launch the camera and reports it as a failure rather than a storage warning. Free a couple of gigabytes and try again.
Reference: Android Help — Free up storage on your Android device · Related guide: Cannot Take Photo: Not Enough Storage · On 52runoob — Android Other Storage Eating Half the Phone
Step 11: Install Pending System and Camera Updates
The camera is driven by a vendor component that updates separately from the system, and a mismatch between the app and that component produces a failure that no cache clear fixes. Check for system updates, then for app updates in the store, and install both before you conclude the hardware is bad.
Reference: Android Developers — Uses permission element · Related guide: Android Phone Slow Immediately After a Major OS Update · On 52runoob — Google Play Store High CPU and Slow App Updates
Method 3 of 3: Decide Between Software and Hardware
Step 12: Reinstall the Camera App's Updates
Uninstalling the camera app's updates returns it to the factory build, which is a clean state the installer can rebuild. The next store update then installs on top of a known-good base. Your photos are untouched, and the camera returns to its shipped behaviour while the update re-downloads.
Reference: Google Play Help — Reinstall and re-enable apps · Related guide: Android System WebView High CPU and Laggy Apps · On 52runoob — Speed Up a Slow Phone
Step 13: Check Whether One Lens Fails and Another Works
Flagship phones have several camera modules, and each has its own connection. If the main lens fails but the ultra-wide works, the fault is that module or its ribbon connector, which is hardware. That distinction is the difference between a software fix and a repair, and it is checkable in ten seconds.
Reference: Android Developers — Camera features element · Related guide: How to Take Better Photos With Your Phone · On 52runoob — Phone Too Hot: Camera Will Close
Step 14: Try the Front Camera Alone to Test the Service
If the front camera works and the rear does not, the camera service is healthy and only one device is failing. If neither works, the service itself cannot start, which is a system-level problem rather than a module problem. That tells you which repair to ask for and stops the shop from replacing the wrong part.
Reference: Android Developers — Package visibility filtering · Related guide: Phone Too Hot: Camera Will Close · On 52runoob — How to Do Digital Art on Your Phone
Step 15: Reset Only as a Last Software Step
A reset removes every app that might be interfering and rebuilds the camera service registration. It is justified when safe mode still fails and updates changed nothing. It is not justified before those tests, because it costs hours and a reset does not fix a failed module.
Reference: Android Help — Reset your Android device to factory settings · Related guide: Android Phone Still Slow After a Factory Reset · On 52runoob — Free Up Storage on Your Phone
Step 16: Describe the Fault Properly at the Repair Counter
Tell them which cameras fail, whether safe mode changes it, whether the phone was hot, and whether a second app sees the same failure. Those four facts separate a module replacement from a mainboard fault, and they stop a shop from starting with the most expensive part. Ask for the diagnosis in writing.
Reference: Android Help — How to contact your device manufacturer or carrier · Related guide: Phone Too Hot: Camera Will Close · On 52runoob — How to Transfer Photos From Phone to Computer
Tips
- Test a second camera app first. If it works, the hardware is fine and one app is broken.
- Check the system-wide camera toggle in Quick Settings before anything else.
- The camera needs a few hundred megabytes free for its preview cache.
- One module failing while another works is a hardware fault, not software.
- If it only fails when the phone is hot, it is thermal and nothing software-side will change it.
Warnings
- Clearing storage on the camera app resets its settings, including grid lines and resolution choices. It does not delete photos.
- Safe mode disables your installed apps temporarily. Nothing is uninstalled.
- A factory reset is the last software step. It does not fix a failed camera module, so test both cameras first.
- At a repair counter, ask for the diagnosis in writing before authorising a mainboard replacement.
Frequently asked questions
Did I lose my photos?
No. Photos are stored in shared storage, not in the camera app's data. Clearing the camera's cache or storage does not touch them.
How do I know if the camera itself is broken?
Test the front camera. If the front works and the rear fails, the camera service is healthy and that one module or its connector is at fault.
Why does it only happen after gaming?
That is a thermal lockout. The sensor and image processor are the first things disabled when the phone is hot, and they return once it cools.
Will a factory reset fix it?
Only if the cause is a third-party app or a corrupted service registration. If safe mode still fails, a reset will not help and the module needs attention.
References
- Android Developers — Camera API. https://developer.android.com/guide/topics/media/camera
- Android Developers — Uses permission element. https://developer.android.com/guide/topics/manifest/uses-permission-element
- Google Android Help — Check if your Android camera or microphone is on or off. https://support.google.com/android/answer/13532937
- Google Android Help — Manage permissions from the privacy dashboard. https://support.google.com/android/answer/13530434
- Google Android Help — Free up storage on your Android device. https://support.google.com/android/answer/7431795
- Google Play Help — Fix an installed Android app that isn't working. https://support.google.com/googleplay/answer/2668665
Every guide is reviewed against its sources. See our editorial policy.
Reader comments
0 so farFinished this guide? Tell other readers what worked, what didn't, and what you would change.