Install e on fairphone 4

Yes, in order to guide your changes, on an FP5 install file I see

FP5 ... /bin-linux-x86$ ls -al
total 7036
drwxr-xr-x 3 iain iain    4096 Jun  7 04:36 .
drwxr-xr-x 5 iain iain    4096 Jun 14 09:34 ..
-rwxr-xr-x 1 iain iain 1645440 Jun  7 04:36 e2fsdroid
-rwxr-xr-x 1 iain iain 2417136 Jun  7 04:36 fastboot
drwxr-xr-x 2 iain iain    4096 Jun  7 04:36 lib64
-rwxr-xr-x 1 iain iain  262728 Jun  7 04:36 make_f2fs
-rwxr-xr-x 1 iain iain  262712 Jun  7 04:36 make_f2fs_casefold
-rwxr-xr-x 1 iain iain  879656 Jun  7 04:36 mke2fs
-rwxr-xr-x 1 iain iain    1157 Jun  7 04:36 mke2fs.conf
-rwxr-xr-x 1 iain iain 1701544 Jun  7 04:36 sload_f2fs
-rw-r--r-- 1 iain iain      38 Jun  7 04:36 source.properties

So the message has significantly changed now [1] 
 previous comments deleted.

Are you 100% confident of

Many first time users have been uncertain how to achieve this.

Do you see fastboot positively indicated on your Bootloader screen?


[1] We no longer see

factory.common: ligne 78:

Thanks,
I don’t see Fastboot on my Bootloader screen

Are you able to use the Bootloader menu to explore your way around the phone so that you get a full understanding of the available modes? You could share an image if you like.





So you have Fastboot mode indicated in red in some images.

As you already unlocked the phone you must have selected Fastboot mode previously.

Did you know / remember that Enable USB Debugging and OEM Unlock is undone by Unlock as the phone resumes default settings. Does this need to be done again?

You know that the command

fastboot devices

or

./fastboot devices

is useful to confirm that you have the phone in Fastboot mode.

“As you already unlocked the phone you must have selected Fastboot mode previously.”
I think no.

How to do it now please?

What was the command to unlock your phone ?

Surly the fastboot command

fastboot flashing unlock

The phone could only accept that command in Fastboot mode, also called Bootloader.

Maybe you need to take a break and come back to it :slightly_smiling_face:

You have images where Fastboot mode is indicated – voilà

Review

Perhaps because of the difficulty others have in being sure that they are in fastboot mode we see this in the unlock section of the install page an alternative:

  • Boot the device
  • Enable and connect Wifi
  • Enable Developer options
  • From developer options, enable OEM unlock
  • Get the unlock code from [this site] and enter it
  • Reboot on fastboot by running the command in the PC console adb reboot bootloader

