• @[email protected]
    link
    fedilink
    English
    265 months ago

    FYI: There’s also AnLinux, Linux Deploy, Termux, tainer, UserLAnd, …

    Some of them aren’t maintained anymore. And they don’t necessarily have hardware-acceleration. But don’t all require root and system patches.

    • Possibly linux
      link
      fedilink
      English
      135 months ago

      Termux works fine get it from F-droid only

      I’m not sure why you would need a GUI on a GUI phone

      • mad_asshatter
        link
        English
        45 months ago

        I’m not sure why you would need a GUI on a GUI phone

        Because it’s there.

  • NaibofTabr
    link
    fedilink
    English
    85 months ago

    Hmm… I wonder if I could run pihole in an onboard container and force all my local device traffic through it…

      • LiveLM
        link
        fedilink
        English
        6
        edit-2
        5 months ago

        You can probably already do this on Termux, since PiHole doesn’t need graphical acceleration.
        Might have to create a proper Chroot though, dunno if their Proot tools would have enough privileges for this use case.

        • NaibofTabr
          link
          fedilink
          English
          2
          edit-2
          5 months ago

          I think the tricky part is getting a virtual network interface from pihole that can be properly configured in the Android Settings > Connection & sharing > Private DNS > Specified DNS.

          For this to work on the mobile device, you don’t want pihole to make itself accessible on the external network interface, but rather an internal (virtual) interface that Android sees as a valid DNS server so that it can be permanently configured (otherwise you would have to reset the private DNS IP address every time you connected to a new WiFi network, and it would be tricky to get it working on the cell network at all).

          I’m not sure if this is possible without running a more complete virtual machine that creates a virtual network adapter. Maybe a VPN app could be abused to redirect Android’s outbound DNS requests to localhost?

    • Possibly linux
      link
      fedilink
      English
      25 months ago

      You could use Termux for this. However, you won’t be able to use containers. You would need to either build it from sources or run it in proot. I also think the DNS settings in Android are limited so you may have trouble getting it to work. You would need pihole to listen on a random available port and then somehow get android to send DNS to that port. So it probably wouldn’t work.

      However, your welcome to try just make sure you use the F-droid version of Termux.