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.

  • linmob@lemmy.mlM
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 months ago

    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.

  • chevy9294@monero.town
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    3 months ago

    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.

    • TheyCallMeHacked@discuss.tchncs.de
      link
      fedilink
      arrow-up
      7
      ·
      3 months ago

      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…

      • chevy9294@monero.town
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months ago

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

        • linmob@lemmy.mlM
          link
          fedilink
          arrow-up
          7
          ·
          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).

  • some_chinese_guy@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    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.