Fairphone 5 source code release

From the very beginning Open Source software has been an important topic for Fairphone – it’s part of our history and DNA.

On every smartphone we produce and sell – we publish as much source code as we legally can. And we share all of this information publicly with our users and community on our Fairphone Code website.

Following this ambition we are excited to announce that today, following the Fairphone 5 launch, we are also releasing the source code for its Android 13 operating system.

You can find instructions for browsing, viewing and downloading the source code on code.fairphone.com. The source tree contains all Android and Linux kernel sources that we can publish, excluding some proprietary components. The public source tree also does not contain proprietary third-party apps such as the Google Mobile Services.

For now the sources are not buildable yet, this will follow at a later stage.

Feel free to discuss the release, and let us know if you have any questions or feedback!

51 Likes

Will you also release CAD Models of the Fairphone / the Fairphone parts? Having the Models available would help designing accessories (holders, covers,…) that could then be 3d printed,…

The models could also help test if the phone fits or use it in 3d environments instead of a generic phone.

8 Likes

What proprietary components are missing? And would the Fairphone 5 even be usable without them?

I’ve been wanting to buy a Fairphone for a while now, but I get bad ghost-town vibes when I visit Fairphone’s opensource website and the only phone that is mentioned is the “Fairphone 2”!

If you want to try out Fairphone Open check out the installation instructions. There you will find everything you need to install Fairphone Open on your Fairphone 2.
https://code.fairphone.com/ [Emphasis mine]

Beyond Android updates for the Fairphone 2, we also have our own alternative Android operating system – Fairphone Open, which is exclusive to Fairphone 2.
Open Source and Fairphone, what we believe in - Fairphone [Emphasis mine]

Yes, I do see that there’s little boxes on the side that mention Android Open Source Project for Fairphone 3 and 5. Source code to AOSP does not meet the promise of Fairphone’s earlier slogan of “If you can’t open it, you don’t own it.” All Android phones are based on AOSP with proprietary additions, so how is Fairphone’s commitment to Open Source any better?

I want to support Fairphone. I appreciate that it has ethically produced hardware, but I don’t want to be trapped in another proprietary software eco-system ever again. For that reason, I’ve purchased a Google Pixel and installed GrapheneOS and have been quite happy with it.

My hope is that in the next year Fairphone will update and strengthen their Open Source offerings so that my next phone can be Fair in both software and hardware.

1 Like

There are also alternative ROMs for the Fairphone devices that may be more open source. So if it doesn’t have to be the stock ROM, then there are some options.

As far as I know Fairphone releases everything as open source, such as their kernel and AOSP changes. But there are some parts they cannot publish due to license issues.

2 Likes

A post was merged into an existing topic: FP5 without google?

Afaik they stopped developing the in-house FPOOS after the FP2 and partnered with certain custom ROMs instead. They actively work with Murena for example and provide them with early details about future devices to expedite development. Hence you’ll soon be able to buy an FP5 with /e/os preinstalled and full support through them. They plan to start shipping the end of September (a mere two weeks after the variant sold through FP directly).

You can already place your pre-order here:

This move allowed Fairphone to reduce their in-house workload while still supporting open source FP variants. Afaik only about 10% of people used FPOOS back when it was developed in-house. The rest used FPOS with proprietary Google services enbled.

(Note that you can of course manually install /e/os on any FP5 bought with FPOS as well, but the phones bought through Murena come with a locked bootloader despite the custom ROM being installed and full soft- and hardware support through Murena. So if something goes wrong that you can’t/won’t fix by yourself you can send it in and get it back with /e/os still installed.)

2 Likes

Can “later stage” be defined more clearly?
As in:

  • does it depend on assigning time to it
    (where it is for the foreseeable future assigned less priority than other time-consuming efforts)
  • does it depend on getting permissions / good sourcecode in a repository
  • or something else entirely.

We have to do some work on our side in order to make the public sources build-able, but we won’t be able to prioritize this before the end of the year. Early next year is the best estimation we have right now. In the meantime we are available for any questions you might have about the source code, and we will try our best to support :slightly_smiling_face:

18 Likes

Happy new year!
As it is (really) “early next year” now I’d like to ask whether you have made any progress regarding this topic.

Unfortunately we don’t have an update on this topic yet.

4 Likes

I’m also waiting for this. I agree that it would be good to have some clarification on the exact timeline here, not to mention just having public sources be fully buildable.

Part of the attractiveness of the fairphone is the openness and control over the hard- and software. Buildable public sources should be available on initial release of the phone in my opinion, but if that’s not possible then at least not too late after.

But that’s what they’re doing, isn’t it? Not too soon :wink: .
(I’m sorry.)

Schematics are out relatively timely. Time to hop over to the crowd waiting for the schematics and celebrate with them for a moment.

Ha, coffee hadn’t kicked in yet I suppose. Updated my post.

But as for celebrating, I’ll hold off on that until everything has been released.

Dear all,

Thanks for you patience, unfortunately it will still take some time for us to wrap up this topic properly, say Q2-Q3 2024.

To clarify things, the currently published source tree is as complete as it gets, we published everything we legally can, everything that’s not proprietary in some way. The major change we’ll need to do is to restructure the source tree in a way that it can be built without proprietary dependencies (toolchains, headers, etc), and move those proprietary components into a blobs package, as we’re doing for the previous devices already. This is complex, because the source tree as it comes from suppliers is typically not set up in a way designed for open sourcing.

Meanwhile as @MaartenD said, if we can support you on some specific topics on the currently published source tree let us know :slight_smile:

16 Likes

A post was merged into an existing topic: Have you seen the schematics for the Fairphone 5?

How many parts of the Fairphone 5 are running without the source code being available?

It seems like something, that I expect to find on the homepage :v:t2:

I moved your post here, as it seems you might want to follow developments discussed here.
Please have a look at the post above yours, for example.

1 Like

I have a problem when I try do download source for compiler for FP5.
I have do this command:
repo sync --detach --current-branch --no-tags

and when I are at 98%, I have this error:
fatal: internal server error
remote: internal server error
fatal: EOF prematuro
fatal: fetch-pack: invalid output index-pack

Who can help me?

Thanks
Ken

Welcome to the community forum.

I moved your post here, it might get more attention here from people in the know.

OK
thanks very much!
I hope you can help me