5
submitted 1 year ago by cianmor@lemmy.world to c/linux@lemmy.ml

I have been out of the loop for a while with the development of Linux/GNU based OSes on phones. However, with seeing how companies (like reddit) can change the rules as they wish, I want to see if completely switching to Linux is possible.

Long story short… what are the current phone providers that have Linux as an OS, or what is the best way to run Linux on an off-the-shelf phone?

As a side-question, is Nextcloud still the next best option for a complete service alternative to Google/iCloud?

Thank you!

top 33 comments
sorted by: hot top controversial new old
[-] frathiemann@feddit.de 2 points 1 year ago

I am daily driving my PinePhone Pro running manjaro (Plasma Mobile) for about a year now. I can say, it is definitely daily driveable with some exeptions/limitations:

  • The Battery life is horrible, like 3 h max usage from a battery. But since the batteries are cheap and can easily be swapped, I just have 4 of them to get through the day
  • The camera is working in the sense, that it can make pictures. If you want nice pictures, bring a separate camera
  • From time to time, cellular network connectivity drops out for short moments

Other than that it is pretty much functioning as a real phone. Of curse there are not that many apps. Telegram works natively and flawless, but whatsapp needs to be used via Whatsapp Web. For syncing all my documents and files I use nextcloud which works without any problems (once set up)

There is also the non Pro Version of the PinePhone, which is much slower, but has a better camera software and longer battery life (and is cheaper)

[-] Shatur@lemmy.ml 0 points 1 year ago

I also daily drive PPP. But I use the Pine keyboard to extend the battery life.

[-] CalcProgrammer1@lemmy.ml 1 points 1 year ago

Same, I've been daily driving the PinePhone for a few years now between the original and the Pro. The keyboard case is a must have right now due to power draw issues. I've tried Arch and postmarketOS, settled on postmarketOS now.

[-] delial 2 points 1 year ago* (last edited 1 year ago)

