103
submitted 1 week ago by jorge@feddit.cl to c/android@lemdro.id
top 14 comments
sorted by: hot top controversial new old
[-] rufus@discuss.tchncs.de 27 points 1 week ago

FYI: There's also AnLinux, Linux Deploy, Termux, tainer, UserLAnd, ...

Some of them aren't maintained anymore. And they don't necessarily have hardware-acceleration. But don't all require root and system patches.

[-] possiblylinux127@lemmy.zip 14 points 1 week ago

Termux works fine get it from F-droid only

I'm not sure why you would need a GUI on a GUI phone

[-] 30p87@feddit.de 11 points 1 week ago

Because many graphical apps don't run natively on Android. They do on Linux.

eg. a full web browser, proper IDE or more powerful image manipulation program.

[-] alexdeathway@programming.dev 3 points 1 week ago

what do you mean by full web browsers?

[-] 30p87@feddit.de 4 points 1 week ago

Even though FF Android has been getting closer and closer to having all features of FF Desktop, like Extensions, therefore UA switcher, and a way to pretend to be a desktop browser, I'm still missing full responsiveness settings (ie. pretending the size of your browser is like a tablet) and browser editing tools. The actual FF desktop program, running via Termux in a Linux environment, would have all these features.

[-] alexdeathway@programming.dev 2 points 1 week ago* (last edited 1 week ago)

and a way to pretend to be a desktop browser,

I don't think that's a platform or software problem but rather an issue where the feature-to-bug ratio isn't worth it.

I'm not saying that Firefox for Android is perfect or that no further development is needed, but using the desktop version of Firefox to guide the development of the Android version is a waste. It needs better feature integration with the platform rather than a 1:1 copy of its desktop variant.

The software you are suggesting are in my honest opinion not worth the squeeze. it's like asking Bicycle with engine and complaining about it not being efficient as the motorbike. Just use the bike while making bicycle better in it's own way.

[-] 30p87@feddit.de 3 points 1 week ago

I did not want to suggest those features should be forced into the Android version, the normie user wouldn't like that anyway, but those are the exact cases where an actual desktop browser, via Termux, is useful.

[-] dogsnest@lemmy.world 4 points 1 week ago

I'm not sure why you would need a GUI on a GUI phone

Because it's there.

[-] NaibofTabr@infosec.pub 8 points 1 week ago

Hmm... I wonder if I could run pihole in an onboard container and force all my local device traffic through it...

[-] JadenSmith@sh.itjust.works 4 points 1 week ago

I'm glad I wasn't the only one with this idea.

[-] LiveLM@lemmy.zip 6 points 1 week ago* (last edited 1 week ago)

You can probably already do this on Termux, since PiHole doesn't need graphical acceleration.
Might have to create a proper Chroot though, dunno if their Proot tools would have enough privileges for this use case.

[-] NaibofTabr@infosec.pub 1 points 1 week ago* (last edited 1 week ago)

I think the tricky part is getting a virtual network interface from pihole that can be properly configured in the Android Settings > Connection & sharing > Private DNS > Specified DNS.

For this to work on the mobile device, you don't want pihole to make itself accessible on the external network interface, but rather an internal (virtual) interface that Android sees as a valid DNS server so that it can be permanently configured (otherwise you would have to reset the private DNS IP address every time you connected to a new WiFi network, and it would be tricky to get it working on the cell network at all).

I'm not sure if this is possible without running a more complete virtual machine that creates a virtual network adapter. Maybe a VPN app could be abused to redirect Android's outbound DNS requests to localhost?

[-] possiblylinux127@lemmy.zip 1 points 1 week ago

I think you can tweak the Android DNS settings in ADB

[-] possiblylinux127@lemmy.zip 2 points 1 week ago

You could use Termux for this. However, you won't be able to use containers. You would need to either build it from sources or run it in proot. I also think the DNS settings in Android are limited so you may have trouble getting it to work. You would need pihole to listen on a random available port and then somehow get android to send DNS to that port. So it probably wouldn't work.

However, your welcome to try just make sure you use the F-droid version of Termux.

this post was submitted on 19 Jun 2024
103 points (98.1% liked)

Android

16879 readers
50 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS