Skip to content
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

App not allowed to read or update stored WiFi Ap config #117

Closed
vladipus opened this issue Jul 10, 2019 · 12 comments
Closed

App not allowed to read or update stored WiFi Ap config #117

vladipus opened this issue Jul 10, 2019 · 12 comments
Labels
vendor-specific Definitely not my fault

Comments

@vladipus
Copy link

Getting this in Android Oreo on a rooted OnePlus 5T. What can be done?

@Mygod
Copy link
Owner

Mygod commented Jul 10, 2019

Installing as system app is required.

@Mygod Mygod closed this as completed Jul 11, 2019
@vladipus
Copy link
Author

Installing as system app is required.

how can this be achieved?

@Mygod
Copy link
Owner

Mygod commented Jul 12, 2019

#14

@Mygod
Copy link
Owner

Mygod commented Jun 20, 2020

Reopening for now.

@Mygod Mygod reopened this Jun 20, 2020
Mygod added a commit that referenced this issue Jun 20, 2020
@Mygod
Copy link
Owner

Mygod commented Jun 21, 2020

This will be fixed in the upcoming update (presumably v2.10.2) with Android 11 beta.

@FlorentLM
Copy link

Having the same error despite having the app installed as a system app. Could it be why my kernel-space wireguard connection is not working?

@Mygod Mygod added vendor-specific Definitely not my fault and removed duplicate labels Jul 23, 2020
@Mygod
Copy link
Owner

Mygod commented Jul 23, 2020

Currently Android 8-10 still requires system app installation for reading/writing system Wi-Fi configuration. The only solution for now is to install the app as system app, or update to Android 11 or newer.

Please read README for the most up-to-date information.

@Mygod Mygod closed this as completed Jul 23, 2020
@armae
Copy link

armae commented Oct 10, 2020

Hi there are some good pics of my

@gWOLF3
Copy link

gWOLF3 commented Nov 21, 2020

Would it also be necessary to modify the privileged permission whitelist?

https://source.android.com/devices/tech/config/perms-whitelist

As noted here in this stack overflow post.

For example, since I'm building it for Google Pixel XL (Marlin) - might I also need to adjust this file to make this work properly.

@Mygod
Copy link
Owner

Mygod commented Nov 21, 2020

@gWOLF3 As far as I am concerned, installing this app as system app in priv-app should solve everything on Android 8-10, and the app should work out of the box for other versions. Let me know if this is not the case.

@gWOLF3
Copy link

gWOLF3 commented Nov 22, 2020

Indeed this seems to not be the case.

I am running:

Android 10
Lineage OS 17.1

See the System failure error on bootup from the log here

For boot to complete, it is needed is to also add the proper priv-app permission whitelist:

Here is the commit to my aosp fork for example, which fixes this issue on boot.

If it makes sense, I will submit a PR to document this on README with what is required and on which devices.

@Mygod
Copy link
Owner

Mygod commented Nov 22, 2020

You should give it root permissions to make everything work. Simply making it a system app will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vendor-specific Definitely not my fault
Projects
None yet
Development

No branches or pull requests

5 participants