fritzlb / iOS17-JIT-WIN

Enable JIT on iOS 17 using a windows PC
GNU General Public License v3.0
137 stars 5 forks source link

python error while starting app #14

Closed Hamblock closed 5 months ago

Hamblock commented 6 months ago

Getting bundle ID... Got bundle ID: com.antique.Limon.MZ42LYKXWW starting tunnel to device... This might take a while. In case it freezes, either close this window and kill every python process in task manager or simply reboot your PC. Sucessfully created tunnel: fdc8:dea7:7d25::1 49201 Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)... Diskimage already mounted. Starting app... Traceback (most recent call last): File "C:\Users\Asus\Desktop\IOS17-~1\jit_enabler_better.py", line 77, in if ret_val[1].decode().replace("\r\n", "") != "": #display error in case starting app fails ^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 3448: invalid continuation byte

fritzlb commented 6 months ago

Could you download a new copy of the script and run it in debug mode? Just download the zip, extract it, run install.bat (or install_slow.bat if you're experiencing issues with the debugging commands) and start the script as usual, only add " True" after the bundle id.

Hamblock commented 6 months ago

its even worse.....

C:\Users\Asus\Desktop\IOS17-~1>python jit_enabler_better.py com.antique.Limon.MZ42LYKXWW True Getting bundle ID... DEBUG mode specified. Got bundle ID: com.antique.Limon.MZ42LYKXWW starting tunnel to device... This might take a while. In case it freezes, either close this window and kill every python process in task manager or simply reboot your PC. Sucessfully created tunnel: fd75:dec2:f22c::1 49215 Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)... 2024-03-13 18:43:16 DESKTOP-HHNPCF5 pymobiledevice3.cli.mounter[2736] ERROR DeveloperDiskImage already mounted

Diskimage already mounted. Starting app... (b'', b'Traceback (most recent call last):\r\n File "", line 198, in _run_module_as_main\r\n File "", line 88, in _run_code\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 156, in \r\n main()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 98, in main\r\n cli()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call\r\n return self.main(*args, *kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1686, in invoke\r\n sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 943, in make_context\r\n self.parse_args(ctx, args)\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1408, in parse_args\r\n value, args = param.handle_parse_result(ctx, opts, args)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 53, in handle_parse_result\r\n return super().handle_parse_result(\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2400, in handle_parse_result\r\n value = self.process_value(ctx, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2362, in process_value\r\n value = self.callback(ctx, self, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 249, in rsd\r\n rsd.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 50, in connect\r\n self.service.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remotexpc.py", line 50, in connect\r\n self.sock = create_connection(self.address)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 852, in create_connection\r\n raise exceptions[0]\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 837, in create_connection\r\n sock.connect(sa)\r\nOSError: [WinError 10065] Une op\xe9ration a \xe9t\xe9 tent\xe9e sur un h\xf4te impossible \xe0 atteindre\r\n') Unknown error. : (b'', b'Traceback (most recent call last):\r\n File "", line 198, in _run_module_as_main\r\n File "", line 88, in _run_code\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 156, in \r\n main()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 98, in main\r\n cli()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call\r\n return self.main(args, **kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1686, in invoke\r\n sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 943, in make_context\r\n self.parse_args(ctx, args)\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1408, in parse_args\r\n value, args = param.handle_parse_result(ctx, opts, args)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 53, in handle_parse_result\r\n return super().handle_parse_result(\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2400, in handle_parse_result\r\n value = self.process_value(ctx, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2362, in process_value\r\n value = self.callback(ctx, self, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 249, in rsd\r\n rsd.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 50, in connect\r\n self.service.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remotexpc.py", line 50, in connect\r\n self.sock = create_connection(self.address)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 852, in create_connection\r\n raise exceptions[0]\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 837, in create_connection\r\n sock.connect(sa)\r\nOSError: [WinError 10065] Une op\xe9ration a \xe9t\xe9 tent\xe9e sur un h\xf4te impossible \xe0 atteindre\r\n')

