Spyke
youshouldknow·You Should Knowbychrizbie

YSK: you can setup pihole on any old rooted android (5.0+) device

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

View original on lemmy.nz
lemmy.sdf.org

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

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

88
jetreply
hackertalks.com

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

26
chrizbiereply
lemmy.nz

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

18
eco_gamereply
discuss.tchncs.de

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.

32
chrizbiereply
lemmy.nz

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

12
eco_gamereply
discuss.tchncs.de

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.

23
chrizbiereply
lemmy.nz

I looked a little closer at the battery connectors and when pulling the battery out I must have yanked the little wires out of the clip just ever so slightly (I could see a little bit of them reflecting on one side) I carefully pushed them back in and avast! There is life again! Thank you kind stranger!

30
chrizbiereply
lemmy.nz

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

5
lemmy.nz

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

4
lemmy.world

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

2
googlrrreply
lemmy.world

I run pihole on a Raspberry Pi Zero with an Ethernet adapter. Runs great, runs off USB power of my router, no risk of battery explosion. Recommend that over a phone any day

7
terumareply
lemmy.world

I tried to set up something similar but it doesn't block a damn thing and I can't find whatever router setting I'm missing for the life of me....

2
piratreply
lemmy.world

You need to change the DNS settings in your router to the IP of the Pi-Hole if you want it to affect all devices on your network. If that doesn't work, you'll need to change the DNS on each of your devices instead.

1
terumareply
lemmy.world

Yeah, when I change the dns on the router, I lose Internet completely. I am unwilling to change it on literally every device because that's a huge pain in the ass.

1
piratreply
lemmy.world

Sounds like your Pi-Hole isn't set up properly then... Your Pi-Hole itself needs internet connection.

1

yeah, I'm not sure what part of the instructions I missed, though I'm not terribly knowledgeable when it comes to network setup.

1
lostferretreply
lemmy.world

Amazing! I have an old ZeroW thats been sitting around. Any issues? Latency?

1

Nope can't say I've ever noticed any issues with it. I've had it for a long time now. Kind of forgot they aren't really new anymore lol. Maybe 7-8 years running? I update it every 6 months or whenever I remember and it still works great.

2
Srootusreply
sh.itjust.works

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?

5

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

-1
lemm.ee

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

Cool though!

32
herrvogelreply
lemmy.world

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.

13
Madexreply
lemm.ee

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

-13
Boxtiferreply
lemmy.world

For home use, they barely do much. At an enterprise level, then it's another story.

6
Madexreply

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

1

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.

6
chrizbiereply
lemmy.nz

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

4
Boxtiferreply
lemmy.world

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.

4
lemmy.one

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.

1
samreply
lemmy.blahaj.zone

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

10
Madexreply

Exactly, I'm being down voted for two comments which are wrong, meh.

4
Madexreply

I don't think you know about what you're talking about mate

-4
lemmy.thias.xyz

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

13

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

1
lemmy.world

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

-9

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)

16