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

IR camera works on Android 11, doesn't work on Android 12 or later #4

Open
ssorgatem opened this issue Jun 29, 2023 · 6 comments
Open

Comments

@ssorgatem
Copy link

On Android 12 or 13 GSIs, the MyFLIR app appears to work, except it doesn't get an image from the camera.

I can hear the camera clicking though.

I even tried using the MyFLIR apk from the Power Armor T18, which runs Android12, with no luck (same behaviour).
The Armor T18 seems to be using a different set of libraries and files too...

@phhusson
Copy link
Owner

phhusson commented Jun 29, 2023 via email

@ssorgatem
Copy link
Author

I just tried with a LineageOS 18.1 GSI and I have the same issue, even though it's Android 11 too. May be related to Selinux differences?

I'll have to look into how to mess with it.

@ssorgatem
Copy link
Author

Somehow I flashed the very same image where I had it working (latest system-roar-arm64-ab-gapps.img) and now it's not working there either... I'm at a loss.
How can I debug it?

@ssorgatem
Copy link
Author

Yes! "sentenforce 0" did the trick and I now have it working on LineageOS 19.1 (Android 12).

Is that always needed or can this be fixed somehow in the generate.sh script?

@phhusson
Copy link
Owner

phhusson commented Jun 30, 2023 via email

@ssorgatem
Copy link
Author

Well, I decided to try Android 13 (Pixel Experience Plus GSI) and I'm running into the very same issue I mentioned initially, even with permissive SELinux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants