ADeadTrousers / android_device_Unihertz_Atom_XL_EEA

Device tree for the Unihertz Atom XL EEA (european union)
Apache License 2.0
8 stars 2 forks source link

Google Camera crashes #3

Open ADeadTrousers opened 4 years ago

ADeadTrousers commented 4 years ago

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

ADeadTrousers commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

According to logcat some libraries are missing. android.hardware.graphics.mapper@3.0::IMapper/default android.hardware.graphics.allocator@3.0::IAllocator/default amongst others.

ADeadTrousers commented 3 years ago

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.