Hamblock commented 6 months ago

Any news???….

Hamblock commented 6 months ago

still nothing....?

Hamblock commented 6 months ago

C:\Users\Asus\Desktop\IOS17-~1>python jit_enabler_better.py me.oatmealdome.dolphinios-njb.MZ42LYKXWW True Getting bundle ID... DEBUG mode specified. Got bundle ID: me.oatmealdome.dolphinios-njb.MZ42LYKXWW starting tunnel to device... This might take a while. In case it freezes, either close this window and kill every python process in task manager or simply reboot your PC. Sucessfully created tunnel: fdd2:d2a5:8090::1 49229 Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)... 2024-03-14 19:09:31 DESKTOP-HHNPCF5 pymobiledevice3.cli.mounter[11444] ERROR DeveloperDiskImage already mounted

Diskimage already mounted. Starting app... (b'', b'Traceback (most recent call last):\r\n File "", line 198, in _run_module_as_main\r\n File "", line 88, in _run_code\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 156, in \r\n main()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 98, in main\r\n cli()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call\r\n return self.main(*args, *kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1686, in invoke\r\n sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 943, in make_context\r\n self.parse_args(ctx, args)\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1408, in parse_args\r\n value, args = param.handle_parse_result(ctx, opts, args)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 53, in handle_parse_result\r\n return super().handle_parse_result(\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2400, in handle_parse_result\r\n value = self.process_value(ctx, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2362, in process_value\r\n value = self.callback(ctx, self, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 249, in rsd\r\n rsd.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 50, in connect\r\n self.service.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remotexpc.py", line 50, in connect\r\n self.sock = create_connection(self.address)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 852, in create_connection\r\n raise exceptions[0]\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 837, in create_connection\r\n sock.connect(sa)\r\nOSError: [WinError 10051] Une op\xe9ration a \xe9t\xe9 tent\xe9e sur un r\xe9seau impossible \xe0 atteindre\r\n') Unknown error. : (b'', b'Traceback (most recent call last):\r\n File "", line 198, in _run_module_as_main\r\n File "", line 88, in _run_code\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 156, in \r\n main()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\main.py", line 98, in main\r\n cli()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call\r\n return self.main(args, **kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1686, in invoke\r\n sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 943, in make_context\r\n self.parse_args(ctx, args)\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1408, in parse_args\r\n value, args = param.handle_parse_result(ctx, opts, args)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 53, in handle_parse_result\r\n return super().handle_parse_result(\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2400, in handle_parse_result\r\n value = self.process_value(ctx, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 2362, in process_value\r\n value = self.callback(ctx, self, value)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\cli_common.py", line 249, in rsd\r\n rsd.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 50, in connect\r\n self.service.connect()\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remotexpc.py", line 50, in connect\r\n self.sock = create_connection(self.address)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 852, in create_connection\r\n raise exceptions[0]\r\n File "C:\Users\Asus\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 837, in create_connection\r\n sock.connect(sa)\r\nOSError: [WinError 10051] Une op\xe9ration a \xe9t\xe9 tent\xe9e sur un r\xe9seau impossible \xe0 atteindre\r\n')

fritzlb commented 6 months ago

I really don't know why this is happening. Did you change anything with your setup between the last time JIT worked and now? It might ne anything regarding networking I think, like VPN connections, anti-virus programs,... In any case it's something internal from pymobiledevice3, apparently it tries to access a tunnel that does not exist or sth. Also maybe for whatever reason there could be more than one tunnel open at once, if there's anything labeled python that's still running you could try to kill that in taskmgr (or just reboot). Also maybe it's something with the driver? Idk. If I have any new ideas I'll post them here :)

BoogieHasFun commented 6 months ago

you see this is why windows should be abandoned. jokes aside (not really a joke), try rebooting, you can also try running windows on a USB stick, maybe even a whole different computer or even a chromebook if you're really desperate. maybe just do a fresh install of python.

