Skip to content
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

Blocking trackers in apps #206

Closed
molitona opened this issue Dec 29, 2020 · 9 comments
Closed

Blocking trackers in apps #206

molitona opened this issue Dec 29, 2020 · 9 comments
Labels
Documentation Improvements or additions to documentation Help Wanted Extra attention is needed

Comments

@molitona
Copy link

Hi everyone, first, thank you for the amazing app. Then after that, I wanna know what does the App Manager technically do when It blocks a tracker in an app ?
And does It work with all apps (because, I have tested many apps like Warden to no avail).
The functionality that I'm talking about is in "1-Click Ops" --> "Block/Unblock trackers".
Please, I wanna a detailed explanation of what It is done if you don't mind. Thanks.

@molitona molitona added the Help Wanted Extra attention is needed label Dec 29, 2020
@MuntashirAkon
Copy link
Owner

I wanna know what does the App Manager technically do when It blocks a tracker in an app ?

First you have to know what the term tracker means in AM. As stated in the FAQ, AM blocks tracker components, not tracker classes (that you see in the scanner page). So, when you see 20 trackers in the App Info page, it means that there are 20 tracker components and at least 20 tracker classes in the app. They don't specify the actual number of trackers that you see in the scanner page.

Tracker components are blocked like any other app components using Intent Firewall (see related FAQ and this difference).

And does It work with all apps (because, I have tested many apps like Warden to no avail).

If you followed the links, you'd know why Intent Firewall (IFW) is far more superior to the traditional pm disable method that apps like Warden are using. But even IFW has limitations: It works with all user apps but may not work with all system apps. Here are the few reasons as to why IFW might fail:

  • The app in question is whitelisted by the system such as Android System, System UI, Phone Services. This whitelist consists of critical apps that are required in order to function properly. They will run even if you disable them or block their components.
  • Another system app or system process is calling the specific component of the app in question via interprocess communication (IPC) in which case the component will be activated regardless of its presence in the IFW rules or even if the entire app is disabled (see Disabled System App Still Running #105). If you have such system apps, the only way is to get rid of them. I'm working on a feature to get rid of such apps systemless-ly (Systemless features #150).

@molitona
Copy link
Author

molitona commented Dec 30, 2020

Ok fine, as I understand the number shown when I click "1-Click Ops --> Block trackers" is the number of tracking components in each app.

Please, if you can confirm those :

1- In the picture below of Ampere app there are 2 tracker/ads, the first is implemented in 5 classes, the second in 71 classes, is that right ?

dc3f0ed7-9d17-4252-95f7-2272e67817f1

2- In 1-Click ops, I don't see Ampere app even if It contains 2 trackers, why ? (Is that because they are all tracker classes so they cannot be blocked, They can only be removed by editing the app itself as you mentioned in the docs ?)
3- And the number between () Is it of tracking components ?

25797157-4b7d-4faa-82fb-71c7cc561e6a

4- What's the difference between Block trackers below button (seen in all components) and 1-Click ops - Block trackers

71c2fe41-8c74-4685-a67c-ac34382bd705

Thanks

@MuntashirAkon
Copy link
Owner

In the picture below of Ampere app there are 2 tracker/ads, the first is implemented in 5 classes, the second in 71 classes, is that right ?

Yes.

Is that because they are all tracker classes so they cannot be blocked, They can only be removed by editing the app itself as you mentioned in the docs ?

Yes, you are correct.

And the number between () Is it of tracking components ?

Yes.

What's the difference between Block trackers below button (seen in all components) and 1-Click ops - Block trackers

None. The former is for individual apps and the latter is for all apps.

@molitona
Copy link
Author

molitona commented Dec 31, 2020

None. The former is for individual apps and the latter is for all apps.

So, as I understand block trackers button in services component only block services trackers, and the same for the other 3 components (activities, receivers, providers), in contrast to 1-Click ops which block them 4 in the same time.
Is that right ?

@MuntashirAkon
Copy link
Owner

MuntashirAkon commented Dec 31, 2020

block trackers button in services component only block services trackers, and the same for the other 3 components (activities, receivers, providers), in contrast to 1-Click ops which block them 4 in the same time.
Is that right ?

No, the four tabs are jointly known as the component tabs, and block trackers and sorting options are applicable for all of them. So, if you choose to block trackers in one tab, the blocking will be applied for all types of app components.

@MuntashirAkon MuntashirAkon added the Documentation Improvements or additions to documentation label Dec 31, 2020
@molitona
Copy link
Author

I understand, thanks 💯

@MuntashirAkon
Copy link
Owner

Thanks for asking the questions. I'll be closing the issue after I add some improvements to the docs.

@molitona
Copy link
Author

I always want to understand how things go, not only using them, all thanks to you :))

@MuntashirAkon
Copy link
Owner

Closed via 9912a85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants