I just discovered this and it works fantastically on any old / unused android device you might have lying around, I was shocked at how easy it was, all the instructions are there, once you have it running all you need to do is set your router DNS settings to your pihole IP address and presto! Ads and trackers are gone!

https://github.com/DesktopECHO/Pi-hole-for-Android

  • vext01@lemmy.sdf.org
    link
    fedilink
    arrow-up
    89
    arrow-down
    3
    ·
    1 year ago

    Take the battery out if you can to avoid lithium fires.

    Old batteries on constant charge… I worry about this kind of thing.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      1
      ·
      1 year ago

      This is where fair phone and framework laptops shine. So easy to take the batteries out.

      • El Barto@lemmy.world
        link
        fedilink
        arrow-up
        30
        ·
        1 year ago

        Not to take away from what you’re saying but old phones and laptops are very likely to have easily replaceable batteries as well.

      • eco_game@discuss.tchncs.de
        link
        fedilink
        arrow-up
        31
        ·
        1 year ago

        Most mobile devices won’t work without batteries. The best way to work around this is to supply it with 4.2V (anything between 3V and 4.2V will do) over the battery connector.

        • chrizbie@lemmy.nzOP
          link
          fedilink
          arrow-up
          12
          arrow-down
          1
          ·
          1 year ago

          I think I might have broken something, even when I clip the battery back in I get nothing 😟

          • eco_game@discuss.tchncs.de
            link
            fedilink
            arrow-up
            20
            ·
            1 year ago

            This could be a long shot but if it’s a Samsung Galaxy Tab S, the battery connector solder joints kinda die after a while, which can either be fixed by reflowing them or by applying pressure (I have a tablet with that issue). You could try pressing on the battery connector and see if it works then.

    • Mr_Blott@feddit.uk
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      I have an old Nexus running as a weather station. I just bought a WiFi controlled plug for the power supply so it switches on and off continuously

    • Srootus@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      Is there any modern day android phones that work without the battery. I feel like they’d probably run POST checks to make sure there’s a battery inside. Maybe fairphoness?

      • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        1 year ago

        The FP3 requires a battery at least. Ironically the device will actually still turn on and be usable if you removed ALL the modules besides the display module 😅 and of course the mandatory battery

  • Madex@lemm.ee
    link
    fedilink
    arrow-up
    40
    arrow-down
    8
    ·
    1 year ago

    Good concept but the WiFi latency and the processing speed would I’m sure slow down your browsing experience.

    Cool though!

    • herrvogel@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      1 year ago

      Running a pi-hole doesn’t require much juice. It’s a fancy DNS server, not a router. First gen raspberry pis were pretty weak and even those things didn’t even break a sweat.

      • Madex@lemm.ee
        link
        fedilink
        arrow-up
        8
        arrow-down
        21
        ·
        1 year ago

        Another person who doesn’t know what they are talking about

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

            You try browsing with 50ms average pin to a dns server where a website loads thousands of objects :(

    • 🗑️😸@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Oh for sure. I think this is for a very niche user base: People who know about PiHole but don’t have a pi/linux box but do have an old Android phone. It’s definitely a strange but cool project.

    • chrizbie@lemmy.nzOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      I haven’t seen any notable issues yet, a lot of people use a wireless pi zero to do the same thing so as long as you aren’t running a state of the art gaming rig (which i’m not) I think it’ll be fine

      • Boxtifer@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Your client hardware wouldn’t matter tho. State of the art or whatnot of a gaming rig would be fairly low. In sure most modern mobile phones create more DNS requests these days compared to a Windows machine and steam. It’s the configured software on the hosts that will dictate how much traffic your devices will get. A lot also cache by listening to the TTL. There will be some form of additional latency but your average Joe won’t probably notice.

    • TrustingZebra@lemmy.one
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      1 year ago

      I’m not sure about that. The average consumer router is fairly underpowered but is still capable of handling the needs of most home networks.

  • MatFi@lemmy.thias.xyz
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    On should have a look on the energy saving behavior of the device, as android tends to shutdown processes occasionally. Which is pretty bad for a DNS server IMHO

    • chrizbie@lemmy.nzOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Yeah I’ll keep an eye on it and see how it goes, should be alright though I turned the battery optimization off

  • chrizbie@lemmy.nzOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Quick update, I’m a little disappointed that a borked my tablet but it is working very nicely on a newer device

  • feecoomeeq@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    11
    ·
    1 year ago

    Nah, just install Blokada from fDroid. And use that old smartPhone for maybe an AlfredCamera surveillance. But the noBattery mod is useful anyway.

    • chrizbie@lemmy.nzOP
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      1 year ago

      I hear you, but I’m pretty happy with how this is working out, the advantage here is that it blocks ads and trackers for the whole network so it works on my wife’s devices without her having to do anything (which she wouldn’t anyway)