On grapheneOS (latest version on stable, android 14, pixel 7), the camera has now stopped being able to take photos. When I try to take a photo, it will take it, throw it into the little gallery preview, but once it's done processing it, it will just disappear and I won't be able to get it back. This is not my only issue with it as it'll crash when recording video and then lose the entire thing. All of these symptoms have happened multiple times and pretty consistently on my phone. I'm not sure what's causing this and I don't know how to fix it. The video recording issue has also been happening since I startes using GrapheneOS on this phone around early summer (northern hemisphere).

Has anyone had similar issues to this and fixed it? And for anyone who's gonna say "just use the grapheneos camera, googles is spyware" I've already thought about all that but with the loss of features like panorama or any portrait mode or photo processing, it is not worth it. And also the GrapheneOS camera also crashes after recording video for a bit but at least it saves the video so I can still watch it after it crashes.

I can't reproduce any of those issues, so it sounds most likely a configuration issue on your device. I can help you with some pointers.

Google Camera relies on Google Photos to open the images of photos you have just taken, so you can install Google Photos if you want that functionality.

Regarding the Google Camera app crashing, where have you installed it from? If you used Aurora Store, it may have provided you with a version of the Google Camera app intended for a different device, since that's they way the shared Google accounts work on Aurora Store. That would cause the app to crash.

    I'm also having issues with G Camera on Pixel 7. The app crashes on the latest stable GOS version whenever I try to access "more settings". App was installed from Play Store, not Aurora. It was working fine before upgrading to Android 14.

      drc I am not able to reproduce the issue. I can access the "more settings" and I have a similar setup to yours.

      • drc replied to this.

        maximus87 Thanks for checking. Weird that it's just me... I tried uninstalling and reinstalling the app as well as creating a separate user profile also with Google Play Services and Google Camera and the issue persists.

        This is the log I get for the crash from the "show details" pop up:

        type: crash
        osVersion: google/panther/panther:14/UP1A.231005.007/2023100900:user/release-keys
        package: com.google.android.GoogleCamera:66738942
        process: com.google.android.GoogleCamera
        processUptime: 0 + 0 ms
        installer: com.android.vending
        
        signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xb400c9ef87ef873c
        
        backtrace:
              #00 pc 00000000001b36c4  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #01 pc 00000000001a7738  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #02 pc 00000000001a710c  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #03 pc 00000000001a6000  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #04 pc 0000000000153a00  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #05 pc 00000000001544dc  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #06 pc 000000000012c694  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #07 pc 000000000012c094  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #08 pc 000000000012c448  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #09 pc 000000000011dc58  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #10 pc 000000000011d74c  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #11 pc 000000000011ed50  /vendor/lib64/libedgetpu_util.so (BuildId: 34edfc3ab74c8734440cf91a219351ba)
              #12 pc 00000000000d093c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: f33b0edef1abac7e4e17c501eeb62737)
              #13 pc 0000000000065570  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f33b0edef1abac7e4e17c501eeb62737)

        The app is still usable for me, I just can't change anything in "more settings" for now. :(

        treequell I installed it from the google play store with google photos already installed. I just tried re-installing it and that didn't seem to fix any of the issues. The Android 14 update seems to have also made it worse (this is probably not grapheneOS's fault) as now just swapping modes on the camera can crash it. Waiting for the photo to finish processing before pressing on the preview window seems to fix the photos vanishing issue.

        Make sure that you have enabled exploit protection compatibility mode for Google Camera. In the owner profile, you'll also find a setting called "Automatic exploit protection compatibility mode" which is enabled by default. if you haven't disabled it, this should grant that for Google Camera. The issues with it are memory corruption issues, which is why that toggle is needed.

        If you continue to experience any issues, do let us know.

          matchboxbananasynergy This seems to have fixed my issues with the app. I didn't test the video recording crashes, as they happen after a bit of recording, but the photos disappearing and crashing when swapping between modes seems to have been fixed.

          matchboxbananasynergy In the owner profile, you'll also find a setting called "Automatic exploit protection compatibility mode" which is enabled by default.

          I don't think I ever disabled that, but it wasn't on for the camera app.

          Seriously, thank you for telling me this, as this has been one of my biggest issues with grapheneOS since I swapped.

          Do you know if this will also fix my issues with recording video on the grapheneOS camera app, or is that a separate issue I'll need to look into?

            antsyboy I don't think I ever disabled that, but it wasn't on for the camera app.

            Do you mean the automatic exploit protection toggle wasn't on?

            antsyboy Do you know if this will also fix my issues with recording video on the grapheneOS camera app, or is that a separate issue I'll need to look into?

            Are you referring to you having an issue with the GrapheneOS camera app here, or another issue with the Google Camera app? The toggle will likely sort out your issues with Google Camera. It has memory corruption bugs (which they need to fix) which means that hardened_malloc makes the app abort when it detects them. The toggle I directed you to disables hardened_malloc for that specific app so that it no longer aborts despite its memory corruption issues.

              matchboxbananasynergy Do you mean the automatic exploit protection toggle wasn't on?

              I just checked right now and it wasn't on, but I just enabled it. So hopefully I won't have these types of issues in the future. I don't think I ever disabled this feature, as I don't disable things like that in settings that seem important, so I'm honestly not sure why it was off. I don't think it matters anymore though as I've turned it on now.

              matchboxbananasynergy Are you referring to you having an issue with the GrapheneOS camera app here, or another issue with the Google Camera app?

              I'm referring to the pre-installed grapheneOS one. That one also had a similar crash when recording video for over a minute or so. This isn't a big worry for me, as I only used the gOS one when I needed a more stable camera app that at least when it crashed would still save the video. I won't be needing that anymore though, as the Google camera seems to be working.