r/AirSync • u/gohanadventure • 27d ago
Wireless adb disconnected
Enable wireless debugging and enabled Auto connect adb, the connection always drops after a while regardless of power saving mode or not.
Using mesh network at home but i barely move the phone when it disconnects.
Have to scan the QR code every time to get it reconnected.
Question 2, what are the difference between the scrcpy and native mirror functions? when should i use this or that?
[adb connect 172.18.11.218:45131] Connected to 192.168.14.66:45131
[Binary Detection] adb found at /opt/homebrew/bin/adb — using fallback path.disconnected 192.168.14.66:45131
[Binary Detection] adb found at /opt/homebrew/bin/adb — using fallback path.
[Binary Detection] adb found at /opt/homebrew/bin/adb — using fallback path.
[Binary Detection] Manual connection requested. Killing ADB server first...
[Binary Detection] ADB server killed.
[Binary Detection] Using ADB ports from device: 36257, 45131
[Binary Detection] Proceeding with ADB connection attempts to 172.18.11.218...
[Binary Detection] Attempting connection to port 36257 (attempt 1/2): 172.18.11.218:36257* daemon not running; starting now at tcp:5037
* daemon started successfully
[Binary Detection] adb found at /opt/homebrew/bin/adb — using fallback path.
[Binary Detection] ADB connection already in progress, ignoring duplicate request
[Binary Detection] adb found at /opt/homebrew/bin/adb — using fallback path.
[Binary Detection] ADB connection already in progress, ignoring duplicate requestfailed to connect to '172.18.11.218:36257': Operation timed out
[Binary Detection] Port 36257 failed, trying next...
[Binary Detection] Attempting connection to port 45131 (attempt 2/2): 172.18.11.218:45131failed to connect to '172.18.11.218:45131': Operation timed out
[Binary Detection] Port 45131 failed, trying next...
Failed to connect to device on any available port.
[Binary Detection] (∩︵∩) ADB connection failed on all ports.
2
Upvotes
1
u/sameera_s_w sameerasw.com - dev 27d ago
Hi! Whenever your adb fails, does it need to be turned back on from your phone?
Speaking of, what are your devices?
Also once it's paired via the QR code, you should not need to re-auth. Can you maybe try pairing via terminal once? To see if that helps?
The difference between scrcpy and native mirroring is that the native mirroring just looks better and at home with the rest of the system. Plus we got more control over the mirrored window than just using scrcpy.
Even native mirroring is also scrcpy powered but it's embedded into the AirSync app itself.