Hello,
Im trying to change my mount point for my external sd card on my SIII from /mnt/extSdCard to /sdcard/external_sd. My reasons for doing this is some apps cant access the /mnt directory. So i did a little looking around and several posts suggested editing the /system/etc/vold.fstab and changing the lines in there to the correct directory.
I did this successfully and rebooted. It mounted correctly to this location but im getting a load of errors now saying things like "Unfortunatly, Factory Test has stopped", "...android.process.media has stopped", "...mtp has stopped", "...software update has stopped" I dont keep any apps on the external sd card.
Can someone help me with this please?
Thanks
Are you sure the folder /sdcard/external_sd/ exists.
Also, if you take your sdcard out do you still get these problems?
Sent from my GT-I9300 using xda premium
Ya i created the folder myself, it does actually mount correctly to this folder when i make the change but i get all those messages. It works ok if i change the mount folder back again to the original location
Any ideas guys, im really stuck with this.
When you start your phone withour the sdcard physically in, do you still get errors after you changed fstab?
Sent from my GT-I9300 using xda premium
Sorry, yes i still get the errors after i remove the SD card, i also get a message in the notification area saying "blank USB Storage" but im sure that doesnt matter.
Paste your fstab, you might have made an error.
Sent from my GT-I9300 using xda premium
Is this possibly caused by mounting the folder inside the internal sd (which is also mounted folder)
The line that im changing is:
Original: dev_mount sdcard /mnt/extSdCard auto /devices/
New: dev mount sdcard /sdcard/external_sd auto /devices/
Here ya go
## 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 = series, /mnt/sdcard/extStorages
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /sdcard/external_sd auto /devices/
platform/s3c-sdhci.2/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/s5p-ehci
#EOF
Click to expand...
Click to collapse
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Product F(RED) said:
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Click to expand...
Click to collapse
That sounds like a good idea. Would this actually mean that apks would be able to see these links and follow them without a problem.
How do I create a symbolic link?
Product F(RED) said:
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Click to expand...
Click to collapse
Would that work? Most SD cards wont support symlinks.
I just tried to create one with Root explorer and it failed. Couldnt be bothered to try with terminal but assume the same result.
Ah, you might need to edit your build.prop and change
ro.removablemounts
So it equals /sdcard/external_sd
Sent from my GT-I9300 using xda premium
Zanith said:
Ah, you might need to edit your build.prop and change
ro.removablemounts
So it equals /sdcard/external_sd
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
If that works, that's a better solution. Symlinks are possible as far as I know; someone once made an app to be able to move and then symlink Gameloft game files to the memory card so that internal storage wouldn't have to be used. I'll try and find it.
ok i tried changing the line back to /extSdCard and im it mounted correctly but im still getting these errors. Ive posted my current void.fstab here. Crap, its very hard to do anything with this phone as those messages keep on popping up.
## 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 = series, /mnt/sdcard/extStorages
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/
platform/s3c-sdhci.2/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/s5p-ehci
#EOF
Click to expand...
Click to collapse
Change it back to what you wanted, then change build.prop as I said.
Sent from my GT-I9300 using xda premium
I'm in the same boat as you.
After messing with vold.fstab too (before reading this thread), getting my S3 nearly impossible to use (because of the popups), and doing some research, I ran into this:
Is Google blocking apps writing to SD cards ?
http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
So, apparently, we've hit a deadend. The write permission to the ext. SD card might be gone from ICS 4.0.4 (or from ICS overall), and no 3rd-party apps will be able to write to it in a near future. Forget about app2sd too.
The path might be hardcoded in several parts of the framework, and that's whe we get so many errors after editing vold.fstab.
Damn you, Google!
Oh man I only edited one line and then changed it back. I did this Friday without problems, just did it today and getting all these messages. Didnt update my version of android either, dont understand why it wont go back.
All for the sake of just wanting another mount folder.
I'm sure google are aware of this issue, they were working on making android use the /mnt/sdcard0 notation to support multiple sdcards.
Is it the same with cm9 where somebody can change these reference.
Sent from my GT-I9300 using xda premium
OK figured out what i did wrong, of coarse it was stupid. Firstly i got an original untouched fstab file from someone i know who has another s3 and copied it to the /system/etc. Im not sure if it was because it was an untouched file or that i messed up but what i think i did was copy it to the location all along and edit an fstab file that was in /etc instead of /system/etc.
I don't know if the same thing happened to you but ive attached the untouched fstab file for you to copy and try and get your phone working. Hope this helps.
So guys back to point you were saying about linking?
https://rapidshare.com/files/3622250406/vold.fstab
Related
I am running Ba2tf release of CM7. I flashed CWM ~5.0.2 through ROM Manager 4.4.something. Anyway, when I go to backup the current ROM or restore or anything else involving the SD card it says Error Can't mount E:/sdcard. This makes it impossible to backup and restore ROMs. Can someone help me fix this? Thanks in advance.
This is an Atrix by the way.
Can you provide your /system/etc/vold.fstab? Just open it using test editor and post it.
You make backup sdcard and format. I had this problem too. Now is ok
SzymonMatys said:
You make backup sdcard and format. I had this problem too. Now is ok
Click to expand...
Click to collapse
From inside CWM?
JohsonChou said:
Can you provide your /system/etc/vold.fstab? Just open it using test editor and post it.
Click to expand...
Click to collapse
Here you go:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point[:[asec_point]:[lun_point]]> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## asec_point - Whether asec mount is needed for this value, if not, use "none"
## Else, supply a folder name under /mnt/secure/
## If not supplied, "asec" will used by default
## If supplied, /mnt/secure/asec_point will be used
## This is for further extension, not needed now
## lun_point - The target lun device for this volume. If not supplied, will use
## /sys/devices/platform/usb_mass_storage/lun0/file
## else, will use /sys/devices/platform/usb_mass_storage/lun_point/file
## part - Partition # (1 based), or 'auto' for first usable partition.
## For a disk with only 1 partition, use '1' is different to 'auto'
## Using 1, will not re-write its partition table when formatting
## <sysfs_path> - List of sysfs paths to source devices
######################
# external sd card
#dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
#dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
# flash drive connection to USB1
#dev_mount usbdisk_1.0 /mnt/usbdisk_1.0 auto /devices/platform/tegra-ehci.0
dev_mount usbdisk_1.0 /mnt/usbdisk_1.0 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1:1.0
# flash drive connection through hub connected to USB1
dev_mount usbdisk_1.1 /mnt/usbdisk_1.1 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.1
dev_mount usbdisk_1.2 /mnt/usbdisk_1.2 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.2
dev_mount usbdisk_1.3 /mnt/usbdisk_1.3 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.3
dev_mount usbdisk_1.4 /mnt/usbdisk_1.4 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.4
dev_mount usbdisk_1.5 /mnt/usbdisk_1.5 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.5
dev_mount usbdisk_1.6 /mnt/usbdisk_1.6 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.6
dev_mount usbdisk_1.7 /mnt/usbdisk_1.7 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.7
I did formated sdcard in android. When I did it when CWM see sdcard normally
Code:
dev_mount emmc /mnt/emmc:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
dev_mount usbdisk_1.0 /mnt/usbdisk_1.0 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1:1.0
dev_mount usbdisk_1.1 /mnt/usbdisk_1.1 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.1
dev_mount usbdisk_1.2 /mnt/usbdisk_1.2 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.2
dev_mount usbdisk_1.3 /mnt/usbdisk_1.3 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.3
dev_mount usbdisk_1.4 /mnt/usbdisk_1.4 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.4
dev_mount usbdisk_1.5 /mnt/usbdisk_1.5 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.5
dev_mount usbdisk_1.6 /mnt/usbdisk_1.6 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.6
dev_mount usbdisk_1.7 /mnt/usbdisk_1.7 auto /devices/platform/tegra-ehci.0/usb1/1-1/1-1.7
Change it to this and reboot. Be aware that you should first change the permission to RW-R-R before copying it to system/etc/
The sdcard in your phone will be your internal storage and emmc will be your external sdcard(like most CM7 roms does)
I just formatted the SD card and then kicked myself in the face for not thinking of it sooner. It worked. I didn't need to swap the location of the memory, but thanks for the help anyway!
can't mount sd card
I'm using samsung galaxy s2 with sansation ics 3.3. when i try to backup my rom from cwm, it says can't mount sd card. can any one please tell me what is the easiest shortest way to get rid of it? i really need to backup my current rom...
I'm running CM10.1 RC1, stock kernel and am interested in swapping memories. I can find threads about this for other phones but so far nothing for the i717. I have a class 10 sandisk 64gb card in fat32 currently and would LOVE to be able to use that as my phone storage for apps. So does anyone have experience editing vold.fstab for these phones? Any help is greatly appreciated.
inb4 16gb is plenty etc etc etc
Swap External w/ Internal. Success!!
LuckyStrike88 said:
I'm running CM10.1 RC1, stock kernel and am interested in swapping memories. I can find threads about this for other phones but so far nothing for the i717. I have a class 10 sandisk 64gb card in fat32 currently and would LOVE to be able to use that as my phone storage for apps. So does anyone have experience editing vold.fstab for these phones? Any help is greatly appreciated.
Click to expand...
Click to collapse
Just in case anyone else besides you reads this post: First, you need a rooted AT&T Galaxy Note I717, second you need the Root Explorer app (it's a couple of bucks in the market, but definitely worth it).
With Root Explorer, make back-ups of the following two files, system/etc/vold.fstab, and system/etc/vold.conf. Once backed up, then proceed to modified the code in red, see below:
vold.fstab original
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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Red"]sdcard[/COLOR][/B] /storage/[B][COLOR="Red"]sdcard0[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="red"]sdcard1[/COLOR][/B] /storage/[B][COLOR="red"]extSdCard[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#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
vold.fstab modified
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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Blue"]sdcard1[/COLOR][/B] /storage/[B][COLOR="Blue"]extSdCard[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="Blue"]sdcard[/COLOR][/B] /storage/[B][COLOR="Blue"]sdcard0[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#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
vold.conf original
Code:
## 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 /[B][COLOR="Red"]sdcard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
vold.conf modified
Code:
## 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 /[B][COLOR="Blue"]extSdCard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
Once the files are modified and saved, reboot your phone, and check your storage. It should look similar to mine (see attached thumbnails).
Now, if all went well, it's time to move all the files from the current extSdCard (the old sdcard) to the current sdcard (the old extSdCard). Again, open Root Explorer, transfer all the files, and if you feel like it now, you can format your new external SD Card and have more room for anything else.
I hope this is helpful.
Using root explorer I do not see vold.fstab in system/etc.
I'm currently running the latest carbon nightly (4.3)
Anyone?
LuckyStrike88 said:
Using root explorer I do not see vold.fstab in system/etc.
I'm currently running the latest carbon nightly (4.3)
Click to expand...
Click to collapse
I'm befuddled!? In Root Explorer go to the highest Parent folder, and perform a search for "vold". It will probably take about 5 minutes to search your entire phone, but those two files are bound to pop up somewhere.
Good luck!
sergio2007 said:
I'm befuddled!? In Root Explorer go to the highest Parent folder, and perform a search for "vold". It will probably take about 5 minutes to search your entire phone, but those two files are bound to pop up somewhere.
Good luck!
Click to expand...
Click to collapse
The only thing that comes up is system/bin/vold but no vold.fstab
I have the setting on which shows hidden files too, definitely odd.
https://github.com/CyanogenMod/andr...mmit/d63bd455f4ef664263dda0986bbfee3d3907de31
it was removed in 4.3 with this commit, removed in favor of the new minivold method or something along those lines. you wont see it again.
[Q]Where is Vold.Fstab on Android 4.3?
LuckyStrike88 said:
The only thing that comes up is system/bin/vold but no vold.fstab
I have the setting on which shows hidden files too, definitely odd.
Click to expand...
Click to collapse
...and the mystery thickens...I just found this. Hopefully, it works: http://forum.xda-developers.com/showthread.php?t=2426804
JamieD81 said:
https://github.com/CyanogenMod/andr...mmit/d63bd455f4ef664263dda0986bbfee3d3907de31
it was removed in 4.3 with this commit, removed in favor of the new minivold method or something along those lines. you wont see it again.
Click to expand...
Click to collapse
10-4, at least I'm not losing my mind
Not the end of the world at this point I'm most likely Note 3 bound anyway.
Thanks for clearing it up and to Sergio for the help as well.
Awesome
Would you happen to know if this is only for jb or might work for ics?
Is there a way to mount the system root to pc as a disk mount cause I want to recovery data from it that I wiped.
If you have clockworkmod recovery, it have an option to do it (recovery >mounts and storage >mount /system).
RoberGalarga said:
If you have clockworkmod recovery, it have an option to do it (recovery >mounts and storage >mount /system).
Click to expand...
Click to collapse
I select mount system and data but doesnt show up on pc.
Warrior1988 said:
I select mount system and data but doesnt show up on pc.
Click to expand...
Click to collapse
After you mount, copy files using
Code:
adb pull /system
lolet said:
After you mount, copy files using
Code:
adb pull /system
Click to expand...
Click to collapse
I want to mount as a drive on pc.
Warrior1988 said:
I want to mount as a drive on pc.
Click to expand...
Click to collapse
There isn't simple solution for that. I have one untested theory - you have to edit /etc/recovery.fstab or vold.fstab and replace sdcard mount with system one, so when you enable usb transfer, you should see system content instead of sdcard
lolet said:
There isn't simple solution for that. I have one untested theory - you have to edit /etc/recovery.fstab or vold.fstab and replace sdcard mount with system one, so when you enable usb transfer, you should see system content instead of sdcard
Click to expand...
Click to collapse
How would I edit this?
# 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.
## 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 = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
Hello,
i tried to swap my external memory with the internal, with replace the vold.fstab in /system/etc and it doen't work, and it give me all the time crash report from media app, i can t start camera. I root it again after tring a factory reset, but the vold.fstab is already the bad one, not the factory one. Does somebody can give me all the line from this file pls ?
i've got 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
######################
# /sys/devices/platform/usb_mass_storage/lun0/file
# sdcard mount for the GT-I8160
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard /mnt/sdcard auto /devices/sdi0/mmc_host/mmc1/mmc1
# Partion 8 of mmc0 is Internal sdcard
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
discard = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 8 /devices/sdi2/mmc_host/mmc0/mmc0
# otg sdcard - Need to define path for /sys/devices/platform/musb_hdrc when it supports USB OTG
#{
# ums_path = /dev/zero
# asec = disable
#}
#usb_mount sdcard2 /mnt/sdcard/usbStorage auto <Need to define path for USB OTG>
#end line ## keep this line
Thks.
or just link me the file if you can upload it
please.
fix it alone. Juste copy the file from my xperia Z smartphone and all is alright now.
hello i was wondering if you have an idea on how to swap external for internal?
on my device I have a simple line:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.3/mmc_host
what I must find to change it and swap memories?
I have 2 memories:
SdCard1
extSdCard
I wanna swap too but I cant.
I've seen forums for other devices on this topic but none for this!
Swap memory for Xperia ZL
Please mod swap for xperia zl in android 4.4.2
hello!
it seems like my I9000 has a defect internal sd.
after i flash with odin a stockrom (with PIT and re-partition), this appears after automatical reboot:
i.imgur.com/smwxxWw.jpg
i got myself a new micro-sd card (8GB class4) and partitioned it to 2GB Ext4 and rest FAT32, both primary partitions, like shown in this video.
youtube.com/watch?v=zdMhYYdMB08
i was hoping that, when i insert this new microsd and flash stockrom with PIT and re-partition again, it would recognize the external sd as internal and install android there. but apparantly the internal sd is not "broken enough" and it still flashes on internal sd, which leads to the same error as shown above.
what i find strange: through cwm i can mount usb storage and access all files on internal sd. i can even delete and add files, but after reboot of the device, all changes on the internal sd are gone back (deleted files are there again, added files are gone).
i also tried to wipe and re-partition the internal sd with adb. adb showed an error after re-partitioning and in the end there were again no changes.
my last attempt to resurrect this phone was to edit the void.fstab (via adb pull and push), in order to switch the external with the internal sd card. by this,
so this was the old 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
and i changed it to 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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = enable
asec = disable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
then i rebooted to recovery and tried to install a rom. didnt work, same errors like usually (status 0)
any ideas what i did wrong?
or any other ideas how i can rescue this phone?
thanks a lot in advance