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

Android

18585 readers
681 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: [email protected]


πŸ’‘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: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

πŸ’¬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 [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  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
[–] [email protected] 3 points 15 hours ago

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

[–] avidamoeba 9 points 1 day ago

Docker works as expected:

[–] avidamoeba 13 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] [email protected] 3 points 1 day ago (1 children)

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

[–] avidamoeba 4 points 1 day ago

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

[–] [email protected] 17 points 1 day ago (1 children)

ITT: nobody understands the difference between this and Termux

[–] [email protected] 1 points 15 hours ago (1 children)

I also don't really see a point to it

[–] [email protected] 3 points 7 hours ago* (last edited 51 minutes 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.

[–] [email protected] 1 points 1 hour ago

Oh dang, I gotta get on the new android!

[–] [email protected] 3 points 1 day ago (1 children)

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

[–] [email protected] 10 points 1 day 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.

[–] [email protected] 2 points 1 day 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 2 points 1 day ago* (last edited 1 day ago)

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

[–] avidamoeba 18 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.

[–] [email protected] 12 points 1 day ago (2 children)

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

[–] [email protected] 8 points 1 day ago* (last edited 1 day 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 1 points 1 day 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.

[–] [email protected] 3 points 20 hours ago (1 children)

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

[–] avidamoeba 1 points 16 hours ago* (last edited 15 hours 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.

[–] [email protected] 2 points 15 hours ago (1 children)

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

[–] avidamoeba 1 points 13 hours 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 3 points 1 day 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.

[–] [email protected] 6 points 1 day 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 3 points 1 day ago

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

[–] [email protected] 6 points 1 day ago (10 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 8 points 1 day 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 8 points 1 day ago

Just tried, and yes you can.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (1 children)

RIP maemo. Nokia really messed that up.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

I had the n810 and always coveted the n900

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

Physical keyboard. Debian Linux for mobile. It's still my favorite smartphone ever.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

u had one!??

the best smart phone I ever had was the BlackBerry q10

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

I did indeed. Kept using it for as long as I could until I was compelled to switch to Android/iOS. I dislike them both but Android is the lesser of two evils.

load more comments (8 replies)
[–] [email protected] 2 points 1 day ago (2 children)

Ahem termux had this feature for ages

[–] [email protected] 1 points 20 hours ago

The use termux?

[–] avidamoeba 1 points 1 day ago (1 children)
[–] [email protected] 1 points 1 day ago (1 children)
[–] avidamoeba 3 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 3 points 5 hours ago* (last edited 5 hours ago)
[–] [email protected] 4 points 1 day 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 3 points 1 day ago* (last edited 1 day 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.

load more comments
view more: next β€Ί