At first, man thinks he controls the modem.

But after the 20th reboot, man learns the modem controls him.

Epictetus

So here it is! working VoLTE calls with audio on linux!

What a rollercoaster it has been i’ll tell you that.

The frequency between my previous posts was only a few days, as you can see from the time since my last post this has been a far harder project.

But a successful one!

Now fully powered trough my new imsd project:

https://forgejo.catcrafts.net/Catcrafts/imsd

As i said in a my previous comment no matter what i did the regular modem route wasn’t working, so i had to come up with my own.

This has several advantages however, call audio is now just routed trough wireplumber & pipewire, so its integrated much better.

Both inbound and outbound calls work.

How do i get this???

The patient route is waiting until my patches get accepted upstream, a few already have and are coming in 7.3 probably (pmos runs 7.0 currently still oof), a few will probably take longer, 7.4 or beyond.

but for the ones that want to jump right on ive published everything on my forgejo:

https://forgejo.catcrafts.net/Catcrafts

I will soon be publishing a shell script that does the entire installation soon for easy installation.

Sadly there is no way to just plug in an android and do it, so there are still a few manual steps needed, but i believe the path to adoption is reducing friction as much as possible, so ill do my best to make it as easy as possible to use.

imsd

So what is an “imsd”?

its a full userspace implementation of the IMS protocol, which drives VoLTE (4G) calls.

Normally the modem firmware drives this, but this is quite difficult to work with, now it runs fully via a standard daemon on linux!

Along with several d-bus helpers that integrate it with standard plasma-dialer.

if made a APKBUILD for pmos that is mutually exclusive with 81voltd, and loads imsd instead. so installation should be easy.

Now will this actually work?

That’s where you come in!

I am just one guy with one phone with one carrier.

I can say it works on the Fairphone 6 with KPN. it might work with other carriers and other Qualcomm phones aswell, so potentially this could work for the entire linux phone ecosystem, but i have no way to test that.

If you end up trying it, no matter if it works or doesn’t work, please send me a message or open a PR, then we can make sure it works for everyone!

donations

I really was surprised when people asked me this, i just see myself as a guy doing this in his free time, “why would people want to send donations to me?” i thought.

I still stand by my previous point, i have a job, and this project costs me nothing except for time, i don’t have any costs. So i felt kinda guilty receiving money from people.

But i would much rather spend my time making software that benefits society instead of the B2B stuff i do at my job.

I really feel greedy for saying this, but if you want to send me a thank you then that is now possible at: https://bunq.me/catcrafts

Please don’t feel any pressure to do this, doesn’t matter what i get im still continuing with this bring-up. And if you don’t want to donate to me there are many linux organizations that could really use the support! In my eyes we are all in the same boat with the same goal.

If you do decide to, and i cannot express my gratitude enough if you do, please write in the description that it’s a donation, as this makes tax easier.

What’s next?

Ive got a bunch more stuff coming soon, while i haven’t posted here in quite a while i’ve been plenty busy on the mailing list:

So except some more posts soon.

Bonus round

Having fully working hardware is great, but a phone that has no apps is pointless for most people, so i would like to start a discussion in the comments.

