Change default camera to rear facing instead of front facing - Xperia Z5 Q&A, Help & Troubleshooting

Hi guys,
After the Nougat 7.1.1 update, my front camera seems to have stopped working. At first, when I'm opening the camera app, it says that the application might be in use by other applications so I forced close it, clear data, and even restarted the phone. But none if it did work, however, when I'm opening 3rd party camera applications it shows up fine but no option of changing to front facing.
I would like to ask if there's a line of code so I can change the initial startup of the camera to rear? I knew that my front facing camera is not working when I tried to check the diagnostics and it says that it doesn't support this function. Hope you guys help me out with this one. Thanks guys

Related

Front Camera not responding

My Nokia Lumia 820's front facing camera just stopped working. I tried a soft reset and hard reset, that still doesn't solve the problem. I cannot access it in the camera app or any other third party application. Attached is a pic of what happens when i switch to front camera, it just stays like that and in the third party apps, it just keeps loading. Please help

[Q] Front and Back Camera and LED stopped working after screen replacment

Hi, I'm having an issue with my Nexus 5 which is that the front and back cameras as well as the back LED no longer seem to function. This happens in the stock Camera app where as soon as it is opened, an 'Unfortunately, Camera has stopped.' message comes up and blackness is shown. This also happens in third party apps such as Snapchat where the message 'Snapchat was unable to open the camera. You may need to restart your device ' comes up. In addition, upon attempting to use Tesla LED, the back facing LED does not turn on.
The likely cause that I can see is the recent screen replacement that took place. I ordered this[1] online which came with a new set of cameras as well as a new screen. I took the motherboard, battery and rear case from the old phone and attached them to the new set of cameras and the new screen.
After performing the replacement, everything else worked except the cameras and the LED.
Upon seeing the issue, I tried swapping out the new rear facing camera (that came with the screen replacement) for the old rear facing camera that was in the old phone (the camera still worked before the replacement). After swapping the rear camera the issue was unchanged.
I have tried the following in terms of software fixes:
-Other camera applications - they crash or are black
-Clear cache and application data for the stock camera app - no effect
-Change to ART - no effect
I would greatly appreciate any help or advice that you can offer.
I'd reinstall stock rom and gapps, if they still don't work you know it's a hardware problem for sure. Then troubleshoot from there.
Lokke9191 said:
I'd reinstall stock rom and gapps, if they still don't work you know it's a hardware problem for sure. Then troubleshoot from there.
Click to expand...
Click to collapse
I factory reset the device and tried the default Google Apps, still having the same issues.
Any suggestions for hardware trouble shooting?
bhtp said:
I factory reset the device and tried the default Google Apps, still having the same issues.
Any suggestions for hardware trouble shooting?
Click to expand...
Click to collapse
As for hardware trouble shooting, being that you know the original cameras worked, all you can do is check the connections . I'd unplug them and plug them back in.
I'd also try flashing the 4.4 stock camera zip and see if that works.
Lokke9191 said:
As for hardware trouble shooting, being that you know the original cameras worked, all you can do is check the connections . I'd unplug them and plug them back in.
I'd also try flashing the 4.4 stock camera zip and see if that works.
Click to expand...
Click to collapse
I tried reattaching all of the physical connections and that did not seem to make a difference.
In regards to flashing the 4.4 stock camera zip, would you be able to give me a little guidance as to how that process would occur?
Thanks so much for your help so far.
You'd need to root, install a custom recovery (twrp), use titanium backup to uninstall camera. Then boot into your custom recovery and install the camera zip.
Lokke9191 said:
You'd need to root, install a custom recovery (twrp), use titanium backup to uninstall camera. Then boot into your custom recovery and install the camera zip.
Click to expand...
Click to collapse
Sorry for such a long response time.
I updated the phone to 4.4.3.
Interestingly the back facing camera appears to have started working. The default camera application still fails to open, but when I use another application (Snapchat) and have it set to try the backfacing camera first, everything seems to work ok. However, when I switch to front facing the application says that it can't find the camera.
In addition, the back facing LED has begun to work again as well.
Previously, I had switched out the new rear facing camera (that came with the casing) for the old rear facing camera hoping that it might changes things. I recognize retrospectively that my method of testing was flawed as it seems as though regardless of whether one of the cameras is/was working the application would not open.
Hoping that the replacement of the rear facing had caused it to start working, I swapped out the new front facing camera for the old one. Upon testing, the issues with the front facing camera seem to persist.
At this point I'm not sure how to proceed. The lack of functionality of both front facing cameras (the old and the new) would seem to suggest an issue with the connector on the motherboard if the problem were hardware based. I'm not sure, though, if the problem could somehow be in software.
One software phenomenon that I observed is that as soon as I try to use the front facing camera, the back facing camera stops working again requiring the application to be reset. This occurrence has led me to question the causation between the update and the new functionality. It is possible that in my testing of the device before the update, I had simply been opening the front facing camera and upon seeing it fail, and trying the back facing camera and seeing it fail (because I had tried the front facing camera), that I assumed it was not working.
If you have any recommendations on how to proceed I would greatly appreciate hearing them. If not then thanks for all your help.
bhtp said:
Sorry for such a long response time.
I updated the phone to 4.4.3.
Interestingly the back facing camera appears to have started working. The default camera application still fails to open, but when I use another application (Snapchat) and have it set to try the backfacing camera first, everything seems to work ok. However, when I switch to front facing the application says that it can't find the camera.
In addition, the back facing LED has begun to work again as well.
Previously, I had switched out the new rear facing camera (that came with the casing) for the old rear facing camera hoping that it might changes things. I recognize retrospectively that my method of testing was flawed as it seems as though regardless of whether one of the cameras is/was working the application would not open.
Hoping that the replacement of the rear facing had caused it to start working, I swapped out the new front facing camera for the old one. Upon testing, the issues with the front facing camera seem to persist.
At this point I'm not sure how to proceed. The lack of functionality of both front facing cameras (the old and the new) would seem to suggest an issue with the connector on the motherboard if the problem were hardware based. I'm not sure, though, if the problem could somehow be in software.
One software phenomenon that I observed is that as soon as I try to use the front facing camera, the back facing camera stops working again requiring the application to be reset. This occurrence has led me to question the causation between the update and the new functionality. It is possible that in my testing of the device before the update, I had simply been opening the front facing camera and upon seeing it fail, and trying the back facing camera and seeing it fail (because I had tried the front facing camera), that I assumed it was not working.
If you have any recommendations on how to proceed I would greatly appreciate hearing them. If not then thanks for all your help.
Click to expand...
Click to collapse
Any updates mate? Did you made it work ?
I opened my nexus to fix the gps. Everything worked fine, until suddenly gps stopped working. I opened again, remove the fix, still the same.
Then my camera stopped working as well. "Cannot connect to camera" or something like this it gave me.
I've updated from 4.4.4 kitkat to android L latest build, and gps works but the camera app crashes, as well as any other camera on market ( either black screen or crash ).
Any help for me ?
Any answer it will be appreciated.
Same exact issue with front facing camera after glass replacement. Anybody find a fix yet?

[Q] Front facing camera not working on Android M

Hello,
I installed the developer preview as soon as it came out. Today I noticed my front facing camera is not working. It was working 3 days ago. In the stock camera app, the button to switch to front facing is not present. I installed a couple of other apps and there is no option for the front facing camera there too. So I tried to wipe the stock camera app's data. After that, the app does not start at all, it just crashes. 3rd party apps still work, but just for the rear camera.
I tried to reflash the system image for android m, but still, the problem persists. I happen to have a spare front facing camera from another broken nexus 5 (RIP old friend), and I still have this issue. Anyone got any ideas?

Unfortunately, Camera has stopped. [M Preview]

First off, I have not seen this anywhere else, but appologies if i've missed it!
Even on a completely clean install of the M preview, upon opening camera, and once passed the 'OK, GOT IT' button, camera closes. Every time. Regardless of what i do, clear cache, update, remove updates etc. Happens on Preview 1 and 2. Doesnt happen in 5.0/5.1/5.1.1. I thought it might be the fact the camera was damaged being reported in some new way to the system, forcing the closure (i ripped the cable slightly when repairing another part (i know, dumb, but i slipped)), but have since replaced with a new part and still have issues.
Has anyone else had this, and fixed it? Thanks!
Hello, I have the same problem. Unfortunately, my problem persists on older versions of android. My problem seems to be the front facing camera, because with a third party app, the rear camera works. I replaced the front camera, but it still does not work in any app, and the Camera app still does not start. Tried removing the front camera - app again stops working.
That is the same for me. Snapchat will use the rear camera fine, but doesn't register the phone as even having a front camera
ishamm said:
That is the same for me. Snapchat will use the rear camera fine, but doesn't register the phone as even having a front camera
Click to expand...
Click to collapse
Same here! I can take photos through Tinder, and download them to my phone (although sometimes the Tinder app will crash too). But whenever I open the Camera app I get the "Unfortunately, Camera has stopped" message. I've tried multiple reboots, closing the app, not closing the app, resetting the cache, etc. Nothing works.
I believe this all started when I tried to take a "selfie" one time (I guess that's God's way of telling me never to do that again). When I switched to the front camera all hell broke loose. Now I'm guessing it's "stuck" on the front camera and I can't run the app even to switch it back!

