After the CalyxOS announcement, I want to go back to stock ROM. My issue is the following: after rebooting in fastboot, fastboot flashing unlock work well, but when I try fastboot flashing unlock_critical, I have:
> ./flash_fp4_factory.sh
*** Fairphone 4 flashing script ***
INFO: The procedure will start soon. Please wait...
INFO: The package type is "user-factory"
INFO: You are using a Linux distribution.
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: xxxxxxx).
So I guess I could try to modify the script to get rid of unlocking verification, because it seems to be the last point I reach, but I’m scared to brick my device.
So the script ends with the line “INFO: One Fairphone 4 in fastboot mode found (serial number: xxxxxxx).“ and no more output?
I don’t think that the unlock status is the problem (as it’s completely unlocked).
Which OS are you using on the computer where you start the script?
I had sometimes problems with Linux Minut (and fastboot on it or the drivers or…) and always succeeded when using suse live system.
And sometimes when flashing did not start I restarted into fastboot only very shortly before starting the script. May not sound logical but sometimes helped.
I use Arch Linux, everything is up to date, with android-tools installed (for adb and fastboot).
I’ll try that, I’ll let you know the result.
It doesn’t seem to help, I tried to go as fast as I can
I tried someting else: in the script I commented out is_unlocked (and set INTEGRITY_CHECK to false), since the test is done on the output of fastboot oem device-info, which is conform. I have the following output:
> ./flash_fp4_factory.sh
*** Fairphone 4 flashing script ***
INFO: The procedure will start soon. Please wait...
INFO: The package type is "user-factory"
INFO: You are using a Linux distribution.
WARNING: Skipping file validation check, as per hard-coded toggle
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: 6ef2afc).
INFO: Proceeding to flash the device.
INFO: flashing partitions...
Warning: skip copying abl_a image avb footer (abl_a partition size: 0, abl_a image size: 155648).
Sending 'abl_a' (152 KB)
And nothing after, it seems to freeze. I let it run for like 20 minutes, and when I stop it my phone is still usable (CalyxOS boot normally, still with the quick config I did after the reset due to fastboot flashing unlock).
Yes, I had the same symptoms (that it hung on the first content to send or failed on the unlock check although everything was also unlocked) on Linux Mint (everything up to date).
So I hope you’ll also succeed using Suse Live. At least in my case there the problem did never happen.
If I remember well, then after stopping the script (as you’ve done above when abl_a was not sent), even fastboot devicesno longer gave an output without restarting the phone (into fastboot).
And yes, it does not seem to send anything. So this is why CalyxOS still boots as normal.
Btw.: this was the post (sorry, it’s in German) when restarting directly before starting the script helped (although in this case it was the script to install /e/OS). But at the end it was not the script but rather some strange fastboot behaviour. And this restarting was only a workaround needed for Mint. Using Suse, fastboot was rock solid for me, as mentioned….
It worked! Thank you very much, now I just to lock my bootloader with bricking it and it is done. Also thank for the post (I’ll try to remember my highschool lessons)
I wouldn’t ever think to try another distro, thanks again!
Calyx OS is down for at least a few month and the devs recommand to switch rom.
I am willing to switch for IodeOS.
However I am struggling to get back to FairphoneOS before installing IodeOS.
I habe unlocked my bootloader, but when I launch de script provided by official support, it detects my phone but does nothing, the output is below
>./flash_fp4_factory.sh
*** Fairphone 4 flashing script ***
INFO: The procedure will start soon. Please wait…
INFO: The package type is “user-factory”
INFO: You are using a Linux distribution.
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: ********).
Any Idea how to make this script work?
Do you guys have any alternative suggestions to replace calyxos for fairphone?
I decided to try to move directly to IodeOS without reverting to stock rom before. The IodeOS installer did not finish and seem to freeze but after a few reboots, it now works.