This is really boggling my noodle. Last month I flashed my phone from G930T to G930U. No problems up until Friday when I went to take a picture and found my camera app kept crashing - weird. After much troubleshooting, I decided I've had enough and factory reset the phone. Seemed to be fine, got everything setup, BOOM, problem is back. After painstakingly going through the restore process again slowly, I found that the problem is coming from the camera and Samsung Gallery interaction. If all photos are in the DCIM folder, there is no problem. The moment I download a picture via the internet or Facebook, or I take a screenshot of my phone, since those pictures fall outside of DCIM (into the Pictures, Download, or Screenshot folders), the camera app crashes. It definitely seems like a cache issue with gallery/media storage, but no matter how many times I clear them, once the cache rebuilds, the problem returns. I've always had pictures outside of DCIM without issue and my wife, who has the same phone and I flashed the same G930U image on, has no problems.
Any possible ideas because I am completely at a loss?!
Update the gallery app from apkmirror?
*Detection* said:
Update the gallery app from apkmirror?
Click to expand...
Click to collapse
Tried, but it says it conflicts with a version already installed. I can't confirm it is the Gallery app specifically, but it is definitely somehow the camera and gallery are interacting for the cached pictures.
mrmartin86 said:
Tried, but it says it conflicts with a version already installed. I can't confirm it is the Gallery app specifically, but it is definitely somehow the camera and gallery are interacting for the cached pictures.
Click to expand...
Click to collapse
Enable secure startup in lockscreen settings, reboot, install apk again
If it's already enabled, disable it and reboot, the exploit just requires the switch to be toggled and phone rebooted, then package conflicts don't occur
*Detection* said:
Enable secure startup in lockscreen settings, reboot, install apk again
If it's already enabled, disable it and reboot, the exploit just requires the switch to be toggled and phone rebooted, then package conflicts don't occur
Click to expand...
Click to collapse
That was sneakily awesome. Installing it that way worked, but unfortunately did not fix my problem.
I went to my last resort and reflashed the G930U files through Odin, and then updated it via the OTA before I did any additional setup, and that seemed to fix the issue. I have absolutely no idea what was wrong with it.
mrmartin86 said:
That was sneakily awesome. Installing it that way worked, but unfortunately did not fix my problem.
I went to my last resort and reflashed the G930U files through Odin, and then updated it via the OTA before I did any additional setup, and that seemed to fix the issue. I have absolutely no idea what was wrong with it.
Click to expand...
Click to collapse
Ah well, at least it's fixed, and you learned a new trick in the process
:good:
So OTA seems to fix it in the 930U firmware?
Related
Any app that uses the camera seems to force close on me. Examples include the amazon.com, droidshooting, layar, etc. After the force close, the camera app itself reports that is cannot connect to the camera. The native camera app, google googles, and barcode scanner app seem to be immune to the initial crash. The amazon app worked before I updated to 2.3.2, have not tried it since. Is this a common issue, or should I exchange my phone. I am running stock, pushed OTA 2.3.3 manually. I have had no other issues with this phone.
Kah-Neth said:
Any app that uses the camera seems to force close on me. Examples include the amazon.com, droidshooting, layar, etc. After the force close, the camera app itself reports that is cannot connect to the camera. The native camera app, google googles, and barcode scanner app seem to be immune to the initial crash. The amazon app worked before I updated to 2.3.2, have not tried it since. Is this a common issue, or should I exchange my phone. I am running stock, pushed OTA 2.3.3 manually. I have had no other issues with this phone.
Click to expand...
Click to collapse
go to the main settings, applications, manage applications, all, camera, then press the clear data button. check and see if that fixes the problem for you
simms22 said:
go to the main settings, applications, manage applications, all, camera, then press the clear data button. check and see if that fixes the problem for you
Click to expand...
Click to collapse
It did not. The camera app itself works, until some other app trying to use the camera forcecloses.
Kah-Neth said:
It did not. The camera app itself works, until some other app trying to use the camera forcecloses.
Click to expand...
Click to collapse
try clearing the data on one of those apps that force make the camera force close.
simms22 said:
try clearing the data on one of those apps that force make the camera force close.
Click to expand...
Click to collapse
Still force closes. I am thinking it may be something changed in the way the phone handles having two cameras.
Has anybody else had this problem with amazon app?
I have the problem with the bar code scanner part of the Android app. The take a picture part works fine for me. i tried wiping, different roms, 2.3.2, 2.3.3...even restoring back to an older nandroid backup. I don't use the bar code scanner often so I don't remember if the older version of 2.3 worked previously
Glad to see someone else is seeing it and not just my phone. I asked a similar question a few days ago and the replies were basically don't use amazon.. use something else... blah blah..
ScotchtapeLoser said:
I have the problem with the bar code scanner part of the Android app. The take a picture part works fine for me. i tried wiping, different roms, 2.3.2, 2.3.3...even restoring back to an older nandroid backup. I don't use the bar code scanner often so I don't remember if the older version of 2.3 worked previously
Glad to see someone else is seeing it and not just my phone. I asked a similar question a few days ago and the replies were basically don't use amazon.. use something else... blah blah..
Click to expand...
Click to collapse
Does the camera stop working for other apps after you do this? When I try certain apps, they forceclose, then the camera will not at all until i reboot.
Yes. If I try to use the amazon bar code scanner, it kills the camera and no other camera app will work until I reboot.
bumping.... the way the camera is called in 2.3.3 is different. Amazon corrected the problem with their app in the recent update. The other programs will have to do that eventually as well.
Basically, I was rooted, everything worked fine, I was happy with it. Phone crashed when I restarted it once for some reason (every app force closing persistantly when I turned on the phone), so I went back to unrooted stock and stock bootloaders using the one click application.
Now, I have a battery issue. The Gallery is using up 65-85% of my battery, and "Stay awake" under Gallery is almost the entire time the phone is on. This is despite never taking a picture, or opening the gallery in any way.
Has anyone else had this bug and is there any way to fix it?
Try removing the gallery apk and see if that is indeed your problem. You can add the gallery back later once you figure out your problem.
You may also try redownloading and reflashing one click. You may have a bad download. It does happen.
Or of course the gremlin remover one click.
lumin30 said:
Try removing the gallery apk and see if that is indeed your problem. You can add athe gallery back later once you figure out your problem.
You may also try redownloading and flashing one click. You may have a bad download.
Click to expand...
Click to collapse
Edit: When I used one click I was still rooted.
This app: Ultimate Rotation Control
has now claimed a second victim. A long time ago, I installed URC on my Motorola Atrix, as a way to force screen rotation in certain apps. Once I uninstalled URC, my Atrix could no longer use the system's auto rotate feature, until I completely wiped it and installed a new ROM.
Well I was hoping that it was just a fluke, a one-time incompatibility with the Atrix. Because I needed it on my new phone, a Samsung Galaxy S3, because it was the only way to get Tasker to rotate my screen.
Well sure enough, the moment I uninstalled it from my S3, I could no longer use the system's built-in auto rotate feature, AGAIN.
I have tried rebooting, reinstalling the app, uninstalling the app with different settings (like uninstalling it while in force-rotate mode), toggling system rotate in different conditions... NOTHING I've tried gets it working again!
I've contacted the developer, but in the mean time, does anyone have any suggestions to get my phone's auto-rotate working again? Perhaps there's some hidden system file that URC messed with, that I can go edit to fix all of this? I really don't want to have to do a factory reset again!
moeburn said:
This app: Ultimate Rotation Control
has now claimed a second victim. A long time ago, I installed URC on my Motorola Atrix, as a way to force screen rotation in certain apps. Once I uninstalled URC, my Atrix could no longer use the system's auto rotate feature, until I completely wiped it and installed a new ROM.
Well I was hoping that it was just a fluke, a one-time incompatibility with the Atrix. Because I needed it on my new phone, a Samsung Galaxy S3, because it was the only way to get Tasker to rotate my screen.
Well sure enough, the moment I uninstalled it from my S3, I could no longer use the system's built-in auto rotate feature, AGAIN.
I have tried rebooting, reinstalling the app, uninstalling the app with different settings (like uninstalling it while in force-rotate mode), toggling system rotate in different conditions... NOTHING I've tried gets it working again!
I've contacted the developer, but in the mean time, does anyone have any suggestions to get my phone's auto-rotate working again? Perhaps there's some hidden system file that URC messed with, that I can go edit to fix all of this? I really don't want to have to do a factory reset again!
Click to expand...
Click to collapse
Flash your ROM again. If your phone isnt unlocked then... i dont know.
jason.hamilton said:
Flash your ROM again. If your phone isnt unlocked then... i dont know.
Click to expand...
Click to collapse
Flash what ROM? I'm running stock, rooted. My phone is unlocked.
But of course wiping the entire phone would fix it. I'm asking if there is any way to fix it without wiping everything.
Right now it seems like the only way I can get it working is to have the app installed and running at all times. Strange that I'm the only reviewer that has noticed this behaviour, maybe no one else has ever tried to uninstall it before?
Hi. I've had the S22 Ultra for 3 days and this morning I noticed that when I tried to unlock with Face Recognition it says "Couldn't open camera. Try again."
I then tried opening the camera app, all rear sensors work. But when I switch to the front camera, the app crashes with a warning "Camera failed". I also can't open the front cam in third party apps like messenger and Instagram.
What I did so far:
1. Deleted cache and data for camera app. Still same error when switching to front cam.
2. Removed permissions for All apps except the default camera app. Same error.
3. Uninstalled all apps I have installed since it was last working, still no dice.
4. Booted in safe mode, front cam works fine.
Since it's working in safe mode, I guess this isn't any serious hardware issue, I hope.
I have the Snapdragon version with 512gb storage model SM-S908E/DS.
Anybody have an idea what may be causing this and how to fix it?
Thanks in advance!
It's a 3rd party app. Look at which ones have or request cam permissions to start.
A package disabler is helpful as you can disable apps one by one until you find it.
blackhawk said:
It's a 3rd party app. Look at which ones have or request cam permissions to start.
A package disabler is helpful as you can disable apps one by one until you find it.
Click to expand...
Click to collapse
Got it to work eventually by doing force restart (holding down power button + volume up key). Turned it back on and front cam started working again.
I also then re-allowed the app permissions when I was diagnosing it and front cam still works fine.
Yeah might have been a third party app though it's weird that it didn't work even when I removed all camera permissions for all the apps.
Glad it's working again though, and thankfully I did not need to do factory reset and it's not a hardware issue so I avoid the trouble of returning the unit.
Thanks!
Unless you find the root cause it likely will return.
This is why one should use factory reset as a last ditch measure. It can be tedious but rewarding.
Many times issues are inadvertently caused by the user, many times by installing buggy 3rd party apps. I tend not to experiment with new apps unless I need them because of the trouble they can cause... like 2 back to back factory resets because of boot looping. Android's should run fast and stable if not the cause(s) should be tracked down.
Malware, boot loops*, major firmware upgrades, apps changing hidden user settings and corruption of the user data partition are the only exceptions.
*if app caused you'll still need to track it down
The only recent apps that I remember installing was an app called Nice Lock (an alternative to good lock since we don't have it in my region) and the Keys Cafe module, as well as the "Write on PDF" app from Samsung. I uninstalled these when I was having the front camera problem but removing them did not solve it even after a few regular restarts and cache/data clearing. It only started working when I did the force restart. I reinstalled "Write on PDF" back and so far, so good.
Hard reboot is the solution sometimes.
If you need to continuously use it though it can indicate a hardware issue.
Run it through it's paces while still within the window of return.
Yeah I might need to keep an eye on the issue.
Thanks!
hard reset and start installing apps 1-by-1 and test camera
Got the 7 Pro, Software updated(October patch), rooted and Camera app updated.
*When I first got the phone I updated it immediately and then rooted it, the GCam app worked fine. but it was soo slow switching between camera modes, so I uninstalled and then reinstalled(updated) the app. after doing this the app just doesn't want to work.
*I also "disabled" root - updated the phone without the patched init-boot. still, didn't work.
I saw that it fixed for some just updating the app, didn't work for me.
Any other solutions?
"Any other solutions?"
Not to be facetious but you could go back to factory and enjoy the phone as it was meant to work which is great by the way. YMMV
Tried clearing the data for the camera app?
skaforey said:
Tried clearing the data for the camera app?
Click to expand...
Click to collapse
Yep
jaseman said:
"Any other solutions?"
Not to be facetious but you could go back to factory and enjoy the phone as it was meant to work which is great by the way. YMMV
Click to expand...
Click to collapse
The app still causes problems, it's not a "root" problem.
And I don't live in a place where Google "supports" the country. so rooting is ideal for me and a nice to have.
TheShinyEnd said:
*When I first got the phone I updated it immediately and then rooted it, the GCam app worked fine. but it was soo slow switching between camera modes,
Click to expand...
Click to collapse
Did you happen to have a Magisk mod that disabled the navbar, pill, enabled immersive or similar? If so, these mods will slow down the switching between modes.
If clearing data and cache of the camera app didn't work, a clean flash may be in order.
Lughnasadh said:
"Did you happen to have a Magisk mod that disabled the navbar, pill, enabled immersive.."
Click to expand...
Click to collapse
I do have it.
Lughnasadh said:
If clearing data and cache of the camera app didn't work, a clean flash may be in order.
Click to expand...
Click to collapse
The thing is that wiping the phone won't(probably) fix it.. well it will, until it auto updates the camera app. and I really don't want to go through the struggle of reinstalling and logging into everything again, thanks for the idea but i'd pass..
Thanks either way
TheShinyEnd said:
I do have it.
The thing is that wiping the phone won't(probably) fix it.. well it will, until it auto updates the camera app. and I really don't want to go through the struggle of reinstalling and logging into everything again, thanks for the idea but i'd pass..
Thanks either way
Click to expand...
Click to collapse
Well, at least you now know why it was slow switching between modes and that it was that mods causing it and not the camera itself.
Best of luck getting it all straightened out...