GrapheneOS / Camera

Modern camera app focused on privacy and security with QR & barcode scanning.
https://grapheneos.org/
MIT License
849 stars 86 forks source link

Crashing Camera App. #415

Closed WoefulWrecker closed 8 months ago

WoefulWrecker commented 8 months ago

Describe the bug The inbuilt camera app was working for some time, then in the last couple of months, after the update. The app itself became unresponsive, one either get a full black screen with no response from the app for a period of time. The app will show for a brief period the menu and then crash with error msg. I know for a fact the hardware camera is working without fault, this seems to affect the admin account. Any user account and the native camera app works fine.

To Reproduce Steps to reproduce the behaviour: Start camera app and wait, might ask to allow camera or mic, menu shows, then crash shortly after.

  1. Go to 'Login to admin account'
  2. Click on 'Click on camera app.'
  3. Scroll down to 'touch one of any three buttons'
  4. See error “Camera isn't Responding”.

Expected behaviour A functional camera.

Camera log 1207e31d45d1.txt Error in Camera 44f23575c68f.txt

thestinger commented 8 months ago

Did you disable the Pixel Camera Services app?

WoefulWrecker commented 8 months ago

No ! Functioning Pixel Camera Services

thestinger commented 8 months ago

Try clearing app data for both Pixel Camera Services and the GrapheneOS Camera app.

WoefulWrecker commented 8 months ago

Did, as above, still crash with error “Camera isn't responding”.

thestinger commented 8 months ago

Can you try toggling the global camera toggle on and off?

Seems like it's related to Pixel Camera Services but don't know.

WoefulWrecker commented 8 months ago

global camera toggle ? Please explain how to ! Maybe misunderstand terms, will see.

thestinger commented 8 months ago

Camera quick tile, in the notification tray.

WoefulWrecker commented 8 months ago

Did as above and still crashed with the same error, would it be best to do factory reset!

WoefulWrecker commented 8 months ago

Or what about apps reset, under reset option.

thestinger commented 8 months ago

App preferences reset is worth trying and you'll only lose the permission changes you've set included Network and Sensors being enabled for everything unless you have Sensors set as off by default.

Factory reset will wipe all your data. If it's not a hardware issue, it will fix it, but it would be good to figure out what is actually wrong or at least a less painful way to fix it.

WoefulWrecker commented 8 months ago

LOL! So true!

WoefulWrecker commented 8 months ago

What next!

WoefulWrecker commented 8 months ago

If I do a factory reset at some stage, would it be best not to use admin account for daily usage!

thestinger commented 8 months ago

There's no issue using Owner for normal usage. The issue you ran into likely would have happened regardless of which user you used. It's likely something that can happen in any user. They're not really different in a way that would impact this.

WoefulWrecker commented 8 months ago

The problem has been solved! I performed an app reset followed by a reboot, resulting in the camera returning to its normal functioning state. thank you for helping me. Hooray!

Thank you.

thestinger commented 8 months ago

Is it possible you disabled Sensors for Pixel Camera Services or something similar to that?

WoefulWrecker commented 8 months ago

I did disable for other apps, but for the camera, it's possible however I did re-enable the sensor earlier when trying to figure the issue out earlier. Sensor made no differences.

thestinger commented 8 months ago

You might have disabled it for a system component that needed it.

WoefulWrecker commented 8 months ago

Do you wish for me to try again with the sensor enabled and disabled ? How private is the sensor ?

thestinger commented 8 months ago

Sensors is access to accelerometer, gyroscope, proximity, light sensor, etc. There are a bunch. It's all the sensors other than Microphone, Camera and sensors with their own standard Android permissions like Body Sensors for heart rate, etc.

thestinger commented 8 months ago

Don't really need you to test anything. It seems like it was a configuration issue caused by some disabled component or permission.

WoefulWrecker commented 8 months ago

Okay thank you again I off.