this post was submitted on 25 Aug 2023
154 points (88.1% liked)

Asklemmy

43801 readers
764 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Don't say, hey android has Linux in it, yeah no, idc, I want to know how far we are from buying a Linux phone at a price point of 200 USD.

A Linux phone is one which is built completely on Linux, uses Linux apps and most important has a terminal.

I don't want a Linux Phone for privacy, although that's a great reason, but I want it for the freedom it provides me. Hell, I don't care if Android itself comes with a terminal and has similar features to Linux, I just want a Terminal which can install apps, where I can write commands and it will execute it. Complete Control on my phone and how it behaves is what I want.

I want to tell it when to sleep, when not to sleep, when to boot, when to edit a file and how, when to take a screenshot and what to do with it and where to save it, etc, etc. I hope you get the idea.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago (3 children)

Seems like Android which supports a broad range of Terminal commands is the best next thing.

[โ€“] [email protected] 3 points 1 year ago

Termux is the best i could get. You can run a lot of apps, compile with clang; use vim, emacs and nano; run XFCE with the help of X server(maybe running locally ny XSDL app), run proot distros like ubuntu debian arch and all, use ffmpeg, and with extension apps like Termux:API you can use more android permission to do things like initiate a call with a command. You may use termux:widget and termux:float or maybe even termux:boot and do a lot of things there

[โ€“] [email protected] 2 points 1 year ago

If you want just an user-land mostly-compatible system, that's pretty much it.

You can use Termux which proots if you don't have root.

If you have root, you can use something like Linuxdeploy (which is seriously outdated, but if you know what you do, you can update the Linux installation in there). This gives you a chroot-based Linux with shell and GUI over VNC and root. It's able to play almost everything you want.

On my installation (Ubuntu 22.04 with XFCE) I even got FEX to work, which allows me to run x86/x64 Linux programs. Then I installed x64 Wine and now I can run Windows x64 apps on my phone.

[โ€“] [email protected] 2 points 1 year ago

You can toss BusyBox on Android and have most of the commands you are used to. It has been a long, long time since I have done Android development (Android 7 was the last version I developed on), but back then, Android didn't have bash. It was ash. So very similar, but you are missing some things.