judging by the [WinError 10051], it likely is going to be a networking problem, maybe this will help with debugging (probably not ngl)

Hamblock commented 6 months ago

i dont have any pc at my home (only one pc). also i got no moey to buy a new one.

Hamblock commented 6 months ago

I really don't know why this is happening. Did you change anything with your setup between the last time JIT worked and now? It might ne anything regarding networking I think, like VPN connections, anti-virus programs,... In any case it's something internal from pymobiledevice3, apparently it tries to access a tunnel that does not exist or sth. Also maybe for whatever reason there could be more than one tunnel open at once, if there's anything labeled python that's still running you could try to kill that in taskmgr (or just reboot). Also maybe it's something with the driver? Idk. If I have any new ideas I'll post them here :)

well i got no vpn. nothing. it just started crashing from yesterday. i uninstalled the whole file. erased from the pc. and installed it again. still same error. also a little comment: the wifi card on my pc is not working properly... can it cause issues???

Hamblock commented 6 months ago

you see this is why windows should be abandoned. jokes aside (not really a joke), try rebooting, you can also try running windows on a USB stick, maybe even a whole different computer or even a chromebook if you're really desperate. maybe just do a fresh install of python.

judging by the [WinError 10051], it likely is going to be a networking problem, maybe this will help with debugging (probably not ngl)

i could try installing a new fresh python i guess

fritzlb commented 6 months ago

you see this is why windows should be abandoned. jokes aside (not really a joke), try rebooting, you can also try running windows on a USB stick, maybe even a whole different computer or even a chromebook if you're really desperate. maybe just do a fresh install of python.

judging by the [WinError 10051], it likely is going to be a networking problem, maybe this will help with debugging (probably not ngl)

Please keep it civil here. Also, this troubleshooting “tip” can be found using google search and won’t help anyone here because the thing crashing is pymobiledevice3 and no one here wrote anything of that.

also pymobiledevice3 for now only works on Mac and windows (and on Linux with a kernel patch). If you do think windows should be abandoned please just buy a Mac and use Xcode for JIT instead of writing comments. also windows doesn’t run on usb devices anymore, if hamblocks laptop did have a second hard drive slot they could try to install another hard drive and put a fresh copy of windows onto that.

If hamblocks WiFi card isn’t working as well I do think there’s something very wrong with their network settings (or a hardware issue). In case it’s a software issue, that could explain the script not working. I don’t have the same setup so it’ll be pretty hard to properly help with this I think

Hamblock commented 6 months ago

No no.. my wifi card is quite broken. It a hardware problem. According to my pc. The wifi card is not put correctly/dust too much. This pc have been with me since 2019. And my mom is thinking about buying a new pc. I hope i get a new pc because this old one is getting more broken over time

fritzlb commented 6 months ago

Another idea: do you have a third party anti-virus?

BoogieHasFun commented 6 months ago

you see this is why windows should be abandoned. jokes aside (not really a joke), try rebooting, you can also try running windows on a USB stick, maybe even a whole different computer or even a chromebook if you're really desperate. maybe just do a fresh install of python.

judging by the [WinError 10051], it likely is going to be a networking problem, maybe this will help with debugging (probably not ngl)

Please keep it civil here. Also, this troubleshooting “tip” can be found using google search and won’t help anyone here because the thing crashing is pymobiledevice3 and no one here wrote anything of that.

also pymobiledevice3 for now only works on Mac and windows (and on Linux with a kernel patch). If you do think windows should be abandoned please just buy a Mac and use Xcode for JIT instead of writing comments.

also windows doesn’t run on usb devices anymore, if hamblocks laptop did have a second hard drive slot they could try to install another hard drive and put a fresh copy of windows onto that.

If hamblocks WiFi card isn’t working as well I do think there’s something very wrong with their network settings (or a hardware issue). In case it’s a software issue, that could explain the script not working.

