Answer the question
In order to leave comments, you need to log in
How to make root socket work on android?
I remembered a problem that somehow I could not solve for a long time. Right now I thought that maybe they would help me on the toaster. The problem is this. I wanted to track the network packets that are coming from the device. Later I made a console utility and installed it via adb and ran it and saw which programs are sending data. But still the problem remained. I made special permissions for a device like internet or something like that to make network functions available. I rooted the device and gave permission to one program that required root. And in the code I write like this.
int socket = socket ( AF_PACKET, SOCK_RAW, htons ( ETH_P_ALL ) );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question