Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,988 Members 45,036 Now Online
XDA Developers Android and Mobile Development Forum

sdcard can't mount

Tip us?
 
harmonica.ss
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Mar 2014
Default sdcard can't mount

Hi ,

This is new my first post.

I have samsung SGH-i777 initiallly when i bought it has 4.3& it has 16GB card. cyanogenmod10.2 with rooted. but it always restarted because of OOM.
so i installed kitkat 4.4 omnirom and few day it was working good,no problem arise. after week it doesn't show external storage it only show internal storage of 2GB. so again flashed ROM this time with 4.1 & it shows 16GB memory then i could use those space. but problem is if i go to CWM revcovery(i tried latest or old versions) take backup or installing zip got error like this "sdcard can't mount"

kindly help me out of this issue.


Thx
 
cyril279
Old
#2  
cyril279's Avatar
Senior Member
Thanks Meter 1164
Posts: 565
Join Date: Jun 2013
Switching to a different kernel/recovery affects whether the card can be mounted? This sounds like the CWM recovery that you chose doesn't support the filesystem of the Sd Card.

What file system is the SD card using?
For greatest compatibility, I suggest formatting the external Sd Card to Fat32.

If you're going to stay on 4.4, AND if you plan on playing music from the sdcard, I suggest formatting it to exfat (successful workaround for a KK bug).
^^beware, the stock recovery and firmware will NOT be able to read any exfat formatted partition
^^once formatted to ExFat, apps will install to the external SD, but will not survive reboot (keep them on the internal SD)

welcome to XDA,
happy flashing
-Cyril

Quote:
Originally Posted by harmonica.ss View Post
Hi ,

This is new my first post.

I have samsung SGH-i777 initiallly when i bought it has 4.3& it has 16GB card. cyanogenmod10.2 with rooted. but it always restarted because of OOM.
so i installed kitkat 4.4 omnirom and few day it was working good,no problem arise. after week it doesn't show external storage it only show internal storage of 2GB. so again flashed ROM this time with 4.1 & it shows 16GB memory then i could use those space. but problem is if i go to CWM revcovery(i tried latest or old versions) take backup or installing zip got error like this "sdcard can't mount"

kindly help me out of this issue.


Thx
The Following 5 Users Say Thank You to cyril279 For This Useful Post: [ Click to Expand ]
 
harmonica.ss
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Mar 2014
Default Sdcar can't mount

Quote:
Originally Posted by cyril279 View Post
Switching to a different kernel/recovery affects whether the card can be mounted? This sounds like the CWM recovery that you chose doesn't support the filesystem of the Sd Card.

What file system is the SD card using?
For greatest compatibility, I suggest formatting the external Sd Card to Fat32.

If you're going to stay on 4.4, AND if you plan on playing music from the sdcard, I suggest formatting it to exfat (successful workaround for a KK bug).
^^beware, the stock recovery and firmware will NOT be able to read any exfat formatted partition
^^once formatted to ExFat, apps will install to the external SD, but will not survive reboot (keep them on the internal SD)

welcome to XDA,
happy flashing
-Cyril
Hi,

Thanks for your reply.

This is my sdcard partition

/dev/block/vold/259:3 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noati
me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0 002,allow_utime=0020,codepage=
cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
 
cyril279
Old
#4  
cyril279's Avatar
Senior Member
Thanks Meter 1164
Posts: 565
Join Date: Jun 2013
The total size of the internal storage of the i777 is 15.8 GB, and it is partitioned as shown in the table below.
From: Settings > Storage, you should see reports for:
- "INTERNAL STORAGE" ~2GB
- "INTERNAL STORAGE" ~11.5GB
- IF you have an SD Card installed, you should see a third report named "SD CARD"

(Using the partition table as reference)
The first "internal storage" is partition #10, or /dev/block/mmcblk0p10
The second "internal storage" is partition #11, or /dev/block/mmcblk0p11
The SD Card is not captured in the partition table below, but if installed, would be found at /dev/block/mmcblk1 or /dev/block/mmcblk1p1

I'm not sure how to interpret your partition report, because it appears that it is reporting the statistics of the internal memory module, and NOT of a particular partition, which is more valuable to us.

-What do you see in Settings > Storage?

Stock I777 Partition Table:
Code:
Model: MMC VYL00M (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name       Flags
 1      4194kB  25.2MB  21.0MB  ext4         EFS
 2      25.2MB  26.5MB  1311kB               SBL1
 3      27.3MB  28.6MB  1311kB               SBL2
 4      29.4MB  37.7MB  8389kB               PARAM
 5      37.7MB  46.1MB  8389kB               KERNEL
 6      46.1MB  54.5MB  8389kB               RECOVERY
 7      54.5MB  317MB   262MB   ext4         CACHE
 8      317MB   333MB   16.8MB               MODEM
 9      333MB   870MB   537MB   ext4         FACTORYFS
10      870MB   3018MB  2147MB  ext4         DATAFS
11      3018MB  15.2GB  12.2GB  fat32        UMS
12      15.2GB  15.8GB  537MB   ext4         HIDDEN
Quote:
Originally Posted by harmonica.ss View Post
Hi,

Thanks for your reply.

This is my sdcard partition

/dev/block/vold/259:3 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noati
me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0 002,allow_utime=0020,codepage=
cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
The Following 3 Users Say Thank You to cyril279 For This Useful Post: [ Click to Expand ]
 
harmonica.ss
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Mar 2014
Thumbs up sdcard can't mount

Hi,

This is my partitions of my phone,


mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p9 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async
_commit,data=ordered 0 0
/dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_c
ommit,data=ordered 0 0
/dev/block/mmcblk0p12 /preload ext4 ro,nosuid,nodev,noatime,barrier=1,data=order
ed 0 0
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,errors=panic,barrier=1,
journal_async_commit,data=ordered,noauto_da_alloc, discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/259:3 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noati
me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0 002,allow_utime=0020,codepage=
cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0


When i see in storage,it shows like

Total space -> 1.97 GB

USB Storage --> 11.36GB
 
razen_kain
Old
#6  
razen_kain's Avatar
Senior Member
Thanks Meter 2113
Posts: 2,092
Join Date: Jan 2013
Location: shreveport
@cyril279 you should make reference thread on this subject. I'm going to have to bookmark this in case i need it later. Damn....
The Following 3 Users Say Thank You to razen_kain For This Useful Post: [ Click to Expand ]
 
cyril279
Old
#7  
cyril279's Avatar
Senior Member
Thanks Meter 1164
Posts: 565
Join Date: Jun 2013
So CM 10.2 crashed a lot; Omni drops emmc (embedded multimedia card) after one week; 4.1 works fine until you change CWM recovery, and your partition report seems to be spitting back that your internal storage partition (emmc) is formatted as vfat.

It is entirely possible that your partition-reporter is calling a FAT32 partition VFAT, at which point there's nothing wrong with the partition format, and I have no idea what your i777 is going through. Based on the information provided, It sounds to me as though your internal Sd Card partition is formatted to something that is causing issues running the firmwares and kernels that you have chosen,

If the partition format is indeed the issue, then the solution is to backup the contents of emmc, format mmcblck0p11 to FAT32, and try your favorite firmware/kernel again.

I suggest that you verify the file system of the internal sdcard, using a different means than you have been.

The difference in FAT and FAT32 is well documented, but I am unclear on the importance of the differences in between VFAT and FAT32. A quick google session has lead me to understand that they are NOT the same, but quite a few threads in various forums seem to refer to them interchangeably.

Maybe I'm completely on the wrong path here, I welcome any input.

Quote:
Originally Posted by harmonica.ss View Post
[...]when i bought it has 4.3& it has 16GB card. cyanogenmod10.2 with rooted. but it always restarted because of OOM.
so i installed kitkat 4.4 omnirom and few day it was working good,no problem arise. after week it doesn't show external storage it only show internal storage of 2GB. so again flashed ROM this time with 4.1 & it shows 16GB memory then i could use those space. but problem is if i go to CWM revcovery(i tried latest or old versions) take backup or installing zip got error like this "sdcard can't mount"[...]
The Following 3 Users Say Thank You to cyril279 For This Useful Post: [ Click to Expand ]
 
SteveMurphy
Old
#8  
SteveMurphy's Avatar
Recognized Contributor
Thanks Meter 2140
Posts: 1,232
Join Date: Apr 2012
Location: Atlanta
Quote:
Originally Posted by cyril279 View Post
Maybe I'm completely on the wrong path here, I welcome any input.
No, you're on your OWN path. That was great, razen's right: you should consider creating a reference guide and we could get it stickied. As new users come in (which amazes me, due to the age of our device), it would be a wonderful asset to have a reference written by someone who understands this.

Great post!
The Following 3 Users Say Thank You to SteveMurphy For This Useful Post: [ Click to Expand ]
 
cyril279
Old
#9  
cyril279's Avatar
Senior Member
Thanks Meter 1164
Posts: 565
Join Date: Jun 2013
Quote:
Originally Posted by SteveMurphy View Post
No, you're on your OWN path.
...That's the part that concerns me, I'm not totally convinced that this issue should have lead me in this direction, but the only time I've ever had an issue with firmware recognizing the SD Card was when I started playing around with formatting partitions, so it seemed reasonable. Looking back, the original post points several directions all at once, and without a more systematic approach (like installing the firmware clean, then installing one app at a time, NOT from TiBu backup) we won't know what the real issue(s) is/are/were.

Quote:
That was great, razen's right: you should consider creating a reference guide and we could get it stickied. As new users come in (which amazes me, due to the age of our device), it would be a wonderful asset to have a reference written by someone who understands this.
These handsets are old, but when my wife and I finally decided that we wanted smart-phones, the i777 met the criteria of inexpensive, well-rated, dual-core, and well-supported, Android devices. Regarding a reference post, I managed to cobble-together a rough understanding from guides for other devices, but my understanding on the partition madness still isn't the strongest. Either way, I certainly don't mind compiling what I've found into something concise and specific to the i777.
The Following 3 Users Say Thank You to cyril279 For This Useful Post: [ Click to Expand ]
 
cyril279
Old
(Last edited by cyril279; 9th April 2014 at 12:56 PM.)
#10  
cyril279's Avatar
Senior Member
Thanks Meter 1164
Posts: 565
Join Date: Jun 2013
harmonica.ss, are you still there? don't give up on me just yet.

I did finally get a chance to check the "mount" stats of my wife's i777, which also reports the user-storage partition as vfat. Her i777 has spent significant time on SHostock3, cm 10.1.3, & Omni 4.4; all without internal storage issues.

Quote:
Originally Posted by harmonica.ss View Post
[...]so again flashed ROM this time with 4.1 & it shows 16GB memory then i could use those space. but problem is if i go to CWM revcovery(i tried latest or old versions) take backup or installing zip got error like this "sdcard can't mount"[...]
What kernel, and what firmware are you using? <-- this should have been my first question.

from my wife's i777:
Code:
/dev/block/vold/259:3 /mnt/media_rw/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/259:3 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
root@i777:/ #

The Following 3 Users Say Thank You to cyril279 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes