Frida: How do I kill frida?

Created on 8 Sep 2019  路  3Comments  路  Source: frida/frida

I'm trying to get frida running on my android emulator.
When I push the command: adb shell 'su -c /data/local/tmp/frida-server-12.2.23-android-x86 &'
I get the error: Unable to start server: Error binding to address: Address already in use

How would I kill frida to get rid of this issue?

I'm using cygwin with windows 7 if that helps
My android emulator is genymotion which I believe is rooted

Most helpful comment

adb shell
ps | grep frida-server
or
ps -e | grep frida-server

kill -9 pid

I'm getting the same error and this not works for me im trying in android 9

All 3 comments

adb shell 
ps | grep frida-server 
or 
ps -e | grep frida-server 

kill -9 pid

adb shell
ps | grep frida-server
or
ps -e | grep frida-server

kill -9 pid

I'm getting the same error and this not works for me im trying in android 9

I had the same problem, you should do this:
frida-ps -U
3865 frida-server (this PID value can be different for you)

this will tell you the PID of the frida-server and then you can spawn a root adb shell with the the following command:
adb root
adb shell
kill {PID}
now you can restart your frida server.

Was this page helpful?
0 / 5 - 0 ratings