H!
I am still trying/desperately trying to fix my Samsung Galaxy S4 problem on my external SD Card. (SD card blank or has unsupported file system)
I have tried everything that I can find on the internet and on XDA. I dont think I have a faulty external SD card slot becuase when I go to recovery mode and the mount my SD card using recovery my PC can see my SD card and format it even but it cant see mount it and the problem started when I first rooted my phone and installed a custom Rom. Another thing is that other phones (S4, Blackbeery z10, Note 2) can see and use my SD card just not my phone.
One thing I want to try after reading and trying a bunch of fixes is that maybe my vold.fstab has been edited.
Can somebody be my hero and post a regular or unedited vold.fstab and I can try to copy it on my phone?
Any help would be greatly appriciated.
Or maybe you guys can use my vold instead?
Maybe you can see something wrong with my vold?
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#storage_struct = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
carlo06 said:
H!
I am still trying/desperately trying to fix my Samsung Galaxy S4 problem on my external SD Card. (SD card blank or has unsupported file system)
I have tried everything that I can find on the internet and on XDA. I dont think I have a faulty external SD card slot becuase when I go to recovery mode and the mount my SD card using recovery my PC can see my SD card and format it even but it cant see mount it and the problem started when I first rooted my phone and installed a custom Rom. Another thing is that other phones (S4, Blackbeery z10, Note 2) can see and use my SD card just not my phone.
One thing I want to try after reading and trying a bunch of fixes is that maybe my vold.fstab has been edited.
Can somebody be my hero and post a regular or unedited vold.fstab and I can try to copy it on my phone?
Any help would be greatly appriciated.
Click to expand...
Click to collapse
what is your variant?? 9500,9505...?
samersh72 said:
what is your variant?? 9500,9505...?
Click to expand...
Click to collapse
ohhh sorry forgot to include that, I am using 9505!
hope you can help!
thanks for the reply!
carlo06 said:
ohhh sorry forgot to include that, I am using 9505!
hope you can help!
thanks for the reply!
Click to expand...
Click to collapse
here you go
thanks!!! sadly though we have the same vlod.
well back to the drawing board then. Anything you can add that I can try?
I have tried reformat to every kind of file system, I have tried all roms and stock, I have tried all recoveries and kernel. but still has the same problem.
:crying:
Related
I'm feeling a bit silly here, but how is everybody mounting their Internal Card in Linux in command line? Slackware 13.1
dmesg spits out a HUGE amount of data. I found this for the external sd.
usb 1-5: new high speed USB device using ehci_hcd and address 2
usb 1-5: configuration #2 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access SAMSUNG SGH-T959 Card 0000 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 7:0:0:0: [sdg] Attached SCSI removable disk
I mount that and well that's my External SD
I don't use slackware, I use Ubuntu, but try the following:
dmesg | grep sd?
You should see things like sg1 and sf1. The 's' stands for SCSI, which is the susbsystem that handles the SD cards, the second letter is the letter of the drive, and the number is the number of the partition.
You can use fdisk to check /dev/sd? as well, where the? is various letters.
Hope that helps.
Sent from my SGH-T959 using XDA App
Thanks yeah its showing
sda - sdg
Of coursse sda-sdf are all my drives and sdg seems to be the 2gig drive, but no sign of the 16gig internal.
Same results in Debug mode.
Unmount the 2 gig and try to mount the 16 manually.
kizer said:
Thanks yeah its showing
sda - sdg
Of coursse sda-sdf are all my drives and sdg seems to be the 2gig drive, but no sign of the 16gig internal.
Same results in Debug mode.
Click to expand...
Click to collapse
Is your phone in USB Debugging mode? If so, turn that off and try again.
Settings->Applications->Development->USB Development
NoDataFound said:
Unmount the 2 gig and try to mount the 16 manually.
Click to expand...
Click to collapse
I'll try that later when I get home. I was hoping I could avoid that, but I just can't get dmesg to even see the 16gig.
IDtheTarget said:
Is your phone in USB Debugging mode? If so, turn that off and try again.
Settings->Applications->Development->USB Development
Click to expand...
Click to collapse
I've tried it off and on. I know some mac users reported not being able to see it unless it was in debugging mode.
I normally only use windows for things, but I have this unRAID server and figured why not run some scripts so I could just plug in my phone and back it up and/or sync files one way or both. Just kinda stumping me why it doesn't like to see the 16gig LOL.
have you tried:
Code:
df -h
that should list all file systems and relevant sizes so it should be easy to identify (i think).
hope this helps.
Here is how āIā solved the mounting problem with my Android based Asus TFP Tablet. You might try it.
I have had a mod to vold.fstab under previous Android versions so the OS looked at the physical MicroSD as the external card, not the internal 8 gigs in the Adam. Handy because some programs always wants to look for files on the external card. It was quite easy to do the same thing to Honeycomb, and in case anybody else needs it, here's the full code for the file (which is under \ETC, you need Root Explorer or simalar to edit/replace it):
Code:
---------------------------------------------------------------------------------------------------------------------------------
## Vold 2.0 NVIDIA Harmony fstab
####################### ## Regular device mount ## ## Format: dev_mount ## label - Label for the volume ## mount_point - Where the volume will be mounted ## part - Partition # (1 based), or 'auto' for first usable par tition. ## - List of sysfs paths to source devices ######################
dev_mount microsd /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_ host/mmc1 # todo: the secondary sdcard seems to confuse vold badly dev_mount sdreader /mnt/external_sd auto /devices/platform/tegra-sdhci. 3/mmc_host/mmc2 dev_mount usbdisk1 /mnt/usb_storage auto /devices/platform/tegra-ehci
---------------------------------------------------------------------------------------------------------------------------------
So the actual changes are in the fourth and third lines from the bottom, changing around a few numbers. You'll see the difference if you open the original. I have saved a copy of it on the SD card, so if (or rather when) the next update comes I can simply copy it to the \ETC directory with Root Explorer and do a reboot, and it's back where I want it.
Thanks for sharing, gonna try it out tomorrow. One question though, which one would be the fastest? An external SD or the built in one? (as a lot of games put their files on that internal SD ..)
What I'm thinking is cook up an app that uses this to switch between the 2 for what ever you want. I'm sure this would be simple for someone who knows how.
I've never had problems with speed running apps from SD before I don't think there would be a difference now.
Sent from my A500 using xda premium
Well i've tried it and it is not working. Perhaps it is because i'm on stock kernel?
The only thing I get is that the external sd gets totally inaccessable by messing with the fstab file.
Uea I'm using stock I'm really sorry I didn't think about that. Also would be best to keep a backupmcopy of the old file.
Sent from my A500 using xda premium
adambomb_13 said:
Uea I'm using stock I'm really sorry I didn't think about that. Also would be best to keep a backupmcopy of the old file.
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Don't be sorry, it's not that i cant repair it or so, its only for some reason when i edit the file, nomather what name i change (even without adding the extra line for swapping) it always shows the default names, and thats strange.
do you have a list of the device names for the a500 like /devices/platform/tegra-sdhci.2/mmc_ host/mmc1 and at what physical device they are pointing?
---------- Post added at 05:01 PM ---------- Previous post was at 04:43 PM ----------
maybe you could attach your fstab to this thread? so i can see what i am doing wrong? I mean the one that works.
Thank you !
What I'm doing is I'm just renaming the internal memory to "external_sd" and the microSD to "sdcard". That way apps that default their storage to "sdcard" (like browser downloads, etc.) will be saved to the microSD instead of the internal memory. Then your internal memory is reserved for whatever you manually move to it.
Sent from my A500 using xda premium
@ adambomb_13, Could you Upload your mod'd "voold.fstab" file and post a link for us!
From Post 1...
"dev_mount microsd /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_ host/mmc1 # todo: the secondary sdcard seems to confuse vold badly dev_mount sdreader /mnt/external_sd auto /devices/platform/tegra-sdhci. 3/mmc_host/mmc2 dev_mount usbdisk1 /mnt/usb_storage auto /devices/platform/tegra-ehci
"
*** Looks like there are 2 {SPACE's} above that SHOULDN'T be there^^^
#1 -line 1 "...sdhci.2/mmc_ host/mmc1..."
#2 -end of line 2 -> "...sdhci. 3/mmc_host..."
so I feel (this is correct) below:
dev_mount microsd /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdreader /mnt/external_sd auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount usbdisk1 /mnt/usb_storage auto /devices/platform/tegra-ehci
-This DIDN'T work for me. It Removed my REAL SDCard (Tested on HC v3.2.1 + ICS 4.0.3 Test v77)
-I've tried different ways getting to those 3 lines, earlier I had lines 2+3 merged (before i saw pattern)
-while testing, It said my Real USB Drive was External_SD
*** To others testing, Best method (+pointers)
Important : With Root: change Read only attributes (R/O , R/W)
Important : Roboot Tablet every time you change script to TAKE EFFECT "voold.fstab"
Rename "voold.fstab" to "voold.fstab.origbak"
if it don't work, rename "voold.fstab" to "voold.fstab.MOD"
Thanks SO much for this FIND, It's awsome, can't wait to get it working!
I see the potential it has (from messing arround with it.)
so are those coed changing working for u guys, i tried the edit one from the op, and only thing i can tell is external sdcard is no seen by android.
if it is working ill try i different rom, im on a asus one atm
BrianDigital said:
so are those coed changing working for u guys, i tried the edit one from the op, and only thing i can tell is external sdcard is no seen by android.
if it is working ill try i different rom, im on a asus one atm
Click to expand...
Click to collapse
This is not working for us. Like you say, editing that file only results in not seeing the external sd... but if anyone would have a working version I would be most gratefull.
I guess this isn't solved it appears that even though it worked in my other tablets this Acer a500 build didn't add the SD to the vold.fstab just the external and USB so they got smart and used and .Init file for the sdcard. We can't give up though I'm sure we can still hack it or create a work around. These stupid tablet companies make you pay more for higher gb's so you can't just buy the 8gb version and turn it into a 64gb if you want. GREED!
No worries we'll get it going
Sent from my A500 using xda premium
adambomb_13 said:
I guess this isn't solved it appears that even though it worked in my other tablets this Acer a500 build didn't add the SD to the vold.fstab just the external and USB so they got smart and used and .Init file for the sdcard. We can't give up though I'm sure we can still hack it or create a work around. These stupid tablet companies make you pay more for higher gb's so you can't just buy the 8gb version and turn it into a 64gb if you want. GREED!
No worries we'll get it going
Sent from my A500 using xda premium
Click to expand...
Click to collapse
exactly whats the point of upgradeable memory
http://forum.xda-developers.com/showthread.php?p=20907592
[MOD] MicroSD 2 Internal Memory Swap
Saw this down in the a100 forum it might work for us
Sent from my Acer Iconia A500 using Tapatalk
Great find I might try it out. But first I'm waiting for thenics update that's suppose to come out this month hopefully to arrow to see if you can nativly move apps with that. If not I'll test it out.
Sent from my A500 using xda premium
yeah wonder how that will implmented, since both ics phone right now dont have any micro sd slots a la nexus phones. I have the option on my nexus s which they call my fake sd card usb storage on the ics update
BrianDigital said:
http://forum.xda-developers.com/showthread.php?p=20907592
[MOD] MicroSD 2 Internal Memory Swap
Saw this down in the a100 forum it might work for us
Sent from my Acer Iconia A500 using Tapatalk
Click to expand...
Click to collapse
I ran this script on my a500 and it works perfectly.
i will now use script manager to execute it on boot.
I found another thread here with a swap
http://forum.xda-developers.com/showthread.php?t=1445720
I think the one briandigital found is the best but for me I'm hoping that the ota I cs update will have the app to SD option so imnwaiting that out if not this is certainly the best option.
Sent from my A500 using xda premium
The folowing commands allow to have the external card to be mounted on /sdcard a
# mkdir /mnt/sdcard/extern
# busybox mount --bind /mnt/external_sd /mnt/sdcard/extern
benand said:
The folowing commands allow to have the external card to be mounted on /sdcard a
# mkdir /mnt/sdcard/extern
# busybox mount --bind /mnt/external_sd /mnt/sdcard/extern
Click to expand...
Click to collapse
what happens to the internal 16, is it still accessible through a file manager?
Yes you in /sdcard you see the internal content and when you browse in /sdcard/extern you see the external sdcard content
Sent from my A500 using xda premium
One issue I've had is larger games that place files on the SD card would fill the internal sd card's space up fairly quickly, and they would never have an option to place these files in another location, so I edited the ect/vold.fstab to switch the mount points for sdcard and external_sd so that my larger microsd card could be my primary storage and i could use the internal for other odd things that i change less often, I've yet to run across any issues, although I haven't tried to use the built in format options since doing this. If anyone else wants to try this, here is what I changed to get this to work
via root explorer or another method, find the "vold.fstab" file under the "ect" and make a backup of it, then pick open in text editor in root explorer and change the following sections that are in bold to what i have them shown as
for GB
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
discard = enable
format_option = -r 2236
}
dev_mount sdcard1 /mnt/sdcard/external_sd 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
save and reboot
for ICS (samsung based)
# internal sdcard
{
storage_struct = cover, "/mnt/sdcard/external_sd","/mnt/sdcard/usbStorage"
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
discard = enable
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
Click to expand...
Click to collapse
I've attached to this post a copy of my vold.fstab for ICS, i've tested it and it does allow applications to be moved to sd and my 64gig card works just fine as /mnt/sdcard. Best to still backup your original file before trying it and make sure you match the permissions of the original. It did require a few changes to make it function under ICS compared to how it was done in GB. Do not use the ICS copy for GB.
Thanks ciphray.
I have been looking for this and appreciate your help.
Will certainly try now.
Just one word "AMAZING"
This is awesome! Not useful as i have 16gb external card, but will do when i upgrade
Sent from my GT-N7000 using XDA App
I did the tutorial and now show me the sd space is unavailable and all the space of the sd is in usb storage,how I can do to show me the two spaces at the same time
the lines must be exact so likely there's a space you're not seeing or a letter missed, I've attached a copy of mine in a 7zip file, see if this helps, make sure the permissions match your old file
edit: updated file attachment for move to sd function
I dont think this is getting the attention is deserves, so ... bump
I may just try this before the day is out
Thanks for this tip.
I've found an issues with move apps from the 2GB storage partition to SD card (now the removabe one) after doing the swap. The phone generate an error of "SD card is full".
Any idea on how to solve this problem?
Cheers
Bigmille said:
Thanks for this tip.
I've found an issues with move apps from the 2GB storage partition to SD card (now the removabe one) after doing the swap. The phone generate an error of "SD card is full".
Any idea on how to solve this problem?
Cheers
Click to expand...
Click to collapse
edited first post, the asec disable/enable needed to be reversed, this should fix the move to sd coming back as full, just change those 2 save and reboot and that should take care of it
sorry for asking this in note thread....but i want it on my galaxy s2......
can i do the same for it to swapping the memory paths.....???????????
thanks for sharing. so i just install apps and it will be in sd card?
the titanium move apps to sd is external or sd?
this might work for a galaxy s2 with the same paths/partitions however as i do not have a galaxy s2 i cannot test this, at the worst you can just revert to the original file, as long as you made a backup if it doesn't work. it'd definitely be doable either way by following the same overall method of reversing the 2 mount points
as for the apps to sd thing, this doesn't enable any apps to be moved to the sd card that weren't already movable before, this simply makes it so they would go to the sd card instead of the internal 12gb partition, this is mostly useful for games that store files in a fixed path like mnt\sdcard or mnt\sdcard\android such as larger games
Be warned though, the internal space if probably much faster than your SD card. It certainly is in my case, and I don't see myself wearing out the chip in the next few years.
I have SG-N...
If I do this, will the device going to be faster or it's just about more storage space?
Just more storage space. The internal SD is a great design as the average read and write is about 20 ~ 30 mb/s. Run an ANTUTU test and you'll see what i mean.
If you prefer performance, this is definitely the way to go. The external SD is better suited for recording videos, storage pictures, and movies on the go.
Would it be possible to update this hack for the ICS build?
I tried the same with ICS "vold.fstab" but only the external SD card will mount, not the internal SD card.
Many thanks
Still, doesn't work for apps storage space (The 2GB allowed for apps to be installed on device)!
If this way can be extended to cover that instead of Move2SD or Link2SD, it would be great!
Sent from my GT-I9220 using xda premium
updated original post with ICS support
AT&T LTE White Samsung Galaxy Note
OK, so I followed this step by step & now my external SD is unavailable & won't mount & the internal USB storage is unavailable as well. Restarted a few times to no avail. Because the external card won't mount. I can't copy the original file back over. I typed it in, per the original file & that didn't help either, any ideas?
if you edited it with root explorer then it should have also created a backup called vold.fstab.bak unless you edited it more than one time in which case that file would have been overwritten with your second edit, you could try going into cwm and mounting the storage via usb from in there to get to your backup on your card(this doesn't effect your sd card while not booted into android), and then put it in a dropbox account or email it to yourself, and then save that file to an accesible area of your 2gb internal storage, and then copy it from there, did you use the correct copy? ie GB ver on GB or ICS ver on ICS? they changed a few things so the 2 are not interchangeable, but as long as you have it exactly right including spaces then there shouldn't be any way this wouldn't work on any of the Samsung based roms
Hi, hope someone can explain this mess to me. Not sure what has happened.
Anyway I went to the vold.fstab file to check if I have split partitions or what.
Anyway this is what file shows.
dev_mount sdcard /storage/sdcard0 23 /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
How can I get this sdcard back to normal with it reading, just 1 internal storage & 1 external storage without losing data? Or am I asking for to much?
Thanx for any help!
BliTzer ^_^
I would say transfer all the files USB DEBUG MT method to a folder and then format the SD card and place it all nicely back where you want it on your SD card. Make sure drivers are installed for your phone on your laptop. MTP is a Samsung mode but other phones are bound to have a similar media transfer mode. I hope I've helped you
Sent from my SCH-I545 using XDA Premium 4 mobile app
Thanks for the reply. I sorta ended up doing that. I bought a new bigger 64sdmax and then copied files off the old SD card and copied to New. At least I have a formatted backup if I need it. Thanx again.
I successfully swap thank you so much...
Hey all,
I'm kinda stuck on something and was hoping someone could point me in the right direction. I have an app that is using the aFileChooser module. Basically I have the chooser come up and the user will select a file from either internal, external or OTG storage. with aFileChooser if they select a file from the internal sd card it works. If they select a file from either External USB Storage or External SD card it does not. I have noticed in the getPath method in FileUtils in aFileChooser it has this condition:
Code:
if ("primary".equalsIgnoreCase(type)) {
Log.i ("PRIMARY", Environment.getExternalStorageDirectory() + "/" + split[1]);
return Environment.getExternalStorageDirectory() + "/" + split[1];
}
Now when the user selects a file from the internal card this condition is satisfied here is the uri:
Uri =content://com.android.externalstorage.documents/document/primary%3Amyfile.txt
So it will return the correct path /storage/emulated/0/myfile.txt
Now when I select a file from the external card this is the Uri:
Uri = content://com.android.externalstorage.documents/document/3935-6562%3Amyfile.txt
Same for the OTG storage the uri is
Uri = content://com.android.externalstorage.documents/document/2841-32E9%3Amyfile.txt
So there are no conditions to deal with if type = 3935-6562 or 2841-32E9 But is this the same identifier across all devices or will these change depending on device? I don't want to hardcode for these and have them be different on device and then how would I get the correct path even if I did hard code the numbers?
I just want the chooser to return the correct path depending on what stoage they picked
on my device that's /storage/sdcard1 and /storage/usbdisk but I know this will be different on different devices so I don't really want to hard code anything.
Any help would be appreciated..
You probably haven't declared permission for read/write to external storage in your manifest <uses permission EXTERNALSTORAGE>
http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE