-
Notifications
You must be signed in to change notification settings - Fork 100
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
Fix For Device With A Restrictive Account #3299
Comments
Hmm, there's one more thing to it then.
|
In root mode you could do it automatically no need for adb |
We already had a similar task, #173 |
The problem is with Android itself. Here are some bugs not with VPN, but similar: I couldn't repeat this behavior on Emulators from 7.1.1 to 10. And on Lineage 17 on my phone. |
So on android 7.1.1 you created a restricted account and on the main account adguard vpn still started? |
It's incredibly difficult to reproduce this bug since not all devices have the ability to create a This issue is reproducable at This issue is related to an attempt to exclude whitelisted applications from filtering. If the device has a restricted account android blocks this ability for apps without ConnectivityManager tries to create ParcelFileDescriptor using VPN. If I was wondering how does TunnelBear managing this issue without The problem with completely rejecting whitelist is that AdGuard must be excluded from VPN by itself to work correctly, therefore this solution was rejected. Possible troubleshooting options are as follows:
All this options will be provided to users if we detect restricted accounts in VPN filtering mode. |
If you have a device that lets you have multiple users and one of the users is a Restrictive user then you get this error
Error while building the TUN interface
java.lang.SecurityException: getPackageUid: Neither user 10515 nor current process has android.permission.INTERACT_ACROSS_USERS.
Now i have other vpns not installed from play stor that do work but i have figured out another solution
I added this
<uses-permission
android:name="android.permission.INTERACT_ACROSS_USERS"
To the android manifest and rebuilt the app then used this command in adb
adb shell pm grant com.adguard.android android.permission.INTERACT_ACROSS_USERS
And now it works
(No root android 9 Samsung oneui 1.5)
Please put in this fix
Thanks
The text was updated successfully, but these errors were encountered: