chame1eon / jnitrace

A Frida based tool that traces usage of the JNI API in Android apps.
MIT License
1.62k stars 259 forks source link

unable to perform ptrace pokedata: I/O error #67

Open AndroidMaster24 opened 1 month ago

AndroidMaster24 commented 1 month ago

Jnitrace won't start no matter what app. Always getting "unable to perform ptrace pokedata: I/O error". I'm using Frida 16.5.5

PS C:\Windows\System32\WindowsPowerShell\v1.0> jnitrace -l libshizuku.so moe.shizuku.privileged.api
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\Python3\Scripts\jnitrace.exe\__main__.py", line 7, in <module>
  File "D:\Python3\Lib\site-packages\jnitrace\jnitrace.py", line 584, in main
    pid = device.spawn([args.target], **aux_kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Python3\Lib\site-packages\frida\core.py", line 86, in wrapper
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "D:\Python3\Lib\site-packages\frida\core.py", line 1029, in spawn
    return self._impl.spawn(program, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frida.NotSupportedError: unable to perform ptrace pokedata: I/O error