FP4 and (unofficial) LineageOS

I just got my FP4 today. First of all thank you @g4b and the other ones involved!
I’ve been reading through all the posts here, but I seem to have missed the reason why these
are just shared here and there: Downloads for : Fairphone Fairphone 4 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers., but not on the LoS website? https://download.lineageos.org
Is it just because these are still experimental, or are there any blockers before adding FP4 there?

unfortunately (but this is for the better!) official support for a device in lineageos requires a stricter process (see also here) and more manpower than what anyone here can afford at this moment.

hopefully someone with enough resources/time/motivation will pick this up soon. in the meantime we need to live with unofficial builds.

4 Likes

No, there’s no official release yet

Thanks for the explanation. Indeed, those requirements seem to be quite demanding (though understandable). I recently moved my fp4 to LOS and it works pretty well :slight_smile:
The phone quality seems to be sometimes quite bad, but I will investigate that further (also didn’t tested it with the stock os first).
Another thing I noticed is that there keep updates showing up which should be available. Once I click on them nothing happens and also in the settings I can’t find any updates.
I guess I would need to update them via usb / adb either way?

Just noticed that the “call” word got lost, the phone quality itself seem to be quite nice.
Talking with multiple persons seem to verify that for my case, unfortunately.
I have a slight feeling that activating the loud-speakers often worsens the situation,
but not sure about that yet.
Using my old phone, LG G6 with the same sim at the same location worked with less issues.
Too bad that I didn’t tried that before flashing, maybe I’ll compare it to the Stock OS when I have some free time.

1 Like

So… should my phone be telling me that I will be forced to install the latest Fairphone OS update in 19 days? Because that sounds like a pretty bad idea

Hi,

I have my FP4 already. I have read the thread and try to summarize:

I am not yet using the phone as

  • I definitive want LOS on it
  • I don’t use Google apps or Playstore (only Fdroid)

I am wondering the following on what I need to do:

  • Should I wait for a official LOS release? Because this would overwrite my data or can I just update when it will be released?
  • If updating works, should I now just build myself from [1, 2, 3, 4, 5] repository and install with recovery manager?
  • Shall I use TWRP or Magisk? (ref. TWRP: [6])
    – I answered this myself (I need both I think): [9]
  • I read here about rooting and locked bootloader. Now I’m scared I will do something stupid - can you clarify here? Is this the explanation? [7]
  • Do I need to root? I wanna use AFWall+ firewall and AdAway apps
  • I did not understood what it is with this “proprietary files”: [8]

@Aaanze, @dk1978

[1] GitHub - WeAreFairphone/android_kernel_fairphone_sm7225 at staging/11/fp4
[2] Get proprietary vendor files for FP4 - #26 by Error
[3] Building LineageOS for FP4 - #5 by Error
[4] Building LineageOS for FP4 - #47 by hirnsushi
[5] Post from Aaanze: FP4 and LineageOS - #81 by Aaanze
[6] TWRP for Fairphone 4
[7] FP4 and LineageOS - #127 by Aaanze
[8] github.com/SyberHexen/android_device_motorola_kiev/blob/lineage-18.1/proprietary-files.txt#L398
[9] https://www.quora.com/Whats-the-difference-between-TWRP-and-Magisk

That’s a lot of questions :smiley:

There is no way to tell as of now since official development doesn’t seem to be moving at all as we speak.
However, it appears that for the FP3 the unofficial builds were compatible with official release without a wipe. We can assume it may follow the same path for the FP4 but we can’t be sure.

You can either download a build from the main thread or build it yourself from source by following the instructions.

  • You do not need Magisk. Magisk provides root, root is not mandatory for installing nor using LOS.
  • You should not (and probably would have trouble ?) install LOS with TWRP. Lineage OS provides its own recovery that has been proven more reliable for installing LOS than TWRP.

I’m no expert on the matter, but all I know is the risk of bricking your device when relocking your bootloader while running a rooted custom ROM is higher, as if everything goes wrong, it becomes much more complicated to restore your device to it’s original state. By nature, unnoficial custom ROMs cannot be presumed as stable. I know however that someone locked his bootloader successfully after installing LOS on his FP4.
I would advise to let the bootloader unlocked for good measure. Again rooting is only necessary if you’re counting on installing apps that make use of root permissions, otherwise you’ll be fine without it.

Adaway indeed requires root. Not sure about AFWall+.

Proprietary blobs are the devices drivers that are not open source and therefore cannot be compiled in the process of building the ROM, therefore we have to extract them as binary files from an existing ROM to be able to “integrate” them with your own build.

3 Likes

Unlocking bootloader will wipe your data (factory reset), but then you’ll be able to install any custom OS :smiley: .
Re-locking bootloader, as already mentioned, could brick your device in a non-booting state, the only solution then is to send it to Fairphone that will reset is for approx 30€ + shipping.

Keep in mind that you can one-time-only root your device with fastboot boot boot-patched.img (and not fastboot flash), it is useful if you don’t need permanent root but just time to time :slight_smile:

1 Like

oli, where can i find this statement?
That you can get it reset for 30,-€ if you send it in?
There was once something in the forum, I remember, but can no longer find it.

Thanks

Found it.

1 Like

Was that 'the other post’ ~ not a Fairphone offer?

Is there anyone else with this problem? Because I feel like automatically installing a Fairphone OS update over my LOS installation will break my phone. I only have 16 days left

Showing a screenshot of the exact message might help.
I remember people getting a notification for a FPOS update on their FP3s running LOS, they could just dismiss it and forget about it.
Indeed, it would be quite disastrous to dirty install a FPOS update upon your LOS install.

A “dirty” install wouldn’t (shouldn’t) happen, the OTA updater checks the hashes of the partitions and if those don’t match the expectation, it just stops and throws an error.

2 Likes

Hi,

even after doing my own LOS builds, I’m in approximately the same situation as you, since I don’t want to start using the FP4 as a daily driver if upgrading to officially supported builds means wiping it.

the most promising way forward I see right now is with CalyxOS, which meets most of my requirements and should see a release hopefully not too long away (based on android 12 / lineage 19):

you might also want to check out iodéOS: [ROM][FP4][11.0] iodéOS = LineageOS 18.1 + MicroG + adblocker [02/02/2022] | XDA Forums

both advertise support for bootloader relocking, which is not something I’m confident to achieve with my own builds.

1 Like

iodé released a new update for FP4 today

Quick changelog :

  • all aps updated
  • march security patch, synced LineageOS
  • News app reworked
  • Setup Wizard : new iodé introduction
  • Teracube 2e second batch released, heavy work for fixing OTA issues
  • FP4 : automatic brigthness fixed
  • few issues fixed here and there (playlist crash in Music app, … )
3 Likes

What? If you have LOS installed Fairphone is forcing to install another OS?

Hi,
thanks for all the replies!

  • So if I am capable to build my own LOS, then it’s likely I can build a new one on each update and installed it over the current on without wiping? I think I will go this path
  • On root to be clear: But if I want to use apps like AdAway, AFWall+ - then I will require root right and need Magisk, right?
    – Can you tell again when I would need to relock my device? Because why, if this is a risk? Because it is a security issue if I loose the phone?
  • What is the best and most secure way to access the binary files? Or do I misunderstood that I dont need this for the phone?

Cheers

@g4b , not one of the custom roms other than LOS have one of the most relevant features I want - gApps. But that’s good to hear @hirnsushi , I guess I’ll just have to wait and see.

2 Likes

Since the absolute majority of people install custom ROMs to get rid of GApps, I wouldn’t call that surprising

2 Likes