Privacy Guard allows everything by default. How to disallow? - LineageOS Questions & Answers

Hello,
I do not quite understand how Android permissions work.
When I install any app it says that "app does not require special permissions", however after installation I go to Settings - Privacy - Privacy Guard - select that app, and see that app wants to read my contacts, read my SMS messages, start at boot, and turn on Wi-Fi! And all these permissions are allowed by default!
Why these permissions are not displayed when I install the app, and why these permissions are enabled by default?
Is it possible to disable absolutely all permissions (or "Always ask") by default? I haven't found anything like this in Privacy Guard settings.
I use LineageOS 14.1 on Samsung S5 "kltesprsports" if that matters.

I found one similar thread https://forum.xda-developers.com/nexus-5x/general/guide-improve-fix-privacy-guard-lineage-t3739136
Seems that it was done intentionally "in attempts to clean it up".
What really shocks me is
Until an app actually uses a feature it will not appear in the privacy guard unless it has been specifically declared. This also means by the time it appears in the privacy guard, it's already accessed your information.
Click to expand...
Click to collapse
Is it possible to disallow all permissions for all apps by default? Or do I have to run the script provided in that thread for every new app I install?

vrobo said:
I found one similar thread https://forum.xda-developers.com/nexus-5x/general/guide-improve-fix-privacy-guard-lineage-t3739136
Seems that it was done intentionally "in attempts to clean it up".
What really shocks me is
Is it possible to disallow all permissions for all apps by default? Or do I have to run the script provided in that thread for every new app I install?
Click to expand...
Click to collapse
Setting 'Enabled by default' from the overflow menu on screen 1 of PG settings should auto-set those permissions to "Ask'.

D4ND310 said:
Setting 'Enabled by default' from the overflow menu on screen 1 of PG settings should auto-set those permissions to "Ask'.
Click to expand...
Click to collapse
It does not.

D4ND310 said:
Setting 'Enabled by default' from the overflow menu on screen 1 of PG settings should auto-set those permissions to "Ask'.
Click to expand...
Click to collapse
yes, it does not. I would like to set by default all permissions to ask in privacy guard.

envieme said:
yes, it does not. I would like to set by default all permissions to ask in privacy guard.
Click to expand...
Click to collapse
unfortunately, it's impossible.
I found out that the Privacy Guard is owned by Google for several years already (i.e. moved from Cyanogenmod to vanilla Android) that's why it has such behavior.

Related

NFC turn on/off app

Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
Airplane Mode
can u recommend an app for this?
thanks
x102x96x said:
Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
Airplane Mode
can u recommend an app for this?
thanks
Click to expand...
Click to collapse
The reason you don't see these is that the Android team moved the NFC enable/disable setting into the secure settings in 2.3.5. Prior to then there were a few NFC toggle widgets on the market. Now those apps would need WRITE_SECURE_SETTINGS (so you're looking at only devices with root access willing to make your app a system app or JB+ devices where you can request it from the package manager with root access).
krohnjw said:
The reason you don't see these is that the Android team moved the NFC enable/disable setting into the secure settings in 2.3.5. Prior to then there were a few NFC toggle widgets on the market. Now those apps would need WRITE_SECURE_SETTINGS (so you're looking at only devices with root access willing to make your app a system app or JB+ devices where you can request it from the package manager with root access).
Click to expand...
Click to collapse
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
x102x96x said:
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
Click to expand...
Click to collapse
I don't think that there's a solution for automatic NFC turm om. What is more, it's not really safe.
x102x96x said:
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
Click to expand...
Click to collapse
I don't auto-turn on NFC. You can create an app that does this if you just have it request WRITE_SECURE_SETTINGS and then either use root to grant that permission via the package manager or copy/move it to /system/app
krohnjw said:
I don't auto-turn on NFC. You can create an app that does this if you just have it request WRITE_SECURE_SETTINGS and then either use root to grant that permission via the package manager or copy/move it to /system/app
Click to expand...
Click to collapse
one more question;
What will happen exactly when select keep on NFC on "NFC Task Launcher" ?
it needs root access Or what happen after asking to reboot phone?
thanks
x102x96x said:
Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
can u recommend an app for this?
thanks
Click to expand...
Click to collapse
System settings --> more --> nfc [check/uncheck]
Or..
system settings --> system --> quick settings panel --> tiles and layout --> add --> nfc, then its on your quick settings panel.
I too would like to see a way of turning the NFC on and off without the manual prompt - like you can with bluetooth.
It appears that you cant do this because its "unsafe" and because of this reason they've also made NFC not work while the screen is off although some crafty people have realized this kind of defeats the purpose of having NFC and for some phones they've enabled NFC to work with lock screen closed (see link)
http://www.xda-developers.com/android/activate-nfc-at-any-time/
I can kind of see how its unsafe to be able to turn it on without acknowledgement - but if you could setup a rule that required Root access then this should be a reasonable stop gap? You would then be able to setup a rule in say "automateit" for example so that the NFC turns on and off during certain times or after certain rules are activated or stopped - this would then kind of make safe because you can turn the NFC off and know for sure its off after certain events have occurred.
I know this is a very debatable subject but I think its a good subject to debate.
I use shortcutter app from play store. Although you have to grant the relevant permission via adb.

