Fairhone 6 + PostmarketOS sensor bonanza!

https://catcrafts.net/media/13b048149b5511dd.h264.mp4

Hello again!

I have returned with more patches, this time i bring you. All the sensors!

This entire collum can be made green.

We are nearing 100% completion, but im afraid true 100% might never happen.

I was working on the fingerprint sensor aswell, but its gated behind the TEE, and can't be read from the kernel. This is going to be an issue.

So the end state might not be 100% sadly, but i hope people don't miss the fingerprint sensor too much? (ill see if i can get it working but this is one thing i cannot promise)

But we are nearing the end, With the sensors done the only thing left is the cameras.

I contacted the person who's blog was posted here: https://ani.social/post/34679544

and cool guy, we agreed to coordinate our efforts with the camera, so expect that one coming soon.

My hot take on the current discusion

This might earn me some hate but i am against Jolla, many people argue "don't let perfection stand in the way of good" but we have perfection right here, its the FP6.

For several reasons:

This is blatant false advertising.

The Jolla phone is not based on Big Tech technology

Yet it uses a Big Tech kernel. There is a huge difference between a mainline linux phone and a linux phone using an android kernel.

Combined with the fact that has much debated that there are closed source components and it can't run wayland apps.

There should be no excuse for closed source components period, no matter if they are small or easily to remove, if there is close source anywhere that means that open source is not an required but a marketing strategy.

And that is the issue i have with Jolla, it gives me the wrong vibe, big tech wearing foss clothing.

Jolla is a Finnish company specializing in privacy-first OS and Edge AI solutions. Founded in 2011, we continue the legacy of Nokia and MeeGo, driving mobile innovation into the human-centric AI era.

We develop Sailfish OS, the only European mobile OS, trusted globally for over a decade, and now enhanced for AI-driven applications. Our AppSupport technology enables Android™ apps to run on Linux platforms. Our privacy-focused Jolla Mind2 AI computer delivers secure AI capabilities across industries.

With over 60 successful software release deliveries and a proven track record across multiple hardware platforms, we collaborate with partners in the automotive and telecommunications sectors to drive innovation with our OS and Edge AI technologies.

https://jolla.com/

This really makes my alarm bells whistle, are they a private phone company or an AI company??? Why this marketing language?

Let me give you an example:

These are the FP6 wire diagrams, free to download at https://support.fairphone.com/hc/en-us/article_attachments/37795041144082

This is commitment to open source, this single document has allowed me to do this bringup.

Does Jolla publish one? not that i can find. If they do i retract this point but i haven't been able to find it.

So why don't they? If they truly believe in openness why not publish these documents? My hypothesis: they don't care. Its all just marketing.

Soon the FP6 will be fully ready, a true daily drivable modern mainline linux phone.

I believe in maximum openess, so lets define mainline:

its the https://github.com/milos-mainline/linux staging kernel, combined with my patches.

All my patches have already been submitted on the list, but these will take time to be reviewed, it will be a very long time before they will be integrated in the kernel itself.

But they have been submitted, and im activily working on the maintainer feedback, these will make it eventually.

Once cameras are done, i will make an easy to install script and post it here. Simultaneously i will begin selling preflashed units on my shop: https://catcrafts.net/shop/fp6-pmos

These will be identical if you flash it yourself, these are for people that can't otherwise buy one, don't want to flash it themselves, or want to support me.

I also want not only the code to be open but also the business to be open and honest, i take whatever price i can source the phones at and add a €50 euro markup, none of this ending the price in 99 nonsense.

I do this to cover the administrative costs and labor costs.

This is cheaper then the Murena /e/OS version:

https://murena.com/shop/smartphones/brand-new/murena-fairphone-6/ Which is currently priced at €599 as of time of writing.

And this might cost me alot of money but im willing to stand by it:

When a product does have to travel (a hardware fault, or a product so far gone it no longer responds to recovery tools at all), the shipping is paid by Catcrafts, both directions

https://catcrafts.net/legal/terms

This applies worlwide.

I also looked at the privacy policy of the Jolla website:

We may also permit third parties and services providers to use Cookies on our Site to better tailor the services, products and advertising on our Site and other websites.

https://commerce.jolla.com/policies/privacy-policy

THIRD PARTY ADVERTISING COOKIES ON A COMPANY THAT MARKETS ITSELF AS PRIVACY FOCUSED????

What a joke. This is a privacy focused policy: https://catcrafts.net/legal/privacy

The only thing i collect that i don't need is request logging, but i hope you understand why i do that.

No cookies, no advertising, nothing.

No i don't want to make this sound as advertising myself, i want this to sound like what the example of a open, honest, and privacy focused company should look like.

If you made it this far thank you for reading my rant, if anything is wrong or i have made a mistake please let me know in the comments and i will correct it.

341 points · 66 comments · view on lemmy.world

66 Comments

INeedMana@piefed.zip · 36 pts · 9d

Damn. That's impressive

TheMightyCat@ani.social · 31 pts · 9d

Also its not showing in the video because my room is too dark, but i claim the ambient light sensor works, so here is a photo with flash on to show it works:

TheMightyCat@ani.social · 27 pts · 9d

The only thing i collect that i don’t need is request logging, but i hope you understand why i do that.

You know what? in the spirit of openness i've deciced to put my money where my mouth is. feel free to take a look:

https://catcrafts.net/analytics

This data is lightly censored for public release, my private dashboard does contain the full information, i hope that is reasonable.

yaroto98@lemmy.world · 21 pts · 9d

Hells yes. I'd much prefer this option.

inari@piefed.zip · 17 pts · 9d (1 reply)

Absolute legend!

I contacted the person who's blog was posted here: https://ani.social/post/34679544

You mentioned before that Luca Weiss was also working on the camera, were you able to reach out to him?

TheMightyCat@ani.social · 18 pts · 9d

It appears Luca hasn't continued working on the camera so there wasn't really a need to contact him on this matter, i do have spoken with him but that was related to the NFC.

ElectroLisa@piefed.blahaj.zone · 15 pts · 8d (2 replies)

Big kudos to you for taking your time and effort to make pmOS a working alternative to Android on the Fairphone 6. Is there any ETA until your store opens?

TheMightyCat@ani.social · 12 pts · 8d (1 reply)

I only want to open the store when the phone fully works, I don't want to sell a half baked product.

I hope sometime next week, but it really depends.

ElectroLisa@piefed.blahaj.zone · 7 pts · 8d

Thanks for the info, good luck to you!

msage@programming.dev · 15 pts · 9d (1 reply)

Can I support you directly without buying the phone?

I want to give you more than 50€, because I believe in everything you say here. And I kinda feel like you open yourself to potential financial hardships, and would hate to something bad to happen to a legend like yourself.

TheMightyCat@ani.social · 12 pts · 8d

Thank you very much!

You can enter a custom amount at

https://bunq.me/catcrafts

aquafunk@lemmy.sdf.org · 15 pts · 8d (1 reply)

none of this ending the price in 99 nonsense

yay someone else who despises normalized subtle manipulation

user224@lemmy.sdf.org · 4 pts · 8d

This is especially funny with cents, at least in Slovakia. We ditched 1 and 2 cent coins, so prices get rounded to nearest 5 cents (if paid in cash).
Therefore if an item costs EUR 1.99, you end up paying 2.00 anyway,

mildseason@sopuli.xyz · 15 pts · 8d

The world needs more people like you! Huge thanks for all the work you're doing!

I agree with your assessment. Jolla is a for-profit company and the time will come when they sacrifice privacy and openness and sell their customers to the highest bidder.

We cannot rely on android forever. PostmarketOS looks very exciting. Looking forward to seeing it grow. Keep up the good work!

aqua_cat@pawb.social · 14 pts · 8d (2 replies)

