-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
How to alternately connect two computers to the same phone? #5478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Once your device listens over TCP/IP, until the next device reboot, you can just (Note that adb server does not support 2 connected computers simultaneously though, so you must For convenience, you can use |
I'm not sure if you understand what I'm trying to do. I'm looking for a way to access only one(!) phone from two(!) computers (let's say, a desktop computer and a laptop). It doesn't have to be these two computers connected at the same time, but one or the other one alternately, but without the need of repeating the USB connection each time I'm moving to the other computer. If it is not possible yet, I would very much like to see such a feature in an upcoming version of scrcpy. |
Yes, exactly. My previous comment was for this situation. |
Ok, thank you and sorry! |
To clarify, basically, the first time, plug your device over USB, and run Then unplug the device, and execute |
What about the adb key? Now, when I'm on the second computer using WiFi, will I have to confirm another adb key on the phone, or do I have to copy the ~/.android folder from the first computer to the second one, or is another ~/.android folder being created on the second computer with some different data? |
Confirm another adb key. |
I would like to be able to alternately connect two computers (both with MX Linux 23.4 xfce 64-bit) to the same phone (Galaxy S21 FE G5), depending on which computer I'm currently using. How can I do this, please?
So far, this is what I'm doing:
Being on the first computer, I have to make a USB connection and then a WIFI connection. Then I go to the other computer and make one more USB connection and a WIFI connection.
But when I'm back on the first computer, scrcpy doesn't remember the first WIFI connection and therefore I have to make a new USB connection before I can go on with a WIFI connection.
What can I do to make a USB connection only once for both computers, and afterwards being able to only use WIFI connections, please?
The text was updated successfully, but these errors were encountered: