This has done the trick. I think it’s important to use the factory reset offered by the respective recovery in order to set the partitions right. I had wiped “data” before using TWRP to no avail, ending up with the dreaded “extracttarfork…255” error.