Rear Camera + Flashlight keeps getting disabled... Why ???

I have had no issues at all for almost an year with this phone. I was running oreo ever since I bought this phone. Suddenly, a day or two before upgrading it to pie 9.0, I found out in my Snapchat app that there was no back camera sign. First I thought, some weird snap update, but then I found out in system Camera app, it was even not showing the back camera. Whenever I would click on the rear camera sign from the top in Camera app, it would keep on swapping to the frontal secondary camera and then back to the primary frontal camera but no back camera was working. Also I found out that my Flashlight icon is hardened or greyed out, like it's been disabled forcefully. I can make it work using some other app, but it is frustrating why this is happening.
Now I am on android 9, rooted, and this problem keeps on coming and going. At times the back camera won't even work or open with the error "Camera not working" etc. Sometimes, the back camera would work but with only 3 weirded resolutions, like 12MP, 16MP, and some other. and the video mode will be extremely large or zoomed in at 16MP. Suddenly, the camera will start working normally again with all the perfect default resolutions. I tried everything from SAFE MODE to CLEARING THE CAM APP, RESETTING THE APP, but nothing works. All it seems like that camera has suddenly came to life and has a self-consciousness and a mood which it is controlling itself. Sometimes it wants to work and at times, it simply just gets disabled. Any idea what could be the problem? I am rooted using MAGISK.
Simular camera problems with Lenovo tab v7
I have a Lenovo tab v7 with almost the same problems, the rear camera wont work but occasionally the front camera works and the flash LED is dead.
Running Android 9 Pie as well, but not rooted yet.
Any ideas about what we can do about it, is the camera hardware due to be replaced?
cloud_silver said:
I have a Lenovo tab v7 with almost the same problems, the rear camera wont work but occasionally the front camera works and the flash LED is dead.
Running Android 9 Pie as well, but not rooted yet.
Any ideas about what we can do about it, is the camera hardware due to be replaced?
Click to expand...
Click to collapse
It suddenly started happening almost a month ago, I was on oreo 8 and then upgraded to pie 9 but the problem persisted. It kept working for few days and then started to make problems again. I tried to read many forums for android users with the same problem but still haven't found a single complete fix for this problem other than that the rear camera needs to be refixed. But I am finding it hard to believe that even if camera was getting bad, there is no point of FlashLight getting greyed out/disable from the notification bar. It seems more like some kind of a process is not releasing the rear camera and flashlight module/process.

Categories

Resources