SD card with 2 partitions - Samsung Captivate Glide

As i am new on this site i cant add thread in devel site. Please need help i have 64 gig microsd and have 2 partitioned fat32 formatted
1 partition 20 gb (want this as for installing apps)
2 partition 40 gb (want to store photos videos atc...)
so until now i have original swapped memories fstab like this
----------------------------------------------------------------------------------------------------------------------------------------
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
discard = enable
format_option = -r 1980
}
dev_mount sdcard /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/tegra-ehci.0/usb
#end line ## keep this line
--------------------------------------------------------------------------------------------------------------------------------------
in text dev_mount sdcard1 - that's 20 gb of my partition
if i want add another partition do i need to do this way???
}
dev_mount sdcard2 /mnt/Data auto /devices/platform/sdhci-tegra.2/mmc_host/mmc2/mmc2
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
Any help with this??? Or is possible that android gonna see 2 sdcard partitions???

edworkscomputing said:
As i am new on this site i cant add thread in devel site. Please need help i have 64 gig microsd and have 2 partitioned fat32 formatted
1 partition 20 gb (want this as for installing apps)
2 partition 40 gb (want to store photos videos atc...)
so until now i have original swapped memories fstab like this
----------------------------------------------------------------------------------------------------------------------------------------
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
discard = enable
format_option = -r 1980
}
dev_mount sdcard /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/tegra-ehci.0/usb
#end line ## keep this line
--------------------------------------------------------------------------------------------------------------------------------------
in text dev_mount sdcard1 - that's 20 gb of my partition
if i want add another partition do i need to do this way???
}
dev_mount sdcard2 /mnt/Data auto /devices/platform/sdhci-tegra.2/mmc_host/mmc2/mmc2
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
Any help with this??? Or is possible that android gonna see 2 sdcard partitions???
Click to expand...
Click to collapse
If i remember right, this device only accepts 32gb microsd.. think that might be the problem, ace? And on another note, since we are using the phone to try and figure this out, why not insert the card into your computer and fix the format issue like a normal person instead of using all sorts of complicated methods that are way more difficult? it only makes since to use methods already in place to make life easier on us, or unless your a robot, which i can see for developers sometimes they dream in binary :laugh: they tend to use the difficult methods to show off lol.

Pretty sure you have to format any card larger than 32gb from within Android to get the Glide to register it, from what I've read anyway. I've seen several posts referencing this. If formatted on PC, it won't register with our phones.
Since (afaik) there's no way to partition the card from within android, perhaps with an app but no guarantee it will detect a valid card afterwards, you may have to keep it unpartitioned.
I believe there is a post maybe a page back on this particular forum that confirms cards over 32gb will work. Shouldn't have to dig too deep.

So i made 1 partition 64gb uder linux i made fat32 formatted phone have no problem to recognize it. Problem is that when i downloading files larger than 700 mb phone freeze. not sure if that do root or the card ... must do test first with original firmware i think 1.3 ghz kernel is not stable just testing now will give more infos after...

edworkscomputing said:
So i made 1 partition 64gb uder linux i made fat32 formatted phone have no problem to recognize it. Problem is that when i downloading files larger than 700 mb phone freeze. not sure if that do root or the card ... must do test first with original firmware i think 1.3 ghz kernel is not stable just testing now will give more infos after...
Click to expand...
Click to collapse
So i was right do not install 1.3 kernel i downgraded to 1.2 ghz and everithing working ok!!! 64gb card confirmed for use in glide

edworkscomputing said:
So i was right do not install 1.3 kernel i downgraded to 1.2 ghz and everithing working ok!!! 64gb card confirmed for use in glide
Click to expand...
Click to collapse
do 2 partitions work?
Sent from my SAMSUNG-SGH-I927R using xda app-developers app

I stand corrected glad to be proven wrong!
Sent from my SAMSUNG-SGH-I927 using xda app-developers app

Related

[MOD] Swap Internal & External SD Cards

