Skip to content

Expert Mode fails adb pairing when a system-wide VPN is used #2078

@Holbormon

Description

@Holbormon

Have you checked if an issue already exists for this bug?

  • Nobody else has reported this bug before

Have you tried restarting your device?

  • I have tried restarting my device and that did not help

What happened that you did not expect?

When using Android's always-on VPN, wireless debugging listens on the VPN-local IP (10.2.x.x) instead of the physical interface's IP (192.168.x.x), which means KeyMapper fails adb pairing when a VPN is on (I'm assuming it expects the phone to be reachable on the physical interface's IP).

What did you expect to happen?

If the VPN-local IP is visible to KeyMapper, it should try using it to connect. If not, Keymapper could prompt the user for the debugging IP/Port as needed (in addition to the pairing code).

What would the developer need to do to reproduce the bug?

  1. Toggle Always-on VPN
  2. Try to start Expert mode following the wizard steps

App version

4.0.5-foss

Android version

Android 16

Device model and manufacturer

Pixel 8 w/ GrapheneOS

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsystem bridgeAny System Bridge things, including Expert Mode

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions