nythepegasus / SideJITServer

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

Could not find device #5

Open onlyzyz opened 3 months ago

onlyzyz commented 3 months ago
  1. On Win11, Python 3.12, Windows Terminal(admin) run: pip3 install SideJITServer
  2. On iPhone 13 pro iOS 17.0 connet WiFi to computer hotspot, get the shortcut and input UDID+http://192.168.73.47:8080
  3. On Terminal(admin) run SideJITServer -d
  4. run the shortcut, the output are:

image

image

polymo1 commented 3 months ago

The tunnel is shutting down because it cannot bind to port 49151. Please ensure that you are running SideJITServer in an Administrator PowerShell, and that you have no other instance of pymobiledevice3/SideJITServer running.

onlyzyz commented 3 months ago

The tunnel is shutting down because it cannot bind to port 49151. Please ensure that you are running SideJITServer in an Administrator PowerShell, and that you have no other instance of pymobiledevice3/SideJITServer running.

Wow, Thank you for replying my question. I checked it out again, do running SideJITServer in an Administrator PowerShell, and do no have other instance of pymobiledevice3/SideJITServer. I killed 49151 but it still have the same error. Could it be a bug here? image

onlyzyz commented 3 months ago

is it possbile that this program already used port 49151 before? you can see it on my screenshot: "INFO:Uvicorn running on http://127.0.0.1:49151 (Press CTRL+C to quit)"

polymo1 commented 3 months ago

is it possbile that this program already used port 49151 before? you can see it on my screenshot: "INFO:Uvicorn running on http://127.0.0.1:49151 (Press CTRL+C to quit)"

So the program is only supposed to bind to port 49151 once. Could you please restart your machine to see if that helps, and could you please translate the non-english language (I think its Chinese) in the first screenshot in the line with (Errno 10048).

onlyzyz commented 3 months ago

is it possbile that this program already used port 49151 before? you can see it on my screenshot: "INFO:Uvicorn running on http://127.0.0.1:49151 (Press CTRL+C to quit)"

So the program is only supposed to bind to port 49151 once. Could you please restart your machine to see if that helps, and could you please translate the non-english language (I think its Chinese) in the first screenshot in the line with (Errno 10048).

I've tried restart my computer but it still have the same error. Yes it's Chinese. Non-english language in English(full text): "[Errno 10048]error while attempting to bind on address('127.0.0.1',49151):Only one usage of each socket address (protocol/network address/port) is normally permitted". I think I will try create trusted tunnel by using pymobiledevice3 to see if there were something missed or not.

onlyzyz commented 3 months ago

python -m pymobiledevice3 remote tunneld then install a driver and it shows: image I think there are somthing to do with pymobiledevice3, i will ask doronz88

polymo1 commented 3 months ago

This does look alot like a pymd3 error, you should mention this issue in the issue you create on the pymobiledevice3 github if you make one.

sirpeep commented 3 months ago

having same issue, triple checked the udid was correct and still dont know why its acting up. It shows up on itunes and I can pair it correctly, just whenever I run the shortcut it says no device found. And in the logs of powershell the request went through with code 200.

Edit: I forgot to add that mine doesnt even have an error, it says uvicorn running on http://127.0.0.1:49151 image

onlyzyz commented 3 months ago

@WesleyBryie @sirpeep update: I think this could be iDevice not connected pymobiledevice3 remote browse image but i still don't know how to solve this problem

polymo1 commented 3 months ago

What device do you have, is it connected over USB or are you attempting a WiFi connection, have you tried other USB cables, and are you trusting the computer?

onlyzyz commented 3 months ago

iPhone13 pro iOS 17.0, Win11 Python 3.12 connected both WiFi and USB i'll try another USB cables(but on iTunes it shows my iPhone). already trusted the computer BTW, SideJITServer -y recognized my iPhone PixPin_2024-04-03_15-41-18

sirpeep commented 3 months ago

What device do you have, is it connected over USB or are you attempting a WiFi connection, have you tried other USB cables, and are you trusting the computer?

i’m using the iphone 13 mini, using usb as i couldn’t figure out how to do it on wifi😭. I tried 2 different cables and ports on my computer and they connected to itunes just fine, and it paired with my phone when doing SideJITServer -y. I press trust and put in my password every time.

