FP5 manual install from Linux stops after detecting phone

I’ve recently switched to e/Os on my new Fairphone 5 however my banking app doesn’t work so I have to move back to Fairphone OS.

I downloaded the setup package from https://support.fairphone.com/hc/en-us/articles/18896094650513-Manually-install-Android-OS-on-your-Fairphone but when running the shell script on Linux (PopOs) it stops after detecting my phone without any errors:

*** Fairphone 5 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 5 in fastboot mode found (serial number: xxxxx).

Is there perhaps a guide on how to do this manually through adb or fastboot?

Managed to fix this by using fastbootd from e/OS and editing the flash_fp5_factory.command file in the installation package.

  1. Go into Recovery Mode (restart phone holding volume down and select recovery in the menu)
  2. In the e/os recovery mode select fastboot
  3. Edit the flash_fp5_factory.command and change:

INTEGRITY_CHECK=“false”
All the way at the bottom of the file disable the is_unlocked function:
#is_unlocked

Remove flashing by adding a  (#):
#    flash_image_or_abort apdp "${IMAGES_DIR}/apdp.mbn"
#    flash_image_or_abort ddr "${IMAGES_DIR}/zeros_5sectors.bin"
#    flash_image_or_abort logfs "${IMAGES_DIR}/logfs_ufs_8mb.bin"
#    flash_image_or_abort rtice "${IMAGES_DIR}/rtice.mbn"
#    flash_image_or_abort storsec "${IMAGES_DIR}/storsec.mbn"
#    flash_image_or_abort study "${IMAGES_DIR}/study.tar"
#    flash_image_or_abort studybk_a "${IMAGES_DIR}/study.tar"
#    flash_image_or_abort studybk_b "${IMAGES_DIR}/study.tar"

Then I rebooted into Google Android without issues.

1 Like