Someone have an idea, how to change el vold.stab setting to swap the internal sd to external sd?
Here is the vold.stab in ICS S II:
## 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
######################
# internal sdcard
{
storage_struct = cover, "/mnt/sdcard/external_sd","/mnt/sdcard/usbStorage"
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
discard = enable
}
dev_mount sdcard /mnt/sdcard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
#usb host device
{
media_type = usb
}
dev_mount sda /mnt/sdcard/usbStorage/UsbDriveA auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdb /mnt/sdcard/usbStorage/UsbDriveB auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdc /mnt/sdcard/usbStorage/UsbDriveC auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdd /mnt/sdcard/usbStorage/UsbDriveD auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sde /mnt/sdcard/usbStorage/UsbDriveE auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdf /mnt/sdcard/usbStorage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF
I try evething but i can't.
Thanks.
PD: sorry for my english
fggarcia said:
Someone have an idea, how to change el vold.stab setting to swap the internal sd to external sd?
Click to expand...
Click to collapse
Have you tried swaping the mount point?
Code:
dev_mount sdcard1 /mnt/sdcard [...]
dev_mount sdcard /mnt/sdcard/external_sd [...]
AzureusPT said:
Have you tried swaping the mount point?
Code:
dev_mount sdcard1 /mnt/sdcard [...]
dev_mount sdcard /mnt/sdcard/external_sd [...]
Click to expand...
Click to collapse
Yes, i try, but after that it doesnt recoignize the sd Card directly. Someone have an ics rom, have an idea?
Enviado desde mi MZ601 usando Tapatalk
I try with the new leak but nothing. Someone have an idea?
Related
Hi all.
I have problem with editing vold.stab to swap my internal sdcard (phone memory) with external sdcard (microSDHC 32GB class 10). I have Samsung Galaxy S II Plus NFC (I9105P). It's rooted and I'm editing this file with File Explorer (FX). My firmware is: I9105PXXAMB9.
Here is my original vold.stab 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
######################
{
supported_exfat = yes
}
#dev_mount sdcard /storage/sdcard auto /devices/platform/mmc_host/mmc2
dev_mount sdcard /storage/extSdCard auto /devices/platform/sdhci.3/mmc_host/mmc2
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/dwc_otg/usb1
I tried to change to
Code:
#dev_mount sdcard /storage/extSdCard auto /devices/platform/mmc_host/mmc2
dev_mount sdcard /storage/sdcard auto /devices/platform/sdhci.3/mmc_host/mmc2
after copying everything from phone to microSD, but when I turn the phone on, there was many messages about closing or not finding the files of apllications (I don't remember).
Also I want to know if that will increase my memory for applications (USB memory, which originally got 4GB and after installing 4 games about 1Gb each, phone calls about no memory...).
Thanks for help.
EDIT:
I used other method - Directory Bind, it's better than editing vold.stab.
Thread to close.
Suk4sh1 said:
Hi all.
I have problem with editing vold.stab to swap my internal sdcard (phone memory) with external sdcard (microSDHC 32GB class 10). I have Samsung Galaxy S II Plus NFC (I9105P). It's rooted and I'm editing this file with File Explorer (FX). My firmware is: I9105PXXAMB9.
Here is my original vold.stab 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
######################
{
supported_exfat = yes
}
#dev_mount sdcard /storage/sdcard auto /devices/platform/mmc_host/mmc2
dev_mount sdcard /storage/extSdCard auto /devices/platform/sdhci.3/mmc_host/mmc2
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/dwc_otg/usb1
I tried to change to
Code:
#dev_mount sdcard /storage/extSdCard auto /devices/platform/mmc_host/mmc2
dev_mount sdcard /storage/sdcard auto /devices/platform/sdhci.3/mmc_host/mmc2
after copying everything from phone to microSD, but when I turn the phone on, there was many messages about closing or not finding the files of apllications (I don't remember).
Also I want to know if that will increase my memory for applications (USB memory, which originally got 4GB and after installing 4 games about 1Gb each, phone calls about no memory...).
Thanks for help.
EDIT:
I used other method - Directory Bind, it's better than editing vold.stab.
Thread to close.
Click to expand...
Click to collapse
I have the same problem, can you help me?
me too?
Hello,
it is really strange - there is a new handy on the market and everything has changed. Not everything but the standards which seems to work before.
I also have the same problem with an external sdcard. The way described before does not work - is there in the huge world of professional programmers nobody that can help?
dear Suk4sh1 - you wrote that you are using direcory bind as another solution. how did you get this programme to work propperly? I have the software version I9105PXXAMX1 on my device. directory bind always brings an error message, that the taget files or directory is wrong - that cannot be because I checked it several times. Any ideas why it does not work?
greetings
kx24
Firstly, have you got rooted phone?
Secondly, see this thread: http://forum.xda-developers.com/showthread.php?t=1410262
can anyone move apps from phone to internal storage usb???
when im using CM10.1, Apps2SD and Link2SD are working without any problem, apps can move to internal usb storage, but when i flash stock rom (JB 4.1.2) apps cannot move to internal usb storage... when click "Move to SD card", UNABLE TO MOVE APP. NOT ENOUGH STORAGE SPACE" message pop up... can anyone fix this and make apps can move in stock rom???
btw XDA rocks
Maybe ur storage is full , and I'm pretty sure because of the stock rom.
have free
nope... i have free about 8gb in internal.. if in cm10.1, i can move apps using link2sd... :3
HELP!!
i see this thread,,, http://forum.xda-developers.com/showthread.php?t=1846115 ....
i think it have to do with this.. i try all kind of thing, useless.. and this is my rom file.. can anyone edit it???
## 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
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
secure_format = enable
discard = enable
supported_exfat = disable
}
dev_mount sdcard /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard1 /storage/extSdCard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF
can anyone move apps from phone to internal storage usb???
when im using CM10.1, Apps2SD and Link2SD are working without any problem, apps can move to internal usb storage, but when i flash stock rom (JB 4.1.2) apps cannot move to internal usb storage... when click "Move to SD card", UNABLE TO MOVE APP. NOT ENOUGH STORAGE SPACE" message pop up... can anyone fix this and make apps can move in stock rom???
i see this thread,,, http://forum.xda-developers.com/show....php?t=1846115 ....
i think it have to do with this.. i try all kind of thing, useless.. and this is my rom file.. can anyone edit it???
## 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
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
secure_format = enable
discard = enable
supported_exfat = disable
}
dev_mount sdcard /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard1 /storage/extSdCard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF
i replaced the vold.fstab file on my karbon A39HD tab for swapping internal memory and external memory
but it resulted in not detecting my phone storage.
here is the content of the current vold.fstab file.
please hlep
PHP:
## 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
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard /storage/sdcard0 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
discard = enable
}
dev_mount sdcard1 /storage/extSdCard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/s3c_otghcd/usb
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF
lots of unnecessary codes are there,
it should contain only these lines:
Code:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
dev_mount sdcard1 /storage/extSdCard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
dev_mount sda /storage/UsbDriveA auto /devices/platform/s3c_otghcd/usb
now you need to change these lines only, make sure those directories are right.
i.e is "/storage/sdcard0" right? cause I've seen it was "/mnt/sdcard"
always make a backup of the file before you change anything.
Hi all
i just swapped my internal mem with external.My device is samsung galaxy fame 6812
ive done it by editing vold.fstab file in system/etc.The file content is:
# 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
######################
{
supported_exfat = no
}
#dev_mount sdcard /storage/sdcard auto /devices/platform/mmc_host/mmc2
dev_mount sdcard /storage/extSdCard auto /devices/platform/sdhci.0/mmc_host/mmc2
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/dwc_otg/usb1
#usb host device
{
media_type = usb
supported_exfat = no
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/dwc_otg/usb1
i changes sdcard to extSdCard and viceversa
after swapping when the phone reboots, and many system app started to crashing like taskmanager, myfiles, android media......etc
I replaced the backup vold.fstab and switched back.Why the swapping not not working?? (i had all the files from internal mem to external sdcard)
pls help me....