Permission problem- Can't tap allow

I have got this weird problem with the Nexus 5x. When I install a new app it asks for permissions and I can't tap allow but I can tap deny. It is not a problem with the touch since I have tried in landscape and portrait mode. Everytime I have to manually go to settings and allow permission(from settings) for each app I install. I'm running marshmallow with June security patch. Very irritating. Any fix?
For me (Nexus 5) it started right after I installed android 6.0 June patch. For the moment can't find any workarounds only manually opening app settings and allowing permission
jassim007 said:
I have got this weird problem with the Nexus 5x. When I install a new app it asks for permissions and I can't tap allow but I can tap deny. It is not a problem with the touch since I have tried in landscape and portrait mode. Everytime I have to manually go to settings and allow permission(from settings) for each app I install. I'm running marshmallow with June security patch. Very irritating. Any fix?
Click to expand...
Click to collapse
do you use any app that works via overlays? for example an app that dyes your screen in the evening/at night?
such an app, to my knowledge, would trigger a security feature of android that would prevent the user from accepting, say, installation confirmation.
Broken303 said:
do you use any app that works via overlays? for example an app that dyes your screen in the evening/at night?
such an app, to my knowledge, would trigger a security feature of android that would prevent the user from accepting, say, installation confirmation.
Click to expand...
Click to collapse
Nope. I haven't used any app like that on this devwce till now. (Eg.screen filter)
EDIT: Thanks for your keyword (screen overlay)!. It is a problem called 'screen overlay' which is a common issue in marshmallow. These links gave me the solution.
https://www.youtube.com/watch?v=EBhcuP1xwrs
https://www.youtube.com/watch?v=S0S1znycHFM
I am having this same problem since latest update, its really annoying i can hit deny but not allow! How do we fix this crap! My stock phone isnt working right whats up with that?
Other kinds of overlay can be the "chat bubbles" from Facebook Messenger or Flynx tabs.
---------- Post added at 04:11 AM ---------- Previous post was at 03:43 AM ----------
Just checked the Google Nexus forum and they say that there's an app called "File Manager" from Cheetah Mobile that it's causing this issue. Check if this is what's happening to you too and remove that app.
Link https://productforums.google.com/forum/#!msg/nexus/pOwnLOlPPaU/a3zVV1QxAwAJ
lbalmaceda said:
Other kinds of overlay can be the "chat bubbles" from Facebook Messenger or Flynx tabs.
Click to expand...
Click to collapse
For me it's Lux, which also uses overlays. I have to pause it every time for things like this.
I had the same problem yesterday. As far as I know, I don't use any app that can cause the "screen overlay" problem, anyway it seems that clearing cache and dalvik solved the problem for me, at least for now..
EDIT: never mind, problem reappeared. I had to switch off all the apps in the "draw on other apps" menu..
EDIT 2: found the culprit: gravity screen.
Mine is velis auto brightness i believe
In my case it was the File Manager extension. Go to settings -> search for "draw over other apps" -> disable it for File Manager.
Potentially it is any app the draws over app. Just go into app permissions and write down every non google app that asks for draw over other app permission. Then disable all of them to see if the problem goes away. Then reenable one by one until the problem comes back.
In MTC19Z they no longer have the Allow permission that can't be tapped. Instead they have a warning that it won't continue until you disable the app that is drawing over screen (but they don't tell you which app that is). It is slightly less confusing, but equally annoying to have to figure out which app that is, then to turn off the offending app each time, then re-enable it.
Facebook Messenger bubbles are overlay
I don't think it's overlay
If it was an overlay it would be over the whole screen, but I can actually press the "Deny" button.
Anyway I disabled Twilight, the only app I have with overlay - no results
BTW, if your Nexus rolled off of it's 18 months support - it's time to install a custom ROM before the planned obsolescence machine kicked in
dmt0 said:
If it was an overlay it would be over the whole screen, but I can actually press the "Deny" button.
Anyway I disabled Twilight, the only app I have with overlay - no results
BTW, if your Nexus rolled off of it's 18 months support - it's time to install a custom ROM before the planned obsolescence machine kicked in
Click to expand...
Click to collapse
What you describe is exactly the behavior with overlay after june update. I don't think it is the overlay per se, but a bug in the warning mechanism blocking your button.
In july update they changed to a promot that links you to the overlay permission page.
i am also having the same problem..using honor 8...can't click on allow permission..

eu 8.12.13 - Lockscreen notifications

9.1.3 seems to pretty flawless so far. But there is one issue. Most apps don't get lock-screen notifications. Does anybody else have this issue too?
You can test this with the open source app (no ads) Radiodroid2. It is not possible to get a lock-screen notification for that app, despite tweaking all kind of settings. But it works fine on Nokia, Motorola, Nexus, Pixel devices for example.
---
Just to make sure this is not a config issue ... I wiped my device and reinstalled everything:
- Reset to China beta 8.12.27
- Flashed TWRP
- Wiped data, dalvik, and cache
- Flashed eu 9.1.3
- Flashed Magisk
check advanced setting in lock screen settings for on lock screen setting and notification settings per app like screenshot.
AOWL said:
check advanced setting in lock screen settings for on lock screen setting and notification settings per app like screenshot.
Click to expand...
Click to collapse
Thank you. I actually had tried that, but it only works for some applications (the minority unfortunately).
Could you please try the app RadioDroid 2?
https://play.google.com/store/apps/details?id=net.programmierecke.radiodroid2&hl=en_US
(It is an open source radio app without ads ....)
I should be able to pause music on the lockscreen (like on all the other phones before), but I am not able to figure it out.
I hope you can do it.
Youre right. You have to go to the app's notification settings, then disable and again enable "Show notifications"... Every Time when you start the app..
Mikromama said:
Youre right. You have to go to the app's notification settings, then disable and again enable "Show notifications"... Every Time when you start the app..
Click to expand...
Click to collapse
Thanks for confirming this bug!

Question App permissions

I have a feeling that some apps seem to keep getting permissions revoked or so. For example, I have permanent notifications allowed and enabled for my weather app (the weather channel), but when I close the app the system seems to revoke the permissions and it closes the temp. text and the notification. I also use an app for double tap to wake, I enable all the permissions to make it work permanently and in the background, but when I close the app it also seems to revoke the permissions and asks me to enable it each time I re-open the app. Anyone knows how to fix this? I have the miui 12.5.1 global stable for poco.
costa049 said:
I have a feeling that some apps seem to keep getting permissions revoked or so. For example, I have permanent notifications allowed and enabled for my weather app (the weather channel), but when I close the app the system seems to revoke the permissions and it closes the temp. text and the notification. I also use an app for double tap to wake, I enable all the permissions to make it work permanently and in the background, but when I close the app it also seems to revoke the permissions and asks me to enable it each time I re-open the app. Anyone knows how to fix this? I have the miui 12.5.1 global stable for poco.
Click to expand...
Click to collapse
It might be caused by an aggressive Powermanagement. Try to deactivate energysaving for the double-tap-to-wakeup-app.
WaLLy7557 said:
It might be caused by an aggressive Powermanagement. Try to deactivate energysaving for the double-tap-to-wakeup-app.
Click to expand...
Click to collapse
I'll try that, thanks. Also, I've already received miui 12.5 stable, but only with April security patch, whereas supposedly it got released with May security patch. Should I be worried?
Permanent notifications still not working, even after disabling power savings under battery and performance. The apps get suspended and stop running in the background and the notifications disappear when I close the apps
Backup your data and factory reset.
Don't disable MIUI optimization.
pl1992aw said:
Don't disable MIUI optimization.
Click to expand...
Click to collapse
+1, disabling it usually ****s with permission.

Question This phone would be perfect if it wasn't for the crappy AOD and battery optimization

The always on display only shows a notification for one app, even though I have 4 others checked in the AOD settings. And the battery optimization is preventing notifications for at least 5 of my apps even though I changed the battery settings and also used ADB to get rid of com.vivo.pem and other stuff that supposedly caused this.
Anyone have any solutions to these? I have the global version
My notifications work well.
Settings -battery-power consumption - unresctrict them
Also info the individual apps and remove the battery optimization.
Hope that helps.
TS, did the advise work for you ???
You dont need to get rid of any of these apps:
I am using Origin OS and this is how the notification works:
Setting -> Apps & Permissions -> Permission Management -> Permission -> Choose Permission i.e. Autostart (needed for whatsapp/gmail/insta etc) go thru list and select apps -> follow with "Display on lock screen" and so on.
Worked like a charm here for me.
jiggyho said:
My notifications work well.
Settings -battery-power consumption - unresctrict them
Also info the individual apps and remove the battery optimization.
Hope that helps.
Click to expand...
Click to collapse
hello what sense? Can you explain better? exactly where should I go? make a video

Categories

Resources