For a Better Camera on deGoogled Operating Systems

You app camera is version 6 - it is too old, maybe you will have a luck with v7? The last version is v7.00.04.0007.7.0, You can find it in this topic or I can send you directly

1 Like

@BobTheDisaster:
I extracted the apk from the original rom, unknowingly obtaining an old version.
The version I found in this thread works!
You are my hero!

However … it still crashes upon taking a picture.

@jeroen2
That’s pretty sad. I was thinking to make Magisk module, although it is not so complicated, but after getting your experience I think it will not work at all…

I’m working the graveyard shift so debugging will have to wait a couple of days …
Recording a video works.
Taking a high resolution photo works.
Taking a panorama photo works.
It just crashes when I try to take a ā€˜normal’ picture …

2 Likes

Be in touch, please.
If there will no solution, I will flash eos (impossible to flash fpoos, they blocked my imei)

Thats weird, how did you end up getting your imei banned? I don’t want that to happen to me accidentally.

2 Likes

I bought second hand phone and a seller didnt told me about banned imei, fp support cant help me, because they marked my phone as stolen device =(

1 Like

From the log, for as far as I can tell, the camera app seems to crash when trying to process EXIF data.
I’m not sure if this functionality is provided by the libtctcameraalgo_jni.tct.so.
However, since I was using an old version of the FPCamera.apk, I might also be using an old version of libtctcameraalgo_jni.tct.so.
I’ll try the get the most recent versions of both files and try again.

2 Likes

Well that didn’t work …

1559 KB/s (108872790 bytes in 68.162s)
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1934754596.tmp/base.apk using APK Signature Scheme v3: APK verity digest of contents did not verify]

Eos devs made an implementation of fp camera app, since it is opensource os, its possible to detect what is the way to workaround.
They have a special checkbox in setting menu ā€œfairphone cameraā€ which appear the original app in app menu…

@BobTheDisaster that sounds very interesting! Do you have some link to share perhaps with regards to that implementation in e/OS ? I am running e/OS on my fairphone and I’d love to try it out!

I found it independently, and wonder if this information could also be used to make the app work with lineageos as well.

I also did a cursory search of e/os search code for camera and include this merge to /e/os which seems especially interesting, since there is a service under a subdirectory called lineageos. I don’t feel too confident myself to go much further into the matter, though.

If anyone is in the lineages community and is confident enough in development to make a pull request, it would be really cool!

2 Likes

Yes! I can confirm I found this option! Thank you so much!!

I’d been following this topic and I still didn’t know I could do this! I turned on the setting, rebooted and then found a new camera app !!

What a nice end of year present!!

3 Likes

I guess I found a commit how to get FP camera app work in eos gitlab

There is a list proprietary-files.txt of propietary libs for app (more than only libtctcameraalgo_jni.tct.so)

1 Like

Judging by FP5 50Mpx photos seem only interpolated from 12Mpx (#8193) Ā· Issues Ā· e / Backlog Ā· GitLab their 50MP mode is just an interpolation of 12 MP. The 50MP photo from my stock camera-App is clearly superior to 12 MP even in sub-optimal light condition. So, it’s not an option. :frowning_face: