RikkaApps / WADB

A simple switch for adb (Android Debug Bridge) over network.
https://play.google.com/store/apps/details?id=moe.haruue.wadb
Apache License 2.0
578 stars 77 forks source link

Support hotspot connection #20

Closed ghost closed 3 years ago

haruue commented 3 years ago

I think it should be able to connect ADB via the hotspot of the device itself. In fact, I did this every day when I was still a university student. The only problem is how to obtain the hotspot device's IP address, which was always 192.168.43.1 in the good old days but randomized and not even being displayed in the system settings now. You can install the Termux, run ip -o -4 addr | grep wlan in it and you will be able to find it out.

ghost commented 3 years ago

Well I try your method and it's not working. There's no result in it.

When I enable adb wireless with WADB, the ip address is 0.0.0.0 and it failed. But then I see in settings phone and I got my ip address then I try to connect it and it's working.

IMG_20210817_182218