LineageOS 21 für das Fairphone 5

Wie alles begann

Nachdem mein bisheriges Smartphone so langsam den Akku-Tod stirbt, habe ich mich im Dezember nach einem Nachfolger umgesehen. Da ein Austausch alleine ca. 60€ Materialkosten und 2h Aufwand bedeutet, bzw. ca. 100€ wenn man den Akku professionell tauschen lässt, war das für mich keine Option. Weil ich Open Source mag, gerne eine SD-Karte habe und einen austauschbaren Akku super finde, fiel meine Auswahl ziemlich schnell auf das frisch erschienene Fairphone 5.

Ohne LineageOS ist alles sinnlos

Als das Gerät dann endlich bei mir war, habe ich es natürlich direkt ausgepackt und ein paar Tests gemacht. Leider fehlten mir im Stock-Android von Fairphone ein paar kleinere Funktionen und ich wollte - wie auf meinem bisherigen Android-Telefon auch - LineageOS installieren. Zu meiner Verwunderung gab es bisher nicht einmal ein inoffizielles Community Build, dafür aber auf LineageOS basierende ROMs wie e/OS und iodé. Also machte ich mich auf den Weg zu XDA, um gleichgesinnte zu finden. Dort waren tatsächlich bereits ein paar Leute damit beschäftigt, ein funktionierendes LineageOS für das FP5 zu compilen. Da ich noch nie ein so großes Projekt kompilliert hatte, war ich froh, dass es bereits eine grobe Anleitung gab und versuchte mein Glück.

Nach einigen Tagen und mehreren fehlgeschlagenen Versuchen, scheint es nun endlich geklappt zu haben. Ich werde versuchen euch hier auf dem Laufenden zu halten.

Maybe there will also be an English version of this soon.

LineageOS 21 for Fairphone 5 (FP5)

Latest update: 2024-02-18 12:43 (Europe/Berlin)

Use all the information provided on this site with care and at your own risk. Even though I've checked the content before publishing it, there can be major mistakes. I'm not responsible for any damage you or your kittens may suffer from reading this or using the information provided on this site!

This build is unofficial and self signed.

Known Bugs:

  • Battery charging limits not available
  • none so far

Changelog:

  • 20240211: Again some bigger system partitions/inodes. Still trying to get GApps working.
  • 20240216: Disabled vbmeta hashtree feature. GApps working (MindTheGapps 14.0 arm64). May still need some more optimizations.
  • 20240217: Optimized system partition sizes and updated to latest LineageOS source

Download (SHA256 Checksum and boot.img e.g. for Magisk patching are also on GitLab)

Credits

Many thanks to chris-81, ochorocho and all the others over there at XDA, LineageOS dev IRC and the Fairphone forums who helped, to get this running!

Build Tips and Tricks

In order to get an successful build process, we first had to make sure, that the machines have enough RAM memory. This can be either solved by adding hardware or by using the awesome Linux zRAM implementation.

We had started using vendor blobs from public Github repositories, but those left us with an unbootable ROM.

I'll try to do a more detailed writeup of this during the next weeks and we are planning to contribute our findings to the official LineageOS project in order to get an OFFICIAL build for the FP5 later.

Vorheriger Beitrag