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?

  • cozycosmic@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    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.

  • THB@lemmy.ml
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    DuckDuckGo comes with app tracker blocking as another option

    • illi@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

  • railsdev@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

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

      • railsdev@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        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.

        • nave@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

          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.

  • Anamana@feddit.de
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I use warden for it, don’t know if it works, but it feels like it does lol