[Q] Swap mount of internal sdcard with external_sd - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hi,
i know that it´s in general possible to swap the mount point of the internal sdcard with the external_sd on android devices by editing /etc/vold.fstab (root required of course).
I tried different (for me) logical changes on my Galaxy Note, which i adapted by the instructions for other gingerbread smartphones. Sadly i had no luck, every attempt resulted in not recognizing of both memory (internal & external) after reboot. Replacing the modified vold.fstab by the saved original always returns the device to normal operation after next reboot, so there is no real risk to try.
Maybe someone can help?
Here is the content of the original vold.fstab:
Code:
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external 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/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/s3c_otghcd/usb
#end line ## keep this line

Perhaps somewhere the UID of the partitions will be checked ...
What can be read in the logfile about the try of mount int/ext-SD-Card?

Busy trying to accomplish this as well. Maybe this procedure here will work?: http://forum.xda-developers.com/showthread.php?t=1422158

Have anybody checked it? Is it suitable for our device?
Sent from my GT-N7000 using XDA

Here's what you need to swap your internal and external storage.
vold.fstab(Dropbox Link):
http://db.tt/dYphJzwV
Download the file from the link above. Navigate to "/system/etc/" and rename "vold.fstab" to "vold.fstab.bak" and paste the downloaded file. Reboot into recovery and wipe your dalvik cache. Reboot system and enjoy. I've been using this with a 64GB SD card for months. I love it!
Edit: DO NOT USE ON ICS!!!
Sent from my GT-N7000 using Tapatalk

Works perfectly - sweeeet!!! Thanks a lot. Any plans to make this work on ICS?

could someone pleace reupload the file for gingerbread thanks

will it work for t-mobile USA samsung s3?

net.lander said:
will it work for t-mobile USA samsung s3?
Click to expand...
Click to collapse
i don't think its possible..
either way, the file is not available anymore.. from the DB link..

Please help to me- I wanna swap memorys to, but i do not know what need change in my vold.fstab file, My original vold.fstab file :
HTML:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#LGE_CHANGE_S [[email protected]] 20121008:Mount point for eMMC and sdcard
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host
#dev_mount sdcard1 /storage/external_SD auto /devices/platform/msm_sdcc.1/mmc_host

Hi everyone,
Need help on my internal sdcard swapping. Below is my vold.fstab. (l'm on 4.1.2 jb)
## 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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
#storage_struct = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = disable
}
dev_mount sdcard /storage/extSdCard auto /devices/sdi0/mmc_host/mmc1/mmc1
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
Sent from my GT-I8190N using xda app-developers app

...
howard bamber said:
There are plenty of apps to do this. Tool box pro has it built in, to send all new apps to YOUR SD.
From box 13......
Click to expand...
Click to collapse

Related

How to make Market download apps directly to microSD card?

Hey, sorry if this has been asked before but I wanted to know how I could make the Market download apps directly to my microSD card. I do not see an option for it and when I try to use app2SD, it moves my apps to the internal storage which it counts as the sd card and Icdon't see an option to move them to the external SD card.
I am on stock 2.3.6 rooted with Franco's kernel.
Sent from my GT-N7000 using xda premium
I managed to swap the internal and external storage in the vold.fstab file so now my mSD card is the internal storage but when I try to move an app from my phone memory to the SD Card, it tells me my card is full but my card still has 5x GBs left since it's a 64GB microSD.
I know it's probably something in the vold.fstab file but I have no idea what since I don't do any coding and such... so it'd be great if someone could tell me what's wrong.
Code:
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard /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 = enable
}
dev_mount sdcard1 /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/s3c_otghcd/usb
#end line ## keep this line

[Q] Tweaking fstab for /mnt/sdcard/external_sd backwards compatibility

