I prepared an addon to install frida server into my anbox emuator with this architecture:
ANBOX IMAGE: jammy:android12:amd64
I launch a new container and I expose adb (-s +adb) and frida server port(with adb forward command) but some commands works correctly ex.: frida-ps, instead frida command to spawn an application doesn’t work.
this is the command that i run from my host(local):
frida -H 127.0.0.1:27042 --debug -t 5 -f com.whatsapp
this is the command result:
/ _ | Frida 16.0.19 - 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 127.0.0.1:27042 (email@example.com:27042)
Failed to spawn: unexpectedly timed out while waiting for app to launch
So, I received always timeout error, and i see that target app(whatsapp in this case) starts correctly in anbox emulator.
There aren’t frida error in logcat logs.
Someone help me please?