Trapped in fastboot mode with locked bootloader and corrupted custom ROM

I installed iodéOS and it worked fine, but features on some apps were disabled because my bootloader was unlocked, so I decided to lock it. Then it showed me this message: Your device is corrupt. It can't be trusted and will not boot.

I was able to unlock the bootloader again in fastboot and reinstall iodéOS, but locking the bootloader again showed the corrupt message.

I figured I’d try to install /e/OS to see if that worked, but the same thing happened. Worked before locking, corrupt after locking. This happens to many users according to the /e/OS forum: FP4 Device corrupted and won't boot in locked mode after fresh /e/OS install - Fairphone - /e/ community

Someone suggested that you need to have the stock OS installed before installing a custom OS for relocking to work, so I installed the stock ROM and tried to relock it. The result was the same: my device is corrupt and will not boot. This time, however, unlocking the bootloader doesn’t work anymore: FAILED (remote: 'Flashing Unlock is not allowed').

I managed to enter EDL/QDL mode, but looks like nobody has figured out a way to unbrick it through that yet.

1 Like

So you did not locked it directly after you have flashed the OS and did a last wipe?
you have booted in the system without re-locking it first?

I think that’s your problem. iodeOS is signed for verified secure boot…

I thought that might’ve been the problem, so I tried to lock before the first boot. Still corrupted.

Have you seen this:

Would have been a good idea to read that first. :slight_smile:
It seems that thread links back here and the OP there luckily hasn’t bricked their device yet.

I am in the same situation after re-locking the bootloader : FP4 Root Access is possible, maybe a bit risky - #185 by cortomalese.
Look this post too Device not booting after flashing factory image and locking bootloader. I’m waiting for Fairphone support answer.

Out of interest, did you verify that your device booted before locking the bootloader? @cortomalese

Yes, I did. The whole history is: to root my new FP4 I followed this :

So I start to unlock bootloader following this:

The installation of Magisk went well and almost everything was fine for two months. I says “almost” because a bank app refuses to work, even with Magisk hide fonction, because of the unlocked bootloader.
To avoid reformatting my phone I disabled the authorization to unlock the bootloader in developpers settings. The apps bank don’t works anymore, but the phone is ok, until the last Magik’s update.
Other thing. When I tried to boot on TWRP image, I can’t wipe cache, because critical partitions was locked.
That’s when I saw that I couldn’t flash the original FP4 rom, I wanted to go back to the original state and re-lock the bootloader via fastboot flashing lock. And FP4 was blocked.
If I look at the /e/OS installation tutorial,
https://doc.e.foundation/devices/FP4/install
I see that not only the bootloader had to be unlocked fastboot flashing unlock, but also the critical partitions fastboot flashing unlock_critical, which the Fairphone manual does not say. I think that’s where my problems come from.
I think I have a point to make with Fairphone’s support: their tutorial don’t mention the need to flash critical partitions too. If “the Fairphone 4 (FP4) gives you the freedom to unlock your bootloader” it must also give us the resources to do so.

You linked to the wrong tutorial there, this is the right one:

The instructions to unlock the critical partitions are in Part 2: Unlock your bootloader under step 7:

In a Command Prompt or a terminal, type: fastboot flashing unlock_critical and press the “Enter :leftwards_arrow_with_hook:” key

To be fair, those instructions haven’t been there from the beginning and they also only added…

If after returning to Fairphone OS, your phone can not boot to it, don’t lock the bootloader. If you have any issues with booting normally please contact customer support.

…after people kept bricking their phones.

So I agree, the documentation could (and should) be improved in many ways. But at the same time this is also the prize you sometimes pay as an early adopter, “hic sunt dragones”.
Doesn’t mean Fairphone shouldn’t do everything in their power to help the community fix it (especially if it’s their documentation that’s lacking) and I don’t mean “fixing” it with a replacement device offered at full cost… :roll_eyes:

7 Likes

