Closed kevin0t closed 6 months ago
@kevin0t it works for me, this seems something specific of your rom. Please provide the logcat output of the system, filtered by the PCAPdroid package name (e.g. adb logcat | grep remote_capture > logcat.txt
)
So , i tried to reproduce the issue and it seemed like pcapdroid did start on its own , though it took around 30 seconds-1 minute to start after reboot. I don't think 30 secs is a major issue to worry about. Still i am attaching logs after reboot for your reference. You may close if no error found. logcatpcap3.txt
This is the expected behavior, as different apps start on boot and it's up to Android to prioritize them. See https://stackoverflow.com/a/43988744 . As you pointed out, using the always-on VPN is a better approach. Closing this
The capture won't start automatically after a reboot even if Start on boot is turned on. . Also this behaviour happens only if i do not turn on "always on vpn" for pcapdroid in android settings. I don't know how to provide any logs for this . But still wanted to report this behavior here. There is also a possibility of this bug being specific to my OS. Alternatively users could be advised use the always on vpn feature to capture traffic at boot as a universal failsafe solution and later they could turn it off.
Here is the Build info