Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Seeing lots of "Invalid secret restriction" warning messages #2376

Open
F-i-f opened this issue Sep 30, 2016 · 1 comment
Open

Seeing lots of "Invalid secret restriction" warning messages #2376

F-i-f opened this issue Sep 30, 2016 · 1 comment

Comments

@F-i-f
Copy link

F-i-f commented Sep 30, 2016

Hi,

Version info:
Device: Nexus 5X - bullhead
ROM: OmniROM-6.0.1-20160829-bullhead-NIGHTLY (MTC20F)
Xposed: v86 (SDK23, arm64)
XPrivacy: 3.6.19 (481), running in compatibility mode, licensed.

I have a pretty heavy XPrivacy configuration.
I've noticed recently that XPrivacy emits lots of the following warnings in the logcat:

09-30 19:29:14.299  5855  7857 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:29:14.315  5855  6735 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:29:44.311  5855  7744 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:29:44.314  5855  7903 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:29:54.186  5855  6735 W XPrivacy: Invalid secret restriction=10124/getExternalStorageState(/storage/emulated/0;null) storage=!restricted?
09-30 19:29:54.188  5855  7903 W XPrivacy: Invalid secret restriction=10124/getExternalStorageState(null;null) storage=!restricted?
09-30 19:30:14.289  5855  7850 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:30:14.292  5855  7820 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:30:44.322  5855  6735 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:30:44.325  5855  7823 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:31:05.764  5855  7823 W XPrivacy: Invalid secret restriction=10124/getExternalStorageState(/storage/emulated/0;null) storage=!restricted?
09-30 19:31:05.766  5855  7820 W XPrivacy: Invalid secret restriction=10124/getExternalStorageState(null;null) storage=!restricted?
09-30 19:31:14.289  5855  7868 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:31:14.292  5855  7857 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:31:44.292  5855  7038 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:31:44.295  5855  6734 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:32:14.291  5855  7832 W XPrivacy: Invalid secret restriction=10114/Connectivity.getActiveNetworkInfo(null;null) internet=!restricted?
09-30 19:32:14.295  5855  7743 W XPrivacy: Invalid secret restriction=10114/NetworkInfo.isConnected(null;null) internet=!restricted?
09-30 19:32:14.485  5855  7854 W XPrivacy: Invalid secret restriction=10124/getExternalStorageState(/storage/emulated/0;null) storage=!restricted?

There no exceptions or other errors in the Xposed logs (available if you'd like to see it).

The odd thing: I use the same configuration on multiple devices.
Yet, only a single device, a Nexus 5X shows this problem.
It's also the only 64-bit device.
I'm wondering with 64-bit platforms running 2 copies of zygote/Xposed/XPrivacy if that could be that the secret is not shared between both 32 and 64 bit Xposed runtimes.

The full Xposed config is available upon request as well as anything else you may need.

@cainiaocome
Copy link

cainiaocome commented Oct 13, 2016

met with same problem, nexus 9, cm12, android 5.1.1, xposed-sdk22-arm64, xprivacy 3.6.19.

still trying to find out why.

it seems xprivacy's main function is still working.

i found the code located at https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/PrivacyService.java#L702

seems this is logging usage data, but this log fails, xprivacy restriction and setting function still works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants