frida
frida copied to clipboard
Android returns Process terminated - but still loads
When I try to load an app that I created, like this:
C:\mygame>frida -U --no-pause -f com.me.mygame -l scripts\activity-hook.js
Frida loads the app, and then I get Process terminated
while I see that the game was loaded and was not terminated...
____
/ _ | Frida 12.6.10 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Spawned `com.me.mygame`. Resuming main thread!
[LGE LGM-V300K::com.me.mygame]-> Process terminated
this happens for me too.
Me, with frida :'(
Are you all nexus series?
I'm using nox
emulator
Same issue with me as well.
Same issue with me..
Same here. Wonder if anyone was able to resolve?
Same issue at Nox Emulator
Similar problem
Nexus 6 -> Android 5.0 Frida version: 12.8.20
root@shamu:/ # sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
Current mode: permissive
sestatus: libselinux returns unknown state: No such file or directory
console.log("Waiting for Java..");
while(!Java.available) {
console.log("Java not available yet");
}
console.log("Java available..");
Java.perform(function () { // CRASHED !!!
console.log("TEST");
});
frida -U --no-pause -f com.google.android.youtube -l test.js
Out log:
Spawning `com.google.android.youtube`...
Waiting for Java..
Java available..
Spawned `com.google.android.youtube`. Resuming main thread!
[Nexus 6::com.google.android.youtube]-> Process terminated
[Nexus 6::com.google.android.youtube]->
Thank you for using Frida!
I got the same problem but with pausing the application.
frida -f <package> -H <ip>
I want to pause the app so that I can use objection to patch early ssl pinning but after like 3 seconds I get Process terminated
This is caused by waiting. If I type %resume
within the 3 seconds it does not terminate.
@T3rm1 I need to hooking the logic at startup, so I can’t use the delay :(
Everything works for me on custom firmware
nexus 5 , android 6.0.1 device all process are terminated, cant hook any...
same here. Anyone got any solution ?
still no solution ?
i have the same problem I'm using Nox Emulator
i have been able to solve this issue by using python script to load the js script and it worked perfectly with NOX emulator
the python script i used
import frida
import time
device = frida.get_usb_device(1)
pid = device.spawn(["com.xxx.xxx"])
device.resume(pid)
time.sleep(1)
session = device.attach(pid)
script = session.create_script(open("xxxx.js").read())
script.load()
thans man. you are the best!
The js code you opened is probably wrong.