"Install Fairphone OS offline" failed but locked the bootloader

Hi Folks,

I just checked out iodéOS yesterday and tried to reinstall the original FairphoneOS as described by Fairphone Support (https://support.fairphone.com/hc/en-us/articles/4433978210833-FP4-Install-Fairphone-OS-offline-Windows-).

Unfortunately, something went wrong and now my FP4 won’t boot FairphoneOS - after five loops (or three?) it booted up into Fastboot Mode and now won’t do sh*t.

Double trouble: DEVICE STATE is now “locked”.

How can I get this neat little thing going again? I already checked other threads but their solutions didn’t work for me and now I’m feeling quite dumbstruck.

Thanks in advance for any suggestions and best wishes,
the.k

Two question:

as you locked your bootloader, did you used both commands:
fastboot flashing lock_critcal
fastboot flashing lock
?

are you able to boot in bootloader and unlock it again
?

as you locked your bootloader, did you used both commands:
fastboot flashing lock_critcal
fastboot flashing lock
?

That’s the funny part: My bootloader was unlocked when I ran “flash_fp4_factory.bat” to install the original fairOS from my win10. I didn’t OEM lock it afterwards as it never booted ^^ I suspect the installation script locked OEM on it’s own but didn’t read “flash_fp4_factory.command” yet.

are you able to boot in bootloader and unlock it again?

Nope, I’m not able to unlock it again. Please look at this:

c:>fastboot flashing unlock [waiting for execution...] FAILED (remote: 'Flashing Unlock is not allowed') fastboot: error: Command failed

and this:

c:>fastboot flashing unlock_critical [waiting for execution...] FAILED (remote: ' Device already : unlocked!') fastboot: error: Command failed

Very interesting :thinking:
There isn’t any code in flash_fp4_factory.command (flash_fp4_factory.bat just runs that script) that could (should) relock the bootloader.
Do you remember at what point the script failed or what the output was?

Normally this happens when “OEM Unlock” ist not set in Developer Options

There isn’t any code in flash_fp4_factory.command (flash_fp4_factory.bat just runs that script) that could (should) relock the bootloader.

Good to know.

Do you remember at what point the script failed or what the output was?

The script didn’t look like it failed: I think I saw a “succesful” message but unfortunately there’s no “pause” command at the end of the script so I’m not sure. As my FP4 rebooted afterwards I felt confident.

Normally this happens when “OEM Unlock” ist not set in Developer Options

My feeling excactely! But I didn’t change the setting after using the “flash_fp4_factory.command” script as my FP4 ran into the boot loop. I’ve not seen the first setup wizard since.

As it is, I’m glad it boots into Fastboot Mode at all.

If your phone rebooted automatically, the script should have run without errors. The reboot get’s initiated last and errors during during checksum validation or flashing partitions will show you a prompt you have to interact with. So either the problem stems from one of the steps that don’t automatically throw an error, like wiping frp, misc, modemst1 / modemst2 or this maybe isn’t related to the installation procedure at all :thinking:
Could you please link to the installation instructions you followed to get iode installed, perhaps there is something we are missing here?! A lot of these cases involve switching from some other custom ROM back to vanilla FPOS (not all of them though), there has to be an explanation buried somewhere…

Just to be clear, the bootloop started immediately after flashing, right? Did the actual bootprocess start at all (those dancing blue dots) or did it go straight back to fastboot every time?

Sadly, with a locked bootloader, fastboot isn’t all that useful… :roll_eyes:

Just to make sure we have tried all the options, can you reach recovery either through the option in fastboot or by running fastboot reboot recovery?

In any case, I suggest you contactsupport if you haven’t already, reviving a bricked phone isn’t something the community can do at this point.

1 Like

Hello The Kringel,

Iḿ having the same issue your having. I unlocked my phone installed /E/. Then I restored the original firmware as described in “https://support.fairphone.com/hc/en-us/articles/4405858261777?s=09

After this my phone booted niceley into the original FairPhone Welkom screen. I powerd of the device re-enterd the Fastboot screen and locked the bootloader again.

After locking the bootloader my phone gave an error saying that the firmeware isn´t trusted and then the phone enterd the bootloop your decribing but now with the “Device state - locked” so all fastboot commands arn´t working anymore, including the unlock commands.

It looks to me like after the " fastboot flashing lock_critical" and " fastboot flashing lock" command it reset the android option “OEM unlock” to disable thereby disabeling the option to unlock it from fastboot.

I’ve followed the process a little bit more thoroughly and it seems that reinstalling FPOS resets “OEM unlock” to “disable”. Unfortunately you can’t reenable it then as the option is greyed out while bootloader is unlocked. And you can only enable the option when locking the bootloader. But you can’t lock the bootloader because then you run into the problem described in this topic… :man_shrugging:

2 Likes

That’s a normal behaviour
If the bootloader is unlocked, then this option is inactive, because it is only to allow you to unlock it, and it is still unlocked :wink:
On every ROM.

Yes, but on other ROMs it’s not a “devil circle” leading to a hard bricked device…
And before reinstalling FPOS it was AFIK greyed out but set to “OEM unlock enable” in my case.

2 Likes

Hello Bram1978,

exactly the same problem with me. How did it go for you? Were you able to repair it or did you have to send it in?

Hi guys,

just to let you know: I opened a case with Fairphone and wait for an answer (besides the case number).

-k

2 Likes

I’ve created a support call with FairPhone. I’m now waiting for their reply.

Hello again,

got feedback from Fairphone support. My phone has to be reflashed at their repair center in France. Price will approximately be about 30€.

-k

5 Likes

I’ve gotten the same offer from FairPhone.

2 Likes

Thanks @the.kringel and @Bram1978 for the information.
That is 30€ including everything (shipping to & from Cordon)?

1 Like

Hello urs_less,

The € 30,- is an estimation. I live in The Netherlands, not don’t know if they have other rates for other countries.

Here the quote form the e-mail I received.
“The cost for shipping, handling, diagnosis & software flashing are typically around €30.”

2 Likes

Thanks for reply. I got the same offer shipping the phone to france. So bad there is no other solution…

yes, that’s really bad, but at the moment the cheapest one.
It’s only FP who can re-flash it.
with other manufacturers, the users are much worse off. there you are often left alone and a bricked device stays bricked.

2 Likes