154
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 25 Aug 2023
154 points (88.1% liked)
Asklemmy
43822 readers
882 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
Yes. You have your pine phone. It's more expensive than you'd like. But if if and only if enough people adopt it. Prices will come down with time
Since you don't want anybody to tell you that Android is Linux, and you can do everything you want to do on Android with a custom ROM. I won't mention it
do you know of any projects which has good support (and reputation) which has something like a terminal in it? I mean, I just want a terminal.
Also, I will be happy to spend 500USD on a Linux phone just to support it, but I wanted to know how far they are. Thank you for your comment.
If you just want a terminal you can install termux from github right now. No need for a custom ROM. It will be fairly locked down but you can use almost all programs that there are for linux. I use yt-dlp in Termux to download youtube videos
I like you lol. btw, can I do stuff like control volume using Texmux? Like idk, switch on or off my wifi and turn off airplane mode and stuff
I'd guess not, at least without root, as Texmux is still an app and Android won't allow apps that much control over the phone.
I think this lack of real control via the terminal vs 'real' Linux is a key point.
Root access is pretty easy to get. People don't reccomend it much anymore but I've had zero issues on a Pixel 7 aside that I can't use the phone's tap and pay feature. Bus passes and plane tickets still work.
Termux API from FDroid?
You can control volume using termux with termux-volume command nand wifi with termux-wifi* commands. Not sure about airplane mode but reboot is possible with adb only
Pretty easily if you go a different route.
Now you have a full Linux inside Android that you can use as a full Linux, and that can control your phone from CLI.
If you are crazy enough, you might even get stuff like calling to work from inside Linux, but what's the point? You still got a full Android to do Android things with it.
Linux in a chroot is so much real Linux, that I managed to get FEX (x86/x64 emulator) to work inside it, and Wine on top of FEX, so now I can even run Windows x86/x64 programs on my phone.
You can also install Debian through Termux if you want Ivon Blog
Note: i recommend nano over vim in the tutorial, easier to use haha
You need to use root or pass through some other access control mechanism to control network interfaces or audio devices on Linux too, Android's access control mechanism for those things just isn't built with shell scripting in mind because using a terminal on a phone is a pain...
You can also install DE like XFCE into termux to run graphical programs. I use that for noaa-apt decoder.
"A userdebug build of AOSP or GrapheneOS has a su binary and an adb root command providing root access via the Android Debug Bridge via physical access using USB. This does still significantly reduce security, particularly since ADB has a network mode that can be enabled. Most of the security model is still intact. "
https://www.reddit.com/r/GrapheneOS/comments/13264di/is_root_possible_with_grapheneos/?rdt=38934
I'm using CalyxOS on a Fairphone 4, works pretty well, appart from getting Playstore apps from Aurora Store without a Google account (I search for apps in firefox and open the link with Aurora which is clunky but works). You can install a terminal emultor from F-Droid, not sure why you would tbh but I've found several.
Pine phone and Jolla/Sailfish are the only real ones out there.
Librem is a scam, they don't have a real product. (Go watch Louis Rossman's newest videos if you care).
Pine phone is... not exactly usable as a main phone. It's very much beta. But it is a Linux device in the shape of a phone, and even though it's incredibly basic hardware, it at least exists, it can be bought right now and some parts of it work.
Jolla have been doing their thing for a while. Afaik they don't sell their own devices anymore, but you can flash their OS onto other phones, like e.g. the Fairphone 4. That kinda works in some regards, but at the moment e.g. mobile data just doesn't work on that phone.
More to that here: https://forum.fairphone.com/t/fp4-sailfish-os-4-5-0-18-for-fairphone-4/97052