I don’t have the same setup so it’ll be pretty hard to properly help with this I think

maybe he could try using ethernet.

my little comment that windows should be abandoned is purely opinion, no one should be offended by it. i just think that windows is a bad operating system, it has a lot of bloat and is seriously outdated. we also have no idea what microsoft could be using our data for. linux solves these issues by being properly maintained and open source, it leans mainly towards user experience and controllability than making money as it has no money to make other than donations. macOS is even better than windows but does not solve bloat and data usage issues. in short, i am saying i think windows is generally a pretty bad operating system compared to competitors. if you are offended by it, then please don't make an argument. arguing about opinions is a waste of time, so don't do it :D

fritzlb commented 6 months ago

I'm not offended by the content of your messages, but tbh here's not the right place to have that discussion. I'll delete any message regarding operating systems.

Ethernet is a great idea but I don't believe it has anything to do with the error because in theory the only time internet is required is to mount the disk image which already happened according to the logs. The more interesting question to hamblock is: how does your device access the internet at all?

Hamblock commented 6 months ago

sorry for late response. my pc does connect to internet and wifi and bluetooth but sometimes the wifi card ramdomly crashes and i have to restart computer so it resets the wifi card.

Hamblock commented 6 months ago

also. what is ethernet????

Hamblock commented 6 months ago

you see this is why windows should be abandoned. jokes aside (not really a joke), try rebooting, you can also try running windows on a USB stick, maybe even a whole different computer or even a chromebook if you're really desperate. maybe just do a fresh install of python.

judging by the [WinError 10051], it likely is going to be a networking problem, maybe this will help with debugging (probably not ngl)

Please keep it civil here. Also, this troubleshooting “tip” can be found using google search and won’t help anyone here because the thing crashing is pymobiledevice3 and no one here wrote anything of that. also pymobiledevice3 for now only works on Mac and windows (and on Linux with a kernel patch). If you do think windows should be abandoned please just buy a Mac and use Xcode for JIT instead of writing comments. also windows doesn’t run on usb devices anymore, if hamblocks laptop did have a second hard drive slot they could try to install another hard drive and put a fresh copy of windows onto that. If hamblocks WiFi card isn’t working as well I do think there’s something very wrong with their network settings (or a hardware issue). In case it’s a software issue, that could explain the script not working. I don’t have the same setup so it’ll be pretty hard to properly help with this I think

maybe he could try using ethernet.

my little comment that windows should be abandoned is purely opinion, no one should be offended by it. i just think that windows is a bad operating system, it has a lot of bloat and is seriously outdated. we also have no idea what microsoft could be using our data for. linux solves these issues by being properly maintained and open source, it leans mainly towards user experience and controllability than making money as it has no money to make other than donations. macOS is even better than windows but does not solve bloat and data usage issues. in short, i am saying i think windows is generally a pretty bad operating system compared to competitors. if you are offended by it, then please don't make an argument. arguing about opinions is a waste of time, so don't do it :D

first thing. thats a bit disrespectful. second thing. MacOS is very expensive and i cannot afford it. third thing. im happy with windows. im more familliar with it.

Hamblock commented 6 months ago

Another idea: do you have a third party anti-virus?

i dont think so...

fritzlb commented 6 months ago

Ethernet is wired internet so to say... Are you sure the wifi issue is hardware related? If you were more advanced regarding PCs I'd recommend to re-install windows which could fix up something, but that's a pretty drastic step and I can't recommend that if you've never done that before. If you're comfortable with that you could try to uninstall the WeTest USB driver, it should reinstall automatically once you run the script again.

BoogieHasFun commented 6 months ago

also. what is ethernet????

have you ever seen a yellow cable coming out your router. that's an ethernet cable, just about every computer has a ethernet port on it. it looks like a square. search up what it looks like, and then find a cable (usually yellow) that fits into the ethernet port in computer and plug it in to the router and computer, you may even have a ethernet port in your walls but if you don't you gotta bring the entire computer to your router. wifi and ethernet are different, a wifi card being broken shouldn't interfere with ethernet. they do the same task, though. (sorry for writing another essay lol)