Because phone manufacturers don't open source their firmware, you probably won't be able to get Linux on an off-the-shelf phone. (Please someone correct me if I'm wrong).

Your best bet, if you want to go down thus route, is to get the PinePhone Pro. ~~It's relatively affordable.~~

Before you try anything, think hard about your relationship with your phone and what you expect from it. Does work require you have an app installed? What kind of apps do you use regularly? You won't have things like: CVS for meds, AA for flying, Steam for 2fa, Signal, Telegram, google maps, etc. Some you might be able to use their webapps, but the browser might be a bit sluggish because it's the full desktop version. Firefox isnt fully mobile friendly. Battery life won't be what you're used to. Linux on the phone is just like your regular Linux, so you'll have the stuff your used to from there, and you'll having calling, sms, mms, and voicemail.

I have the PinePhone and the Librem 5, but I still use my android.

[-] randomname01@feddit.nl 2 points 1 year ago

Yup, pretty much this. The short answer to this question seems to be “check back in five years.” There have been exciting developments on this front, like Gnome’s mobile focused project and their efforts on adaptive design, but we’re still a long way off.

Like another user commented below, buying a FairPhone and installing a “clean” Android version of it is probably the most usable experience that’s vaguely in the line of what OP is asking. It’s not quite Linux on mobile, but it is a device that’s actually usable day to day.

[-] cujo@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

Assuming that their asking how to get Linux on an "off-the-shelf phone" means they want to flash Linux on a device that doesn't come with it, it's very possible to flash a custom ROM on lots of Android devices. Projects like LineageOS have a very healthy, active userbase that has ported their ROM to many different models of phone. Lots of Samsung devices can be used, some Nokia devices, nearly every Google Pixel device. There are plenty more, those are just the ones I remember.

The caveat is that your phone has to have an unlocked bootloader; if your phone is provided to you by your carrier, it's almost definitely not unlocked. Unless you've finished paying off a carrier-provided device, you can't unlock it yet.

I wanted to flash LineageOS on my G Pixel 6, but the bootloader is locked down.

EDIT to add: custom ROM does not just mean custom version of Android. There's postmarketOS, Ubuntu Touch, Plasma Mobile, Mobian, and more that are Linux, w/o any hint of Android. SailfishOS got a lot of attention awhile back, but it's not open source, and it's not free.

LineageOS and a couple of the others have the ability to run Android app, sometimes including the ability to add the play store and other Google services to their ROMs. Of course, those are all built on top of Android (which is still modified Linux) so it depends on how far "just Linux" you want to go.

[-] delial 1 points 1 year ago

Thank you kind...uh...hooman person. I gotta try this with one of my old phones sometime! Remove battery, solder in power supply, install linux, connect usb ethernet, webserver!

[-] cujo@sh.itjust.works 1 points 1 year ago

Hahah, definitely human. I can complete a captcha if you're worried. Probably. 😉

I've actually seen people do that more than a few times, lol. You can probably even find a guide somewhere!

[-] boonhet@lemm.ee 2 points 1 year ago

There are a couple of phones that can run Linux. Oneplus 6 for an example. But most can't indeed. PostmarketOS has a list of devices that their distro works on.

[-] cianmor@lemmy.world 2 points 1 year ago

I guess they could implement the closed firmware source like the radio firmware binaries; same as Linux uses open-source and closed-source drivers. I think the PinePhone Pro might have issues with performance, connectivity, etc. with that SoC but thank you for the tip, I'll have a look at it. You might be right with the app support. That is something I have not taken into consideration too much, especially, with regard to banking apps. I'll keep that in mind as well. What is missing in your opinion that you are still on Android?

[-] delial 1 points 1 year ago

Signal app was the first thing I missed. Then I switched to Element, and there's no good app for that. Then I missed >24hr battery life. I was doing a lot of traveling when I got my Librem 5, but no American Airlines app was a no-go (gate change alerts is too good). The Linux mobile situation is really impressive, but they're just a decade or more behind on development.

The real straw that broke the camel's back was I need a particular 2FA app for work, so I need a "regular" smartphone regardless of how good my Linux phone situation is. But, man, the second I can daily drive Plasma Mobile will be amazing. Such a good UI. I don't use KDE, but their devs are truly the best.

[-] rodneyck@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

You have to find a phone that is compatible with open source Linux Phone OS. Most of the OS websites give a listing of what phone make/model works. FYI, almost all the Google Pixel phones work.

Here are a few I am keeping an eye on when my Pixel 4a/5G stops getting updates from Google...this year. /

LineageOS/ GrapheneOS/ CalyxOS/ e.foundation/

Youtube videos and other websites are good sources on how to install, etc.

[-] Roxxor@feddit.de 2 points 1 year ago

You're talking about Android (Linux) phones, and not GNU/Linux as stated in the question.

[-] dan@startrek.website 1 points 1 year ago

LineageOS/ GrapheneOS/ CalyxOS/ e.foundation

Aren't all of those Android derivatives?

I think Ubuntu Touch, or postmarketOS would be more in line with what OP is asking.

[-] rodneyck@lemmy.world 0 points 1 year ago

Yes, they are Android derivities, but Android is basically Linux...runs off a linux kernel. If you want a pure linux system, I think there is a KDE platform for phones and Ubuntu (I think) but you can't run regular Android Apps, do banking, etc. You are more open source, but limited in certain areas.

[-] Shatur@lemmy.ml 1 points 1 year ago

GNU/Linux on Phones are far from Android, but we slowly getting there. So if you want a better experience, just buy a phone that can run a community Android distribution like LineageOS.

But if you are an advanced user and really want to use GNU/Linux on your phone, then I would recommend buying a PinePhone Pro + Pine keyboard (there is a bundle on their website). The keyboard is needed because it extends the battery life (without it the battery life is horrible) and compensates good swipe touch keyboard typing (we currently don't have a touch keyboard with swipe feature). I daily drive this phone on ArchLinux with Plasma Mobile and I satisfied with the result.

[-] wxboss 1 points 1 year ago

The Pixel line of phones does allow the user to unlock its bootloader (unless it is carrier locked) and is supported by options such as GrapheneOS and CalyxOS.

I'm running GrapheneOS on my Pixel 6a, and I'm very happy with it. I'll continue to use it until a viable Linux alternative presents itself.

[-] cianmor@lemmy.world 2 points 1 year ago

Thank you for the tip with GrapheneOS/CalyxOS. In your opinion what is missing for a viable Linux alternative?

[-] wxboss 1 points 1 year ago

From what I'm able to gather (and I don't have any first hand knowledge of this) is that most of them just aren't 'complete' yet. Obviously, that is a subjective statement, but it's one argument I hear repeated when I read articles reviewing these types of operating systems. Software such as Ubuntu Touch, PureOS are trying to make the transition from a desktop environment to a mobile one, whereas GrapheneOS/CalyxOS (which are based off of AOSP) are using software that was built specifically for a mobile experience. I think that the gaps are continuing to narrow between the two options, but I'm happy with GrapheneOS and will stick with it for the time being as it accomplishes everything I need and expect a phone to do.

Also, in my original reply, I neglected to mention that Pixel phones also allow OEM Unlocking as well. It was an important detail that I accidentally left out.

[-] Janis@feddit.de 1 points 1 year ago

pinephone. but i just use it for fiddling around as too much stuff does not work.

[-] UndeadLeech@lemmy.world 1 points 1 year ago

I'm currently using a PinePhone Pro as my daily driver and if you want something to play around with that's definitely an option (though the PinePhone is probably a little more stable and less tinkery).

If you care less about it being a "free" phone built specifically for Linux and just want something that works, then rooting some older phone with good support will probably provide a better experience.

[-] loonix@lemmy.world 0 points 1 year ago

Why would you want a Linux phone. Linux, especially on phones is insecure! Go with an Android phone

[-] ReakDuck@lemmy.ml -1 points 1 year ago* (last edited 1 year ago)

Why is it insecure? The only part about insecurity and Linux was only X11. We have Wayland now which is more secure than Android and Windows afaik.

[-] loonix@lemmy.world 1 points 1 year ago
[-] ReakDuck@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Twitter link is broken or smth can't see it. Its hard to trust this page, especially because I don't know what they mean with "data", which data do they mean? And especially because they never mentioned wayland I dont see this as the newest security analysis.

I don't want to say that Linux Desktop is secure, but I don't know how secure it is with wayland.

Generally the way you get the Software makes Linux in practice by accident more secure as no users manages to get insecure packages through official repositories or other sources except tarballs not from github. Even tho github can also be insecure but its still more security compared to an random .exe or unsecure Edge browser.

[-] fraenki@feddit.de 0 points 1 year ago

Phones that run mainline Linux are seldom. The only ones that come to my mind are PinePhone Pro (outdated hardware, 400 bucks) and Librem 5 (also outdated hardware, incredibly expensive 1300$ !). If you are serious get the PinePhone Pro. But expect pitfalls because you can't just run Android apps.

Nextcloud is still the best option for self hosted cloud services.

[-] PropaGandalf@lemmy.world 0 points 1 year ago

I'm waiting for my preordered shiftphone 8 to be released. They promised to cooperate with custom rom devs and improve the experience compared to their current model the Shift6mq which already can run postmarketos.

Also Nextcloud is a fantastic alternative to google/microsoft/apple cloud.

[-] cianmor@lemmy.world 1 points 1 year ago

Thank you for postmarketos. I had a look and it actually looks exactly like what I had in mind. They even have a community on lemmy at https://lemmv.ml/c/postmarketos I now have to check out the shiftphones and see if Linux supports apps like the banking apps, 2FA, etc. or if they can be emulated through some kind of Android laver. Otherwise it would have to be an Android OS without Google or a separate phone for those apps.

[-] PropaGandalf@lemmy.world -1 points 1 year ago

postmarketos is the most stable and matured mainline linux mobile os. For 2FA, banking apps and android apps in general there is waydroid ehich I already use on my fedora laptop.

[-] cianmor@lemmy.world 1 points 1 year ago

Do you know how the performance of waydroid is on postmarketos?

[-] PropaGandalf@lemmy.world -1 points 1 year ago

Nope. Never had a linux phone and never tried postmarketos. But waydroid is pretty usable now.

[-] Tetsuo666@lemmy.world 0 points 1 year ago

Android runs on a unix kernel.

I personally think an open source android rom is a good middle ground between running a full linux OS and google's Android.

I don't know what roms are good right now though.

I would probably go for a fairphone and install the non google rom: https://support.fairphone.com/hc/en-us/articles/9979154556817-Google-free-Android

Or check if your current phone is supported by any open source Rom.

In any case you will most likely have a lot less apps since you would have only access to non google play services apps. There is a fairly decent choice of apps on F-Droid but your experience will remain limited.

this post was submitted on 01 Jul 2023
5 points (85.7% liked)

Linux

48056 readers
713 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 5 years ago
MODERATORS