Open dhnasa opened 5 years ago
Thanks for pointing this out.
As a workaround, could you detect if the device is rooted and if so, acccess /proc/net with root permissions? This way at least rooted devices with Android Q+ will be able to enjoy this app.
As a workaround, could you detect if the device is rooted and if so, acccess /proc/net with root permissions?
Should the only required change be to wrap these cat
calls in /bin/su
?
https://github.com/SecUSo/privacy-friendly-netmonitor/blob/a233d13631fc70ce6c64fd6aea48ebe6682c6664/app/src/main/java/org/secuso/privacyfriendlynetmonitor/ConnectionAnalysis/Detector.java#L74-L77
Is anybody aware of such a fork being maintained (and published on F-Droid)?
Android Q removes access to /proc/net, which includes information about a device's network state. Apps that need access to this information, such as VPNs, should refer to the NetworkStatsManager and ConnectivityManager classes.
https://developer.android.com/preview/privacy/data-identifiers#proc-net-filesystem
This app will not work in its current state on Android Q