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

help #62

Open Tutorial114514 opened 5 months ago

Tutorial114514 commented 5 months ago

C:\Users\11095\DOWNLO~1\6\IOS17-~1>python jit_enabler_better.py net.kdt.pojavlauncher.Q87YU9892U Getting bundle ID... Got bundle ID: net.kdt.pojavlauncher.Q87YU9892U 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: fdf2:eb39:c5c6::1 51858 Manually trying to mount DeveloperDiskImage (this seems to prevent errors on some systems)... Traceback (most recent call last): File "C:\Users\11095\DOWNLO~1\6\IOS17-~1\jit_enabler_better.py", line 70, in ret_val = dev_img_proc.communicate()[1].decode() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 34: invalid start byte

fritzlb commented 5 months ago

Ohhh I know that error. Due to bad design in my script it can't handle special characters at all. Unfortunately that includes non-english characters. In the past there were a whole bunch of issues for people using computers with Korean or Chinese characters. In theory it's a simple fix (just add encoding='yourencoding' to all decode functions producing errors, where yourencoding is the one your PC uses), the issue then is the script won't work for anyone using any other encoding, e.g. unicode.

As far as I know SideJIT server does not have such stupid design flaws so you might want to use that instead

Tutorial114514 commented 5 months ago

e, how to operate it specifically? I am a primary school student......

Tutorial114514 commented 5 months ago

Are you there?

fritzlb commented 5 months ago

What do you mean? Sidejitserver? Here’s a link to that project https://github.com/nythepegasus/SideJITServer I’m in no way affiliated with them, so if you do have any questions regarding sideJIT I’d recommend to check out their discord.

And yeah, while I‘m always somewhere I scripted this in my free time, so I’m not available 24/7 to answer questions (even if I’d like to) :)

Tutorial114514 commented 5 months ago

How can I add encoding='yourencoding' to all decoding functions that generate errors? This project you wrote

Tutorial114514 commented 5 months ago

Are you there?

Tutorial114514 commented 5 months ago

111

fritzlb commented 5 months ago

Sorry, not like that. I do get an email every time you write something and I don’t need 1000 mails with important information like “111” or “are you there”.

To answer your question: find out what encoding your system uses, open the .py file in a text editor and write encoding=‘YOURENCODING’ into the brackets of the according decoding functions (there are multiple, only change the ones in your errors). Make sure to replace YOURENCODING with the according encoding. In case you’re not comfortable with that please use an alternative method.

Also stop spamming me. Else I’ll have to close this and block you.