Today I received my fairphone 5 and I wanted to flash /e/os on it.
It had security patch 5 january 2025, so I downgraded to Fairphone OS version B.088, which has 5th November 2024. This worked, and I confirmed the security patch version.
I downloaded and installed IMG-e-2.7-t-20250111460957-official-FP5, which has that security patch verison.
Flashing went correctly.
Locking the bootloader did not: I got “Your Device Is Corrupted And Cannot Be Trusted”
Now when I boot my phone it goes to fastboot, but is locked and cannot be unlocked. fastboot flash boot boot.img didn’t work, as it is locked
But this comment does not address the situation of the OP where I guess the following must apply “The value of rollback index can NEVER be DOWNGRADED”, from https://doc.e.foundation/devices/FP5/install
The following values control whether anti-rollback features are triggered on FP5:
Rollback protection errors trigger if you install an update whose version number is LESS than the rollback index’s value stored on device.
The value of rollback index is UPDATED to match ro.build.version.security_patch’s value of the currently installed version, but only if the bootloader is LOCKED.
The value of rollback index is NOT dependent on the currently installed ANDROID VERSION.
The value of rollback index can NEVER be DOWNGRADED.
Rollback protection errors are FATAL when the bootloader is LOCKED.
Rollback protection errors are IGNORED when the bootloader is UNLOCKED.
Here are some examples to help you understand how anti-rollback features work: …
fastboot oem allow-flashing command will allow to flash the original stock firmware even on bricked phone. You will loose all your data in the process but hey, the phone will not be a brick anymore!