wehrli@wehrli-hpprobook455g4:~$ fastboot devices
wehrli@wehrli-hpprobook455g4:~$ adb reboot bootloader
wehrli@wehrli-hpprobook455g4:~$ fastboot devices
4c280ffb fastboot
wehrli@wehrli-hpprobook455g4:~$ fastboot flashing unlock
FAILED (remote: ’ Device already : unlocked!')
fastboot: error: Command failed

So the phone is in Fastboot mode for sure.

But please don’t just run lock / unlock commands without a very good reason.

wehrli@wehrli-hpprobook455g4:~$ fastboot devices
4c280ffb fastboot

Did the job of confirming you are in Fastboot mode, the phone answered with its identity and state fastboot.

why sudo ?
can this distube ?

.

also, i just downloaded the file,
running chmod +x flash_FP4_factory.sh

i see no changes...when ls -l
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$  ls -l
total 2899452
-rw-r--r-- 1 piero piero     155648 mars  21 15:39 abl.img
-rw-r--r-- 1 piero piero     178200 mars  21 15:39 aop.img
drwxr-xr-x 3 piero piero       4096 juin  14 13:16 bin-darwin
drwxr-xr-x 3 piero piero       4096 juin  14 13:16 bin-linux-x86
drwxr-xr-x 2 piero piero       4096 juin  14 13:16 bin-msys
-rw-r--r-- 1 piero piero     962560 mars  21 15:39 bluetooth.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 boot.img
-rw-r--r-- 1 piero piero  114585600 mars  21 15:39 core_nhlos.img
-rw-r--r-- 1 piero piero      43008 mars  21 15:39 devcfg.img
-rw-r--r-- 1 piero piero   67108864 mars  21 15:39 dsp.img
-rw-r--r-- 1 piero piero   25165824 mars  21 15:39 dtbo.img
-rwxr-xr-x 1 piero piero       8701 mars  21 15:39 factory.common
-rw-r--r-- 1 piero piero      86305 mars  21 15:39 featenabler.img
-rwxr-xr-x 1 piero piero        497 mars  21 15:39 flash_FP4_factory.sh
-rw-r--r-- 1 piero piero     409096 mars  21 15:39 hyp.img
-rw-r--r-- 1 piero piero     536576 mars  21 15:39 imagefv.img
-rw-r--r-- 1 piero piero     263284 mars  21 15:39 keymaster.img
-rw-r--r-- 1 piero piero  153186304 mars  21 15:39 modem.img
-rw-r--r-- 1 piero piero      13400 mars  21 15:39 multiimgoem.img
-rw-r--r-- 1 piero piero      54743 mars  21 15:39 qupfw.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 recovery.img
-rw-rw-r-- 1 piero piero 2404909056 juin  14 13:17 super.img
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$ chmod +x flash_FP4_factory.sh
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$ ls -l
total 3894040
-rw-r--r-- 1 piero piero     155648 mars  21 15:39 abl.img
-rw-r--r-- 1 piero piero     178200 mars  21 15:39 aop.img
drwxr-xr-x 3 piero piero       4096 mars  21 15:39 bin-darwin
drwxr-xr-x 3 piero piero       4096 mars  21 15:39 bin-linux-x86
drwxr-xr-x 2 piero piero       4096 mars  21 15:39 bin-msys
-rw-r--r-- 1 piero piero     962560 mars  21 15:39 bluetooth.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 boot.img
-rw-r--r-- 1 piero piero  114585600 mars  21 15:39 core_nhlos.img
-rw-r--r-- 1 piero piero      43008 mars  21 15:39 devcfg.img
-rw-r--r-- 1 piero piero   67108864 mars  21 15:39 dsp.img
-rw-r--r-- 1 piero piero   25165824 mars  21 15:39 dtbo.img
-rwxr-xr-x 1 piero piero       8701 mars  21 15:39 factory.common
-rw-r--r-- 1 piero piero      86305 mars  21 15:39 featenabler.img
-rwxr-xr-x 1 piero piero        497 mars  21 15:39 flash_FP4_factory.sh
-rw-r--r-- 1 piero piero     409096 mars  21 15:39 hyp.img
-rw-r--r-- 1 piero piero     536576 mars  21 15:39 imagefv.img
-rw-r--r-- 1 piero piero     263284 mars  21 15:39 keymaster.img
-rw-r--r-- 1 piero piero  153186304 mars  21 15:39 modem.img
-rw-r--r-- 1 piero piero      13400 mars  21 15:39 multiimgoem.img
-rw-r--r-- 1 piero piero      54743 mars  21 15:39 qupfw.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 recovery.img
-rw-r--r-- 1 piero piero 3416730700 mars  21 15:39 super.img
-rw-r--r-- 1 piero piero    3014720 mars  21 15:39 tz.img
-rw-r--r-- 1 piero piero     124926 mars  21 15:39 uefisecapp.img
-rw-r--r-- 1 piero piero       8192 mars  21 15:39 vbmeta.img
-rw-r--r-- 1 piero piero       4096 mars  21 15:39 vbmeta_system.img
-rw-r--r-- 1 piero piero      97136 mars  21 15:39 xbl_config.img
-rw-r--r-- 1 piero piero    3378224 mars  21 15:39 xbl.img
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$ sudo chmod +x flash_FP4_factory.sh
[sudo] Mot de passe de piero : 
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$ ls -l
total 3894040
-rw-r--r-- 1 piero piero     155648 mars  21 15:39 abl.img
-rw-r--r-- 1 piero piero     178200 mars  21 15:39 aop.img
drwxr-xr-x 3 piero piero       4096 mars  21 15:39 bin-darwin
drwxr-xr-x 3 piero piero       4096 mars  21 15:39 bin-linux-x86
drwxr-xr-x 2 piero piero       4096 mars  21 15:39 bin-msys
-rw-r--r-- 1 piero piero     962560 mars  21 15:39 bluetooth.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 boot.img
-rw-r--r-- 1 piero piero  114585600 mars  21 15:39 core_nhlos.img
-rw-r--r-- 1 piero piero      43008 mars  21 15:39 devcfg.img
-rw-r--r-- 1 piero piero   67108864 mars  21 15:39 dsp.img
-rw-r--r-- 1 piero piero   25165824 mars  21 15:39 dtbo.img
-rwxr-xr-x 1 piero piero       8701 mars  21 15:39 factory.common
-rw-r--r-- 1 piero piero      86305 mars  21 15:39 featenabler.img
-rwxr-xr-x 1 piero piero        497 mars  21 15:39 flash_FP4_factory.sh
-rw-r--r-- 1 piero piero     409096 mars  21 15:39 hyp.img
-rw-r--r-- 1 piero piero     536576 mars  21 15:39 imagefv.img
-rw-r--r-- 1 piero piero     263284 mars  21 15:39 keymaster.img
-rw-r--r-- 1 piero piero  153186304 mars  21 15:39 modem.img
-rw-r--r-- 1 piero piero      13400 mars  21 15:39 multiimgoem.img
-rw-r--r-- 1 piero piero      54743 mars  21 15:39 qupfw.img
-rw-r--r-- 1 piero piero  100663296 mars  21 15:39 recovery.img
-rw-r--r-- 1 piero piero 3416730700 mars  21 15:39 super.img
-rw-r--r-- 1 piero piero    3014720 mars  21 15:39 tz.img
-rw-r--r-- 1 piero piero     124926 mars  21 15:39 uefisecapp.img
-rw-r--r-- 1 piero piero       8192 mars  21 15:39 vbmeta.img
-rw-r--r-- 1 piero piero       4096 mars  21 15:39 vbmeta_system.img
-rw-r--r-- 1 piero piero      97136 mars  21 15:39 xbl_config.img
-rw-r--r-- 1 piero piero    3378224 mars  21 15:39 xbl.img
piero@HP-p6-2038fr:~/Téléchargements/IMG-e-2.9-a14-20250321478214-official-FP4$ 

wehrli@wehrli-hpprobook455g4:~$ fastboot devices 4c280ffb fastboot
4c280ffb fastboot

No fastboot in bootloader menu

OK. @florent.wehrli if you plan to lock the Bootloader again after /e/OS install please can you confirm that you fully understood this from the install page.

Caution: The FP4 comes with an anti-rollback feature. Google Android anti-roll back feature is supposedly a way to ensure you are running the latest software version, including the latest security patches.
If you try installing a version of /e/OS based on a security patch that is older than the one on your device, you will brick your device. Click on Details below for detailed information

wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ adb reboot bootloader
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot devices
4c280ffb fastboot
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ ./flash_FP4_factory.sh
INFO: You are using a Linux distribution.
INFO: Looking for connected device(s)

INFO: One Fairphone 4 in fastboot mode found (serial number: 4c280ffb).
Info: Your phone is in regular bootloader mode.
Sending ‘bluetooth_a’ (940 KB) OKAY [ 0.049s]
Writing ‘bluetooth_a’ OKAY [ 0.013s]
Finished. Total time: 0.071s
Sending ‘bluetooth_b’ (940 KB) OKAY [ 0.046s]
Writing ‘bluetooth_b’ OKAY [ 0.006s]
Finished. Total time: 0.060s
Sending ‘devcfg_a’ (42 KB) OKAY [ 0.006s]
Writing ‘devcfg_a’ OKAY [ 0.002s]
Finished. Total time: 0.020s
Sending ‘devcfg_b’ (42 KB) OKAY [ 0.007s]
Writing ‘devcfg_b’ OKAY [ 0.020s]
Finished. Total time: 0.034s
Sending ‘dsp_a’ (65536 KB) OKAY [ 3.106s]
Writing ‘dsp_a’ OKAY [ 0.240s]
Finished. Total time: 3.359s
Sending ‘dsp_b’ (65536 KB) OKAY [ 3.082s]
Writing ‘dsp_b’ OKAY [ 0.221s]
Finished. Total time: 3.311s
Sending ‘modem_a’ (149596 KB) OKAY [ 7.218s]
Writing ‘modem_a’ OKAY [ 0.845s]
Finished. Total time: 8.071s
Sending ‘modem_b’ (149596 KB) OKAY [ 7.008s]
Writing ‘modem_b’ OKAY [ 0.763s]
Finished. Total time: 7.779s
Sending ‘xbl_a’ (3299 KB) OKAY [ 0.166s]
Writing ‘xbl_a’ OKAY [ 0.117s]
Finished. Total time: 0.291s
Sending ‘xbl_b’ (3299 KB) OKAY [ 0.160s]
Writing ‘xbl_b’ OKAY [ 0.162s]
Finished. Total time: 0.329s
Sending ‘tz_a’ (2944 KB) OKAY [ 0.150s]
Writing ‘tz_a’ OKAY [ 0.011s]
Finished. Total time: 0.169s
Sending ‘tz_b’ (2944 KB) OKAY [ 0.144s]
Writing ‘tz_b’ OKAY [ 0.022s]
Finished. Total time: 0.174s
Sending ‘hyp_a’ (399 KB) OKAY [ 0.020s]
Writing ‘hyp_a’ OKAY [ 0.003s]
Finished. Total time: 0.033s
Sending ‘hyp_b’ (399 KB) OKAY [ 0.024s]
Writing ‘hyp_b’ OKAY [ 0.003s]
Finished. Total time: 0.034s
Sending ‘keymaster_a’ (257 KB) OKAY [ 0.023s]
Writing ‘keymaster_a’ OKAY [ 0.002s]
Finished. Total time: 0.034s
Sending ‘keymaster_b’ (257 KB) OKAY [ 0.014s]
Writing ‘keymaster_b’ OKAY [ 0.003s]
Finished. Total time: 0.027s
Sending ‘abl_a’ (152 KB) OKAY [ 0.013s]
Writing ‘abl_a’ OKAY [ 0.002s]
Finished. Total time: 0.023s
Sending ‘abl_b’ (152 KB) OKAY [ 0.018s]
Writing ‘abl_b’ OKAY [ 0.001s]
Finished. Total time: 0.026s
Sending ‘aop_a’ (174 KB) OKAY [ 0.015s]
Writing ‘aop_a’ OKAY [ 0.002s]
Finished. Total time: 0.024s
Sending ‘aop_b’ (174 KB) OKAY [ 0.017s]
Writing ‘aop_b’ OKAY [ 0.002s]
Finished. Total time: 0.027s
Sending ‘featenabler_a’ (84 KB) OKAY [ 0.010s]
Writing ‘featenabler_a’ OKAY [ 0.002s]
Finished. Total time: 0.023s
Sending ‘featenabler_b’ (84 KB) OKAY [ 0.007s]
Writing ‘featenabler_b’ OKAY [ 0.002s]
Finished. Total time: 0.021s
Sending ‘imagefv_a’ (524 KB) OKAY [ 0.028s]
Writing ‘imagefv_a’ OKAY [ 0.004s]
Finished. Total time: 0.043s
Sending ‘imagefv_b’ (524 KB) OKAY [ 0.036s]
Writing ‘imagefv_b’ OKAY [ 0.003s]
Finished. Total time: 0.047s
Sending ‘multiimgoem_a’ (13 KB) OKAY [ 0.002s]
Writing ‘multiimgoem_a’ OKAY [ 0.001s]
Finished. Total time: 0.013s
Sending ‘multiimgoem_b’ (13 KB) OKAY [ 0.008s]
Writing ‘multiimgoem_b’ OKAY [ 0.002s]
Finished. Total time: 0.017s
Sending ‘qupfw_a’ (53 KB) OKAY [ 0.010s]
Writing ‘qupfw_a’ OKAY [ 0.002s]
Finished. Total time: 0.019s
Sending ‘qupfw_b’ (53 KB) OKAY [ 0.007s]
Writing ‘qupfw_b’ OKAY [ 0.002s]
Finished. Total time: 0.016s
Sending ‘uefisecapp_a’ (121 KB) OKAY [ 0.011s]
Writing ‘uefisecapp_a’ OKAY [ 0.002s]
Finished. Total time: 0.022s
Sending ‘uefisecapp_b’ (121 KB) OKAY [ 0.007s]
Writing ‘uefisecapp_b’ OKAY [ 0.002s]
Finished. Total time: 0.017s
Sending ‘xbl_config_a’ (94 KB) OKAY [ 0.013s]
Writing ‘xbl_config_a’ OKAY [ 0.013s]
Finished. Total time: 0.035s
Sending ‘xbl_config_b’ (94 KB) OKAY [ 0.016s]
Writing ‘xbl_config_b’ OKAY [ 0.006s]
Finished. Total time: 0.030s
Sending ‘core_nhlos_a’ (111900 KB) OKAY [ 5.289s]
Writing ‘core_nhlos_a’ OKAY [ 0.506s]
Finished. Total time: 5.815s
Sending ‘core_nhlos_b’ (111900 KB) OKAY [ 5.253s]
Writing ‘core_nhlos_b’ OKAY [ 0.628s]
Finished. Total time: 5.889s
Sending ‘boot_a’ (98304 KB) OKAY [ 4.698s]
Writing ‘boot_a’ OKAY [ 0.483s]
Finished. Total time: 5.193s
Sending ‘boot_b’ (98304 KB) OKAY [ 4.749s]
Writing ‘boot_b’ OKAY [ 0.588s]
Finished. Total time: 5.348s
Sending ‘dtbo_a’ (24576 KB) OKAY [ 1.207s]
Writing ‘dtbo_a’ OKAY [ 0.164s]
Finished. Total time: 1.378s
Sending ‘dtbo_b’ (24576 KB) OKAY [ 1.208s]
Writing ‘dtbo_b’ OKAY [ 0.122s]
Finished. Total time: 1.345s
Sending ‘recovery_a’ (98304 KB) OKAY [ 4.924s]
Writing ‘recovery_a’ OKAY [ 0.417s]
Finished. Total time: 5.351s
Sending ‘recovery_b’ (98304 KB) OKAY [ 4.642s]
Writing ‘recovery_b’ OKAY [ 0.443s]
Finished. Total time: 5.092s
Sending ‘vbmeta_a’ (8 KB) OKAY [ 0.009s]
Writing ‘vbmeta_a’ OKAY [ 0.001s]
Finished. Total time: 0.018s
Sending ‘vbmeta_b’ (8 KB) OKAY [ 0.008s]
Writing ‘vbmeta_b’ OKAY [ 0.001s]
Finished. Total time: 0.017s
Sending ‘vbmeta_system_a’ (4 KB) OKAY [ 0.004s]
Writing ‘vbmeta_system_a’ OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending ‘vbmeta_system_b’ (4 KB) OKAY [ 0.008s]
Writing ‘vbmeta_system_b’ OKAY [ 0.001s]
Finished. Total time: 0.017s
Sending ‘super’ (158912 KB) OKAY [ 7.871s]
Writing ‘super’ OKAY [ 0.000s]
Finished. Total time: 7.883s
******** Did you mean to fastboot format this ext4 partition?
Erasing ‘userdata’ OKAY [ 0.306s]
Finished. Total time: 17.058s
Erasing ‘metadata’ OKAY [ 0.004s]
Finished. Total time: 0.030s
Setting current slot to ‘a’ OKAY [ 0.008s]
Finished. Total time: 0.011s

INFO: Done. The device will reboot now.
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.151s

INFO: You can unplug the USB cable now.

My phone keeps rebooting

I have locked my phone with:
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot flashing lock_critical
OKAY [ 0.026s]
Finished. Total time: 0.027s
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot flashing lock
OKAY [ 0.027s]
Finished. Total time: 0.027s
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$

But my phone don’t start on /e/os only on bootloader.

If you try installing a version of /e/OS based on a security patch that is older than the one on your device, you will brick your device.

.

i don’t understand why people absolutely want to relock their bootloader


Thank Piero, but what can I do yet?
Sorry

  1. if your FairphoneOS was really older than

This /e/OS 2.9 version includes the Android security patches available as of March 2025

try

fastboot reboot


  1. otherwise, if you are lucky, try
fastboot flashing unlock

then

fastboot flashing unlock_critical

then install version 3.0.1



  1. search for an unbrick yourself method i am not aware of

    @urs_lesse ? @AnotherElk ?
    i will ask the french “FairPhone Angel” from Paris


  1. contact Fairphone and send the phone to them

    in Hollande

wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot flashing unlock_critical
^C
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.051s
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot flashing unlock
OKAY [ 0.036s]
Finished. Total time: 0.036s
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$ fastboot flashing unlock_critical
OKAY [ 0.036s]
Finished. Total time: 0.036s
wehrli@wehrli-hpprobook455g4:/media/wehrli/Mes fichiers/Documents/informatique/telephone/fairphone 4/IMG-e-2.9-a14-20250321478214-official-FP4$

aprÚs avoir tenté de redéverrouiller le bootloader,
l’appareil dĂ©marre-t-il maintenant ?

avec les bouttons ?
avec fastboot reboot ?