FP4 Root Access is possible, maybe a bit risky

Disclaimer: You do this at your own risk! I’ve been running my phone this way only for about an hour, this might still eat your data, make backups!

I managed to get Magisk working, here’s what you need:

  • Unlocked bootloader

  • adb & fastboot

  • Magisk app installed

  • Either the stock boot.img provided by Fairphone (check Settings → About phone → Build number for the version you need, just use the newest one if you are on a version not yet available)

  • Or, if running an OS other than stock, the boot.img that’s being shipped with your ROM.

Step-by-step:

  1. Patch the downloaded stock boot.img with Magisk

  2. Transfer / adb pull that patched boot.img to your PC

  3. Reboot to fastboot adb reboot bootloader and temporarily boot from the patched boot.img fastboot boot /path/to/patched_boot.img
    Do not flash that boot.img!!!

  4. Wait for the device to boot (took a bit longer than usual)

  5. Open the Magisk app (press Cancel when asked to perform Additional Setup), choose direct install and reboot

  6. Have fun

I tried to directly flash a patched stock boot.img, pulled boot_a and boot_b from the phone and patched those, but never could get Wi-Fi working (despite the hint in the developer docs). This way finally worked :metal:


Performing an OTA update with Magisk installed:

26 Likes
:pencil2: FP4 - Guides for customising Fairphone OS
Fixing OTA after rooting
Aurora / microG / signature spoofing on FP4?
Building LineageOS for FP4
Camera shortcut in the lockscreen
How is it possible to recover moved/deleted files?
Bootloop after fastboot flash vbmeta
CalyxOS (is coming to) is here for FP4!
:de: Berliner Fairphoner
Soft reboot after initial screen unlocking
Howto install Calyx OS on FP4
CalyxOS (is coming to) is here for FP4!
Software update: FP4.FP4I.A.175.20221207
I'll buy a fp4 when lineageos is ready
Software update: FP4.SP21.B.048.20230215
Advice for custom rom, root and recovery
Questions about root, about TWRP, and about the "LINE Messenger" app on Fairphone 4
How to root the FP5 and OTA update - at your own risk
How to root the FP5 and OTA update - at your own risk
🇩🇪 Fairphone 5 rooten
:de: FP4 Update FP4.SP28.B.065.20230420 "Hintergrund und Stil"
FP4 and (unofficial) LineageOS
FP4 and (unofficial) LineageOS
🇩🇪 Fairphone 5 rooten
🇩🇪 Fairphone 5 rooten
How to root the FP5 and OTA update - at your own risk
Trapped in fastboot mode with locked bootloader and corrupted custom ROM
Android 12 has come to the FP4
FP4 and (unofficial) LineageOS
Rooting Fairphone 4 with Magisk
TP2R.C.0132 can't complete
My FP4: 3 years and counting
How to root the FP5 and OTA update - at your own risk
Issues rooting a FP3
:fr: avant de passer au FP4
Ways to root the FP6
How to root the FP5 and OTA update - at your own risk
How to root a FP3+ under LOS19
CalyxOS (is coming to) is here for FP4!
Random Bootloop on FP4 after Incorrectly installing LineageOS from Magisk
:pencil2: FP4 Fairphone OS updates - changelog
Getting the FP4 to stock
Is Magisk affected by the locked bootloader bug?