nythepegasus / SideJITServer

A JIT enabler for iOS 17 with a Windows/macOS computer on the same WiFi!
GNU General Public License v3.0
288 stars 20 forks source link

SideJITServer --pair does not work #82

Open Landon-Kuehner opened 2 weeks ago

Landon-Kuehner commented 2 weeks ago
[root@archlinux sideJit]# SideJITServer --pair
Attempting to pair to a device! (Ctrl+C to stop)
Traceback (most recent call last):
  File "/home/landonk/Downloads/sideJit/.venv/bin/SideJITServer", line 8, in <module>
    sys.exit(start_server())
             ^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/SideJITServer/__init__.py", line 223, in start_server
    devices = select_devices_by_connection_type(connection_type='USB')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 448, in select_devices_by_connection_type
    for device in list_devices(usbmux_address=usbmux_address):
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 410, in list_devices
    mux = create_mux(usbmux_address=usbmux_address)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 406, in create_mux
    return MuxConnection.create(usbmux_address=usbmux_address)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 174, in create
    sock = MuxConnection.create_usbmux_socket(usbmux_address=usbmux_address)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 167, in create_usbmux_socket
    return SafeStreamSocket(address, family)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/landonk/Downloads/sideJit/.venv/lib/python3.12/site-packages/pymobiledevice3/usbmux.py", line 111, in __init__
    self.sock.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

pymobiledevice3: 4.2.3 SideJITServer: 1.3.1

Xenonus commented 2 weeks ago

You have to download usbmuxd and start the daemon

Landon-Kuehner commented 2 weeks ago

You have to download usbmuxd and start the daemon

I have installed usbmuxd and enabled it in systemd, and I no longer get errors, but now it is hanging when I plug in my phone and my phone isn't bringing up the trust computer prompt.

Edit: You shouldn't run usbmuxd in systemd, you should run it in another terminal. Now I am stuck because I get a {"ERROR":"Could not find any device!"} error

Edit: I am having this error while the server is starting /home/landonk/Downloads/sideJIT/venv/lib/python3.12/site-packages/pymobiledevice3/utils.py:55: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()

tristafae commented 1 week ago

Try running

sudo SideJITServer

Instead of SideJITServer --pair Worked on my Mac!

Landon-Kuehner commented 1 week ago

I am still getting the same exact errors