I get where you stand hating on Jolla, and looking into it it really is a "say this, do that" company, but as a backer, I see value in it's position. Marketing material aside if you take it as a middleground between Android with it's problems and linux phone with it's it gives a solid proposition. It is more mature in UI department that Ubuntu Touch or Phosh (imho) with lots of native apps that look like a part of the OS. It is also made in EU, that much is clear and well company does listen and interact with comunity (official forun/ irc chat/ matrix) and contributions are open. Right now they are slowly open sourcing the window manager, which leaves their Android app translation layer. As you said you should not market foss if it is not 100% foss, but man to be honest my linux pc is not 100℅ foss either (drivers/programs) but I'm using linux to be able to watch what even yhe closed source programs do in full as I'm in controll. Jolla Phones can do all the same, as can any linux phone that wants to position itself like that. Lastly when I was in a market for a linux phone (end of 2025) there was Pine which sells underpowered toy of a phone, Volla which sells either 2017 design phone at todays price or our of my price range options and FairPhone 6 was still unsuported well by any linux phone distro (which you have changed, god bless you). I wanted a new in look and feel phone that felt like it was made in 2025 without braking my bank and having good linux support to continue my degoogle journey. Jolla was the best option at the time and I have no regrets backing it.

Hope you understand why Jolla Phone* is so big and some reasons why people follow them. It is a stepping stone for people who want to go linux but at a pace that will not leave them in the dust. If you still can't change your opinion let's just agree to disagree.

PureTryOut@lemmy.world · 1 pts · 4d (1 reply)

Just a note, if with "window manager" you mean the actual software part that does "window managing", that is already open-source. It's Lipstick and has been FOSS since, I think the beginning? The relevant parts that are closed is the UI layer, Silica, which doesn't show any signs of being open-sourced any time soon. Also various core apps are proprietary as well, I think just the browser isn't.

aqua_cat@pawb.social · 1 pts · 3d

I knew somewhere I heard Libstick is not fully FOSS and today, while checking regular Jolla Harbour News they said 1000080212

Now saying "open source parts" kinda implies it is not fully open source. That is at least my reasoning.

Anyhow they open sourced CAD models of TOH on GH so that is nice.

theskyisfalling@lemmy.dbzer0.com · 14 pts · 9d

I have been watching all the updates you have been making with this phone and how promising it looks. I couldn't agree more about your sentiments towards Jollaand when I do need to move on to a different device it is looking more and more likely to be a fairphone 6 because of the work you have done!

Thanks!

GraveyardOrbit@lemmy.zip · 13 pts · 9d
[ removed ]
user224@lemmy.sdf.org · 9 pts · 8d (1 reply)

Hey. How did you get to this? I mean, how did you learn to do this?
What knowledge and skills are necessary and how could one obtain them?

Mobile Linux development (low level) interests me (mostly because I just want a pocket-sized Linux computer), but I don't have any idea where one can even start with that.
Yes, I know it will take time, but no skills and knowledge just spawn in the brain (yet*).
*^perhaps^ ^brain^ ^impalnts^ ^will^ ^fix^ ^this^ ^in^ ^the^ ^future^

I've found couple of people having similar questions on Reddit, but they often get hit with something along the lines of "If you have to ask, don't bother."
I just need pointers.

Thanks (even if you don't reply).

TheMightyCat@ani.social · 15 pts · 8d

It really depends if you mean:

  1. You want to learn mobile linux development
  2. You want to learn linux kernel development
  3. You want to learn software development in general

i will try my best to awnser each of these:

  1. This is fairly straightforward, but it really depends on your device, ideally you want a device that already boots but has some features missing, and then start the easiest of those, the sensors on the FP6 were fairly easy since they were all on the I2C bus and the manual showed the exact pins. To obtain this knowledge the easiest way is to just look at android, if an open source version exists for your device, you can download that and look how they do it, aswell as using a rooted device to view it live. it could just be as easy as copying android.

  2. Don't go straight to the phone, get started on kernel development on your pc first, make a simple module for example. don't dive straight into the deep of phones.

  3. Don't go into the kernel at all, if you start hard you will get frustrated and quit. Pick something you would have fun with developing, something very easy. and then get started with that. this really depends on the person however so its hard to give concrete advice here. but make a simple C or C++ game or app or console utility that you would enjoy.

https://www.w3schools.com/ is a very easy introduction, alternatively you could use AI aswell. but make sure to tell it to never do the work for you. make it give you hints or explanations.

macros@feddit.org · 8 pts · 8d (4 replies)

This is incredible work! Thank you so much for your contribution to open source!

When you are finished with your work, may I point you to Maemo Leste? They are working on bringing mainline Linux to old keyboard phones (and others) e.g. the Nokia N900 and the Motorola Droid 4. They have gotten quite far for the small team they are and upstreamed many patches, but are struggling with some remaining hardware components in the phones.

For the N900 - Bluetooth and the camera as well as the lowest power state do not work. Several parts can be improved. For the Droid 4 - GPS, Cameras and there is still a close source 3D acceleration in use.

If you have time to share even a bit of your experience and skills I am sure the people there would greatly appreciate it. You can contact them via the Mailing List or better via IRC #maemo-leste @ libera.chat.

Of course this is not as prestigious and does not help as many people as your efforts with the Fairphone so I fully understand and am happy that you placed your efforts there. But to some people unlocking the last few steps to support these old phones fully would mean the world, because nothing modern is comparable to the hardware (size and HW-Keyboard wise). Also of course because of nostalgia, as the N900 was the first fully usable Linux based phone.

I would be happy to send a donation your way for any major contribution. Just ping me here in case I miss it.

user224@lemmy.sdf.org · 5 pts · 8d

By the way, PostmarketOS works on N900 as well: https://wiki.postmarketos.org/wiki/Nokia_N900_(nokia-n900)

Nednarb44@lemmy.world · 2 pts · 8d (2 replies)

This is awesome, thanks for posting the info. The droid 4 is probably my favorite phone of all time. I still have my dead one in my drawer because I'd be too sad to get rid of it. It was a rough transition to no keyboard, and I'd 1000% switch to a modern version of the droid 4, but it this works reasonably, it may be a real option (at least to toy around with)

macros@feddit.org · 2 pts · 7d (1 reply)

I currently use Leste on my N900 where it barely works. The hardware is very ancient by moderns standards and the basic kernel+services+X11 already swallows most of the 256MB ram.

The Droid 4 has 4 times as much CPU power and 4 times as much RAM and a slightly faster µSD interface. The system should be blazing fast on there. I just freed mine from old data and will try Leste in the next days. Will report back to you :)

Of course you will likely need a modern mobile phone as hotspot because 3G is shut down in most countries and 2G speeds are something else.

I think you can also expect a blog post from the Leste folks in the next week or so about their progress in the last year. E.g. the migration to Devuan Excalibur (~Debian Trixie). I am constantly astonished what the small group manages to do, as I am with @TheMightyCat and his progress on the Fairphone.

Nednarb44@lemmy.world · 1 pts · 7d

Yes please update me if you remember! And likewise, the development of these projects is bringing me back some excitement I haven't felt for tech since smart phones or mp3 players came out lol

Natanael@infosec.pub · 8 pts · 8d

Fingerprint sensors are intentionally always gated behind hardware which uses a cryptographic key to prove validation. The reason is malware, something needs to be done to prove the fingerprint input wasn't faked.

But this TEE/TPM API should be available to 3rd party operating system (although using a different key than the OEM OS kernel)

justine@snac.smithies.me.uk · 8 pts · 8d (7 replies)

Do calls work on the Fairphone 6 with pmOS ? What else works as I was looking at a fp5 but maybe I should get a fp6?

TheMightyCat@ani.social · 8 pts · 8d (6 replies)
justine@snac.smithies.me.uk · 2 pts · 8d (5 replies)

