Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Camera crashes #3

Open
ADeadTrousers opened this issue Oct 7, 2020 · 4 comments
Open

Google Camera crashes #3

ADeadTrousers opened this issue Oct 7, 2020 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ADeadTrousers
Copy link
Owner

The included Google Camera from GAPPS crashes imediately on startup.
Versionnumber is 7.4.201.322479879

@ADeadTrousers ADeadTrousers self-assigned this Oct 7, 2020
@ADeadTrousers ADeadTrousers added bug Something isn't working help wanted Extra attention is needed labels Oct 7, 2020
@ADeadTrousers
Copy link
Owner Author

This could either mean, that something in the kernel or LineageOS is missing or that it's not configured properly (I'm looking at you SELinux)
Anyhow, with my old phone (arm) I was able to install different versions of the apk (downloaded from apkmirror.com) and it was working up to a certain point where google seems to have changed something. Maybe going back a few versions could fix this. I need to try that in addition to switching back to permissive.

@ADeadTrousers
Copy link
Owner Author

Reverting the camera to a previous version didn't help at all.
During my research of the stock ROM I found several "vendor" specific programs and setting for camera and the like (mtk_advcamserver, mtk_hal_camera and so on).
Maybe the higher api (camera2?) needs some vendor specific parts that don't get initiated correctly.
In contrast OpenCamera works fine with both api.
So back to the drawing board and doing more research.

@ADeadTrousers
Copy link
Owner Author

According to logcat some libraries are missing.
[email protected]::IMapper/default
[email protected]::IAllocator/default
amongst others.

@ADeadTrousers
Copy link
Owner Author

ADeadTrousers commented Jan 26, 2021

From all my recent discoveries this could also be related to missing permissions or overlays because they are somehow connected. Pixel Launcher needed an overlay to get a higher clearance as a system app to be able to provide it's recent app list feature to the system. So I need to snoop around in the stock ROM overlays to see what I can find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant