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

Android

18724 readers
269 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.
top 50 comments
sorted by: hot top controversial new old
[–] avidamoeba@lemmy.ca 19 points 1 week 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 13 points 1 week ago (2 children)

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

[–] TheEighthDoctor@lemmy.zip 8 points 1 week ago* (last edited 1 week 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 1 week 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 week 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 week ago* (last edited 1 week 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 week 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 week 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 1 week 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 6 points 1 week 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 1 week ago

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

[–] lka1988@lemmy.dbzer0.com 17 points 1 week ago (1 children)

ITT: nobody understands the difference between this and Termux

[–] Boomkop3@reddthat.com 1 points 1 week ago (1 children)

I also don't really see a point to it

[–] lka1988@lemmy.dbzer0.com 3 points 1 week ago* (last edited 1 week ago) (1 children)

That's fine, but there is a big difference between the two. Termux is a terminal emulator for the host operating system, while this is a VM running a completely separate guest operating system - Debian 12, in this case. ARM version, but still Debian.

[–] Boomkop3@reddthat.com 1 points 1 week ago

Oh dang, I gotta get on the new android!

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

RDPing from Android into the VM after installing a desktop environment:

[–] Ulrich@feddit.org 3 points 1 week ago (1 children)

How's it run? Have you done any performance tests?

[–] avidamoeba@lemmy.ca 4 points 1 week ago

No benchmarks. It works, not very fast in the guy but usable.

[–] avidamoeba@lemmy.ca 10 points 1 week ago

Docker works as expected:

[–] AI_toothbrush@lemmy.zip 6 points 1 week ago (6 children)

This is like giving a bandaid to someone who just broke their fucking femur. I want actual linux and open source on my phone not a container that runs debian.

[–] avidamoeba@lemmy.ca 8 points 1 week ago (1 children)

It's a real VM, not a container. Chances are you can run containers on top of the VM. Haven't tried.

[–] avidamoeba@lemmy.ca 8 points 1 week ago

Just tried, and yes you can.

[–] 01011@monero.town 3 points 1 week ago* (last edited 1 week ago) (4 children)

RIP maemo. Nokia really messed that up.

load more comments (4 replies)
[–] space_iio@sopuli.xyz 1 points 1 week ago (4 children)

So why not use Ubuntu Touch?

[–] possiblylinux127@lemmy.zip 3 points 1 week ago

Because it sucks?

load more comments (3 replies)
load more comments (3 replies)
[–] Ajzak@lemm.ee 3 points 1 week ago (1 children)

ight now i need a pixel with video out and I'm satisfied.

[–] SatyrSack@feddit.org 8 points 1 week ago (1 children)

The past two generations have supported that

[–] Ulrich@feddit.org 4 points 1 week ago (1 children)

Yep and there is a new desktop mode that will be available soon as well.

[–] Ajzak@lemm.ee 1 points 1 week ago (2 children)

holy shit huge news, for some reason i didn't catch that. Thanks!

[–] Ulrich@feddit.org 2 points 1 week ago

I haven't seen anyone talking about it except Graphene OS

[–] Ulrich@feddit.org 3 points 1 week ago (1 children)

What do we think is Google's motivation for adding this?

[–] testman@lemmy.ml 11 points 1 week ago (1 children)

Supposedly Google would have better time taking care of just one consumer OS instead of two, so Android is getting some PC features so that it will be able to replace ChromeOS in the future.

[–] Ulrich@feddit.org 2 points 1 week ago (1 children)

Shoulda done that a long time ago. Do we think it will be released with accompanying hardware? Something similar to a NexDock or Razer's Linda hardware?

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

It's part of AOSP so whoever ships Android probably could expose it to the user.

[–] Boomkop3@reddthat.com 3 points 1 week ago

I really hope linux apps don't start getting dependent on google libraries

[–] BeatTakeshi@lemmy.world 2 points 1 week ago (2 children)

Ahem termux had this feature for ages

[–] Michal@programming.dev 1 points 1 week ago

The use termux?

[–] avidamoeba@lemmy.ca 1 points 1 week ago (1 children)
[–] BeatTakeshi@lemmy.world 1 points 1 week ago (1 children)
[–] avidamoeba@lemmy.ca 3 points 1 week ago* (last edited 1 week ago) (2 children)

Sure but this can do things that Termux can't. E.g. running a desktop, Docker or whatever else a full Debian OS can run. Plus you can do tabs in Byobu or whatever.

[–] adbenitez@lemmy.ml 4 points 1 week ago (1 children)

It is also possible to run GUI desktops in Termux since ages, for example take a look at:

AnLinux (Run Linux On Android Without Root Access) https://f-droid.org/packages/exa.lnx.a/

It was also possible to run a "full Debian" using PRoot etc

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

Sure but according to the AnLinux project docs you can't really run everything Debian can. For example it says it can't run some DEs. For me this isn't about whether Termux can do things a Debian VM can. I know it can. It's about can Termux do everything a Debian VM can and as far as I know, it cannot.

And then there's the work the Termux team has to do to get programs to work on Android. With a Debian VM, there's no additional work needed. Whatever the Debian team packages would just work.

[–] BeatTakeshi@lemmy.world 3 points 1 week ago* (last edited 1 week ago)
load more comments