corellium / usbfluxd

Redirects the standard usbmuxd socket to allow connections to local and remote usbmuxd instances so remote devices appear connected locally.
GNU General Public License v2.0
352 stars 48 forks source link

Could not find remote mux device for id -1 #16

Open xen0vas opened 1 year ago

xen0vas commented 1 year ago

Hi

when i try to connect to the device i get the following error. I did all the steps provided in git.

usbmux_remote_connect: Could not find remote mux device for id -1
Gustl22 commented 1 year ago

I did rerun all the steps in https://github.com/corellium/usbfluxd#linux-usage and even rebuild the package. Now it seems to work, although the log messages are somehow confusing, e.g. the Disconnecting part.

sudo usbfluxd -f -n
[21:54:58.299][3] usbfluxd v1.2.1 starting up
[21:54:58.299][4] Original usbmuxd socket file renamed: /var/run/usbmuxd -> /var/run/usbmuxd.orig
[21:54:58.299][4] Creating socket
[21:54:58.300][4] New Remote fd 4
[21:54:58.300][2] mDNS support not built in - instances have to be managed manually
[21:54:58.300][3] Initialization complete
[21:55:46.748][4] New client on fd 5 (pid 50596)
[21:55:56.792][4] New client on fd 6 (pid 50598)
[21:55:56.792][4] Client 6 connection closed
[21:55:56.792][4] Disconnecting client 0x557c1cef9740 fd 6

Note that the connection is not shown in Finder, only in XCode or other IDEs, when restarting them.