this post was submitted on 23 Apr 2024
1091 points (98.0% liked)

Android

27993 readers
147 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 1 year ago
MODERATORS
 

Since a few folks seem unaware of this, I'm posting anew for visibility.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 7 months ago (4 children)

How are you restricting internet access for it?

[–] [email protected] 10 points 7 months ago

Adguard can firewall it. Now I'll wait for somebody to reply to me saying how horrible adguard is for privacy haha

[–] [email protected] 6 points 7 months ago

https://github.com/M66B/NetGuard

The only caveat is that it's setting itself up as a local VPN for the block/allow list, so you can't use it in parallel with an actual VPN. My workaround is to have my actual VPN installed directly on the router both at home and at work, which covers 98% of my use cases.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (2 children)

Check out TrackerControl on the F-Droid app store. It lets you block Internet access to individual apps and selectively block trackers and other analytics. It does this by acting as a VPN in the android OS so it won't work while on another VPN but that's good enough for my needs.

https://trackercontrol.org/

[–] [email protected] 4 points 7 months ago

+1 for Tracker Control, though I will say updates are pretty slow. I've noticed a few things making it through every now and again.

[–] [email protected] 1 points 7 months ago

this approach may leak data, don't blindly trust it

[–] [email protected] 4 points 7 months ago

Ok so I just started digging for alternatives, thanks to your question.

I had previously simply deactivated network access for Nova (Settings -> Apps -> App Management -> Select Nova -> Data Usage -> Disable Mobile Data, Disable Wi-Fi, and flick the switch for Background Data for good measure.

Now, that will result in a toast on the main screen every time you unlock the phone "Data for Nova7 is disabled, you can activate it in the settings". This might however be a OnePlus specific error, since searching for it only gives me a result in their product forum.

Nevertheless, I dug around with LogCat Reader and found that the message is displayed by com.android.systemui. Not really surprising, but I wasn't sure which exact system resource is responsible. So then I went ahead with AppOps and set the "Display Toast" permission to "Ignore", and voila.

Caveats:

  1. You need root to use AppOps
  2. You won't get any toast now (I don't actually remember seeing any useful ones in over a decade, but there might be something out there)