[Q] how to use internal storage as SD card with CM7 - Samsung Infuse 4G

Since flashing CM7 I have not been able to use internal storage as SD card (can't run camera or dropbox without a micro SD card inserted)
The internal storage appears to be located in the /emmc/ folder.
Also, I can see the storage on my computer only if I toggle mount/unmounted while plugged in.
External micro as cards work as expected but I would rather be able to use my internal storage like I used to.

I found this thread in the LG Optimus forum and copied the file vold.fstab into the system/etc folder, and now my internal storage is not visible at all, even in the emmc folder. would it be possible for someone to upload the stock CM7 one?
Thank you
http://forum.xda-developers.com/showthread.php?t=1064593

Here you go.
This is from UCKJ4 with Entropy's Kernel.
## 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
Click to expand...
Click to collapse

thank you. I think I identified the problem though there is an option in cm7 settings that says use internal/external storage but it appears to be backwards for me (says its using internal storage but actually using external)

where did you locate these settings

Related

[HELP] Bootloop Problem - Need guide on how to map my external sd card

I can't get out of this boot loop problem.
I'm 80% sure it's a hardware problem (Internal sd).
I've searched almost all threads with similar problems like:
Bootloop! & Can't mount SDCARD
and
Bootloop after flashing
but failed to find the answers.
But because of this thread, im having second thoughts.
[SOLVED]i9003 internal sd card unavailable
and
this post by anplugged
Maybe I could pull this out of that looping problem and probably will fix my I9003.
Now, does anyone can put a correct guide and procedure on how to map an extenal mmc?
This is what I followed:
1. Make partition using "parted" in adb shell. Is mmcblk0 refers to the external mmc?
2. Edit "vold.fstab". Is this a compulsory?
3. Modify /etc/fstab. How?
Please, I need you help. TIA
br,
Where are you guys....................
Experts?
Anybody?
......
Vold.fstab is in the /system/etc directory, I suppose it's compulsory.
Sent from my GT-I9003 using xda app-developers app
bscraze said:
Vold.fstab is in the /system/etc directory, I suppose it's compulsory.
Sent from my GT-I9003 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply.
If so, do i have to pull the vold.fstab from the device or just push the one that i have and already edited.
Original vold.fstab
## 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 = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
Click to expand...
Click to collapse
Edited 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
######################
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
Click to expand...
Click to collapse
Please check if i'm on the right track. It's important for me to understand rather than just following the other tutorials or guide without understanding. TIA..
br,
AFAIK, you have to replace it or you cannot have any access to either sd card and not delete and copy. Maybe that will work through adb push though.
Sent from my GT-I9003 using xda app-developers app
Okay. After pushing the vold.fstab to the device, the device is still in bootloop.
I think I didnt make it right(editing the vold.fstab)
This is where I edit the file. The one with color blue (change from 0 to 1) as per this post.
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
One thing I've notice, pc has a problem detecting the USB mass storage.
Any idea everyone?
br,

Swap Internal SD with External SD

HI, I'm running Android 4.0.3 tablet, and I'd like help with using my External SD as my Internal SD, and vice versa. That is when I select to "Move to SD" it moves games to my external SD instead of my Internal SD
I have 3 places stuff gets stored:
Internal Memory (0.98GB)
Internal SD (2.00 GB)
External SD (16.00GB)
I've been reading some threads on how to do this, but I keep on failing, or it isn't compatible with my device [Prestigio PMP3270B]
Here's what my vold.fstab looks like:
Code:
## Vold 2.0 fstab for HTC Passion
#
## - 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
######################
# Mounts the first usable partition of the specified device
#/devices/platform/awsmc.3/mmc_host for sdio
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandj
dev_mount extsd /mnt/extsd auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount usbhost1 /mnt/usbhost1 auto /devices/platform/sw-ehci.1 /devices/platform/sw_hcd_host0 /devices/platform/sw-ohci.1
How should I edit this to achieve what I want to?
Many thanks!:good:

HELP - Internal SD as default storage - MIUI

Hi all,
I was wondering if anyone could help me make the internal sd card as the default storage seeing as how I don't have an external SD card;
the rom I am using is http://forum.xda-developers.com/showthread.php?t=1412046
Currently, my vold.fstab file looks like this:
#######################
## 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 SD card - This is for CM7 with 2.xx kernel
# 2.xx kernel only support reference internalSD 9 not any other number hence is deprecated
# dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# 3.xx Kernel numbering of InternalSD has to be 8 per CM9 Ref and CM7.2 Ref.
# Internal SD card
dev_mount emmc /mnt/sdcard/_InternalSD 8 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
And my build.prop (I don't know if this is needed but I'll stick it here anyway) :
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard/_InternalSD
Any help would be GREATLY appreciated!
EDIT:
Alternatively, does anyone happen to have a copy of the external secondary file (I think the actual name is external_secondary_miui_alpha2.zip so you can easily search it in your comp ) found in this thread http://forum.xda-developers.com/showthread.php?t=1144553
because the download link is broken :/

[Q] Swapping External SD with Internal SD

My unit is an LG Optimus 3D Cube (SU870) running on official ICS. I need help editing the vold.fstab file so that the phone would swap the internal SD with the External SD.
This is what's currently in my 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard 15 /devices/platform/omap/omap_hsmmc.1/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/omap/omap_hsmmc.0/mmc_host
#dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Thanks in advance to anyone who could help
Ok, guys. I have a question hopefully some with more experience can answer.
In the file above I made a swap and renamed:
_ExternalSd to sdcard
sdcard to _InternalSD
But I didn't try it out because ICS came out and I lost interest for a bit.
That would, hopefully, make the external SD card the main card and more games could be installed.
Would that swap make any problems? Any downsides of this swap?

Move game data (obb) to SD

Hi!
I bought a microSD 32GB and want to install game which I before can't play because Optimus has only 8GB space.
I've got Jelly Cream Sandwich V3 with Shazo's Kernel, every data was installed on sdcard, another like Bard's Tale on __externalSD. I'm try to bind directory in Lucky Patcher, in Directory Binder, in GL2SD. Maybe is the way to standard install app data on this ExternalSD?
Or maybe someone try to bind files from Vice City/GTA 3/Asphalt 8, The Condiut?
Kryzyss said:
Hi!
I bought a microSD 32GB and want to install game which I before can't play because Optimus has only 8GB space.
I've got Jelly Cream Sandwich V3 with Shazo's Kernel, every data was installed on sdcard, another like Bard's Tale on __externalSD. I'm try to bind directory in Lucky Patcher, in Directory Binder, in GL2SD. Maybe is the way to standard install app data on this ExternalSD?
Or maybe someone try to bind files from Vice City/GTA 3/Asphalt 8, The Condiut?
Click to expand...
Click to collapse
try change vold to this
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
######################
dev_mount sdcard /mnt/sdcard auto /devices/platform/omap/omap_hsmmc.0/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD 15 /devices/platform/omap/omap_hsmmc.1/mmc_host
it will swap int sd with ext sd
I have that, I changed sdcard witaj externalsd niedobre Trentino to bind data and not working. Let's try again.
In file vold.fstab I have that:
## 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 15 /devices/platform/omap/omap_hsmmc.1/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/omap/omap_hsmmc.0/mmc_host
#dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Click to expand...
Click to collapse
Need to be that?
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard/_ExternalSD 15 /devices/platform/omap/omap_hsmmc.1/mmc_host
dev_mount extsdcard /mnt/sdcard auto /devices/platform/omap/omap_hsmmc.0/mmc_host
#dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
#dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Click to expand...
Click to collapse

Categories

Resources