Hi all, I came scross this awesome mod for the I9003 located here and thought I would give it a go on my I9000.
Now any of you who love your mobile gaming will have come across this problem, you install a game and it downloads loads of data over Wifi for you to play it then you find you're running out of space on the internal SD (I had this after going mad with the Gameloft games for £1 offer, bought loads and had no space for the data to play them) so this mod allows you to swap the way the SD cards mount within Android. I have made and tested this mod on JPY 2.2.1 but I think it should work on any but I TAKE NO RESPONSIBILITY FOR ANY DATA LOSS THAT MAY OCCUR etc. Once completed you can use any size MicroSD card as your internal SD instead of the 5.78GB that the SGS usually offers you.
Then follow the instructions below.
To do this you need root access:
1) download the attached file, unzip it and copy it on to your external_SD.
Please back up your data, both Phone as well as SDCARD using ClockworkMOD recovery or similar, before proceeding further as a precautionary measure, in case you encounter trouble. Though it is not necessary.
2) Now you need to backup your original vold.fstab from /system/etc folder to sdcard/vold directory using Root explorer, just incase if you encounter any problem, you can replace the backed up original file.
For this Browse to /system/etc folder, copy "vold.fstab" from that folder, then go to /sdcard, paste the "vold.fstab" inside a folder eg: sdcard/vold.
3) Now using root explorer, Copy the "vold.fstab" downloaded from attachment here and put on your extrenal_SD. Browse to /system/etc folder. Make sure that file system is R/W and paste "vold.fstab". accept permission to replace the original file.
4) Restart ur phone
This is how it's done on the I9003: -
Its easy. You just have to swap the device mount path in vold.fstab as below:
The original:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# internal sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/musb_hdrc/gadget/lun0/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
# externel sdcard
{
mount_deep = 1
ums_path = /sys/devices/platform/musb_hdrc/gadget/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
Modified as:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# internal sdcard
{
mount_deep = 1
ums_path = /sys/devices/platform/musb_hdrc/gadget/lun0/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
# externel sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/musb_hdrc/gadget/lun1/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
to open the file open notepad and drag the vold.fstab on to notepad and save it after edit. Dont forget to back up original file. This should work on I9000, but not tested just analyse your vold.fsstab and compare.
All thanks should go to trip007in for the amazing work, all I have done is try to make it work on the I9000
nice find.
just wondering what happens when you boot up without your actually sd card in...
Not sure, never tried it but I'd imagine it will be just like having the internal sd wiped. I'll try it shortly and post the results
Sent from my GT-I9000 using XDA Premium App
Well it all boots up ok but it doesn't show up either memory card, not sure why but its not the end of the world as long as you have an sd card
Sent from my GT-I9000 using XDA Premium App
Just another quick update, if you insert the memory card once the system has booted it instantly mounts it, you just have to manually mount the external (original internal) memory card
Sent from my GT-I9000 using XDA Premium App
Very good find.Thanks
Sent from my GT-I9000 using Tapatalk
Well, sorry I didn't post this sooner but here is the original vold.fstab file:-
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# sdcard mount for the P1
# internal sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
asec = disable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
mount_deep = 1
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#keep this line.
And this is what I edited it to:-
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# sdcard mount for the P1
# internal sdcard
{
mount_deep = 1
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
asec = disable
mbr_policy = skip
}
dev_mount sdcard1 /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#keep this line.
Hope that helps anyone who may be interested
Right guys, I've hit a snag trying to get this working on JVO 2.3.3
I can get the system to see the external SD card as the internal SD but not the original internal SD as the external. Has anybody had any joy getting this to work as I'm pretty stuck now?
Please, can anybody with a bit of coding knowledge for Android help me out with this one? Its frustrating me and I'm really short on time to test all possibilities due to work
Never mind, I worked it out. Here is the mod for anyone running JVO (and possibly all other GingerBread ROMs too): -
Original vold.fstab
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Click to expand...
Click to collapse
Modified vold.fstab
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Click to expand...
Click to collapse
Hope it helps someone out there. I can now easily have all of my Gameloft game data installed without having to chop and change based on which game I'm playing using a 32GB SD card
anyone tried this on JVP yet? Would deffinitely like to use this mod if it works as I too have lots of gameloft game data using up all the space on my internal card.
Yep, I use it on JVP for exactly the same reason, here is the coding for vold.fstab on JVP I use: -
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# sdcard mount for the P1
# internal sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
asec = disable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
mount_deep = 1
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
asec = enable
mbr_policy = skip
}
dev_mount sdcard1 /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#keep this line.
Click to expand...
Click to collapse
And I've attached the file in case you don't want to edit it yourself
Here are the files for JVO as requested. Both original and modified vold.fstab files are included
Has anyone else tried the JVP mod yet and had trouble mounting their SD cards in windows after? I can't seem to get them to work with the modified file. Anyone have any ideas why?
Can anyone help with this? I'm not sure what to try to get this working. The mod works great to swap the sd cards but I cannot mount them in windows whether I select standard usb mass storage or mount through usb debugging mode.
Someone must have some idea what to do?
Sent from my GT-I9000
Can this use on JV5??
netmercenary said:
Can this use on JV5??
Click to expand...
Click to collapse
Not sure, never tried that ROM. If you copy the vold.fstab file from your JV5 ROM and edit it as per the coding I have posted then I cannot see how it cannot work, although I'd keep a copy of your original vold.fstab file somewhere on your system partition in case it goes wrong
bigdyl69 said:
Not sure, never tried that ROM. If you copy the vold.fstab file from your JV5 ROM and edit it as per the coding I have posted then I cannot see how it cannot work, although I'd keep a copy of your original vold.fstab file somewhere on your system partition in case it goes wrong
Click to expand...
Click to collapse
Hi bigdyl69 , here is the orginal vold from my JV5 Rom , could you please help me to have a check ? Thanks !
netmercenary said:
Hi bigdyl69 , here is the orginal vold from my JV5 Rom , could you please help me to have a check ? Thanks !
Click to expand...
Click to collapse
OK, I've edited your vold.fstab and attached it here but I don't have JV5 on my SGS to test it. Make sure you move any apps you have installed to your internal SD back to the phone using the manage applications option, keep a backup of your original vold.fstab file somewhere on your system partition and give it a try
bigdyl69 said:
OK, I've edited your vold.fstab and attached it here but I don't have JV5 on my SGS to test it. Make sure you move any apps you have installed to your internal SD back to the phone using the manage applications option, keep a backup of your original vold.fstab file somewhere on your system partition and give it a try
Click to expand...
Click to collapse
Thanks man ! I'll have a try and gave you a feedback as soon as possible ~

[HOWTO] mount EMMC and External SD on CM7 as it is on Stock ROMs

Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
a good guide indeed for the CM7 ROM users
I did something similar for all my Gameloft games, EA games, Glu games, and DATA partition, and Download, and all the other stuff, basically i mounted everything off to my 64 GB SD card instead of internal SD
lets give this topic some flight time, stuck for a month, it'll come off by itself
also added to main INDEX
Thanks AllGamer...
thanks, i was looking for something like this for a while.
Thanks so much for this. Thanks a bunch!!!
ICS
Can someone who had flashed ICS Alpha builds tell us if this procedure works on them?
Thanks and I am glad I'd helped someone by doing this post
Testing this out right now on Isotope, let's all keep our fingers crossed.
talmeida said:
Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
Click to expand...
Click to collapse
does it work for other devices cm7 roms??
tried it and didn't work for me. Might have typed it wrong. Will try again.
I only used the file browser to see if i can access both the emmc and the sd card but could only get to the emmc
I will try...
talmeida said:
Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
Click to expand...
Click to collapse
Oh man, thank you!
This worked like a charm on my Epic Touch 4G.
tried this in a aokp rom(hydrogen), and it doesn't work.
Why not mount the emmc to /mnt/sdcard/external_sd in addition to /mnt/eemc for backward compatibility?
Does it work on CM9 too?
I had ICS Passion v13 installed on my Samsung Vibrant before, and my vold.fstab file is a bit different from cm7's. I now have cm7 installed but the vold.fstab file doesn't seem to have changed with the change of roms.
It would be great if you could post the fstab and build.prop files somewhere online from where I can download it and replace in my phone because I don't want to mess up again(I encountered the "encryption failed" bug in ICS today and I tore my hair out fixing that..so yeah.)
Thank you.
Anyone else that's on AOKP have any luck getting this to work??? The flip-flooped SD cards on CM9/AOKP is seriously annoying..
Sent from my AOKP'd T989
This is the vold.fstab file in my Samsung Vibrant:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# internal sdcard
dev_mount emmc /mnt/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
As you can see, it is differs from the one you posted in the guide. What steps should I take now?
Can anyone show me how to do this with captivate cm7?
Please and thanks!
fresherthanU said:
Anyone else that's on AOKP have any luck getting this to work??? The flip-flooped SD cards on CM9/AOKP is seriously annoying..
Sent from my AOKP'd T989
Click to expand...
Click to collapse
has anyone found a solution for AOKP yet? I find that many of my apps such as google music and my camera don't save files properly. This has caused me to switch back to juggernaut.
major thanks to anyone who can help!

Use an SDcard as internal storage - Gingerbread

Hey guys,
This guide is how to reverse the external and internal storages, or, use an sdcard as internal storage, and vice versa.
I wrote a guide similar to this, for my other phone (Photon 4G). Now that I got this phone though, and purchased another 32GB Sdcard, I had to figure it out on this phone.
I CANNOT BE HELD RESPONSIBLE IF YOU BRICK YOUR PHONE, OR DAMAGE YOUR SDCARD.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good (root) text editor. Make sure you have r/w on. Find the below two lines:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
and
Code:
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/virtual/block/cyasblkdevblk0
What I did, and what proved successful, is this:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard [COLOR="red"]/mnt/sdcard/external_sd[/COLOR] 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
and
Code:
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 [COLOR="Red"]/mnt/sdcard[/COLOR] auto /devices/virtual/block/cyasblkdevblk0
Replace the regular lines, with the red lines, save, and power off your phone. Now, boot into recovery, and wipe dalvik Cache. Start up your phone, and BAM, your internal is now marked as external, and your external, is now your internal
_______________
If you would like to move apps to your phones actual internal storage (now marked as external), simply, change:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
to
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
[COLOR="red"]asec = enable[/COLOR]
discard = disable
Save, power off, wipe dalvik, reboot.
____________
I use Stock EL29, rooted. (this should work on ICS, using a similar method).
Enjoy, and press the thanks button
Seen this befor on the captivate glide forum. But thanks nonetheless your info is well written.
Sent from my SPH-D710 using xda app-developers app
D2dyno said:
Hey guys,
This guide is how to reverse the external and internal storages, or, use an sdcard as internal storage, and vice versa.
I wrote a guide similar to this, for my other phone (Photon 4G). Now that I got this phone though, and purchased another 32GB Sdcard, I had to figure it out on this phone.
In vold.hstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good (root) text editor. Make sure you have r/w on. Find the below two lines:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
and
Code:
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/virtual/block/cyasblkdevblk0
What I did, and what proved successful, is this:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard [COLOR="red"]/mnt/sdcard/external_sd[/COLOR] 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
and
Code:
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 [COLOR="Red"]/mnt/sdcard[/COLOR] auto /devices/virtual/block/cyasblkdevblk0
Replace the regular lines, with the red lines, save, and power off your phone. Now, boot into recovery, and wipe dalvik Cache. Start up your phone, and BAM, your internal is now marked as external, and your external, is now your internal
_______________
If you would like to move apps to your phones actual internal storage (now marked as external), simply, change:
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
to
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
[COLOR="red"]asec = enable[/COLOR]
discard = disable
Save, power off, wipe dalvik, reboot.
____________
I use Stock EL29, rooted. (this should work on ICS, using a similar method).
Enjoy, and press the thanks button
Click to expand...
Click to collapse
Thank you so much man, been trying to figure out how to do this for too long. Now maybe i can get link2sd to work...
Sent from my SPH-D710 using xda premium
rovar said:
Seen this befor on the captivate glide forum. But thanks nonetheless your info is well written.
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
Thanks I originally wrote it, but it's much different between phones (especially different companies), so I wrote one here
Thanks a lot I'm assuming for JB, since the directories have different names, we just use those instead?
I think so. I am not 100% sure though.
Once I get my sdcard (1st one was defective lol), I'll update the OP with how to do it for ICS.
You won't be able to use nandroid to backup any apps moved to sd if you use this method.
Sent from my SAMSUNG-SGH-I717 using xda premium
chris41g said:
You won't be able to use nandroid to backup any apps moved to sd if you use this method.
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Correct. I don't flash ROMS though. Stock is good enough for me so it's not really a concern for me.
Anybody willing to help me to get this working on ICS? It's easy getting them switched, but the internal storage won't mount if you switch them.
Well, I got it to work, but you have to manually mount the internal storage
sir can you explain to me what is discard? what happend if I enable or disable that?TIA
Sent from my GT-S5300 using xda app-developers app
Lovensky said:
sir can you explain to me what is discard? what happend if I enable or disable that?TIA
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
What do you mean by disable it? And what are you referring to?
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard /mnt/sdcard/external_sd 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
Click to expand...
Click to collapse
what happen if i disable or enable the discard in internal sdcard???
Lovensky said:
what happen if i disable or enable the discard in internal sdcard???
Click to expand...
Click to collapse
In that quote, the discarad is referring to USB storage, not the sdcard.
Hmm...ok..but what will happen if i enable the discard in usb storage??
Sent from my GT-S5300 using xda app-developers app
it works!
thanks for your guide! ^_^
no go
I went through system/etc and inside vold.fstab what i found was this
Code:
##vold configuration file for the emulator/SDK
## this is the direct uevent device path to the sd slot on the device
#emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
dev_mountsdcard /mnt/sdcard auto /devices/platform/bcm_sdhc.3/mmc_host/mmc1
I'm using a GT-S5830i stock

[Q] unavailable sdcard and usb storage

Hi i understand that there is already posts about my situation
but thought i would do a thread so i can explain my problems.
ive recently rooted my galaxy ace II and i changed the usb storage and sd card round.
Then wanted to reverse it and in doing so it made my sd card and usb storage unavailable.
My internal storage is available. I tried to download remount sd file but wont download as there is no storage place for lt in my device.
Ive been reading forums about the vold file and i understand what is being said but my vold seems to be different to what people are saying.
my vold file says
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = enable
asec = enable
}
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc2
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
#dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.w/mmc_host/mmc2
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.2/mmc_host/mmc2
#end line ## keep this line
Can someone tell me if there is something wrong and if so what can i do.
Ive also tried downloading files on a pc and transfering them onto sdcard but as sdcard wont mount i cant get to it.
Thank you
Sleethy
Hello again. ive managed to get usb storage working again but still no sd card. still says unavailable.
ive tried formatting it and even done a hard reset and still nothing
thanks again
Sleethy
Flash stock gb and clear cache(if you dont do backup)
Then re root

How do I default to external sdcard01 ?

I want my apps to be automatically installed on the external card. I assumed that bladev-swap-sd.zip would do it and so installed it under recovery mode. It puts vold.emmc.fstab into /system/etc/
This is the relevant part of the the file:
#dev_mount emmc /storage/sdcard0 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard /storage/sdcard1 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/sdcard0 auto /devices/platform/msm_sdcc.1/mmc_host
It has made no difference. I just installed an app from G play and it was installed into sdcard0 instead of sdcard01
I am using CM11c0_codina.nova plus ace2nutzer.kernel.4.4 codina
What do I have to do to make the sdcard1 the default for the phone?
R
It seems you are trying to swap internal memory with external memory there. Have you tried using NT-App (for ace kernel) or ChronoKernelSetting (for Chrono's kernel) ?

Categories

Resources