this post was submitted on 21 Apr 2025
314 points (99.1% liked)

Linux

54536 readers
669 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

This is going to be nice. Good first step.

top 50 comments
sorted by: hot top controversial new old
[–] secret300 62 points 1 month ago (4 children)

Yeah let me know when I can install mainline Linux.

Definitely a step in the right direction, but the fact that android uses the Linux kernel but still manufacturers keep so much proprietary... It kills me

[–] DonutsRMeh@lemmy.world 19 points 1 month ago (1 children)

They're doing this because they want to switch chrome to be android based, and they want to have desktop apps available right away since chrome doesn't have much.

[–] stsquad@lemmy.ml 4 points 1 month ago

Not just that - modern Androids compile apps in a VM these days to reduce the attack surface of the compiler. You can also push other services into VMs that support the main image. You could even push some vendor drivers into VMs and help keep the main kernel less of a vendor fork fest.

[–] mikey@sh.itjust.works 16 points 1 month ago (3 children)

I mean... This is kinda close. The "Linux Terminal" app is running a full Debian install in a KVM VM. On the newest version of the app (like on Android beta or on GrapheneOS), you even have a full GUI that you can use.

In theory, we should be able to boot any mainline Linux distro in a VM, if someone writes an app for it, as AVF (Android Virtualization Framework) is just a wrapper around Linux KVM with some restrictions. (for now the built-in app only supports Debian)

[–] Suoko@feddit.it 3 points 1 month ago

It reminds me Linux in chromeOS. Do apps use Wayland or X?

[–] iturnedintoanewt@lemm.ee 2 points 1 month ago (1 children)

"full debian install"...not sure I'd call it that. Seems apt repo is missing any chances of adding DE related packages. So maybe not full blown debian. It might have a limited repo.

[–] mikey@sh.itjust.works 2 points 1 month ago

Are you sure you're talking about the Linux Terminal app that's available in developer options and not Termux? For me, all Gnome things and Xfce things are present in the repos (and it's using the deb.debian.org default Debian repos, so it makes sense)

[–] BeardedGingerWonder@feddit.uk 1 points 1 month ago (1 children)

Can I plug in an hdmi cable/keyboard/mouse and use it like a desktop and is there some way I can mount the android storage? (Eg can I get access to docs/pics/downloads)

[–] mikey@sh.itjust.works 4 points 1 month ago (1 children)

On Pixel 8 and above, you can plug in external displays, but it will only mirror your phone screen. Supposedly, Android 16 will allow you to "extend" the screen, ie. treat it as a separate screen. Also, the GUI stuff for the Linux Terminal will only drop in Android 16, so yeah, I'm stoked for that release.

[–] BeardedGingerWonder@feddit.uk 2 points 1 month ago

Sounds awesome!

[–] coolmojo@lemmy.world 6 points 1 month ago

It depends of your definition of mainline Linux. You can install Linux on your phone with thanks to postmarketOS Of course only if your phone is supported.

[–] Quackdoc@lemmy.world 1 points 1 month ago (1 children)

Im not sure what you mean, like, run android on mainline linux? if that is the case you already can. Not on all devices, but I think the pixel can run mainline kernel, I know ofc you can run androidx86 on mainline, if you mean via terminal I think you can sideload mainline. At least, if you compile your own rom you absolutely would be able to.

[–] LainTrain@lemmy.dbzer0.com 2 points 1 month ago (3 children)

He clearly means the opposite

load more comments (3 replies)
[–] bjoern_tantau@swg-empire.de 28 points 1 month ago (5 children)

Press X to doubt.

The root filesystem will very likely still be locked down.

[–] 2xsaiko@discuss.tchncs.de 37 points 1 month ago (1 children)

That’s not what this is about at all.

With the latest Android 16 beta, you can now allocate as much storage as you want to the Linux Terminal

until recently, it was restricted to just 16GB of storage space

[–] bjoern_tantau@swg-empire.de 10 points 1 month ago (1 children)

Yeah, but that means that not the entire storage is available like the headline implies.

[–] 2xsaiko@discuss.tchncs.de 13 points 1 month ago (1 children)

VMs can’t ever do that on any OS. I don’t think that’s a reasonable expectation.

[–] bjoern_tantau@swg-empire.de 10 points 1 month ago

Correct. The whole thing is lauded as this revolutionary new thing but in reality it's just a bullshit VM isolated from the rest of the system. We have had that almost for as long as Android existed. Along with Termux and similar that actually can access everything.

[–] Ferk@lemmy.ml 5 points 1 month ago* (last edited 1 month ago)

The article is talking about storage space, not about access to files in any particular filesystem.

Previous versions of Android 15 Terminal app only allowed 16GB of space to be used by the guest system. The article mentions it.

So even if you had 128GB in your phone, previously you could only use 16GB of them in the environment Google set up for the Linux Terminal subsystem, which made it very limiting. What the article says is that now they are removing that limitation.

[–] tiddy@sh.itjust.works 4 points 1 month ago* (last edited 1 month ago) (1 children)

Doesnt even give access to the camera subsystem's embedded flash memory, essentially useless

/s?

[–] umbrella@lemmy.ml 1 points 1 month ago* (last edited 6 days ago)
[–] Quackdoc@lemmy.world 2 points 1 month ago

I am not sure I understand what this has to do with the article. Also, I don't see why that would be the case. I don't see much of a good reason to lock the VMs down.

[–] DonutsRMeh@lemmy.world 1 points 1 month ago (1 children)

You can still root pixel phones no problem, no?

[–] Liberal_Ghost@lemmy.zip 2 points 1 month ago (9 children)

Yeah. I rooted my pixle 7pro a few weeks ago.

[–] Isaac@waterloolemmy.ca 1 points 1 month ago (1 children)

I've a pixel 7 running lineage is 22.2. I've seen some talk of magisk or twbp to root it but been too busy to dig into it.

You have any guide or video to spin me in the right direction? Thanks

[–] Liberal_Ghost@lemmy.zip 2 points 1 month ago (5 children)

This is what I did. Followed the instructions on the website, took me 30 minutes or so to get it set up and running.

https://grapheneos.org/

load more comments (5 replies)
load more comments (8 replies)
[–] iturnedintoanewt@lemm.ee 9 points 1 month ago (1 children)

I'd like to be able to test installing a full DE, but I made the mistake of getting only the 128GB model and so now I have always free storage issues 😅

[–] drwankingstein@lemmy.dbzer0.com 2 points 1 month ago

I has 64gb so I know your pain lol

[–] pelya@lemmy.world 7 points 1 month ago (1 children)

Someone who owns a fancy new phone with Android 15 or 16, could you please test if you can run GUI Linux apps on it using my X server app?

Supposedly it should work like this:

  • Install and run XSDL app
  • Go to home screen, open Linux terminal
  • Run commands
sudo apt-get install task-xfce-desktop
export DISPLAY=127.0.0.1:0
xfce4-session

Open XSDL app again, you should see XFCE desktop environment with mouse cursor, and you should be able to launch Synaptic and install other Linux packages.

[–] DonutsRMeh@lemmy.world 7 points 1 month ago (1 children)

It tells me it is not compatible with my phone. Is it on fdroid? Can I sideload it from somewhere? I have a OnePlus 12 phone and it is running Android 15

[–] pelya@lemmy.world 4 points 1 month ago (4 children)

Google's bullshit strikes again! All apps must be built for Android 13 or they are removed from Play Store, apparently because Google could not do the Android security correctly for the first 12 versions. Now they can emulate Linux on Android, but cannot emulate an older version of Android on Android. And I last updated my app in 2021, during Android 11 era.

Here's the link to sideload the app:

https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/XServer-XSDL-1.20.51.apk/download

I'll try to update it on Play Store tomorrow, if my crusty build scrips will work with the new Android SDK.

[–] DonutsRMeh@lemmy.world 1 points 1 month ago (1 children)

Ok, the app doesn't have any place to enter those commands. It opens up this msdos like blue terminal and it's stuck there. I can't type anything. And the keyboard shows when I press the back button on the phone. I can't exit the app,I can only exit with the home button

[–] pelya@lemmy.world 2 points 1 month ago* (last edited 1 month ago) (3 children)

You need to enter these commands in the Linux terminal app, not in the X server app. Once the two apps connect, it should be possible to launch another terminal inside the X server.

  • Go to your phone Settings > About Phone and tap "Build number" seven times. You will receive notification that your phone now has developer options enabled.

  • Settings > System > Developer Options > Linux development environment. On that page, tap the On/Off slider.

  • You will find an icon for the new Terminal app on your home screen. It's going to download 500 MB of data when you open it.

  • Long-press the Terminal app icon, tap Info > Mobile data, and enable Unrestricted data usage.

  • Now you can download more packages inside your Linux virtual machine using apt-get command, as described in my previous post.

load more comments (3 replies)
load more comments (3 replies)
[–] muusemuuse@lemm.ee 7 points 1 month ago

Well, this should make for some fun, new script-kiddie malware.

[–] d3lta19@lemmy.ca 5 points 1 month ago (1 children)

This is gonna be cool. Does Android 16 release in the fall?

[–] DonutsRMeh@lemmy.world 9 points 1 month ago

Some time in June.

[–] sunglocto@lemmy.dbzer0.com 4 points 1 month ago

Ok. Now it won't be abandonware for me.

[–] Estebiu@lemmy.dbzer0.com 3 points 1 month ago (1 children)

I'm so very lucky to have a device with linux mainline ported to it.

[–] midtsveen@lemmy.wtf 3 points 1 month ago (1 children)

Linux phone user spotted in the wild! Nice! ❤❤❤

load more comments (1 replies)
load more comments
view more: next ›