WOW ! Fully working calls is the only thing stopping me from jumping. Does the FP6 have working HDMI out like the FP5 ?

TheMightyCat@ani.social · 7 pts · 8d (4 replies)

No, and sadly that is nothing something i can fix, it doesn't support it on the hardware level.

unknownuserunknownlocation@kbin.earth · 5 pts · 8d (3 replies)

Yup, unfortunately it's a hardware issue. Honestly, I kind of prefer the FP5 for that very reason

JustEnoughDucks@feddit.nl · 2 pts · 8d (2 replies)

Not really an issue. An intentional design choice to make the phone cheaper (as vast majority do not use sub 3.0 functionality, just power users)

unknownuserunknownlocation@kbin.earth · 3 pts · 7d

I honestly don't use the USB 3.0 functionality, but at least in part due to the fact Android isn't great in terms of desktop use. Having Linux on there opens an entire array of possibilities IMO and makes that USB 3.0 (allowing use of external displays, amongst others) much more valuable.

Solrac@lemmy.world · 1 pts · 8d

At which point, one could wonder, if fairphone would be willing to sell an upgraded part to support it...

gagootron@feddit.org · 8 pts · 8d

Amazing! Once my current phone dies im gonna get a FP6, now with the confidence that linux can work on it too.

Routhinator@startrek.website · 7 pts · 9d

Legend...

Wait for it....

....

....

DARY!!!!

DmMacniel@feddit.org · 7 pts · 9d

You truly are a river to the people!

Polaris@jlai.lu · 6 pts · 9d (11 replies)

The video 404s for me :/

TheMightyCat@ani.social · 12 pts · 9d (9 replies)

Its now hosted at https://catcrafts.net/media/13b048149b5511dd.mp4

Does it work now?

PrinzKasper@feddit.org · 3 pts · 9d

Works for me

Polaris@jlai.lu · 3 pts · 8d

Works now !

sleepmode@lemmy.world · 3 pts · 9d (5 replies)

Nope.

TheMightyCat@ani.social · 6 pts · 9d (4 replies)

hmmm, that is strange, i don't want to be like "oh it works on my machine" but it works on my machine. even if you directly click on the link its a 404? or only on lemmy?

sleepmode@lemmy.world · 4 pts · 9d (3 replies)

I believe you. I’ll try on my other machines later. fwiw shows “bad media error” on Voyager app for lemmy and mobile Safari.

TheMightyCat@ani.social · 8 pts · 9d (2 replies)

mobile Safari

Ah that explains, i AV1 encoded it which safari doesn't like. The 404 was probably it looking for a different encoding. ill upload an h254 version

RheumatoidArthritis@mander.xyz · 4 pts · 9d (1 reply)

It's 404 in my browser too, as well as in curl

TheMightyCat@ani.social · 2 pts · 8d

Could you send the curl verbose output for the 404?

edit: i have investigated and i think i know whats happening, i made a typo in the original and posted /media/13b048149b5511dd.h254.mp4 which i quickly changed to /media/13b048149b5511dd.h264.mp4 however it seems that some clients may have cached the wrong link.

davidgro@lemmy.world · 2 pts · 8d

Link is busted: includes the period at the end of the sentence.

TheMightyCat@ani.social · 11 pts · 9d

It seems like catbox.moe is having some issues.

please give me a minute and i will host it via my website instead

twirl7303@lemmy.world · 6 pts · 8d

Very grateful for this work.

letterbeen@snabelen.no · 4 pts · 9d (12 replies)

@TheMightyCat

Being really impatient here, so I've tried installing pmos from pmbootstrap and it's working great for me, of course without your patches for now. If I want your patches as well, my understanding is I have to:
- Download and build the kernel with your patches
- Download and build imsd + figure out what variables I need to set for it to work with my Norwegian carrier
- Include both in a new image via my pmbootstrap setup/profile and flash it

...

