Official LineageOS 20 FP4

Thanks again for your hard work on getting it too Official. I am running on my FP4 and runs beautifully. I want to relock the bootloader now and done the get_unlock_ability and it shows 1. Security updates are the same as Fairphone updates. Is a key automatically installed or not to enable me to critical lock and then lock bootloader. Or if not Magisk way to allow Wallet and Banking?

1 Like

Can I install the official build over an unofficial (mustermann) one directly the same way as I would an update or will that break things?

In the past that worked flawlessly. And I am not aware of any change in Lineage 19 or 20 that would prevent that.

Handy, I vaguely remembered there being something needed to update keys? Or does that only apply for building images or am I totally off base?

Has anyone already tried if LOS20 also has the call quality issues as reported here for FPOS?

or

or

3 Likes

Iā€™ve updated my FP4 to the latest official build now and while it works thereā€™s one strange issue. Iā€™ve thought about going back to stock briefly in order to make sure that the firmware is fully up to date but couldnā€™t.

In the developer options the OEM unlocking toggle is stuck in the ā€œlockedā€ position and greyed out, but the UI says that it is already unlocked.

image

In Fastboot it seems like the non-critical partitions are unlocked but the critical ones arenā€™t:

$  fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 0

$ fastboot flashing unlock
FAILED (remote: '	Device already : unlocked!')

$ fastboot flashing unlock_critical
FAILED (remote: 'Flashing Unlock is not allowed
')

$ fastboot flashing lock_critical
FAILED (remote: '	Device already : locked!')

Any ideas how to get around this? I was able to upgrade the ROM via sideloading just fine and could also flash the recovery partition so I think the information from fastboot is correct.

EDIT: Attempting to fix this with Trapped in fastboot mode with locked bootloader and corrupted custom ROM - #117 by hirnsushi

EDIT2: Worked (root device, run resetprop ro.boot.flash.locked 1 in shell as root, toggle the toggle)

FYI official LineageOS builds will always include latest available firmware, just like CalyxOS. Be careful with bootloader relocking on LineageOS though as that has not been tested.

7 Likes

I am currently running an old Lineage OS 19 version and would like to upgrade to the latest 20,
preferably without loosing my data, thus following Upgrade LineageOS on FP4 | LineageOS Wiki

I used the pico gapps on my last install, so apparently, I should stay with that, to not need a factory reset. However, since I canā€™t find it, I downloaded the MindTheGapps-13 linked on the upgrade website, but canā€™t find out to which pico/nano/ā€¦ level that corresponds. Google apps | LineageOS Wiki
Which would be the right google package to install instead, or better from where would I get it? OpenGapps itself seems outdated, does it mean I canā€™t get pico gapps for LoS 20 yet? In this case I would have to factory reset and switch to mindTheGapps?, I guess https://opengapps.org/

I canā€™t tell how smooth the upgrade work, as I havenā€™t done one on FP4. For other phones this work without losing data as long as you follow every part of the upgrade wiki for the depending phone.

Itā€™s hard to compare OpenGapps with MindTheGapps as there is only one whole package against up to 12 without sharing exactly the same apps in any of them. Best comparision would be against a OpenGapps nano package with some extra apps, but not quite as ā€œlargeā€ as the micro package. As I used both of the packages a long time, I would currently prefer MindTheGapps for newer phones.

A factory reset wasnā€™t needed at all when I switched OpenGapps to MindTheGApps on an older phone while upgrading LOS 18 to 19. All apps worked as expected after the upgrade, maybe you have to redo your app settings for some apps and wait until the apps have updated themself to their current version.

2 Likes

Itā€™s great that LOS is now official for FP4! :tada:

Security Updates Fairphone 4:

The CalyxOS releases for it only contain the latest fixes to the open source components, such as the OS code and the Linux kernel. Proprietary components such as the bootloader, modem firmware, and other firmware get updates as soon as the stock OS update is available.

@mikeNG How is it with LOS for the FP4? How often are there updates for OS code and the Linux kernel? Monthly, every 2 months, ā€¦?

Looking at the change log for the next build and the Jan security update is ready to be deployed. I would say the security updates will be quicker but for updates to the phoneā€™s hardware we will have to rely on FP.

1 Like

Hi all,

I have installed the new update of the official LineageOS through the OTA from the update menu on the smartphone.

The update was done successfully, but it take a very long time.

The first step to download the update and second step to install was done quickly, but the 3rd step to finalize the installation package take more than 3 hours.

Is it really normal that it take so long?

Thanks in advance

had the same thing, took forever to update,never seen it before, but my old phone would always boot into twrp to update, and this one is staying in the os. i was able to keep magisk going so thats a plus :slight_smile:

I upgraded to the official release at the weekend. First tried to replace the keys as stated in the wiki. But my packages,xml didnā€™t contain any keys, so the script did nothing. Then I just dirty flashed the official build over mine. That worked fine. No issues so far.
TLDR; Just flashing the official build should work.

3 Likes

It is indeed as simple as that, just tried it, everything went perfectly well.

On another topic, Iā€™ve been rocking LOS with manual update for so long that I donā€™t remember how OTA updates handle root and GAppsā€¦
=> Do I need to restore image through magisk ā†’ proceed to OTA ā†’ install magisk in second slot through magisk ?
=> Are gogle apps wiped when proceeding to OTA updates ?

1 Like

Some questions regarding LineageOS 20 on the FP4:

  1. Can I use ext4 as Filesystem on the external SD?
  2. Does Android Auto work via USB?
  3. Does Volte and Vowifi work?
  4. How is your experience with the camera? LOS camera and GCam?
  5. What is the selinux status?
  6. Does it pass safety net checks?

Thanks a lot in advance

Has anyone successfully locked the bootloader after installing LineageOS?

Following happens on my phone:

  1. fastboot flashing lock_critical ā†’ works and boots fine
  2. reboot into bootloader
  3. fastboot flashing lock ā†’ always boots into bootloader.
  4. Boots fine when fastboot flashing unlock

As far as I read, LineageOS 20 still does not support relocking, correct?

I played around with this for a couple hours yesterday, but didnā€™t get it to work. Iā€™ll keep trying though.

2 Likes

It passes on my side yes, I did a LOT of stuff to get GPay/Wallet working so I donā€™t quite remember everything but hereā€™s a peak of what I have as we speak (keep in mind that this is an exhaustive list of what I have installed on my device, some might not be relevant):

Magisk modules:

=> MagiskHide Props Config
=> Systemless Hosts
=> Universal SafetyNet Fix v2.3.1
=> GPay SQLite Fix (this one is only mandatory for GPay, will not do anything for safetynet check)

Props:

This one is kinda important as you wonā€™t ever pass safetynet on LOS with default FP4 device fingerprint, I donā€™t get why this is not necessary with stock rom, but the fact is I know for sure this step is mandatory.

=> Changed my device signature to trusted device, chose: Fairphone 3/3 plus

Magisk settings:

=> Zygisk enabled
=> Force exclusion list
=> Excluded:
- Play Store
- Wallet
- Google Service Framework

You have to clear the cache of said applications before adding them to exclusion list, then reboot.
I think I remember setting my device in airplane mode before clearing cache of those app and disabling it after reboot. This might be necessary.

Thatā€™s about all I can think of. But it does pass.

You are a brave lad ! You might not be aware but thereā€™s heavy history of fairphone users who bricked their device to the point where RMA is the only way to get back working, by relocking the bootloader. Including with stock OS.

4 Likes