Benjamin-Loison / android

0 stars 0 forks source link

Cannot *Wireless debugging* on 5G #91

Open Benjamin-Loison opened 1 month ago

Benjamin-Loison commented 1 month ago

image

Related to Benjamin-Loison/scrcpy/issues/3.

https://www.reddit.com/r/AndroidGaming/comments/134yfxw/wireless_debug_without_wifiandroid_11/

Enabling Hotspot, does not make it listed in Wi-Fi.

Termux ADB methods are based on Wireless debugging as far as I remember. However, maybe there is something to do with USB, as https://wiki.termux.com/wiki/Termux-usb seems to show. termux-adb seems only to work for other USB devices but could ask.

If have 2 phones, could each one connect to each other but this does not seem clean.

Benjamin-Loison commented 1 month ago

DuckDuckGo and Google results for "Wireless debugging" without Wi-Fi do not seem to help.

Benjamin-Loison commented 1 month ago

The Stack Overflow question 73136287 raises this concern.

Benjamin-Loison commented 1 month ago

The Stack Overflow answer 72242739 is unclear.

Benjamin-Loison commented 1 month ago

If Termux is able to access ADB? then I may be able to port forward thanks to a server, as I do for SSH.

https://phoenixnap.com/kb/nmap-scan-open-ports#ftoc-heading-3

Benjamin-Loison commented 1 month ago

Using the Stack Overflow answer 69440164 I am able by first plugging to my laptop the phone configure it to a given port, then unplug the USB cable and make Termux connect to the phone with ADB. All that without Wi-Fi. What would be nice is to not need the laptop at all.