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

88 points

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

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

permalink
report
reply
27 points

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

permalink
report
parent
reply
33 points

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

permalink
report
parent
reply
18 points

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

permalink
report
parent
reply
32 points

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.

permalink
report
parent
reply
12 points

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

permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
2 points
*

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

permalink
report
parent
reply
7 points

Good point, I’ll have to look into that

permalink
report
parent
reply
13 points

You might also be able to turn on Battery Idle Mode, although it’s not supported on every device.

permalink
report
parent
reply
4 points

Got it up and running now! Thanks mate

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
5 points

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?

permalink
report
parent
reply
-1 points

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

permalink
report
parent
reply
35 points

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

Cool though!

permalink
report
reply
13 points

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.

permalink
report
parent
reply
-13 points

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

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
8 points

I believe you can do Ethernet over USB c on some devices.

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
1 point

Probably worth it to remove ads and trackers thogh

permalink
report
parent
reply
-4 points

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

permalink
report
parent
reply

Oh shit. Something to use that old galaxy s4 I still have for. Been wanting to set up a pihole, but didn’t want to buy a raspberry pi just for that.

permalink
report
reply
13 points

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

permalink
report
reply
4 points

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

permalink
report
parent
reply
1 point
*

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

permalink
report
parent
reply
8 points
*
permalink
report
reply

You Should Know

!youshouldknow@lemmy.world

Create post

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you’re a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post’s text body, you must include the reason “Why” YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That’s it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.

Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

Community stats

  • 4.8K

    Monthly active users

  • 390

    Posts

  • 16K

    Comments