Unable to remove Iode and install stock FP4 OS

I am following the steps here:

*** Fairphone 4 flashing script ***

INFO: The procedure will start soon. Please wait...
INFO: The package type is "user-factory"
INFO: The build number is "FP4D"
INFO: You are using macOS.

INFO: Validating the integrity of the package.
      This might take a while. Please wait...
INFO: Validation complete.
WARNING: Flashing this image wipes all user data and settings on the phone.
         It will also remove the Google factory reset protection.
         Are you sure you want to continue?
         Type "Yes" (case sensitive) and press enter to continue: Yes
INFO: Looking for connected device(s)...
INFO: One Fairphone 4 in fastboot mode found (serial number: 67596107).

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Now the process is super fast and it doesn’t automatically reboot. Needless to say, Iode is still installed. What am I doing wrong?

Thanks for any help!

I think you might need to restore the AVB keys from the bootloader first.

two things

  1. first you have to unlock your bootloader and the critical partitions
  2. you have to delete iodé’s avb custom key: fastboot erase avb_custom_key

then you will be able to install FPOS via script

1 Like