frida-java-bridge icon indicating copy to clipboard operation
frida-java-bridge copied to clipboard

Frida Gadget injected, frida-trace doesn't log anything

Open GitGitHubUser opened this issue 6 years ago • 0 comments

Hi, first of all many thanks for your great debugger! I am trying to use it on a non-root Android device. I could get it injected, so the app execution stops and the server listens. Then I executed "frida-trace -U -i "testFunction*" Gadget", it found and created handlers for all such functions, everything was fine. Then the execution of the app resumed and the following happened:

Started tracing 14 functions. Press Ctrl+C to stop.
Server terminated

The app crashed at some point (which was expected and OK), but I couldn't see any logs for parameter passing etc. The server was definitely started, I also checked netstat. Why this could happen? Do I need a special injection in this case? The device can't be rooted unfortunately, so gadget is the only way how I could run Frida there. Or maybe use the trick described here: https://koz.io/library-injection-for-debuggable-android-apps/ , but if I understand properly it would be the same. It's important to tell that almost all logic happens outside of Java, in native .SO libraries (ARM64). Any help is HUGELY appreciate, many thanks!!!

P.S. Not sure if it's anyhow relevant, but "frida-discover" crashed the device.

GitGitHubUser avatar Jun 16 '19 03:06 GitGitHubUser