Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
104.39k stars 10.16k forks source link

Connected to phone but disconnects all network locations #4912

Open DJaimz opened 1 month ago

DJaimz commented 1 month ago

Environment

Description

I'm not the most tech savvy, but I am having a strange issue running this. Scrcpy connects to my phone and I can use it perfectly. However, once connected to my phone, all my laptop network connections disconnect entirely (6 in total - U: / V: / W: / X: / Y: / Z:)

Obviously this isn't ideal as I can't use my PC for anything else in this time. I have searched for the same problem but struggling to find anything related and not sure how to troubleshoot the error. The Scrcpy console shows everything working perfectly, which it is in the screen mirroring sense, just not the rest...

Any help or tips to troubleshoot would be hugely appreciated!

image_2024-05-09_104054920

rom1v commented 1 month ago

Is it only when you run scrcpy, or can you reproduce with adb only?

For example, connect your device and run adb shell.

DJaimz commented 1 month ago

I have downloaded a previous version 2.3.1 and this seems to work fine without disconnecting any networks.

rom1v commented 1 month ago

Does it happen with adb only?

If you copy adb.exe and Adb*.dll for scrcpy 2.3.1 to your scrcpy 2.4 folder, does it still happen?

DJaimz commented 1 month ago

Update, 2.3.1 having the same problem but with a delay whereas 2.4 was instant. Copying adb.exe and adb*.dll to the newer version did not change the effect. as soon as I unplug my phone, all networks connect again so i am thinking this may be more of an issue with my phone/computer connection than anything to do with scrcpy...

DJaimz commented 1 month ago

Is it only when you run scrcpy, or can you reproduce with adb only?

For example, connect your device and run adb shell.

I can confirm, when only the adb.exe is ran, the issue occurs