Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles with frida-trace on android emulator 4.3.1 on MacOS #15

Closed
tch1bo opened this issue Apr 16, 2015 · 3 comments
Closed

Troubles with frida-trace on android emulator 4.3.1 on MacOS #15

tch1bo opened this issue Apr 16, 2015 · 3 comments

Comments

@tch1bo
Copy link

tch1bo commented Apr 16, 2015

Hey!
First of all, thanks for such a great job! Frida is indeed a wonderful tool.

Now, on topic:
I try to run "frida-trace -p pid" to trace a process on my android emulator. I get the following error:
"Failed to attach: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code0: task_for_pid() for remote pid failed while trying to make pipe endpoints: (os/kern) failure (5)"

Frida-server is running on the device from /data/local/tmp with 777 rights on this folder. The ports are forwarded.

Thanks in advance!

@oleavr
Copy link
Member

oleavr commented Apr 16, 2015

Hi,

Thanks for the kind words!

You need to pass -R in order to use a remote device, otherwise it will be looking for that pid on your local system.

Cheers!


Sent from Mailbox

On Thu, Apr 16, 2015 at 1:29 PM, VCibotaru notifications@github.com
wrote:

Hey!
First of all, thanks for such a great job! Frida is indeed a wonderful tool.
Now, on topic:
I try to run "frida-trace -p pid" to trace a process on my android emulator. I get the following error:
"Failed to attach: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code0: task_for_pid() for remote pid failed while trying to make pipe endpoints: (os/kern) failure (5)"
Frida-server is running on the device from /data/local/tmp with 777 rights on this folder. The ports are forwarded.

Thanks in advance!

Reply to this email directly or view it on GitHub:
#15

@tch1bo
Copy link
Author

tch1bo commented Apr 16, 2015

It works, thanks!

@tch1bo tch1bo closed this as completed Apr 16, 2015
@oleavr
Copy link
Member

oleavr commented Apr 16, 2015

Glad to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants