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?
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.