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

Android

18644 readers
320 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
[–] lka1988@lemmy.dbzer0.com 17 points 6 days ago (1 children)

ITT: nobody understands the difference between this and Termux

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

I also don't really see a point to it

[–] lka1988@lemmy.dbzer0.com 3 points 5 days ago* (last edited 5 days 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 5 days ago

Oh dang, I gotta get on the new android!

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

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

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

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

[–] avidamoeba@lemmy.ca 4 points 6 days ago

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

[–] avidamoeba@lemmy.ca 10 points 6 days ago

Docker works as expected:

[–] Boomkop3@reddthat.com 3 points 6 days ago

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

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

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

[–] testman@lemmy.ml 11 points 6 days 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 6 days 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 6 days ago* (last edited 6 days ago)

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

[–] 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?

[–] avidamoeba@lemmy.ca 3 points 6 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.

[–] 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 6 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 6 days 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 6 days ago* (last edited 6 days 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 6 days 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 5 days 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.

[–] biscuit@lemdro.id 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 6 days ago

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

[–] AI_toothbrush@lemmy.zip 6 points 1 week ago (12 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 6 days 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 6 days ago

Just tried, and yes you can.

[–] Sauerkraut@discuss.tchncs.de -1 points 6 days ago (2 children)

Isn't Android open source? I like Linux, but I alternate being amazed by Linux and frustrated by how buggy the experience is. Everything on my Android phone / tablet just works effortlessly. But with Linux, it is a crap shoot. My Linux audio drivers kept popping my speakers and it took me hours to figure out the bug. Then when I run wine for a game it randomly thinks it doesn't have enough storage space. Or how Chrome was having memory leaks. Or all the times I have had to use special bash commands or directly edit configuration files

[–] possiblylinux127@lemmy.zip 4 points 6 days ago

AOSP is

Lineage OS is

Google Android is mostly proprietary. The reason is they need to gather all the data they can for marketing.

[–] AI_toothbrush@lemmy.zip 0 points 6 days ago

Android does the bare minimum to be called source available which isnt the same as open source and also its only the core of android that is. Its literally like taking linux, slapping on a bunch of propeitery stuff onto it and then telling people that you cant contribute to it and youre only gonna use an old, highly modified version of linux actually. Also the whole application ecosystem that you have on it needs your stupid spyware to run properly. As for linux i dont think desktop linux is buggy. Its way more usable than windows for example which literally falls to pieces if you look wrong at it. I have 3 old classmates who switched because windows just kept breaking. Your problems with audio means you probably used a non standard setup which i admit can cause breakages theres no doubt in that. And finally chrome having a memory leak; how is that related to linux?

load more comments (10 replies)
load more comments