cypherphage
cypherphage

Reputation: 298

frida-server : Unable to connect

Failed to enumerate processes: unable to connect to remote frida-server: closed

frida-server is running as you can see in the output of su top command.

both frida and adb is able to find the usb android device.

enter image description here

enter image description here

Upvotes: 1

Views: 27928

Answers (3)

Siwei
Siwei

Reputation: 21559

@Jimale is correct. I spent 3 or more hours to find it out.

Obviously , the frida-server is not start at all.

You MUST type su root before you run frida-server in your rooted android phone.

If you already install 3rd-party magisk-module, such like "adb root", you still HAVE TO switch to root user manually by typing su root.

To make sure that the current user in adb shell is root, please type : ifconfig to see if you are the actual root.

If you are the root user, you will have the rights to see the ifconfig result. otherwise you will see you don't have permission...

Upvotes: 1

Jimale Abdi
Jimale Abdi

Reputation: 2854

This code fixed my problem, run this in terminal

$ adb shell
# su
# /data/local/tmp/frida-server &

Upvotes: 5

cypherphage
cypherphage

Reputation: 298

For some reason Frida Magisk Module works perfectly fine on Android 10...I got lucky.enter image description here

s

Upvotes: 1

Related Questions