I use Apk Editor Pro for Android to remove trackers. This application works with a Manifest file, but trackers are not always located in this file. I don’t know what other files may contain trackers, how can I edit them and compile the application on my phone.
Perhaps you have some ideas?
At my previous company we edited apks to add performance trackers. We modified the dex code directly. It was not easy, but it is possible. Some apps are obfuscated, which makes finding libraries hard. But a principal we used was to look for where the app called into the system code, especially around URL requests. So you could look for all calls to the system network libraries, and identify which ones were calls to tracker systems, and no-op those bytes.
But, it’s probably much easier to just use the adguard dns server.
DuckDuckGo comes with app tracker blocking as another option
It’s nice, but sometimes it just seems to break down my connection and need to turn it off an on again if I suddenly am nit able to loap up anything.
I’ve never tried removing trackers, but I do run the TrackerControl app (from fdroid) to track and block them.
Which one is the correct one? There are two different versions on f-droid and the only difference between them is the publisher/creator
The one with the version number that ends in ‘fdroid’ is the one linked to on trackercontrol.org
Ah ok. Thanks. Unfortunately it conflicts with netguard but thank you for telling me about the app
Good app. However, on non-rooted devices the use is a bit problematic. Need to select or activate a firewall or activate Vpn.
I don’t use Android but I use a DNS server to block ad/tracking domains completely.
It’s probably not as “clean” as editing APKs directly but it does the job and it does it well across all apps and websites. As a bonus, it’s TLS DNS so it prevents eavesdropping (at least at the DNS level).
I use DNS ad/tracker blocking on android.
I use either libredns or MullvadDNS
Honestly I run my own DNS server that’s configured to combine a shit ton of block lists.
But lately I’ve been sending all my traffic via WireGuard to a VPS where I have a subnet for peers to communicate on as well as a WireGuard tunnel for my multi-hop consumer VPN. It’s nice because my DNS server there caches everything from the VPN tunnel so that it’s a lot smoother.
What can you say about the service nextdns.io?
I don’t use an Android but my experience with NextDNS in iOS is pretty great. It’s very easy to use and has very low latency.
I use warden for it, don’t know if it works, but it feels like it does lol