SD card reports 'corrupted' under Android, but Linux reads it fine

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
jiawen
Level 1
Level 1
Posts: 46
Joined: Sun Mar 17, 2013 5:29 pm

SD card reports 'corrupted' under Android, but Linux reads it fine

Post by jiawen » Fri Dec 08, 2017 11:50 am

The 64 GB SD card for my Android phone always reports as 'corrupted' when I do any significant file operations on it in Linux and then plug it back into my phone. The card mounts just fine under Linux, and I can read and write things to it there. I've been able to write to it from Linux before without my phone getting grumpy, but it seems that any time I delete files from it under Linux and then plug it back into the phone, the phone reports the card as corrupt.

I've tried fsck.exfat, and it seems to report nothing:

Code: Select all

me@thiscomputer ~ $ sudo exfatfsck -v /dev/sdd1
exfatfsck 1.0.1
Copyright (C) 2011-2013  Andrew Nayenko
How do I avoid these corruption problems? More importantly, how do I fix them? I've just backed up and then reformatted the card in the past, but that is really annoying and could potentially fail. Is there a way to actually fix the problem?
Desktop: Linux Mint 17.3 | Mate 1.12.0 | i5 6500 CPU | 16 GB RAM | GTX 960 | c. 6 TB HD

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: SD card reports 'corrupted' under Android, but Linux reads it fine

Post by Minterator » Fri Dec 08, 2017 12:54 pm

My android devices cannot read exfat

You can format ext4 or for 64GB flash drives to FAT32 with 65K allocation units.
Mint 17.3 MATE, kernel 4.11.12

jiawen
Level 1
Level 1
Posts: 46
Joined: Sun Mar 17, 2013 5:29 pm

Re: SD card reports 'corrupted' under Android, but Linux reads it fine

Post by jiawen » Fri Dec 08, 2017 9:22 pm

The phone usually has no problem reading the card. It is only after I do file operations on the card, especially deleting files, that the phone reports the card as "corrupt".
Desktop: Linux Mint 17.3 | Mate 1.12.0 | i5 6500 CPU | 16 GB RAM | GTX 960 | c. 6 TB HD

Post Reply

Return to “Hardware Support”