Install LineageOS 18.1 and root a FP3(+)

I own a Fairphone3+ and I used to run LineageOS 17.1 on it since the first day.

Recently, LineageOS provide the 18.1, based on Android 11 for Fairphone 3 (3 and 3+). I would like to use it, and I need to root it in order to run some special software.

The big picture is, too root the phone, with Magisk you need the file boot.img from the original ROM provided by the phone constructor 1. We referred to this article for the beginning part of our journey.

Please read it and do the manipulation until Download the Official ROM.

Let’s start

MAKE A BACKUP OF YOU DATA

You will find a lot of tutorial on the internet.

You have unlock your bootloader according the previous instructions.

Download piece of software

We need to download some software:

Boot in fastboot mode

Open a Terminal application and check that your phone is connect to your computer through a USB cable and you can see it with the command adb devices.

Enter the command adb fastboot

Your phone must reboot and your should see that it is on fastboot mode.

Install the recovery img

We need install the recovery image before installing the LineageOS it self (see below).

Be sure to be, on your computer, on the folder where are all the piece of software you have already downloaded.

Here is the commands your need to use:

fastboot getvar current-slot
current-slot: a Finished. Total time: 0.001s

In order to be sure to use slot a, use :

fastboot --set-active=a

Then you flash the boot_a partition with the command:

fastboot flash boot_a
lineage-18.1-2021xxxx-recovery-FP3.img

We need to shutdown the phone:

fastboot shutdown

Boot in recovery mode

Boot your phone with power and sound up buttons push until the Fairphone logo appears

You should now (after a small wait) be in recovery mode.

Install LineageOS

The command adb devices should list your phone. If it’s not the case, something went wrong in the previous operation, please replay it.

On the phone navigate to Apply update>Apply from ADB. Then on the host computer use:

adb sideload lineage-18.1-2021xxxx-nightly-FP3-signed.zip

It takes time, be patient.

On the main menu choose Adavanced>Rebbot to recovery

Install Magisk and root the phone

On the phone, choose Apply update>Apply from ADB, then

adb sideload Magisk-v23-0.zip

The phone will ask you to install the non-signed software, answer ‘YES’.

This step will install Magiosk on the phone and reconfigure the boot.img file to root the phone.

Install OpenGapps (optional)

If you want to install OpenGapps, use the same sequence, Advanced > Reboot in recovery. Then once the phone is again in recovery mode Apply update>Apply from ADB:

adb sideload open_gapps-arm64-11.0-nano-20210821.zip

Reboot the phone

It’s time to reboot the phone in the new install ROM.

Go back to the main recovry screen with the upper left arrow and choose Reboot system now

Once again it takes time, be patient, but you should have now a FP3(+) with LineageOS 18.1 rooted.

Congratulations \o/

Disclamer

IN ANY CASE I COULD’T BE RESPONSIBLE OF ANY DEVICE DAMAGE. YOU USE THIS TUTORIAL AND THE SOFTWARE IN YOUR OWN RESPONSIBILITY. IN CASE OF FAILURE, REINSTALL THE DEFAULT OS USING THE FAIRPHONE PROCEDURE.


  1. see How to root a Faiphone3 on this website) ↩︎

  2. if you neeed some Google Apps without Google Account ↩︎