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
Related
Hi,
I'm currently having an issue with trying to set up my sd card to mount to use the camera/other apps.
I ran into the encryption unsuccessful bug, and am using the external sd workaround with partitions.
I've tried changing the vold.fstab with some guides, but it isn't working for me...
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/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
This particular fix isn't changing anything for me either:
Code:
# 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
[/CODE]
I recently was able to bind /mnt/emmc to /sdcard/external_sd. This enabled me to use usb mass storage mode again (which hadn't been showing up when I plugged in my cable). However, I'm still unable to use my camera and other apps that require an SD Card.
I'm currently running Cyanogenmod 9.1 Stable.
Any help would be great, thank you!
Alright, I was able to fix this myself. Hadn't seen any suggestions for this particular fix:
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/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
How did you fix it ?
How did you fix it ? Changes in vold.fstab are not working for me. They seem to be ignored
nightstalkerpoet said:
Alright, I was able to fix this myself. Hadn't seen any suggestions for this particular fix:
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/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Click to expand...
Click to collapse
Was on the Lanlight Alpha when my sdcard became corrupted, now flashed to AOKP. Figured that it has nothing to do with the ROM, but more so JB itself and how our phone handles the sdcard when on it. Now have to use my external as my internal, but by doing this my camera app won't start up, saying "there is no external storage present." Tried editing my vold.fstab, but I guess I'm doing it incorrectly because it would just stick onto the loading screen when booting up and would never move on.
vold.fstab looks 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
######################
#FIXME: Swap again?
# internal sdcard
dev_mount emmc /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
# external sdcard
dev_mount sdcard /storage/sdcard0 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
Click to expand...
Click to collapse
Hi guys, i have i9000 with gingerbread stock 2.3.3 with kernel cf root, i didn't understand the internal and external storage's directory :V, /mnt/sdcard0 is internal for example
Shying said:
Hi guys, i have i9000 with gingerbread stock 2.3.3 with kernel cf root, i didn't understand the internal and external storage's directory :V, /mnt/sdcard0 is internal for example
Click to expand...
Click to collapse
And /mnt/sdcard1 is external, what you cant you understand?
limnaln said:
And /mnt/sdcard1 is external, what you cant you understand?
Click to expand...
Click to collapse
my internal sd is corrupted (http://forum.xda-developers.com/showthread.php?t=1861294&page=2) so my external sd have ext4 partition and the rom runs only for this partition but i don't have external storage now, i tryed to modify the vold.fstab but nothing :V
PS:Sorry for my bad english xD
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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount [COLOR="Red"]sdcard /mnt/sdcard 1[/COLOR] /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount [COLOR="Cyan"]sdcard1 /mnt/sdcard/external_sd auto[/COLOR] /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Modified the red line with blue line and vice versa and the second partition of external sd (FAT32) is the first internal sd, but the second internal storage doesn't exist
Shying said:
my internal sd is corrupted (http://forum.xda-developers.com/showthread.php?t=1861294&page=2) so my external sd have ext4 partition and the rom runs only for this partition but i don't have external storage now, i tryed to modify the vold.fstab but nothing :V
PS:Sorry for my bad english xD
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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount [COLOR="Red"]sdcard /mnt/sdcard 1[/COLOR] /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount [COLOR="Cyan"]sdcard1 /mnt/sdcard/external_sd auto[/COLOR] /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Modified the red line with blue line and vice versa and the second partition of external sd (FAT32) is the first internal sd, but the second internal storage doesn't exist
Click to expand...
Click to collapse
I have had galaxy i9000 7-8 times in the past (because i switched occationally and sgs always fashinated me to buy)
the directory @limnaln said was the right directory but in 2-3 models, the directory for external sd card was mnt/sdcard/external_sd.
Rohitdahiya said:
I have had galaxy i9000 7-8 times in the past (because i switched occationally and sgs always fashinated me to buy)
the directory @limnaln said was the right directory but in 2-3 models, the directory for external sd card was mnt/sdcard/external_sd.
Click to expand...
Click to collapse
Yep, someplaces its sdcard1, someplaces external_sdcard.
ok guys it's work but when i use camera it's fine, but fast reboot when i want install app, tryed with root browse and whatsapp...what i have to do? tryed with 3Wipe and formatting sd but always reboot after downloading an app and during install
I think, you should change ROM to another (for example CyanogenMod) and try one more time.
jako_tako said:
I think, you should change ROM to another (for example CyanogenMod) and try one more time.
Click to expand...
Click to collapse
i can't because my internal sd is corrupted and when i tryed to install cm 10.2 it say "waiting sd mount 20s" :crying:
my sd card is /sdcard/external_sd auto....it isn't /mnt/sdcard/external_sd...and i don't know why...and this change can't find my internal sdcard any idea?
Maybe i can try this solution:
Code:
For i9000, Do the FULL wipes and factory reset first (formating the Internal SD card will greatly help, so safe all your contacts, images backups to PC or Ext SD card First) Use i9000 Rescue kit with heimdall or on linux , select files as follows...
primary boot > boot.bin
secondary boot > Sbl.bin
repartition > s1_odin_20100512.pit
factoryfs > factoryfs.rfs
cache > cache.rfs
dbdata > dbdata.rfs
param > param.lfs
modem > modem.bin
kernel > zImage
The reboot may request for "Confirm password", just enter any password about 5 times until prompted that, "this will wipe the card." Yes wipe, ..Should solve the problem
but only found hotfile's link that not working now
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
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