Why, over and over, do wrong answers say the right thing?
Jtrace - not to be confused with bin dump - does not require modification of Android, something never. And he can track the messages of the binder - with the restriction that you should be one of the final points.
Bindump uses debugfs, but it only shows the endpoints. @Adrian - I'm afraid you were wrong.
Jtrace interrupts sys calls, incoming and outgoing, and then resolves connecting messages by checking the process memory (using ptrace (2)). If you have ptrace (2) in your kernel (which you do because debugserver is stupid in need of it) and you are root, you can track messages. Again - you have to be at the end point.
And @Luminger - while he's on the subject - just because he cannot find information, this does not mean that there is no information. There's a lot of information about Binder on NewAndroidBook.com - besides the book, see the Binder presentation link.
Technologeeks
source share