Hamblock commented 6 months ago

Ethernet is wired internet so to say... Are you sure the wifi issue is hardware related? If you were more advanced regarding PCs I'd recommend to re-install windows which could fix up something, but that's a pretty drastic step and I can't recommend that if you've never done that before. If you're comfortable with that you could try to uninstall the WeTest USB driver, it should reinstall automatically once you run the script again.

Sorry. Cant do that. This is the family computer :(

Hamblock commented 6 months ago

also. what is ethernet????

have you ever seen a yellow cable coming out your router. that's an ethernet cable, just about every computer has a ethernet port on it. it looks like a square. search up what it looks like, and then find a cable (usually yellow) that fits into the ethernet port in computer and plug it in to the router and computer, you may even have a ethernet port in your walls but if you don't you gotta bring the entire computer to your router. wifi and ethernet are different, a wifi card being broken shouldn't interfere with ethernet. they do the same task, though. (sorry for writing another essay lol)

I got no yellow cable. There is a charger. Thats it. Also im not from usa or eu. Im from africa(north)

BoogieHasFun commented 6 months ago

also. what is ethernet????

have you ever seen a yellow cable coming out your router. that's an ethernet cable, just about every computer has a ethernet port on it. it looks like a square. search up what it looks like, and then find a cable (usually yellow) that fits into the ethernet port in computer and plug it in to the router and computer, you may even have a ethernet port in your walls but if you don't you gotta bring the entire computer to your router. wifi and ethernet are different, a wifi card being broken shouldn't interfere with ethernet. they do the same task, though. (sorry for writing another essay lol)

I got no yellow cable. There is a charger. Thats it. Also im not from usa or eu. Im from africa(north)

they can be different colors like black or blue. do you have anything that looks like thisimage

fritzlb commented 6 months ago

Please stop. Ethernet won't fix the actual issue. The log shows something network related but I'm pretty sure it's not internet related. If I understand correctly how pymobiledevice3 works, it only needs internet to mount the developer disk image. This already happened, the log shows that it is already mounted. Then the script tries to open the app which fails. Apparently pymobiledevice3 tries to access the device using a network tunnel (that's not surprising at all) which for whatever reason fails, because windows tells us that the network is unreachable. Again, this is an internal error, maybe something between pymobiledevice3 and the USB driver I guess which shouldn't have anything to do with Ethernet. To hamblock I can only recommend to try to reinstall the driver (uninstalling and running the script again should be enough), to boogie I recommend to stop talking about ethernet. I'll delete any following message that is not directly associated with this issue, including but not limited to Ethernet, operating systems etc.

BoogieHasFun commented 6 months ago

Please stop. Ethernet won't fix the actual issue. The log shows something network related but I'm pretty sure it's not internet related. If I understand correctly how pymobiledevice3 works, it only needs internet to mount the developer disk image. This already happened, the log shows that it is already mounted.

