FP2: restore to stock image

I have a FP2 that has been running LineageOS-for-microG for a while now. For its next life, it needs to be a Google device. I’ve been trying all the restore methods to get it back to FairphoneOS, but they’ve all failed. At this point I’ve wiped all the partitions using TWRP, but the flash still fails:

 ~/Downloads/fp2-gms-19.11.2-manual $ ./flash-for-unix.sh 
** Fairphone OS 19.11.2 Manual Flashing Script **

Validating files...
Validation complete.

One Fairphone 2 in fastboot mode found (serial number: f82f673).

Proceeding to flash the device.

Sending 'rpm' (186 KB)                             OKAY [  0.009s]
Writing 'rpm'                                      OKAY [  0.024s]
Finished. Total time: 0.037s
Sending 'sbl1' (274 KB)                            OKAY [  0.013s]
Writing 'sbl1'                                     OKAY [  0.016s]
Finished. Total time: 0.034s
Sending 'tz' (334 KB)                              OKAY [  0.015s]
Writing 'tz'                                       OKAY [  0.020s]
Finished. Total time: 0.038s
Sending 'modem' (57585 KB)                         OKAY [  1.836s]
Writing 'modem'                                    OKAY [  1.280s]
Finished. Total time: 3.121s
Sending 'splash' (6075 KB)                         OKAY [  0.196s]
Writing 'splash'                                   OKAY [  0.143s]
Finished. Total time: 0.342s
Sending 'aboot' (525 KB)                           OKAY [  0.021s]
Writing 'aboot'                                    OKAY [  0.026s]
Finished. Total time: 0.051s
fastboot: error: Couldn't parse partition size '0x'.

ERROR: Could not flash the boot partition on device f82f673.

ERROR: Please unplug the phone, take the battery out, boot the device into
ERROR: fastboot mode, plug in the phone, and start this script again.
ERROR: (To get to fastboot mode, press Volume-Down and Power until the)
ERROR: (Fairphone logo appears.)

Aborting now (press Enter to terminate).

While it is strange that this would happen with the fastboot command that is included in the install archive, it can’t hurt to try to use the fastboot command from the current Android SDK Platform Tools.
There are some internet search hits where this helped on other devices.

1 Like

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