Script to block chosen Android apps from accessing the internet

A proper app sounds great, although I haven’t used OpenRepos before, so I don’t know when I’ll get around to trying it… Just a few thoughts from briefly looking at the source code:

  • I don’t have “/home/.android/data/data/" on my phone, just “/home/.appsupport/instance/defaultuser/data/data/“. On what device/version does the former folder appear? And can both folders appear on the same device? (So I can update my script.)
  • You don’t seem to filter the apps from that folder, so I assume your app displays all the built-in Jolla ‘helper’ apps that are part of SfOS, which the user doesn’t normally see or need to know about??
  • I see you just restart ConnMan (which is a bit slow), rather than directly update iptables. I suppose that’s the safest way, and arguably you don’t need to do anything else, but hopefully later you might implement the much faster method I use…
  • The source code has many more files than I’d naively expect, which makes it hard to check the safety of it!

Also, why does the installer’s name begin with “harbour”? Do you plan to submit the app to Jolla’s official app store? (Harbour?) (Do they usually allow apps that need root access?)

Do you plan to submit the app to Chum? (I read they compile the apps themselves(?), and so it’s presumably a little more trustworthy source for apps?)