letterbeen@snabelen.no · 2 pts · 9d (11 replies)

Not expecting you to be my personal tech support, just wanted to verify if I have the right idea. I should be able to figure things out, my main limiting factor is time available 😅 @TheMightyCat

TheMightyCat@ani.social · 3 pts · 8d (10 replies)

The process wasn't really designed for others yet, please give me an ~hour and i will host prebuild versions.

letterbeen@snabelen.no · 5 pts · 8d (9 replies)

That would be incredible, I might be able to do a call test later tonight or tomorrow, thank you so much in advance. I second all the praise I've seen in your posts so far 😄

TheMightyCat@ani.social · 5 pts · 8d (8 replies)

please give me an ~hour and i will host prebuild versions.

Me, 12 hours ago, clueless.

but i have succeeded!

The script itself also says this but keep in mind that this is an early version and not the production version.

https://forgejo.catcrafts.net/Catcrafts/fp6-img

letterbeen@ani.social · 2 pts · 5d (7 replies)

(Federation didn't want to work from my home server with my awesome image, so I made as account here as well to repost...)

I'm just so happy you made the effort to set this up! And then I went into the same trap myself and thought I could get it working in an hour. So far I've managed to build the image, flash and run it and verify most features except SIM related stuff. It seems my FP6 is having trouble reading its own IMEI, both on your build and pmos edge. So I'm going back to Android just to see if I've borked something, then back to pmos when I get the chance.

^ That was the original message. In the meantime I've been back to Stock Android to verify that everything works, which I never bothered to do when I initally got the phone 😅 Everything is working though, so next evening when I get the chance, I'm diving back into pmos to see if I can get it working again. I've been having some trouble getting the P-CSCF address, and the internet claims that address might change when going between radio towers, so I've started digging into the rabbit hole of automatic retrieval through PCO via "IMS PDN"... Learning a lot of abbreviations so far, we'll see if I get anywhere with it...

TheMightyCat@ani.social · 1 pts · 5d (6 replies)

Yeah that is a known issue with the pmos flash instructions, are you just flashing my image or using the installer?

The default way zeros out the modem partition, so all the modem data is gone upon booting into pmos, only way to fix that is to flash android again.

My installer saves the modem data, so if you use in the installer ir should work.

letterbeen@ani.social · 2 pts · 5d

Oh, that makes perfect sense actually, I had pmos edge installed prior to your version (which I installed using your install.sh script). So now that I'm back on android, I should be able to go straight into your image and keep the modem partition hopefully 🤞

letterbeen@ani.social · 1 pts · 4d

Sorry to bother you again, but happy to report I have your image running with at least sms+mobile internet working! But I'm currently stuck at getting the p-cscf address, do you have any specific pointers on how you got yours? I haven't found any documentatior for my own carrier (Telia in Norway), and I can't for the life of me figure out how to extract it from Android nor pmos. Did a whack at trying to implement it in pmos, but so far, I'm hitting a wall, where I seem to be blocked from doing it through ModemManager/qmicli (where I've mostly been pasting llm suggestions...)

ChaoticNeutralCzech@feddit.org · 3 pts · 8d

Can it run phyphox? That's an awesome FOSS sensor data acquisition app (available via F-Droid) but only for Android/iOS right now so maybe via Waydroid?

Cricket@lemmy.zip · 2 pts · 5d

Hi there, thanks for all the great work you've been doing on this!

To answer your question about the fingerprint sensor, to me personally it doesn't matter. I've never used any biometrics on my phones. I would generally expect privacy-minded people looking for an alternative in Linux phones to feel the same way about biometrics, but maybe I'm just weird.

prole@lemmy.blahaj.zone · 2 pts · 8d

I thought the title said 'fairhorn' as in, "well, get them on the horn!" (Old-timey voice) "Operator, connect us to Klondike 1604 please!"

Honestly.... I have no idea what I'm even talking about anymore. Didn't have it in me to even finish the joke on this one. Sorry folks.

Cool project