can't enable "always on" VPN for OpenVPN in EMUI (but works for other vendors UIs) - Huawei MediaPad M5 Questions & Answers

can't enable "always on" VPN for OpenVPN in EMUI (but works for other vendors UIs)
In Android 8, 3rd party VPN apps can use the new APIs to show up in Androids VPN list and also offer settings like "always on VPN".
I'm using "OpenVPN for Android". On my LG phone with Android 8 it shows up in that list just as a native VPN and I can edit it by clicking the gear icon on that entry in the list. There I can enable the "always on" feature.
But in EMUI, in that same VPN list, the gear icon is only shown for native VPNs. For my OpenVPN entry, theres an arrow icon instead. By clicking, it enters the OpenVPN app instead of showing an Android settings screen. Inside the OpenVPN app I can't do that system setting for "always on", I think that an app cannot set this setting, it must be done by the user in the Androidsettings.
Am I too stupid or did Huawei implemented the settings screens so strange that it is just not possible to access the needed screen?
Are there apps that let you change Android settings instead of using the proprietary setting pages from LG, Huawei, etc?

WieselDroid said:
Are there apps that let you change Android settings instead of using the proprietary setting pages from LG, Huawei, etc?
Click to expand...
Click to collapse
You can use Nova Launcher, as shown here:
https://forum.xda-developers.com/hu...isable-displaying-apps-huawei-emui-8-t3795342
You could also try installing Settings Database Editor which allows you to manually alter the settings database.

thref23 said:
You can use Nova Launcher, as shown here:
https://forum.xda-developers.com/hu...isable-displaying-apps-huawei-emui-8-t3795342
You could also try installing Settings Database Editor which allows you to manually alter the settings database.
Click to expand...
Click to collapse
Nova Launcher is just for Homescreen (I'm already using it across all devices) but the Settings keep proprietary (or do I miss some settings of Nova?)
But thank you for the hint to Settings Database Editor, I was able to copy the 2 necessary lines from my LG phone.
For anyone interested in this, the settings are in "Secure Table":
"always_on_vpn_app" -> "de.blinkt.openvpn" (adjust if using another client)
"always_on_vpn_lockdown" -> "1"
But it only takes effect after a reboot. It doesn't matter much for me but what would I need to do after adding those system settings to apply the change? Is there some process to restart or a way to reload the config?

Related

"Settings -> Apps -> Compatibility Mode" missing?

The Galaxy Tab, as well as CM7 on the Nook Color, feature a Compatibility Mode setting in Settings -> Applications. When disabled, apps designed for a smaller screen on old SDK versions are forced to scale up to the size of the tablet.
This option seems to be missing on the Flyer. Anyone know how to enable/disable it?
The option isn't within the Android settings, you need to download Spare Parts from the Android Market and uncheck the box there and then restart the Flyer. Does not work will all app (speedtest.net will not stretch for me).
Oh, thanks. I thought it was in Settings -> Apps for some reason.

Application Privacy Setting Menu

I installed a new ROM (neutrino 2.5), I noticed now when I install an application now, at the top it gives me a notification, "tab here to configure privacy settings" (not verbatim). So I can go into an individual app and modify the settings. This is all fine and dandy but I have no idea how to get back to this menu once I modify the settings. Its a rom based on CM7 and I looked all over in the menus to find out where I can go back into the application and change the privacy settings, after I configured them on the initial install from the notification link. I locked some apps down too much and now they don't function properly.
Go to your apps and open pdroid

Access vendor-specific 'screen lock settings' from app

Hey everyone,
we are developing an app and at one step it should open the settings for the screen lock. Normally this is located in the security settings (Settings.ACTION_SECURITY_SETTINGS), but some vendors like LG and I believe Samsung have additional 'screen lock settings' (see screenshot). Is it possible to access them from an app? Or would you need a vendor-specific SDK for that?
http://abload.de/image.php?img=screen_lock_settingsf7pzu.png
Thanks!

Homescreen shortcut to enable/disable mock location app

I want to be able to select a mock location app briefly for testing and then turn it off again when not needed. Going into developer options and selecting the mock location app is quite a process when it has to be repeated often so would really like a way to be able to do that as a single click from the homescreen or nav bar.
The problem though is that the mock location app needs to be selected when enabling the option so not sure if there is any mechanism that would be able to do this as a shortcut.
Does anyone know of a way to do this or if there are any shortcut/widget apps that would be able to create a shortcut for this?
I'm running Android 9 (Havoc 2 treble ROM)

Redmi Note 9 Pro Global : Android System Message regarding App Overlay

Dear Community,
I have an issue with my Redmi Note 9 Pro Global Joyeuse with FW QJZMIXM 12.0.1 stable: I use an App named "Orientation Control" which overlays apps to force the screen orientation per my needs ( landscape or portraint or whatever ). Overlay is the method to do so, so its the app's scope to do exactly this. The Android System now generates a permanent Message / Notification saying: "App Orientation Control is overlaying other apps. " Unfortunately there is currently no way to disable this message in the Android System settings, the option is unavailable respectively not clickable.
Does anybody know another method / way to disable this message? Maybe ADB / modification of a file or anything else?
Device: Unrooted, Stock FW
Thx fir any feedback
You may be able to disable the notification from system settings.
Should be able to find, and disable, the notification from Settings->apps->manage apps
Look for "Android System" in the app list and check the notification settings for the one you want to disable.
If you don't see "Android System" in the app list then you need to enable the show all apps option from the 3dot menu in the top right hand corner of the screen.
sir_bazz said:
You may be able to disable the notification from system settings...
Click to expand...
Click to collapse
Hi sir_bazz, thx for your reply, but as already said, this is not possible to deactivate the notification via the "Android System" app settings.
dc_01 said:
Hi sir_bazz, thx for your reply, but as already said, this is not possible to deactivate the notification via the "Android System" app settings.
Click to expand...
Click to collapse
Do you see a list of all the different notification channels at the bottom of that page?
You should also see the active system notifications, like this one.
yes i do see this, and it is not possible to disable. Already tried all these settings. My screenshot is from the active notification of the app Orientation Control. And this butten cannot be deactivated. This is the reason why i asked for another option such as an ADB command which e.g. allows disabling the neotification or setting the timer to a greater value than only 2 hours.

Categories

Resources