Here's the original
/system/etc/vold.fstab
file:
Code:
## 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 sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
I believe there's no reason not to mount emmc to /mnt/sdcard/external_sd in addition to the ICS default of /mnt/emmc
As a result I am thinking of appending (not replacing) the following line:
Code:
# external sdcard
dev_mount emmc /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
But such a change can really mess up a phone so first I want to check a few things.
1) If we have a error with fstab will we have adb access at that point to reverse the change we've made or it it giong to have to be a case of nandroid restore only?
2) Linux can mount something to an area that is already mounted, I am assuming Android can do this too.
This person had a slightly different approach:
http://forum.xda-developers.com/showthread.php?t=1141750
Personally I prefer to keep the external_sd in vfat format because then you're more able to transfer things to&from Windows computers and even other phones. Bit of a shame as there are probably many advantages to ext4.
oops!! Ignore.
I would like to know too.
I would like to know too.
jago25_98 said:
Here's the original
/system/etc/vold.fstab
file:
Code:
## 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 sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
I believe there's no reason not to mount emmc to /mnt/sdcard/external_sd in addition to the ICS default of /mnt/emmc
As a result I am thinking of appending (not replacing) the following line:
Code:
# external sdcard
dev_mount emmc /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
But such a change can really mess up a phone so first I want to check a few things.
1) If we have a error with fstab will we have adb access at that point to reverse the change we've made or it it giong to have to be a case of nandroid restore only?
2) Linux can mount something to an area that is already mounted, I am assuming Android can do this too.
This person had a slightly different approach:
http://forum.xda-developers.com/showthread.php?t=1141750
Personally I prefer to keep the external_sd in vfat format because then you're more able to transfer things to&from Windows computers and even other phones. Bit of a shame as there are probably many advantages to ext4.
Click to expand...
Click to collapse
My tablet shows it like this:
## 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/mt6573-sd.0/mmc_host/mmc0
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mt6516-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mt6516-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
But when I introduced the code as above, my tablet stopped recognizing the sdcard, so I had to recover to an image before in order to recognize it again.
Any suggestions that it will not happen again???
You probably need to adjust my
Code:
/devices/platform/s3c-sdhci.2/mmc_host/mmc2
to the device matching your setup, something like
Code:
dev_mount emmc /mnt/emmc auto /devices/platform/mt6516-sd.2/mmc_host/mmc2
because I'm on a i9000 samsung phone and your on some kind of tablet
Could you explain it to me a bit further????
What does any of the commands in the line mean?
Yhanks
vechthra said:
Could you explain it to me a bit further????
What does any of the commands in the line mean?
Yhanks
Click to expand...
Click to collapse
It seems I found a solution here http://forum.xda-developers.com/showthread.php?t=1511619
In brief
install a app like SSHDroid
on your desktop connect with putty to your phone so hook up your phone with the usb cable
login is or was "root" and password is "admin"
ls /dev/block/vold will give you some figures 179.0 179.2 179.2 179.8 179.9
ls /dev/block/platform will give some folders s3c-sdchi.0 s3c-sdchi.2 s5pc110-onenand
One can chose between several ways how the folders appear on a windows explorer folder
like a USB stick or a mediaplayer
setprop persist.sys.usb.config mtp,adb results in the little walkman icon on your explorer
setprop persist.sys.usb.config mass_storage,adb results in the appearing of a usb stick
mount is also a commando when given alone which will show you everything that is mounted
In the putty window i did a feel free to experiment
setprop persist.sys.usb.config mass_storage,adb
echo /dev/block/vold/179:9 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file"
This would result in the appearing of a USB stick with name sdcard on your file explorer in windows.
To make this flash persistent
Look if your rom has support for userinit.d or bootcompletehook.sh somewhere in /data
cm 10.1 has support for userinit.d
in /system/etc/init.d I found 2 files 00banner and 90userinit
vi /system/etc/init.d/90userinit is this
#!/system/bin/sh
# call userinit.sh and/or userinit.d/* scripts if present in /data/local
if [ -e /data/local/userinit.sh ];
then
log -p i -t userinit "Executing /data/local/userinit.sh";
logwrapper /system/bin/sh /data/local/userinit.sh;
setprop cm.userinit.active 1;
fi;
if [ -d /data/local/userinit.d ];
then
logwrapper busybox run-parts /data/local/userinit.d;
setprop cm.userinit.active 1;
fi;
now the folder wasn't there so
mkdir /data/local/userinit.d
in this folder make a file.The name isn't important
cd /data/local/userinit.d
vi mountsdcard
setprop persist.sys.usb.config mass_storage,adb
echo /dev/block/vold/179:9 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
make sure you give rights to this file and the folder one can do that with es file explorer or probable
chmod 751 mountsdcard
I think that's it
This will mount your second sdcard (if you have one ) on your windows like a usb stick. It will do this even if your phone isn't completely started up.
You will not have to do a "mount usb" on your phone. If you do this anyway your first card is also mounted.
This is a neat trick to make your CAR find your music on your phone. If your car has a usb port and the functionality to play music from usb sticks.
Kind Regards
Guy
want to change
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/mt6573-sd.0/mmc_host/mmc0
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mt6516-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mt6516-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
u
need help
can someone please help me with this. not sure where to edit
## 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 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /mnt/sdcard/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
I WANT TO THE ARCHIVE stock VOLD.FSTAB for blu tank 4.5
android 4.1.1 JellyBean please! original vold want..

[Q] Vold.fstab - Memory extSdCard to sdcard, help me please

How flip memory of SIII Mini ..
File vold.fstab and very different from others
please
help me to change the vold.fstab S3 Mini
Samsung galaxy mini S3 system\etc\vold.fstab and system\etc\vold.conf
What should i change here to swap from internal to external ?
Vod.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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
#storage_struct = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = disable
}
dev_mount sdcard /storage/extSdCard auto /devices/sdi0/mmc_host/mmc1/mmc1
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
Here now the vold.conf:
## vold configuration file for the emulator/SDK
volume_sdcard {
## 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
media_type mmc
mount_point /sdcard
ums_path /devices/platform/usb_mass_storage/lun0
}
Coould anybody help ! Thankyou very much !
Up! Please help with this
I need vold.fstab from a S3 mini GT-I8190N or GT-I8190
mikael2933 said:
I need vold.fstab from a S3 mini GT-I8190N or GT-I8190
Click to expand...
Click to collapse
If you mean the file, here you go
mauam said:
If you mean the file, here you go
Click to expand...
Click to collapse
And that we do with it? Do you know if it will work in the Lostvirginity v2 or the carbon rom?
D-Mak said:
And that we do with it? Do you know if it will work in the Lostvirginity v2 or the carbon rom?
Click to expand...
Click to collapse
I have no idea. Just upload it for the member
mauam said:
I have no idea. Just upload it for the member
Click to expand...
Click to collapse
The one that your you have put only are they 1 or 2 lines? And the original one is very long. Not....
D-Mak said:
The one that your you have put only are they 1 or 2 lines? And the original one is very long. Not....
Click to expand...
Click to collapse
I don't even look to it bud, only upload it

[Q] plz help me i 9000

i do all thing about internal memory >>>removed it and insert 8g memory >> the phone work but i cant edite vold correctly >>>>>>>> my vold from phone
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
## 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

[q] swap sd card mini 2

hey guys... im just looking can swap sd card in mini 2 ??? anyone know?? please help ...
themaskreturnz said:
hey guys... im just looking can swap sd card in mini 2 ??? anyone know?? please help ...
Click to expand...
Click to collapse
Ok, swap for which rom ?
you'll need a root explorer and root
for stock 2.3 :
open this file a text editor system/etc/vold.fstab (after copying it somewhere as a backup)
when it says #internal put sdcard1 instead of sdcard and where it says #external put sdcard where it says sdcard1 (if you make an error you wont see any sd card on your phone after reboot you'll have to edit again btw i'm not responsible for anything)
and if your sdcard is called sdcard0 and external sdcard1 same way but put these values
for cm10.1 and cm10 :
edit system/build.prop go to #usb sexion and the line that does what you want is self explaining just make its value 1
for cm9:
go to settings/storage click menu button and select usb config and check the only option you'll see it is called use internal sd i guess
hope it helped , i have never had a problem with this but backup is a good option , hope it helped
Sent from my GT-S6500D using XDA Free mobile app
MaDaLiNoSt said:
Ok, swap for which rom ?
Click to expand...
Click to collapse
stock rom mybe..
pocthird said:
you'll need a root explorer and root
for stock 2.3 :
open this file a text editor system/etc/vold.fstab (after copying it somewhere as a backup)
when it says #internal put sdcard1 instead of sdcard and where it says #external put sdcard where it says sdcard1 (if you make an error you wont see any sd card on your phone after reboot you'll have to edit again btw i'm not responsible for anything)
and if your sdcard is called sdcard0 and external sdcard1 same way but put these values
for cm10.1 and cm10 :
edit system/build.prop go to #usb sexion and the line that does what you want is self explaining just make its value 1
for cm9:
go to settings/storage click menu button and select usb config and check the only option you'll see it is called use internal sd i guess
hope it helped , i have never had a problem with this but backup is a good option , hope it helped
Sent from my GT-S6500D using XDA Free mobile app
Click to expand...
Click to collapse
can make more simple like http://forum.xda-developers.com/showthread.php?t=2690038&page=3 *this is for ace plus GT7500.. thanks
thanx button ?
and btw u realy think it is easier to download ,reboot to recovery,flash a file than writing two words ? ok
Sent from my GT-S6500D using XDA Free mobile app
pocthird said:
thanx button ?
and btw u realy think it is easier to download ,reboot to recovery,flash a file than writing two words ? ok
Sent from my GT-S6500D using XDA Free mobile app
Click to expand...
Click to collapse
no i means can in SGM2 also using same method ??? because i not understand method ur give ... btw :good::good:
paste the content of the file system/etc/vold.fstab here after reading it with a text editor like kingsoft office or send it to me and i will edit it for you
Sent from my GT-S6500D using XDA Free mobile app
pocthird said:
paste the content of the file system/etc/vold.fstab here after reading it with a text editor like kingsoft office or send it to me and i will edit it for you
Sent from my GT-S6500D using XDA Free mobile app
Click to expand...
Click to collapse
this ??
can you try to replace its content with this one ? it should work , dont forget to mount system as read and write (rw)
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard1 /mnt/sdcard 23 /devices/platform/msm_sdcc.3/mmc_host/
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
format_option = -r 2236
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.1/mmc_host/
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line ## keep this line
Sent from my GT-S6500D using XDA Free mobile app
pocthird said:
can you try to replace its content with this one ? it should work , dont forget to mount system as read and write (rw)
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard1 /mnt/sdcard 23 /devices/platform/msm_sdcc.3/mmc_host/
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
format_option = -r 2236
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.1/mmc_host/
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line ## keep this line
Sent from my GT-S6500D using XDA Free mobile app
Click to expand...
Click to collapse
after i try this sd card and usb stroge cannot mount n all above show UNAVAILABLE ... why??? n how 2 solve this??
themaskreturnz said:
after i try this sd card and usb stroge cannot mount n all above show UNAVAILABLE ... why??? n how 2 solve this??
Click to expand...
Click to collapse
sorry my mistake , here is the fully edited one (it didn't save when i quited the text editor ) :
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard1 /mnt/sdcard/external_sd 23 /devices/platform/msm_sdcc.3/mmc_host/
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
format_option = -r 2236
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line ## keep this line
tested and working with my gts6500d
if this is not working i'm going to tell you how to get back to normal state as i made a backup before editing
pocthird said:
sorry my mistake , here is the fully edited one (it didn't save when i quited the text editor ) :
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2236
}
dev_mount sdcard1 /mnt/sdcard/external_sd 23 /devices/platform/msm_sdcc.3/mmc_host/
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
format_option = -r 2236
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line ## keep this line
tested and working with my gts6500d
if this is not working i'm going to tell you how to get back to normal state as i made a backup before editing
Click to expand...
Click to collapse
can ur make more easy and simple instruction ...like "link" iam give upper post... ??
first replace your vold.fstab with the one in attachment , and dont forget to first rename the one in attachment from "'vold.fstab.txt" to "vold.fstab"
if it doesn't work try this app i didnt try it , but for me the way i gave is working
http://www.google.com/url?sa=t&sour...jJdhNHinDGbocABl5ZJDTJg&bvm=bv.68235269,d.d2k
Sent from my GT-S6500D using XDA Free mobile app
Guys, where is the option to enable Swap SD? there is an option in cm9 tho but not 10.1 ...
Sent from my GT-S6500 using XDA Free mobile app
TiTAN-O-One said:
Guys, where is the option to enable Swap SD? there is an option in cm9 tho but not 10.1 ...
Sent from my GT-S6500 using XDA Free mobile app
Click to expand...
Click to collapse
in 10.1 edit build.prop , you'll find it in system folder , of course you will have to use root explorer or anything that lets you edit system files , open build.prop with a text editor like kingsoft office and in the usb sexion (under the line #usb and storage or something like that ) find this line :
persist.sys.vold.switchexternal=0 ;
and make it =1
like this : persist.sys.vold.switchexternal=1
save and exit and reboot
ps: move the apps installed in internal sd to external or they will be broken
hope it helps

Categories

Resources