Mygod / VPNHotspot

Share your VPN connection over hotspot or repeater! (root required)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App not allowed to read or update stored WiFi Ap config

vladipus opened this issue · comments

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

commented

Installing as system app is required.

Installing as system app is required.

how can this be achieved?

commented

Reopening for now.

commented

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

commented

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?

commented

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.

commented

Hi there are some good pics of my

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.

commented

@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.

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.

commented

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