Help restoring Android 11

unable to restore android 11 image

Device is recognized in the device manager as: Kedacom USB Device → Android Bootloader interface.
Running start bin-msys\git-bash.exe -c “./flash_fp4_factory.command” does recognize the phone, but after typing Yes as confirmation the command screen closes, and nothing happens?

Currently the phone is installed with CalyxOS.

“flash_fp4_factory.bat” calls "start bin-msys\git-bash.exe -c “./flash_fp4_factory.command”

The last info message i get is: One Fairphone 4 in fastboot mode found (serial numer: )

and then the command screen closes and nothing happens? :frowning:

Somehow the device is found, but the script still exits ? See below the part where this happens:

find_device() {
echo “INFO: Looking for connected device(s)…”
DEVICE_FOUND=“false”
while [ ${DEVICE_FOUND} = “false” ]; do
serial_numbers=
for sn in $(${FASTBOOT_BIN} devices | grep fastboot | grep -oE ‘^[[:alnum:]]+’); do
# Checking the product ID
PRODUCT_STRING=$(${FASTBOOT_BIN} -s “${sn}” getvar product 2>&1)
# Add serial, if product matches
if [[ ${PRODUCT_STRING} == *“${PRODUCT_ID}”* ]]; then
serial_numbers=“${serial_numbers} $sn”
fi
done
case $(echo “${serial_numbers}” | wc -w | grep -oE ‘[0-9]+’) in
0)
echo -en “$YELLOW”
echo “WARNING: No ${PRODUCT} found in fastboot mode.”
echo “WARNING: Make sure that a ${PRODUCT} is connected.”
echo -en “$NC”
;;
1)
echo “INFO: One ${PRODUCT} in fastboot mode found (serial number: ${sn}).”
DEVICE_FOUND=“true”
break
;;
*)
echo -en “$YELLOW”
echo “WARNING: Multiple ${PRODUCT} devices detected.”
echo “WARNING: Please connect only one ${PRODUCT}.”
echo -en “$NC”
;;
esac
echo “”
while true; do
read -rp "Do you want to look for a ${PRODUCT} again? [(Y)es/(n)o]: " a
if [ -z “${a}” ] || [ “${a}” = ‘y’ ] || [ “${a}” = ‘Y’ ]; then
break
elif [ “${a}” = ‘n’ ] || [ “${a}” = ‘N’ ]; then
exit 0
fi
done
done
}

The problem is in line 238 of flash_fp4_factory.command, change that to:

After that remove the 3rd line in the SHA256SUMS file pointing to flash_fp4_factory.command.

I’ve notified support about that issues almost a month ago, but they took 3 weeks to process the ticket and updated images haven’t been released yet.

5 Likes

Thx a million, that indeed did the trick, to bad that they did not listen.

Could have saved me some time if i asked earlier, but i thought it should work…

Thanks again.

Barber

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.