Then the script tries to open the app which fails. Apparently pymobiledevice3 tries to access the device using a network tunnel (that's not surprising at all) which for whatever reason fails, because windows tells us that the network is unreachable.

Again, this is an internal error, maybe something between pymobiledevice3 and the USB driver I guess which shouldn't have anything to do with Ethernet.

To hamblock I can only recommend to try to reinstall the driver (uninstalling and running the script again should be enough), to boogie I recommend to stop talking about ethernet. I'll delete any following message that is not directly associated with this issue, including but not limited to Ethernet, operating systems etc.

will do. keep in mind i am going to just not be involved with the issue anymore, as i really have provided no good :(

ConstantineVac commented 5 months ago
H:\IPAs\iOS17-JIT-WIN-main\iOS17-JIT-WIN-main>python jit_enabler_better.py {com.rileytestut.Delta.6F4CF8W84U}
Getting bundle ID...
Got bundle ID: {com.rileytestut.Delta.6F4CF8W84U}
starting tunnel to device...
This might take a while. In case it freezes, either close this window and kill every python process in task manager or simply reboot your PC.
Sucessfully created tunnel: fd55:7bd1:513e::1 50550
Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)...
Diskimage already mounted.
Starting app...
Error launching the app. Did you specify the correct bundle ID? : Traceback (most recent call last):
  File "c:\python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "c:\python310\lib\site-packages\pymobiledevice3\__main__.py", line 156, in <module>
    main()
  File "c:\python310\lib\site-packages\pymobiledevice3\__main__.py", line 98, in main
    cli()
  File "c:\python310\lib\site-packages\click\core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "c:\python310\lib\site-packages\click\core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python310\lib\site-packages\click\core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "c:\python310\lib\site-packages\pymobiledevice3\cli\cli_common.py", line 172, in wrap_callback_calling
    callback(service_provider=service_provider, **kwargs)
  File "c:\python310\lib\site-packages\pymobiledevice3\cli\developer.py", line 198, in launch
    pid = process_control.launch(bundle_id=parsed_arguments[0], arguments=parsed_arguments[1:],
  File "c:\python310\lib\site-packages\pymobiledevice3\services\dvt\instruments\process_control.py", line 74, in launch
    result = self._channel.receive_plist()
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 261, in receive_plist
    return self._service.recv_plist(self)[0]
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 438, in recv_plist
    data = archiver.unarchive(data)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 23, in unarchive
    return Unarchive(plist).top_object()
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 267, in top_object
    return self.decode_object(self.top_uid)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 126, in decode_archive
    user_info = archive_obj.decode('NSUserInfo')
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 150, in decode
    return self._unarchiver.decode_key(self.object, key)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 226, in decode_key
    return self.decode_object(val)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 109, in decode_archive
    val = archive_obj.decode_index(val_uids[i])
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 147, in decode_index
    return self._unarchiver.decode_object(index)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 126, in decode_archive
    user_info = archive_obj.decode('NSUserInfo')
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 150, in decode
    return self._unarchiver.decode_key(self.object, key)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 226, in decode_key
    return self.decode_object(val)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 109, in decode_archive
    val = archive_obj.decode_index(val_uids[i])
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 147, in decode_index
    return self._unarchiver.decode_object(index)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 129, in decode_archive
    raise DvtException(archive_obj.decode('NSUserInfo'))
pymobiledevice3.exceptions.DvtException: {'BSErrorCodeDescription': 'NotFound', 'NSLocalizedFailureReason': 'Application info provider (FBSApplicationLibrary) returned nil for "{com.rileytestut.Delta.6F4CF8W84U}"'}

I have this issue, have tried assigning a custom bundle id with sideloadly with no luck either. I have noticed that momentarily after the error shows up, my connection is restored on windows 11.

Hamblock commented 5 months ago

Well… guess i will need to buy a new pc… but.. this pc once like.. crashed in the startup and made a tick sound. And it got into a automatic repair. I hope that fixes the problem. I will try it when it boots up

fritzlb commented 5 months ago
H:\IPAs\iOS17-JIT-WIN-main\iOS17-JIT-WIN-main>python jit_enabler_better.py {com.rileytestut.Delta.6F4CF8W84U}
Getting bundle ID...
Got bundle ID: {com.rileytestut.Delta.6F4CF8W84U}
starting tunnel to device...
This might take a while. In case it freezes, either close this window and kill every python process in task manager or simply reboot your PC.
Sucessfully created tunnel: fd55:7bd1:513e::1 50550
Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)...
Diskimage already mounted.
Starting app...
Error launching the app. Did you specify the correct bundle ID? : Traceback (most recent call last):
  File "c:\python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "c:\python310\lib\site-packages\pymobiledevice3\__main__.py", line 156, in <module>
    main()
  File "c:\python310\lib\site-packages\pymobiledevice3\__main__.py", line 98, in main
    cli()
  File "c:\python310\lib\site-packages\click\core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "c:\python310\lib\site-packages\click\core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python310\lib\site-packages\click\core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python310\lib\site-packages\click\core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "c:\python310\lib\site-packages\pymobiledevice3\cli\cli_common.py", line 172, in wrap_callback_calling
    callback(service_provider=service_provider, **kwargs)
  File "c:\python310\lib\site-packages\pymobiledevice3\cli\developer.py", line 198, in launch
    pid = process_control.launch(bundle_id=parsed_arguments[0], arguments=parsed_arguments[1:],
  File "c:\python310\lib\site-packages\pymobiledevice3\services\dvt\instruments\process_control.py", line 74, in launch
    result = self._channel.receive_plist()
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 261, in receive_plist
    return self._service.recv_plist(self)[0]
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 438, in recv_plist
    data = archiver.unarchive(data)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 23, in unarchive
    return Unarchive(plist).top_object()
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 267, in top_object
    return self.decode_object(self.top_uid)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 126, in decode_archive
    user_info = archive_obj.decode('NSUserInfo')
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 150, in decode
    return self._unarchiver.decode_key(self.object, key)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 226, in decode_key
    return self.decode_object(val)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 109, in decode_archive
    val = archive_obj.decode_index(val_uids[i])
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 147, in decode_index
    return self._unarchiver.decode_object(index)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 126, in decode_archive
    user_info = archive_obj.decode('NSUserInfo')
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 150, in decode
    return self._unarchiver.decode_key(self.object, key)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 226, in decode_key
    return self.decode_object(val)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 109, in decode_archive
    val = archive_obj.decode_index(val_uids[i])
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 147, in decode_index
    return self._unarchiver.decode_object(index)
  File "c:\python310\lib\site-packages\bpylist2\archiver.py", line 258, in decode_object
    obj = klass.decode_archive(ArchivedObject(raw_obj, self))
  File "c:\python310\lib\site-packages\pymobiledevice3\services\remote_server.py", line 129, in decode_archive
    raise DvtException(archive_obj.decode('NSUserInfo'))
pymobiledevice3.exceptions.DvtException: {'BSErrorCodeDescription': 'NotFound', 'NSLocalizedFailureReason': 'Application info provider (FBSApplicationLibrary) returned nil for "{com.rileytestut.Delta.6F4CF8W84U}"'}

I have this issue, have tried assigning a custom bundle id with sideloadly with no luck either. I have noticed that momentarily after the error shows up, my connection is restored on windows 11.

If you haven’t already, remove the brackets from the bundle ID, just like described in readme

fritzlb commented 5 months ago

Well… guess i will need to buy a new pc… but.. this pc once like.. crashed in the startup and made a tick sound. And it got into a automatic repair. I hope that fixes the problem. I will try it when it boots up

In case it starts I‘d suggest to use sfc /scannow as well as the dism command to re-download a recovery image. in case it doesn’t, I‘d recommend to create an usb drive with a windows installer (search for media creation tool) and completely re-install windows. Make sure to back up any data before wiping the drive. In case it’s a magnetic hard drive, check your SMART status (there should be guides somewhere on the internet)

fritzlb commented 5 months ago

As it seems like this discussion is neither active not linked to this script in any way, I‘ll close this for now. If there’s a new issue, just open a new one here on GitHub :)

Hamblock commented 4 months ago

hello. im gonna change the wifi card on my pc soon. i will update you if i get another error. thanks

Hamblock commented 4 months ago

also big update. my mom bought me a 1TB usb drive. does that help with anything??

fritzlb commented 4 months ago

also big update. my mom bought me a 1TB usb drive. does that help with anything??

Make sure to test it with h2testw for example, fakes are a thing. Also try using SideJIT server, it seems like apple broke sth with 17.5. I'll probably not fix it