TYJTYYZTYJRYRUYR6 commented 3 months ago

I found a fix by installing the latest version of pymobiledevice, by using the command brew install openssl@3 python3 -m pip install -U pymobiledevice3==3.3.0. In terminal, by doing this I get past the error... but dolpinios crashes after enabling JIT, hopefully this is just a problem for me. hope this helps.

sirpeep commented 3 months ago

I’ll try this tomorrow, thanks :)

On Sun, Apr 7, 2024 at 9:06 PM TYJTYYZTYJRYRUYR6 @.***> wrote:

I found a fix by installing the latest version of pymobiledevice, by using the command brew install @.*** python3 -m pip install -U pymobiledevice3==3.3.0. In terminal, by doing this I get past the error... but dolpinios crashes after enabling JIT, hopefully this is just a problem for me. hope this helps.

— Reply to this email directly, view it on GitHub https://github.com/nythepegasus/SideJITServer/issues/5#issuecomment-2041690282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXTA2BDSTK3QSCZP6EIFA3DY4HUSJAVCNFSM6AAAAABFN7IYAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGY4TAMRYGI . You are receiving this because you were mentioned.Message ID: @.***>

FlMihai commented 3 months ago

I found a fix by installing the latest version of pymobiledevice, by using the command brew install openssl@3 python3 -m pip install -U pymobiledevice3==3.3.0. In terminal, by doing this I get past the error... but dolpinios crashes after enabling JIT, hopefully this is just a problem for me. hope this helps.

I can confirm that using 3.3.0 version works, thanks :) also to get Dolphin working on iOS 17 you need to use the latest version, not the one available on the Dolphin page but the version from their github.

Clyxos commented 3 months ago

Ensuring that I had the right pymobiledevice3 actually fixed it for me too. Thanks!

sirpeep commented 3 months ago

this might be a completely unrelated issue but now I'm getting this error: image It happens when I do SideJITServer -d. It says error while attempting to bind on address 127.0.0.1:49151. Not sure whats causing it because when I do netstat -ano | findstr :49151 it only says its python. When I do ctrl + c and the netstat command again, it says there's no processes, meaning the process using the port is SideJITServer.

and when I run the shortcut it still says no device found, version of pymobiledevice3 is 3.3.0

Felitendo commented 3 months ago

I found a fix by installing the latest version of pymobiledevice, by using the command brew install openssl@3 python3 -m pip install -U pymobiledevice3==3.3.0. In terminal, by doing this I get past the error... but dolpinios crashes after enabling JIT, hopefully this is just a problem for me. hope this helps.

THIS HELPED, thank you soo much <3

onlyzyz commented 3 months ago

@sirpeep @WesleyBryie update SideJITServer to 1.3.0 and pymobiledevice3 to 3.4.0, still have problems.

saninja2134 commented 3 months ago

Using a venv (like they say in the readme) worked for me, running it without that gave me the same issue you guys are having.

QcSamuel commented 3 months ago

using windows 11 tried using venv same error with the only one usage on port, tried with the recommended pymobiledevice3 version and the latest one

netstat -ano | findstr :49151 tell me there only python and the shortcut could not find device

edit: using a windows 11 pc and a iphone 14 on 17.0 (waiting for trollstore so not updating rn)

QcSamuel commented 2 months ago

@onlyzyz did you find a fix for this ? (error while attempting to bind on address('127.0.0.1',49151):Only one usage of each socket address (protocol/network address/port) is normally permitted".)

SeanD6091 commented 2 months ago

Anyone have any other fixes, because I've tried everything under this issue and nothing has worked

onlyzyz commented 2 months ago

@onlyzyz did you find a fix for this ? (error while attempting to bind on address('127.0.0.1',49151):Only one usage of each socket address (protocol/network address/port) is normally permitted".)

nope.

micro2547 commented 1 month ago

im in venv and i ran the exact commands said in here and nothing works.

micro2547 commented 1 month ago

im on an iphone 13 running 17.4.1, and it keeps saying when i run sidejitserver -y or sidejitserver --pair that it's an iphone 14.