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

Reconnection loop #20

Open y0va opened 9 months ago

y0va commented 9 months ago

usbfluxd keeps reconnecting and no devices are shown on macos. I use macos 11.7.10 and tested the host side with a local build on debian and with the aur package on a manjaro system.

On the host the output looks like:

$ sudo usbfluxd -f -n                                                                                                                                                                                   ✔ 
[12:59:26.421][3] usbfluxd v1.2.0 starting up
[12:59:26.421][4] Original usbmuxd socket file renamed: /var/run/usbmuxd -> /var/run/usbmuxd.orig
[12:59:26.421][4] Creating socket
[12:59:26.421][4] New Remote fd 4
[12:59:26.421][3] Initialization complete
[13:03:48.202][4] New client on fd 8 (pid 13665)
[13:03:58.294][4] New client on fd 9 (pid 13668)
[13:03:58.295][4] Client 9 connection closed
[13:03:58.295][4] Disconnecting client 0xa7fee0 fd 9
[13:04:08.377][4] New client on fd 9 (pid 13670)
[13:04:08.377][4] Client 9 connection closed
[13:04:08.377][4] Disconnecting client 0xa7fee0 fd 9
[13:04:18.466][4] New client on fd 9 (pid 13671)
[13:04:18.468][4] Client 9 connection closed
[13:04:18.468][4] Disconnecting client 0xa7fee0 fd 9
[13:04:28.546][4] New client on fd 9 (pid 13672)
[13:04:28.547][4] Client 9 connection closed
[13:04:28.547][4] Disconnecting client 0xa7fee0 fd 9
[13:04:38.626][4] New client on fd 9 (pid 13674)

And on macOS like this: image

Looks similar to #16

lexxxel commented 4 months ago

@y0va I have the same issue. Have you found a solution?

DerCommander323 commented 1 month ago

I have the exact same issue, connecting an iPad (iPadOs 17.4.1 i believe) to my macOS Sonoma VM on Arch linux. Trying to use AltStore, the installation worked, i even managed to log in and sideload an app, but enabling JIT fails because "the device is not connected"

lexxxel commented 1 month ago

I have the exact same issue, connecting an iPad (iPadOs 17.4.1 i believe) to my macOS Sonoma VM on Arch linux. Trying to use AltStore, the installation worked, i even managed to log in and sideload an app, but enabling JIT fails because "the device is not connected"

Please, could you explain what AltStore is?

DerCommander323 commented 1 month ago

AltStore is an app store for sideloading apps on iOS/iPadOS devices. It has to be installed on the device via AltServer, a program for macOS and Windows that can install AltStore on the connected device. Since I use linux I had to use VMs, but passing through the USB connection normally via QEMU doesn't work with macOS.

PixsaOJ commented 1 week ago

Some clis are working but xcode is not picking it up in this state.