The tests I did this afternoon:
reinstalled Q stable IMG-e-0.17-q-20210621120947-stable-FP3 as per instructions https://doc.e.foundation/devices/FP3/install
$ fastboot -w
output this error:
wiping userdata...
Invalid erase-block-size 512: must be a power of 2 and at least 4096.
Invalid logical-block-size 512: must be a power of 2 and at least 4096.
mke2fs 1.44.5 (15-Dec-2018)
/tmp/TemporaryFile-g9Qu56: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata
Same error last year:
to delete /data I used
$ fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [ 0.205s]
finished. total time: 0.205s
also i tried
$ fastboot format userdata
Invalid erase-block-size 512: must be a power of 2 and at least 4096.
Invalid logical-block-size 512: must be a power of 2 and at least 4096.
mke2fs 1.44.5 (15-Dec-2018)
/tmp/TemporaryFile-35MXqu: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata
I finished the process as per the guide to install Q stable, but the phone keeps randomly turning off.
I found this now:
Debian Bug report logs - #960123 fastboot -w fails with “mke2fs failed: 1”
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924591#130