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

frida.TimedOutError : ~ #27

Closed kokoory closed 3 years ago

kokoory commented 3 years ago

Hi, I am using frida 14.2.8 & python 3.6. my devices is galaxy s9+, so 64bits of frida-server is running on devices. but when I have try to use, the error occurred .


jnitrace -l libDrm2.so com.appName ------Error---------------------------------------- Traceback (most recent call last): File "c:\users\des\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\des\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\des\AppData\Local\Programs\Python\Python36\Scripts\jnitrace.exe__main__.py", line 9, in File "c:\users\des\appdata\local\programs\python\python36\lib\site-packages\jnitrace\jnitrace.py", line 565, in main pid = device.spawn([args.target], *aux_kwargs) File "c:\users\des\appdata\local\programs\python\python36\lib\site-packages\frida\core.py", line 26, in wrapper return f(args, **kwargs) File "c:\users\des\appdata\local\programs\python\python36\lib\site-packages\frida\core.py", line 140, in spawn return self._impl.spawn(program, argv, envp, env, cwd, stdio, aux_options) frida.TimedOutError: unexpectedly timed out while waiting for app to launch

kokoory commented 3 years ago

I think it is not working on 64bit

edit: it is not achitecture depended. i dont know

chame1eon commented 3 years ago

Hi,

Are you able to run ordinary Frida script on your device? Or is it specifically an issue with jnitrace?

Also, can you try and see if the '-m attach' option works better than the default?

Thanks

chame1eon commented 3 years ago

Closing as not heard in over a month