-
Notifications
You must be signed in to change notification settings - Fork 300
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
High cpu usage when use it through root mode, and libcapd.so process doesn't be killed #433
Comments
Only 1 libpcapd process should be running, which is stopped when you stop the capture in PCAPdroid. Please provide the following information:
|
It seems that |
This is weird, it could be something related to Magisk, which Magisk version are you using? Can you try granting permanent root to PCAPdroid, to see if this is linked to the root permission prompt? Another check you can do: select "any" as the root capture interface. It may be because no packets are captured on the wlan1 interface In case you are able to debug manually, this is the relevant function: https://github.com/emanuele-f/PCAPdroid/blob/master/app/src/main/jni/core/capture_libpcap.c#L69C5-L69C18 |
I use Magisk fork version Alpha, and has granted permanent root. There is no prompt. I don't know too much c and Android native development, so debug is hard to me. |
When this happens, do you see any connections in PCAPdroid? I suspect the capture gets stuck reading the next packet. What rom are you using? |
I didn't see any connections. I use Sony Xperia 1 iv with raw ROM. |
Ok, after try, I will reply you. Maybe a long time. |
When select all interfaces to capture, multiple libcapd.so processes are running.
And after stop capture, these processes keep running. I must kill them manually.
What info do you need
The text was updated successfully, but these errors were encountered: