Xposed module that makes Wireless Debugging (ADB over Wi-Fi) work over Wi-Fi Hotspot on Android 15/16.
Android 11+ only enables Wireless Debugging when the device is connected to Wi-Fi as a client. This module removes that restriction so hotspot guests can connect via ADB.
- Android 15/16
- Magisk or other Zygisk implementation
- LSPosed/Vector
| Device | Android | ROM | Zygisk | Xposed |
|---|---|---|---|---|
| enchilada | 15 | LineageOS 22.2 | Magisk 30.7 NeoZygisk 2.3 |
LSPosed 1.9.2 Vector 2.0 |
| tucana | 16 | LineageOS 23.2 | Magisk 30.7 | Vector 2.0 |
If this module works (or not) on your device/ROM, please open an issue.
Grab the APK from Xposed Module Repo, GitHub Releases, or build from source.
- Install the APK
- Enable the module in LSPosed for two scopes:
com.android.settingsandroid(System Framework)
- Reboot
- Enable Wi-Fi Hotspot
- Use the Wireless Debugging toggle on the hotspot settings screen, or go to Developer Options > Wireless Debugging
- On the first connection, pair your client device:
adb pair <ip>:<pairing_port> <pairing_code> - Connect:
adb connect <ip>:<port>
Flip Fixed IP/port to always listen on 192.168.49.1:5555. Lets you script the command without needing mDNS in your adb build. Pairing still uses the ephemeral port shown on screen (one-time step).
How it works:
192.168.49.1/24is aliased on the hotspot interface via netd (secondary address)- A TCP proxy in
system_serverlistens on:5555and forwards to adbd's ephemeral TLS port (TLS is end-to-end, proxy is just a byte pipe)
Trade-off: if your upstream network also uses 192.168.49.0/24, leave this feature off to avoid routing collisions.
Requires JDK 21 and Android SDK.
make build # debug APK
make install # install via Gradle
make cleanMagisk-WiFiADB — enables legacy adb tcpip on boot. Simpler (Magisk only, any Android), but unencrypted and not hotspot-aware.

