News: 0175247193

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Is Google Preparing to Let You Run Linux Apps on Android, Just like ChromeOS? (androidauthority.com)

(Monday October 14, 2024 @03:34AM (EditorDavid) from the smarter-phones dept.)


"Google is [1]developing a Linux terminal app for Android ," reports the blog Android Authority . "The Terminal app can be enabled via developer options and will install Debian in a virtual machine.

"This app is likely intended for Chromebooks but might also be available for mobile devices, too."

> While there are ways to run some Linux apps on Android devices, all of those methods have some limitations and aren't officially supported by Google. Fortunately, though, Google is finally working on an official way to run Linux apps on Android... This Terminal app is part of the Android Virtualization Framework (AVF) and contains a WebView that connects to a Linux virtual machine via a local IP address, allowing you to run Linux commands from the Android host...

>

> A set of patches under the tag "ferrochrome-dev-option" was recently submitted to the [2]Android Open Source Project that adds a new developer option called Linux terminal under Settings > System > Developer options. This new option will enable a "Linux terminal app that runs inside the VM," according to its proposed description. Toggling this option enables the Terminal app that's bundled with AVF...

>

> Google is still working on improving the Terminal app as well as AVF before shipping this feature... What's particularly interesting about the patch that adds these settings is that it was tested on "tangorpro" and "komodo," the codenames for the Pixel Tablet and Pixel 9 Pro XL respectively. This suggests that the Terminal app won't be limited to Chromebooks like the new desktop versions of Chrome for Android.



[1] https://www.androidauthority.com/android-linux-terminal-app-3489887/

[2] https://www.androidauthority.com/aosp-explained-1093505/



local IP address why can't it go to any IP? (Score:2)

by Joe_Dragon ( 2206452 )

local IP address why can't it go to any IP?

Re: (Score:3)

by OrangeTide ( 124937 )

Yea, how am I supposed to mine bitcoin on your phone with these kinds of restrictions?

UserLAnd (Score:2)

by DrMrLordX ( 559371 )

Doesn't UserLAnd already let you do this?

Re: (Score:2)

by gweihir ( 88907 )

Termux definitely does. Limited to non-gui though.

Re: UserLAnd (Score:1)

by AnnoyingBastard ( 8138122 )

Well, there's Termux-X11 for that

Arn't there other terminal apps? (Score:2)

by ctilsie242 ( 4841247 )

I've not been in the Android ecosystem for a while, but Android is Linux with a different userland, so terminal + busybox should be able to provide most commands if one didn't feel like tossing in bash or zsh, and for Linux apps, one could go with a Debian or Ubuntu userland, or run the Linux stuff in a Docker or LXC container, so it would have its own world, and not be able to affect anything outside of that, even with root.

Many ways to skin this cat. Docker or another container comes to mind as the easie

Re: Arn't there other terminal apps? (Score:1)

by AnnoyingBastard ( 8138122 )

VM is better because Android doesn't expose a lot of the syscalls that are used in regular linux. Eg try running docker containers.

Re: (Score:2)

by bemymonkey ( 1244086 )

> I've not been in the Android ecosystem for a while, but Android is Linux with a different userland, so terminal + busybox should be able to provide most commands if one didn't feel like tossing in bash or zsh, and for Linux apps, one could go with a Debian or Ubuntu userland, or run the Linux stuff in a Docker or LXC container, so it would have its own world, and not be able to affect anything outside of that, even with root.

This seems to be an easier more automated way to get up and running. Properly i

Re: (Score:1)

by PascalDrabik ( 6736934 )

A good example is "Termux".

You can get it, and many many other FOSS applications, from F-Froid.

Next in Google news... (Score:2)

by VeryFluffyBunny ( 5037285 )

Google is ending all development of AVF. Please find replacement apps in Google Play Store.

You know, the usual Google life-cycle of software & services.

Have a look to F-Droid (Score:1)

by PascalDrabik ( 6736934 )

I invite you to consider [1]F-Droid [f-droid.org] where many FOSS applications are available. Terminal appplications are among them.

[1] https://f-droid.org/

Use cases - three I use on ChromeOS (Score:1)

by gavron ( 1300111 )

On my ChromeBook I do use the Linux environment ("Penguin") to run a couple of apps that aren't available on native ChromeOS.

1. Thunderbird. This favorite email program doesn't exist for ChromeOS, is being rewritten for Android, and offers something native Android and ChromeOS email apps (including gmail) lack: Auto-BCC self on send. Chrome browser has a plugin that provides this for gmail, but it nags about paid upgrade options regularly. In short, not needed on Android.

2. Signal-Desktop. On my Chrome

Chamberlain's Laws:
(1) The big guys always win.
(2) Everything tastes more or less like chicken.