I was moving some files to my Android phone's MicroSD, and suddenly the file system became read-only. I put the card into my Linux laptop and it mounted fine. I can read and write to it, no problem.
However, I can't delete or format the partition, using Gparted, mkfs, gnome-disks or anything else. It will think it's formatted the card, but it will immediately show up again with the old filesystem (exfat).
And the Android won't recognize the card, which it says is corrupted, and formatting in the phone fails. So what can I do?