Skip to content

AndroidManifest.xml: add INTERACT_ACROSS_USERS permission#788

Merged
wwqgtxx merged 2 commits into
MetaCubeX:mainfrom
fyma85:interact_across_users
Jun 28, 2026
Merged

AndroidManifest.xml: add INTERACT_ACROSS_USERS permission#788
wwqgtxx merged 2 commits into
MetaCubeX:mainfrom
fyma85:interact_across_users

Conversation

@fyma85

@fyma85 fyma85 commented Jun 28, 2026

Copy link
Copy Markdown

Android 17 blocks cross profile loopback network traffic by default. VPN in secondary profiles can no longer simply route everything to the listening port of CMFA in the primary profile; instead a complex config must be individually maintained in each profile.

Per VentralDigital/InterProfileSharing#34, the INTERACT_ACROSS_USERS permission, when manually granted with ADB, allows cross profile traffic at least for the same app.

Adding this permission won't affect existing users as it must be manually enabled via ADB.

Android 17 blocks cross profile loopback network traffic by default. VPN in secondary profiles can no longer simply route everything to the listening port of CMFA in the primary profile; instead a complex config must be individually maintained in each profile.

Per VentralDigital/InterProfileSharing#34, the `INTERACT_ACROSS_USERS` permission, when manually granted with ADB, allows cross profile traffic at least for the same app.

Adding this permission won't affect existing users as it must be manually enabled via ADB.
@fyma85

fyma85 commented Jun 28, 2026

Copy link
Copy Markdown
Author

Tested on GrapheneOS 2026062300. Loopback traffic works after running adb shell pm grant --user <profile-id> <package-id> android.permission.INTERACT_ACROSS_USERS for every profile.

@wwqgtxx

wwqgtxx commented Jun 28, 2026

Copy link
Copy Markdown

You should add a corresponding comment for this permission in AndroidManifest.xml, just like in VentralDigital/InterProfileSharing@2ca42fa.

@wwqgtxx wwqgtxx merged commit d8bb454 into MetaCubeX:main Jun 28, 2026
1 check passed
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.

2 participants