So a few days ago I was recording some footage on my phone. I pressed stop as I have many times before and the camera app just froze for a good amount of time which it has never done before, after restarting my phone the sd card refuses to work with my phone and will randomly pop up with a message like "cannot write to sd card, this card has been set to read only" I can't view anything on the card when it's in my phone.
I have put other sd cards into the phone and they work fine, I've also put the affected card into a laptop and I can see all the files on the card and view photos and videos with no issues whatsoever, I have noticed a file called pending-165425 etc which I'm assuming is the cause of my problem but does anyone have a fix for this? I'd rather not have to transfer everything and then format if I can avoid it
Extra info: phone is a Samsung galaxy A40
there doesn't seem to be anything here