Changing sdcard to external_sd - Optimus L3, L5, L7 Q&A, Help & Troubleshooting

Hi, I would like to change sdcard to external_sd with your help by modifing vold.fstab
Have some idea how to change it ?
Code:
#LGE_CHANGE_S [[email protected]] 20120928:Adding mount for SDcard
#LGE_CHANGE_S [[email protected]] 20121031:change external_SD path
dev_mount sdcard /storage/external_SD auto /devices/platform/msm_sdcc.1/mmc_host/mmc1

Related

VOLD.FSTAB Edit Help

Ok i have a deivce with the same specs as the I9000 BUT the vold.fstab is different so help me please I only getting external sd as my sd
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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

[Q] swap /sdcard and /media directory?

Hello all,
I try to use my rooted nook firmware 1.2.1 without any SD card.
So I want to put all my files to /media directory. It works for my side loaded books but don't works for any other apps how need to access to /sdcard
For example any web browser want to save downloaded files to /sdcard
AnkiDroid also don't want to start without sdcard.
So is it possible to swap /sdcard and /media directory or change something in the nook system to declare /media directory as a SD card reader?
I found this http://forum.xda-developers.com/showthread.php?t=1991583 but not sure it will works on nook.
Thanks for your advices
Here is the content of /etc/vold.conf file
Code:
## vold configuration file for zoom2
# modified for encore
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
media_path /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
partition 6
media_type mmc
##mount_point /sdcard
mount_point /media
ums_path /devices/platform/usb_mass_storage/lun0
}
volume_sdcard2 {
## Currently points to internal eMMC, assumes eMMC is formatted as FAT32
media_path /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
media_type mmc
##mount_point /media
mount_point /sdcard
ums_path /devices/platform/usb_mass_storage/lun1
}
I thing that a app control place to access user files with the function called Environment.getExternalStorageDirectory()
But I don't understand the link between that function and the content of /system/etc/vold.conf

[Q] sdcard1 symlink issue + can't move apps to external storage, too

Hello everybody,
I have an issue on my S4.
I have root.
In /mnt I have:
-----
UsbDriveA -> /storage/UsbDriveA
UsbDriveB -> /storage/UsbDriveB
UsbDriveC -> /storage/UsbDriveC
UsbDriveD -> /storage/UsbDriveD
UsbDriveE -> /storage/UsbDriveE
UsbDriveF -> /storage/UsbDriveF
asec
extSdCard -> /storage/extSdCard
obb
sdcard -> /storage/emulated/legacy
secure
shell
-----
Where is /storage/sdcard1 ???
How I can create a symlink (or other) to it?
I need to create /storage/sdcard1 because CWM needs this path to backup/restore files.
I've tried to search everywhere, but I've not found a way to do that.
Someone can help me, please?
I've noticed too, that I can't move anymore apps on external microSD.
This can be related to the 'missing link'?

[Q] ZTE Blade E / 956 How to edit the vold.fstab?

Hi Guys,
I have read that it is possible to edit the vold.fstab via root explorer or similiar to make the phone think internal memory is sd memory.
To do this people have suggested to swap the line via text editor for other phones.
But on my phone it looks very different, here an example on someone elses phone:
Code:
It looks like they sucessfully made this change on the Rezound (http://forum.xda-developers.com/show....php?t=1383330 by changing the following:
dev_mount sdcard /mnt/sdcard 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I mirrored this change by making ours:
dev_mount sdcard /mnt/sdcard 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
BUT this is how it looks like on my phone in the vold.fstab file:
Code:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount emmc /storage/sdcard1 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/emmc 19 /devices/platform/msm_sdcc.3/mmc_host/mmc0
How can I edit it to swap the internal memory with the sd?
gamba66 said:
How can I edit it to swap the internal memory with the sd?
Click to expand...
Click to collapse
Like this:
Code:
dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount emmc /storage/sdcard0 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/emmc 19 /devices/platform/msm_sdcc.3/mmc_host/mmc0
Nandroid backup first and make sure you haven't moved any apps to the SD card before you make the change.

help internal to external memory swap

any way to force change the system to recognise external sd card as internal and vice versa???? i dont want to use lind2sd doesnt work orfoldermount which works but is too demanding when you give this to a child who downloads everything.
the vold file is here
## 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/sdhci-pxav3.0/mmc_host/mmc1
dev_mount external_sdcard /mnt/external_sdcard auto /devices/platform/sdhci-pxav3.0/mmc_host/mmc1
dev_mount internal_sdcard /mnt/sdcard 15 /devices/platform/sdhci-pxav3.2/mmc_host/mmc0
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

Categories

Resources