this post was submitted on 16 Mar 2025
169 points (99.4% liked)

Android

18585 readers
294 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 2 years ago
MODERATORS
 

TL;DR

  • Google has added a tabbed interface to the Terminal app in Android 16 Beta 3.
  • The Terminal app lets you run Linux apps in a virtual machine on your Android device.
  • Adding tabs makes it easier to multitask, as you can issue commands without having to wait for a process to complete.
you are viewing a single comment's thread
view the rest of the comments
[–] avidamoeba@lemmy.ca 17 points 2 days ago (2 children)

So I tried this just now, and it works. It looks pretty good at first glance. Proper Debian VM, can listen on ports, can access files under Downloads. It just takes 10-20 seconds to start and a few to stop.

[–] juli@lemmy.world 12 points 2 days ago (2 children)

would you switch over from termux for this? for performance or something else?

[–] TheEighthDoctor@lemmy.zip 8 points 2 days ago* (last edited 2 days ago) (1 children)

It's a debian VM, much better than messing with the android system. All I want now is bridged mode for the network adapters

[–] avidamoeba@lemmy.ca 1 points 2 days ago (1 children)

It appears to be running behind NAT but it's already have an easy port forwarding feature where I was able to connect to a server running on the VM by connecting to localhost in Termux.

[–] TheEighthDoctor@lemmy.zip 3 points 1 day ago (1 children)

Can you forward ports below 1024? I don't get the notification when it's these ports that require sudo.

[–] avidamoeba@lemmy.ca 1 points 1 day ago* (last edited 1 day ago) (1 children)

I didn't try because I assume I can't. πŸ˜‚ Cause that would require root on Android, or special capability.

E: Yeah it doesn't seem to work.

[–] TheEighthDoctor@lemmy.zip 2 points 1 day ago (1 children)

I have sudo on the VM doens't make sense to me that i would need root on the Host

[–] avidamoeba@lemmy.ca 1 points 1 day ago

Right but think about it. Any ports open on the host are opened by processes running on the host. If a process on the host wants to open 443, the host OS would ask for root. Now think about the VM from the point of view of the host. It's just another running process. If it tries to open 443 - it's gotta have root or it will fail. It doesn't matter what permissions the process inside the VM has. In fact the host doesn't even know about that process. To the host, the VM process wants to open protected port.

[–] avidamoeba@lemmy.ca 3 points 2 days ago

For things that don't work on Termux. The only advantage of Termux is that it starts way faster and it consumes significantly less resources. Other than that, the VM would be superior. So if I had to connect via SSH to a machine, I'd probably use Termux.

[–] biscuit@lemdro.id 6 points 2 days ago (1 children)

can access files under Downloads

Wait, you can access local files on your phone's storage in the VM now? Is that a new addition? On the Android 15 version of this, you don't have any local access at all.

[–] avidamoeba@lemmy.ca 3 points 2 days ago

I'm on the standard Android 15 on 8 Pro. The shared storage is mounted at /mnt/shared