1

I've recently flashed the stock firmware onto my Samsung Galaxy S3 because there was one feature which didn't work on CyanogenMod. My external SD card worked fine until recently - the 'mount SD card' option in Settings is now grayed out, and whenever I insert the SD card into the device, the following messages appear in the logcat:

W/MountService( 3370): Failed to mount media on insertion
W/MountService( 3370): java.lang.NullPointerException
W/MountService( 3370):     at com.android.server.MountService.doMountVolume(MountService.java:1212)
W/MountService( 3370):     at com.android.server.MountService.doMountVolume(MountService.java:1288)
W/MountService( 3370):     at com.android.server.MountService.access$2100(MountService.java:134)
W/MountService( 3370):     at com.android.server.MountService$6.run(MountService.java:1021)

My computer seems to recognise the SD card just fine. Can anyone help me with solving this problem?

Update 1: I was successful in mounting the SD card manually using the shell command from this tutorial: http://forum.xda-developers.com/showthread.php?t=1804573, however it was only accessible to apps with root permissions.

Update 2: As suggested in the comments section, I formatted the card in question to exFAT. The problem persists.

Update 3: The dmesg (/proc/kmsg) file seemed to have some relevant information. This is what got logged into it when I removed then inserted the card:

<6>[ 5096.384848] c2 mmc1: card removed.
<6>[ 5096.385093] c0 mmc1: card e624 removed
<6>[ 5096.478613] c0 sdhci_set_ios : MMC Card OFF samsung-hsmmc
<6>[ 5097.221780] c2 mmc1: card removed.
<6>[ 5097.221830] c2 mmc1: card inserted.
<6>[ 5097.421722] c2 sdhci_set_ios : MMC Card ON samsung-hsmmc
<6>[ 5097.450386] c0 mmc1: cmd 52 command timeout error
<6>[ 5097.450735] c0 mmc1: cmd 52 command timeout error
<6>[ 5097.454610] c0 mmc1: cmd 5 command timeout error
<6>[ 5097.454944] c0 mmc1: cmd 5 command timeout error
<6>[ 5097.455274] c0 mmc1: cmd 5 command timeout error
<6>[ 5097.455606] c0 mmc1: cmd 5 command timeout error
<6>[ 5097.599241] c2 mmc1: new high speed SDHC card at address e624
<6>[ 5097.600105] c3 mmcblk1: mmc1:e624 SU32G 29.7 GiB
<6>[ 5097.614116] c3  mmcblk1: p1
  • Is there anything in logcat outputted by "MountService"? In fact, can you just put the entire logcat (or at least up to that point) on pastebin or similar? – keepcalm Jul 8 '15 at 9:40
  • @keepcalm Here you go: <pastebin.com/Hhuh12t2> Just please note that my system seems to output quite a bit of "spam" into the log. I tried inserting the SD card then waiting for it to automatically mount, then I attempted to go into Settings and mount it by myself (that option was no longer grayed out, apparently) – Arielle Jul 8 '15 at 17:47
  • Looking at the source, it looks like the error that occurs is the result of some change Samsung made. Probably your best bet is to try reformatting the card to FAT32. Also, do other cards work? Does your card work on another phone/tablet? – keepcalm Jul 9 '15 at 7:50
  • the thread you linked contain multiple answers can you put the command the Mounts your SD from the terminal ? – lord-ralf-adolf Jul 9 '15 at 23:46
  • 1
    @Izzy after android 4.3 all fstab files were unified <quote>For Android releases 4.3 and later, the various fstab files used by init, vold and recovery were unified in the /fstab.<device> file. For external storage volumes that are managed by vold</quote> ps: the pastbin was removed – lord-ralf-adolf Jul 13 '15 at 22:13
0

I fixed the problem just by flashing the stock firmware (using Odin) again. I didn't even have to wipe /data - all my apps are still there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.