Divested-Mobile / DivestOS-Build

Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
https://divestos.org/index.php?page=build
Other
226 stars 31 forks source link

default camera app saves images with wrong orientation (pixel 4a) #315

Open t3e opened 4 months ago

t3e commented 4 months ago

I'm using divest OS on a Google Pixel 4a and everytime I take a photo the image is saved upside down, even though the thumbnail of the image looks ok. I've tested with two other camera apps, one from graphen os and another one called "Open Camera" and both of them don't have this problem. Is there some way to replace the default camera app?

SkewedZeppelin commented 4 months ago

This is documented: https://divestos.org/pages/broken#papercuts

Captured photos may have incorrection orientation. [various]

The included camera app is special as it is the only one allowed to be set as true default for eg. gestures

SkewedZeppelin commented 4 months ago

The LineageOS camera app, Aperture, is notably the only one which has all the extra cameras hardcoded into it by the given Lineage device maintainer.

As the old drivers on many of these devices do not properly expose the secondary cameras to apps.

As in: other alternative camera apps often cannot use the secondary cameras at all, that would not be a good default.

t3e commented 4 months ago

I was able to "replace" the app by disabling it. I'm now using Open Camera without any problems so far. I've read this but I didn't understand what "Papercuts" is referring to and I thought it was a problem with some other app. I guess the Aperture problem has to be fixed by the Lineage OS devs?

SkewedZeppelin commented 4 months ago

Only a system installed app can be the true default.

Try to use the double press power to open camera gesture, it won't work with Open Camera.

t3e commented 4 months ago

I can't confirm this. The double power button press launch worked immediately when the system app was deactivated. All I had to do is change a setting called "show camera despite screenlock" (translated from german) to make it work from the lockscreen as well.