I think that’s the key point.
I assume that if you keep the authorization to unlock enabled (and you check at least once that your device can still boot after flashing the new OS) you should be safe locking it.
(and please don’t get me wrong - I don’t want to say you did something wrong and I’m really sorry for the state off your device! it’s meant for others planning to relock their bootloader…!)

5 Likes

I have more or less the same problem.

I wanted to try eOS, installed it according to their instructions and found it too much IPhone-like, so I wanted to go back to FairPhone OS and ran everything according to their instructions, then ended up in the Android setup process (so where you set up wifi, time, etc.) and turned off the phone and wanted to close the bootloader again to have everything as before … but then I also got this “Your device is corrupt. It can’t be trusted and will not boot.” and since then I’m stuck in the bootloader :confused:

So would I have had to go through the setup process first or do something else? But there was nothing about that in the Instruction?

I have followed the instructions for eOS and Fairphone OS, that my phone now no longer works is a bit stupid…

will write to the support also… not even 1 week after my FP4 arrived :confused:

2 Likes

Just for the record: I have also exactly the same problem with my few days old FP4. So it affects a pretty high number of people. The device is stuck after flashing back to stock OS and relocking the bootloader. All attempts to reopen the bootloader via fastboot commands fail. I read a bunch of support threads and I think the device is simply bricked. It should be covered by the warranty since every step followed the official guides.

I opened a ticket at the customer support on 2022-03-17 and will report when there is an answer from their end.

7 Likes

iodé changed their instruction to flash their OS regarding this issue
They changed, and hopefully fixed it, by copy the iodéOS custom key as a root of trust to used by the bootloader to verify rom authenticity, and permits to boot when the bootloader is relocked.

So far, nothing negative has been heard about it in the beta TG group.

Instruction:

Just an idea: Have you tried making booting of slot a fail by removing the battery or a hardware during boot? Maybe you can get the slot-retry-count down by that to force using slot b. I know that this requires some precise timing and trial+error.

I had the same problem it is now solved
the costs are €29.90
From the first request to support (28.02.22) until I had the Fairphone back with new software (31.03.22) only 4 weeks passed, it takes time and can be solved, unfortunately only by the support at the moment.
Just for info

8 Likes

Did you get your phone back fixed or did they send a new one?

1 Like

the fairphone was repaired

3 Likes

Have the same problem. Flashed e/os and locked the bootloader. No error appears. I used it one day but some bugs are killing the experience. The fingerprint sensor are buggy, the camera have only 12mp and the usb preferences don’t work and the usb c to 3,5 audio jack. So yesterday I decided to flash the stock ROM. Downloaded the lasted from the manual and flashed it. After booting the os run without issues. The last step is lock the bootloader. So I looked it in the fastboot. Reboot and run into the same situation. Thank for all the information guys. At least i wrote the support. The is nothing more to do…

I don’t know why something like that happen by using the official files? Maybe a wrong date in the phone? I only an android app developer and use adb the most time. But the hand full of people have the same bug. It seems to be a bigger problem that I think. I hope the Fairphone Devs find the issue.

4 Likes

this is more than annoying and happens not only on /e/OS, also on iodé.
There are the only two official custom ROMs at the moment.
calyx is developping their OS for the FP4, but they don’t release ist. There is one difference, calyxOS for FP4 will base on A12L not A11.
But I’m sure, if they bring it in the field and do not only test it under laboratory conditions, the users will run into the same problems. Because one of the main focus and philosopie at calyx is to lock the bootloader again.

in my opinion, what you hear lately, this is a homemade problem of firphone with the FP4
hopefully they realize it and address the matter also…
On the other hand, this will be a real nuisance for the community and for FP itself. Is not good advertising…

2 Likes

Yes i bought the phone with the idea of flashing other firmware special ungoogled os. So if the problem is not solved in the future the idea of the phone dies in the software part. And i won’t send every time the phone to a repair station to get the stock image flashed. I have the equipment to replace the parts and flash it myself. That’s the spirit here.

4 Likes