Rooting is now easy thanks to @k4y0z work. I am going to make a simple guide on how to root using the open source root tool called magisk.
- Download the TWRP boot img from https://github.com/chaosmaster/android_device_fairphone_fp3/releases Also download magisk manager from https://github.com/topjohnwu/Magisk/releases and locate the apk on your SD card, install it and ensure that you press ‘install’ inside magisk manager, locate the zip on your SD card.
- Install ADB on your computer and ensure that your device has ADB Debugging enabled.
- Once you have a ’ privileged’ connection via ADB run, ‘adb reboot bootloader’ Your phone will now boot into fastboot mode, this is where we can boot custom images
- Run ‘fastboot boot (path-to-twrp).img’ Your phone will now boot in to TWRP
- Find the install section of TWRP
- Navigate to the SD card, find the magisk zip, select it and now swipe ‘flash’
- Voila! Reboot back into the OS and you will now have full root access.