What apps do you need that are preventing you from switching to mobile linux?

  • Solrac@lemmy.world
    link
    fedilink
    English
    arrow-up
    49
    ·
    edit-2
    10 days ago

    Holy Smokes… All during the Mercury Retrograde no less… This is all nothing short of genuinely amazing!! First it was GPS, then NFC, then Audio (with Microphone) and now Calls? Please do correct me but, by the PMOS Graph, that’d just leave the Camera and the IMU left??

    All jokes aside, my fp4 suddenly started dying on me and ended up ordering a fp6, so I’ll gladly run some tests! If you have any particular place you’d like us to send feedback or bug reports, please do let me know!

    EDIT: Also the lack of Emergency Calls (or at least that’s what it says on the imsd repo) is a bit unfortunate, but, iirc, Emergency Calls work on a different band or system, regardless of SIM. So in a way, it’s also not too surprising, at least for me.

    • TheMightyCat@ani.socialOP
      link
      fedilink
      English
      arrow-up
      19
      ·
      10 days ago

      Thank you! “Cat’d” really made me laugh

      If you have any particular place you’d like us to send feedback or bug reports, please do let me know!

      For imsd the best place would be my forgejo, but im not sure how federation works yet on forgejo or if its even enabled on my instance, ive pretty much used it as my technically public but in practice private instance, so i need to figure that out.

      In the meantime here on lemmy will also work fine.

      and the IMU left??

      https://lore.kernel.org/all/[email protected]/

      ;)

      • Solrac@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        I apologize if this is ignorant of me, but I guess a follow up question could be, if your patches would be in pmOS Edge soon (here’s hoping they’re properly in for v26.12), or if they need to install it manually.

        I know that for some of your work, you’ve mentioned they could be easy to install.

        • TheMightyCat@ani.socialOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          i think it’s going to take a while, pmOS Edge as time of writing is still at 7.0.8, the first of my kernel patches will arrive in 7.3. the rest will probably take longer.

          when imsd will land i have no idea as its not a patch but a new package.

          i’m making a shell script that will make the installation as easy as possible.

      • inari@piefed.zip
        link
        fedilink
        English
        arrow-up
        14
        ·
        9 days ago

        Absolute legend! My wallet is itching to get an FP6 with all this news…

        Any plans on tackling the camera?

  • Nednarb44@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    ·
    10 days ago

    Incredible work! I honestly have not been as pumped about technology in such a long time, and it’s mostly due to Linux/Linux phones. I finally got around to fixing a PMOS install on my old phone and been itching to tinker with it.

    With that said, how has the battery life been for you? Mines not great, but it could also be there fact that the battery is like 8 years old. And that’s only using WiFi. I’m curious how it does on modern hardware and using cell towers.

    • TheMightyCat@ani.socialOP
      link
      fedilink
      English
      arrow-up
      19
      ·
      10 days ago

      It’s less then android, but im sure there are more gains to be made there.

      The battery works fine for a day, but if i don’t plug it in overnight its drained.

  • es_eskaliert@feddit.org
    link
    fedilink
    English
    arrow-up
    22
    ·
    10 days ago

    Holy based. You’re a legend!

    About the apps: OrganicMaps and Immich would be the ones i am still missing on mobile linux. Apart from that, most if not all of the other apps I need are already present (Finamp, Signal, Firefox, Thunderbird,…)

    • inari@piefed.zip
      link
      fedilink
      English
      arrow-up
      14
      ·
      9 days ago

      CoMaps (Organic Maps fork) has a desktop version on Flathub, but it is still not as feature-complete as the mobile version

      • es_eskaliert@feddit.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        9 days ago

        Yeah, I’m afraid those desktop versions don’t really do the job just yet. But i’ve recently seen someone trying to port the android version of Comaps to Linux, so mayyybe we’re up to something there?

      • es_eskaliert@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 days ago

        I do a lot of routing by bike and in my experience, the alternatives just aren’t as good as Organic. Organic has those cool overlays of all bike and hiking routes which Gnome Maps or Comaps don’t. I’ve come to really love and depend on this feature and don’t want to miss it. Additionally, it also shows public transport departures which is pretty handy if you don’t know which exact bus stop you have to wait at to get the bus in the right direction. And their routing got really good in the last years, but I haven’t compared that with Comaps/Gnome Maps yet.

        The only alternative would be Osmand, but that app is laggy as hell and eats battery like nothing else. And I don’t like its Ui so much, i find it very cramped. But thats my opinion.

    • sbeak@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 days ago

      OrganicMaps

      I believe CoMaps is working on a Linux mobile client (you can install the desktop Flatpak, but it won’t fit well)

      Immich

      There’s s third-party client called Mimick that works really well on both mobile and desktop Linux!

      • es_eskaliert@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        9 days ago

        Thanks for the tip! Haven’t heard of the immich client yet 👀 will try it out when I have some time

        Edit: Looks really good! From first looks, it’s to Immich like what flare is to signal, a pretty usable client but still a bit rough around the edges and not fully feature complete.

        • sbeak@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 days ago

          not fully feature complete

          That is true, I don’t think it has full feature parity with the official Immich client. The library view seems to be disabled by default because it’s a little buggy: on desktop it works fine, but it crashes on my OnePlus 6 running postmarketOS (this makes me think it’s a graphics issue?)

          • es_eskaliert@feddit.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 days ago

            I also have an OP6! I’ll try it out there as well (have only installed it on desktop for now) and let you know if I manage to get it to work

      • es_eskaliert@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        Briefly, and the routing was ass. Routed me onto a Bundesstraße despite bike paths all around. Also seems to miss some features that I really want (GPX import, Bike path overlays, offline maps). Gnome maps actually seems to perform better. But it looks promising and I might test it further.

  • hornedfiend@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    15
    ·
    9 days ago

    Thank you so much for your hard work! I can’t wait to be able to run Linux on my Fairphone 6.

    • TheMightyCat@ani.socialOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 days ago

      Thank you!

      I’ll soon publish that script here that will do the automatic installation, so hopefully you shouldn’t have to wait for long.

  • skankhunt42@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    ·
    10 days ago

    Man, you’re making me want to try and get one shipped to Canada. This is exciting.

    ETA: I’d need a matrix.org chat app working with notifications to switch.

    • TheMightyCat@ani.socialOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      10 days ago

      Well if that is the requirement then you’re in luck as fluffychat and nheko are both on flathub!

      • skankhunt42@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 days ago

        I’ll admit it’s been over a year since I’ve tried to daily drive my PinePhone. I bridge everything into a self hosted matrix chat and notifications didn’t really work outside of SMS/MMS and calls.

    • Canuck@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 days ago

      I hear you. I only wish the Fairphone had a headphone jack and microSD at the very least, but I would be so nice to have something faster than the Librem 5 despite me appreciating the blob free/jailed chipsets

    • sbeak@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 days ago

      I’d need a matrix.org chat app working with notifications to switch.

      Fractal is an excellent Matrix client that works well if you are using something like Phosh or GNOME Mobile (GTK based), and FluffyChat is good too (Material You aesthetic).

    • ArchEngel@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 days ago

      Another Canadian here, I also am starting to wonder about getting one somehow - a buddy of mine shipped it to a friend in the Netherlands, then they brought it home.

      • TheMightyCat@ani.socialOP
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 days ago

        If you’re serious and trust me enough I could do it, pre flashed with pmos if you want.

        Otherwise if you don’t which I would find very understandable, I assume there are services that also do this?

        There is one thing you should look at before getting one, I’m not sure if it supports the bands canadian carriers work at. It’s a thing worths checking beforehand.

        • skankhunt42@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          9 days ago

          Are you using it as your main phone yet?

          Battery life is okay? Calls/SMS/MMS are dependable with your changes?

          • TheMightyCat@ani.socialOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 days ago

            Not yet, for development I have to completely wipe it regularly which makes having all my data on there a bit inconvenient.

            Once I’m done with the hardware development I do plan on using it as my main phone, cause why go trough all this trouble otherwise?

            Battery life is fine enough, lasts about a day with my current, for example I turn wifi power saving and suspend off cause otherwise my ssh drops if i turn off the screen for long time, I made a somewhat detailed power analysis in my first post here.

            Calls are dependable, haven’t tested SMS yet.

            The only thing about calls is that imsd currently doesn’t support emergency calls which I do plan on adding in the future, but testing it is a crime, so I need to figure that out.

          • skankhunt42@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            9 days ago

            How much was shipping and import fees? Canada post? $829 for the phone, $70 DHL shipping, ~$100 import fees. I’m probably going to buy it

            I have a buddy in the UK who is willing to take ETH/BTC from me and stash it in a box with a bunch of candy for me. Lol.

            • TheMightyCat@ani.socialOP
              link
              fedilink
              English
              arrow-up
              3
              ·
              9 days ago

              Honestly if there is demand, which judging from the comments here there is. I might start selling them with pmos and prepatched so they work out of the box.

              I can buy the phones here in the Netherlands for €395 currently, tax and shipping and stuff does still need to be added to that.

              Would that be interesting for you?

              I would rather not want to charge a markup as that goes against my values but I would like to have some compensation for my time doing these as this is a per unit time cost instead of a one time cost as with software.

              As a potential customer would you agree more with a small markup (think like €15 maybe) or an optional donation?

              • skankhunt42@lemmy.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 days ago

                I don’t have a problem with paying you a markup. I’ve done work like that for free before and it’s not fun. However, €400 is C$640 + markup + shipping + your tax + my import tax + any conversion fees. I’m not sure it’ll be worth it. How do you suggest I send you money?

                It seems all in, just for the phone to my door is $1000 CAD from clove UK.

                • TheMightyCat@ani.socialOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 days ago

                  If it’s cheaper to get it via clove UK then you should do that.

                  I was thinking of selling them on my website, since you were planning to pay with crypto anyway I wanted to support that on my website as a payment method.

      • skankhunt42@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        Yeah, I never got into XMPP back in the day and IIRC when I did look into it having multiple devices use the same account was a bit of trouble. Matrix was just a web API I could hit with python super easily and I never looked back.

        Why XMPP? Are there bridges for signal, WhatsApp, SMS/MMS?

        • Free Trampoline!?@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          8 days ago

          JMP.chat and resource usage. I run mine on a $5 Vultr VPS and it’s far from the only thing on it.

          Also if you can bridge to Matrix, then that means… yep, you can bridge to any bridge on Matrix. I don’t ever need to, but I know a few who use XMPP’s Signal, IRC and Matrix Bridges

  • McWizard@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    9 days ago

    There is probably no way, but something that works in the car like Android Auto? I guess the protocol is proprietary but it will be one of my hardest things to miss if I had to go back to the car navigation and entertainment. So if it can’t be compatible, then something that does the same with an external screen or so, so it can be added to a car.

    • TheMightyCat@ani.socialOP
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      9 days ago

      I’m not sure how android auto works but that indeed would be cool.

      The closest thing now would probably be a linux sbc with an aftermarket display, using KDE connect.

    • BrickEater@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 days ago

      What is the point of android auto? Every time I’ve gotten in a car that prompts it I trun that shit off asap. Never understood WHY people want their phone and car as one.

      • McWizard@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        9 days ago
        1. Navigation with current traffic without paying a monthly fee to the car producer
        2. Seemless following of my podcast from train to car.
        3. Notification and voicing of messages while driving and the option to answer.

        Those are the main points I can think of right now.

        • Solrac@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 days ago

          Before android auto, people used to have a phone holder, usually with a charger. Navigation and voice commands were still a thing.

    • AItoothbrush@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 days ago

      Car protocols are so fucked that an extra linux media display would probably be the right way to go.

  • Pope-King Joe@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 days ago

    Hell yeah this is awesome. I don’t have a Fairphone (rocking a Pixel Fold with Graphene atm), but I have deeply enjoyed and appreciated your work on this. Keep on rockin’! 😄

  • TheMightyCat@ani.socialOP
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    For everyone that donated thank you so much!!!

    I would really to add a “thank you” section, if you would like your name here, please reply with the time of your donation so I can find it on my bank. If you want the amount shown please also say that.

    And if you want to stay anonymous then that’s ofcourse also perfectly fine!

    Thank everyone very much again! truly!

  • AndyMFK@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    I want to start by saying this is amazing and I’m grateful for you, and people like you who work hard to make Linux mobile a thing.

    But at the same time, seeing working phone calls be big news really highlights how much further we have to go.

    I’ve recently been wanting to ditch Android and I’ve been exploring options but haven’t found anything that suits my needs yet, but people like you working hard has me hopeful for the future

  • xploit@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    What apps do you need…
    Not a request or suggestion, just a vent… Only the one, that pisses me off about any and every mobile OS equally. A web browser that can be used for maps/mail/whatever other stuff from whatever other service, so I don’t have to use countless pointless apps. Sadly I doubt this would ever happen, the effort to create such a browser that would work perfectly fine and be secure and utilise the hardware features of any phone seems equivalent to just building the OS itself.
    Note: I do think many basic apps are perfectly fine and super useful, even more so when they aren’t just a shell for sending everything off to some server datacenter to process your queries.

    • NightFantom@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 days ago

      This actually surprises me, on desktop I have the screen space to multitask with everything in my (multiple) browser windows, but on mobile I want cleanly separated apps that do one thing and do it well.

  • es_eskaliert@feddit.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    9 days ago

    Not a ‘prevents me from switching’ but more of a nice to have: Does anyone know of a Gadgetbridge equivalent or port for Linux? I know of some clients dedicated to some specific hardware such as the Galaxy buds client, Amazfish and Watchmate for the Pinetime and that the Bangle.js should work using Webbluetooth directly(probably, I’ve lost mine long time ago, can’t test this).

    There seems to be a Pebble client called stoandl in the works and whilst checking flathub for this comment, I also read of Budslink, which should handle multiple brands of bluetooth headsets.

    Do you know of more such clients?