this post was submitted on 03 Sep 2023
399 points (96.5% liked)

You Should Know

33143 readers
5 users here now

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!

founded 1 year ago
MODERATORS
 

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

all 47 comments
sorted by: hot top controversial new old
[–] vext01@lemmy.sdf.org 88 points 1 year ago (5 children)

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 26 points 1 year ago (1 children)

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

[–] elbarto777@lemmy.world 32 points 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.

[–] chrizbie@lemmy.nz 18 points 1 year ago (1 children)

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

[–] eco_game@discuss.tchncs.de 31 points 1 year ago (1 children)

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.nz 12 points 1 year ago (1 children)

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

[–] eco_game@discuss.tchncs.de 22 points 1 year ago (1 children)

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.

[–] chrizbie@lemmy.nz 30 points 1 year ago (1 children)

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!

[–] redcalcium@lemmy.institute 7 points 1 year ago

If you're in the mood for tinkering, you might want to try this: https://www.instructables.com/Power-an-Android-Phone-Without-Battery/

[–] Mr_Blott@feddit.uk 9 points 1 year ago (2 children)

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

[–] chrizbie@lemmy.nz 5 points 1 year ago (1 children)

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

[–] Mr_Blott@feddit.uk 4 points 1 year ago

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

[–] sylverstream@lemmy.nz 4 points 1 year ago (1 children)

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@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] sylverstream@lemmy.nz 2 points 1 year ago

Sorry, yes as dashboard :)

[–] chrizbie@lemmy.nz 7 points 1 year ago (1 children)

Good point, I'll have to look into that

[–] xep@kbin.social 13 points 1 year ago (3 children)

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

[–] chrizbie@lemmy.nz 4 points 1 year ago

Got it up and running now! Thanks mate

[–] Srootus@sh.itjust.works 5 points 1 year ago (1 children)

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?

[–] lemann@lemmy.one -1 points 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 32 points 1 year ago (5 children)

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

Cool though!

[–] herrvogel@lemmy.world 13 points 1 year ago (1 children)

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.

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

[–] trash@lemm.ee 6 points 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.nz 4 points 1 year ago (1 children)

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 4 points 1 year ago (1 children)

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.

[–] chrizbie@lemmy.nz 1 points 1 year ago

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

[–] TrustingZebra@lemmy.one 1 points 1 year ago (2 children)

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.

[–] buffalobuffalo@lemmy.blahaj.zone 10 points 1 year ago (2 children)

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

[–] Madex@lemm.ee 4 points 1 year ago

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

[–] chrizbie@lemmy.nz 1 points 1 year ago

Probably worth it to remove ads and trackers thogh

[–] Madex@lemm.ee -4 points 1 year ago

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

[–] Kolanaki@yiffit.net 20 points 1 year ago* (last edited 1 year ago)

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.

[–] MatFi@lemmy.thias.xyz 13 points 1 year ago (2 children)

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

[–] elbarto777@lemmy.world 4 points 1 year ago

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

[–] chrizbie@lemmy.nz 1 points 1 year ago* (last edited 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.nz 8 points 1 year ago* (last edited 1 year ago)