scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Multiple connection and to another cell phone

Open wolfmarcos opened this issue 1 year ago • 5 comments

I have two questions: 1) I want to connect two mobile devices simultaneously to the PC, could this be done? Would you explain to me how I could do it? 2) If I can connect a cell phone with a type C output to another cell phone with a type C output, I have the cable, and through this I can control the other mobile device that has a broken screen. Thanks in advance, those are my two questions.

wolfmarcos avatar Apr 18 '24 20:04 wolfmarcos

  1. https://github.com/Genymobile/scrcpy/blob/master/doc/connection.md#selection

  2. No

rom1v avatar Apr 18 '24 21:04 rom1v

Ok, the solution will be to connect multiple devices via Wi-Fi, but that gives me a doubt and a lot of stress, that's why this question is, is there a way to leave it connected via Wi-Fi after restarting the PC? Since I have to do the same thing on each device once I restart, is there any possibility of leaving it connected to always run it from that same PC?

wolfmarcos avatar Apr 20 '24 01:04 wolfmarcos

leave it connected via Wi-Fi after restarting the PC

If you reboot the pc, you can still connect to the devices. However, if you reboot a device, adb tcpip 5555 must be executed once.

rom1v avatar Apr 20 '24 08:04 rom1v

Ok, thank you, but there is no way to leave that port open on the cell phone even if you restart the device without reconnecting it via USB, or I could enable that port from the cell phone to connect it directly to the PC. I mean there is some way to leave it enabled. port 5555 from the same cell phone would be another option but how should I do it?

wolfmarcos avatar Apr 20 '24 18:04 wolfmarcos

Not without root: https://android.stackexchange.com/questions/236503/how-to-keep-adb-tcpip-on-after-a-reboot

rom1v avatar Apr 20 '24 19:04 rom1v