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

  • @[email protected]
    link
    fedilink
    8810 months ago

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

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

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

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

      • El Barto
        link
        fedilink
        3210 months 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.

    • chrizbieOP
      link
      1810 months ago

      I removed the battery but now I can’t get the fucker to turn on lol

      • @[email protected]
        link
        fedilink
        3110 months 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.

        • chrizbieOP
          link
          1210 months ago

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

          • @[email protected]
            link
            fedilink
            2110 months 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.

    • @[email protected]
      link
      fedilink
      910 months 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

      • chrizbieOP
        link
        510 months ago

        Can I ask what kind of setup you have there? In terms of software etc…

        • @[email protected]
          link
          fedilink
          410 months ago

          It’s just a screen that shows me the weather forecast tbh. It’s a paid app called whatweatherpro

      • @sylverstream
        link
        410 months ago

        Thanks for the tip. Got a tablet running HA and thus plugged in 24/7. Just ordered a smart plug to schedule the charging.

        • StandingCat
          link
          fedilink
          2
          edit-2
          10 months ago

          Home assistant runs on old tablets now? Or are you saying as a dashboard?

    • chrizbieOP
      link
      710 months ago

      Good point, I’ll have to look into that

        • chrizbieOP
          link
          510 months ago

          Got it up and running now! Thanks mate

        • chrizbieOP
          link
          210 months ago

          deleted by creator

        • chrizbieOP
          link
          2
          edit-2
          10 months ago

          deleted by creator

    • @[email protected]
      link
      fedilink
      English
      510 months 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?

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        -110 months 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

  • @[email protected]
    link
    fedilink
    3210 months ago

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

    Cool though!

    • @[email protected]
      link
      fedilink
      1310 months 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.

    • 🗑️😸
      link
      fedilink
      610 months 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.

    • chrizbieOP
      link
      410 months 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

      • @[email protected]
        link
        fedilink
        410 months 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.

        • chrizbieOP
          link
          110 months ago

          Oh I see well I could say I’m an average Joe lol

    • @[email protected]
      link
      fedilink
      110 months 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.

      • sam
        link
        fedilink
        English
        1010 months ago

        Wifi adds latency. Adding 30-300 ms of latency will noticeably affect your browsing experience.

        • chrizbieOP
          link
          110 months ago

          Probably worth it to remove ads and trackers thogh

  • @[email protected]
    link
    fedilink
    1310 months 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

    • El Barto
      link
      fedilink
      410 months ago

      Sure it does. But you can also tell it to put some processes in a top priority list.

    • chrizbieOP
      link
      1
      edit-2
      10 months ago

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

  • chrizbieOP
    link
    110 months ago

    deleted by creator

  • chrizbieOP
    link
    110 months ago

    deleted by creator

  • @[email protected]
    link
    fedilink
    -910 months ago

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

    • chrizbieOP
      link
      17
      edit-2
      10 months 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)