this post was submitted on 04 Aug 2024
13 points (88.2% liked)

Linux Phones

4474 readers
1 users here now

Community about running GNU/Linux on phones. Projects like Ubuntu Touch, Plasma Mobile, PostmarketOS, Mobian etc. Either on former Android phones or hardware like the PinePhone.

See also:

Related chats:

founded 4 years ago
MODERATORS
 

I want to buy a mobile phone that would be great for linux mobile (ubuntu touch or postmarket os), fairphone 4 would be almost ideal if it wasn't so big (i'm currently using pixel 8 + GrapheneOS). What do you recommend for my desire to use a compact mobile for linux + a solid camera? Thanks for the answers.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 3 months ago* (last edited 3 months ago) (1 children)

There is almost no phones with camera that works on linux. Your best bet is phone that was specifically made for linux like pinephone or something.

[–] [email protected] 7 points 3 months ago (1 children)

I'll correct by saying that it's with mainline linux that those cameras don't work. Ubuntu Touch uses libhybris to run Android drivers, meaning most supported phones' cameras work there...

[–] [email protected] 2 points 3 months ago (2 children)

Interesting, I didn't know that. Probably because PostmarketOS is based on Alpine (no glibc).

[–] [email protected] 7 points 3 months ago

No, it's just that when you use a mainline kernel, you're just not reusing all the Android (often user-space) drivers that make cameras work on Android and due to that stuff, starting from drivers for the SoC camera interface to the camera sensor have to be re-implemented. Whether you are on glibc (e.g., on Debian/Mobian) or musl/Alpine does not really matter.

Also, Camera APIs and the whole "desktop Linux" camera stack (think of things like debayering, white-balance) is nowhere near as developed as what Android has (and that, IUC, Ubuntu Touch can reuse on Halium by plumbing things together).

[–] [email protected] 2 points 3 months ago

Chevy thanx for your answer. Regards

[–] [email protected] 7 points 3 months ago (1 children)

A Pixel 3a may be a good choice. It's older, but not huge—and it's very well-supported in Ubuntu Touch (and Droidian, both use Halium/libhybris to re-use the Android kernel drivers), and also in postmarketOS (mainline Linux 6.9.3 as of this message).

On postmarketOS, camera support is not fully there—the front camera is somewhat supported. Also, Wi-Fi is still a bit annoying, calls only work with headset on postmarketOS, so I would say: Use Ubuntu Touch or Droidian for now, and maybe move on to postmarketOS once it's a bit more solid.

[–] [email protected] 3 points 3 months ago

linmob thanx for your answer.

[–] some_chinese_guy 5 points 3 months ago (1 children)

That's a tough one.

  1. Not that many compact phones right now in general. Sub-6" is a dying breed and anything sub-5.5" is almost gone. Best bet would be some older phones but they'll all struggle with the modern web and android apps.

  2. A solid camera narrows your choice down to Ubuntu Touch. Ubuntu Touch uses a compatibility layer for accessing Android drivers and firmware which PostmarketOS strongly discourages, so the absolute majority of pmOS ports have no working camera at all due to a lot of technical difficulties.

So for now look at what supported devices UBPorts has to offer.

[–] [email protected] 1 points 3 months ago

Some Chinese guy thanx for answer.

[–] [email protected] 5 points 3 months ago (1 children)

I think this is the decisive list:

https://wiki.postmarketos.org/wiki/Devices

Maybe have a look at availability and how old the chipset is. These are mostly old and slow phones. It also doesn't help if RAM/memory is scarce. I don't have a good recommendation of a decent modern phone.

[–] [email protected] 3 points 3 months ago

Hendrik thanx for your answer and time.