Skip to content

Add cross-UID Termux camera access and camera selection - #1

Closed
SaicharanKandukuri wants to merge 1 commit into
mainfrom
feat/cross-uid-camera-probe
Closed

SaicharanKandukuri wants to merge 1 commit into
mainfrom
feat/cross-uid-camera-probe

Conversation

@SaicharanKandukuri

Copy link
Copy Markdown
Member

Camera2Termux now hands an authenticated broker FD to F-Droid Termux without requiring a shared UID. It also shows Camera2 inventory and lets V4L2 clients select the rear or front camera before streaming. The fauxdev submodule includes the matching protocol, lifecycle, and compatibility tests.\n\nCamera selection is verified on the Pixel 6a. Output remains fixed at 320×240 RGB24; Android 12–13 are not supported by this cross-UID path.

Remove the shared-UID requirement and authorize Termux by sender UID before passing a connected broker socket through a Binder callback. The native Termux launcher preserves the descriptor across exec and preloads fauxdev, allowing F-Droid Termux to capture without exposing the private socket path.

Add the camera inventory view, a live-capture probe, and the updated fauxdev submodule. Android 14+ is required for sender identity; older Android versions remain closed pending an authenticated transport.
@SaicharanKandukuri

Copy link
Copy Markdown
Member Author

Closing in favor of a direct git merge to main as requested.

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

Successfully merging this pull request may close these issues.

1 participant