frida
frida copied to clipboard
"Failed to spawn: need Gadget to attach on jailed Android" on some commands
I've got an Android 14 (API 34) AVD emulator with Magisk set up. When using adb or this module I found i can run e.g. frida-ps -U and get the expected output but when running for example frida --codeshare sowdust/universal-android-ssl-pinning-bypass-2 -U -f com.example (I did use a differnet package name) I get:
____
/ _ | Frida 16.4.8 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Android Emulator 5554 (id=emulator-5554)
Failed to spawn: need Gadget to attach on jailed Android; its default location is: /home/emil/.cache/frida/gadget-android-arm64.so
Note that I did find a few similar issues when googling around but all the solutions are either not applicable or don't result in any change of the unwanted behavior as far as I can tell. I'm really out of ideas here.
Start your server using this command:
adb shell "su -c 'nohup /data/local/tmp/server -l 0.0.0.0:27042 &'"