[Q] Editing Vold.FSTAB to mount USB - Xoom Q&A, Help & Troubleshooting

I found the instructions on how to mount USB for Xoom. Anyone tested this on Xoom MZ604 with 3.1 Stock? Thanks.
http://blog.endeng.net/ep_blog/?p=334
The latest dev kernel is making the usb mount point to be /mnt/usbOTG, you will need to update the vold.fstab on the xoom to fix the issue.
adb pull /etc/vold.fstab
edit vold.fstab and change the following line:
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
to
dev_mount usbdisk /mnt/usbOTG auto /devices/platform/tegra-ehci
save the file, and go back to the command line
adb remount
adb push vold.fstab /etc/vold.fstab
abd reboot

yiyehhu said:
I found the instructions on how to mount USB for Xoom. Anyone tested this on Xoom MZ604 with 3.1 Stock? Thanks.
adb pull /etc/vold.fstab
edit vold.fstab and change the following line:
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
to
dev_mount usbdisk /mnt/usbOTG auto /devices/platform/tegra-ehci
Click to expand...
Click to collapse
Wifi only. HC 3.1, running Tiamat 1.4.2 kernel.
Mine was: "dev_mount usbdisk /mnt/usbOTG auto /devices/platform/tegra-ehci"
I edited it as suggested above, using Root Explorer. No joy. I still can't connect a USB device with a host cable. When I try to mount device in terminal, get the reply: "mount: can't read '/etc/fstab': No such file or directory" Any other suggestions?

I had the same problem, until bigrushdog shot me a boot.img with some extra package loaded.
i dunno if i can publish the download by now, but i guess BRD will upload soon for Xoom love...cuz it now works!

RinTinTigger said:
I had the same problem, until bigrushdog shot me a boot.img with some extra package loaded.
i dunno if i can publish the download by now, but i guess BRD will upload soon for Xoom love...cuz it now works!
Click to expand...
Click to collapse
Thanks for the info.

cam30era said:
Thanks for the info.
Click to expand...
Click to collapse
ya welcome....the problem...from what i understood (brd is talking a different language when it comes to android :/ )
is that not only vold.fstab is different, but also a lot files as well. so he uploaded one of his boot.img (you will need those for OTG) together with those files, flashable through recovery and it worked. but at his timezone it was 3am....he went to sleep now, but i guess hell upload that soon....
the filename was: 3G_Light_ON_Speed_autoscale.zip

Check my signature. I don't know if that helps at all but I found it on these forums and I noticed a lot of people were asking the same questions. Check it out. It looks to be an app for mounting.

gqstatus0685 said:
Check my signature. I don't know if that helps at all but I found it on these forums and I noticed a lot of people were asking the same questions. Check it out. It looks to be an app for mounting.
Click to expand...
Click to collapse
This is EXACTLY what I have been looking for. Thank you so much

how do you edit the Vold.fstab
I tried to open with Notepad but it does not show the command line that i need to edit

Editing Vold.FSTAB to mount Sdcard partition ext2
i have an sdcard with fat32 partition and ext2 partition, i can't mount the ext2 partition
editing 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 auto /devices/platform/goldfish_mmc.0 /devices/platform/mt6573-sd.0/mmc_host/mmc0
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mt6516-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mt6516-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
can you help me find the right syntax

cam30era said:
Wifi only. HC 3.1, running Tiamat 1.4.2 kernel.
Mine was: "dev_mount usbdisk /mnt/usbOTG auto /devices/platform/tegra-ehci"
I edited it as suggested above, using Root Explorer. No joy. I still can't connect a USB device with a host cable. When I try to mount device in terminal, get the reply: "mount: can't read '/etc/fstab': No such file or directory" Any other suggestions?
Click to expand...
Click to collapse
Hi Folks
I used this
Code:
## Vold 2.0 fstab for Stingray
#######################
## 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
dev_mount sdcard /mnt/external1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount usbdisk /mnt/sdcard/sdcard1 auto /devices/platform/tegra-ehci.0
on ICS to mount an external Flash Card ( The Big SDCards ) read through a USB adapter obviously /mnt/sdcard/sdcard1 must exist, I couldn't be bothered to unpack my boot.img to create a folder in /mnt
I've been looking for this for ages, who knew it was that simple...... xda has too many posts to search through!!!
:laugh:

Related

[Q] Trekstore Surftab Ventos Swap SD Cards

Hi everyone,
I'm using a Trekstore Surftab Ventos 8", rooted it in no time and got the PlayStore running. Thanks to you folks!
Now I want to know if there is a way to swap the external and internal SD card, so I can use a big external one for app-data.
There's a file in the etc-directory of the system named vold.fstab which must be edited I think, but i don't know how.
Anyone did this before and can help, or anyone who has a clue?
So, here's what's in the file:
## Vold 2.0 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
######################
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
dev_mount sdcard /mnt/sdcard/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/avnftl9 /devices/platform/mtd/mtd9/avnftlj
asec flash
I guess the first dev_mount Statement has to be edited, but I don't know in which way.
Thanks
Found a solution
Found a solution for my problem here on xda-developers:
Directory Bind
http://forum.xda-developers.com/showthread.php?t=1410262
This little app transfers app-data to anywhere you want and then puts a link to it in the android System so it can be accessed.
Easy to use and much more flexible than switching sd Cards.
Thanks to the developer!!!

How to make MicroSD SD Card as phone storage

Ever had a problem with your Android smartphone that application is only downloading to the phone storage and you can not move it to the MicroSD card?
Here is a quick solution. The following solution will only work on a rooted phone.
Please download and install ES File Explorer.
Enter it, Go to Menu>Settings>Root Settings Check “Root Explorer” and accept both the ES prompt and SU prompt.
Then check Mount File System
Return to ES Main screen, Long press the first Favorites icon unless the path will turn to /
Go to /system/etc and press vold.fstab
Find there the following lines:
dev_mount sdcard /mnt/sdcard
[email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Replace the sdcard with sdcard2 and sdcard2 with sdcard so that it will look like this:
dev_mount sdcard /mnt/sdcard2 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Now press the Menu button and press Save.
Restart your phone and now the “Phone Storage” is your MicroSD card and most applications will be downloaded to it.
Nice
Sent from my HTC Rezound using Tapatalk 2
iatpli general
THANKs!
cool
I made a flash-able .zip try at your own risk but should be fine if you nandroid or back up the original like I did.
edit it did not work right on mine lol ill look into it
corlaci said:
Ever had a problem with your Android smartphone that application is only downloading to the phone storage and you can not move it to the MicroSD card?
Here is a quick solution. The following solution will only work on a rooted phone.
Please download and install ES File Explorer.
Enter it, Go to Menu>Settings>Root Settings Check “Root Explorer” and accept both the ES prompt and SU prompt.
Then check Mount File System
Return to ES Main screen, Long press the first Favorites icon unless the path will turn to /
Go to /system/etc and press vold.fstab
Find there the following lines:
dev_mount sdcard /mnt/sdcard
[email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Replace the sdcard with sdcard2 and sdcard2 with sdcard so that it will look like this:
dev_mount sdcard /mnt/sdcard2 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Now press the Menu button and press Save.
Restart your phone and now the “Phone Storage” is your MicroSD card and most applications will be downloaded to it.
Click to expand...
Click to collapse
thanks,worked awesomely
Sent from my ADR6425LVW using Xparent Red Tapatalk 2
can someone with is working send me their new vold.fstab so I can make a flash.zip for everyone?
Bricked?
Resolved
I managed to solve the above issue.
I'm trying to do this procedure but nothing is happening. Already modified and continues the same way when I restart.
On my tablet has 2 files and vold.fstab vold.fstab.nand
VOLD.FSTAB
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 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# usb otg disk
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb/usb1
VOLD.FSTAB.NAND
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/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
any solution?
i'm already using link2sd and my internal memory still full ,
i think it's better, it is okay if i do directly ?
sorry for bad english
exactly same SDCARD2 line, n no changes found
exactly same SDCARD2 line, n no changes found...
on internet there is no method for sdcard2 line,, somebody help
fellipeleo said:
I managed to solve the above issue.
I'm trying to do this procedure but nothing is happening. Already modified and continues the same way when I restart.
On my tablet has 2 files and vold.fstab vold.fstab.nand
VOLD.FSTAB
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 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# usb otg disk
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb/usb1
VOLD.FSTAB.NAND
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/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
any solution?
Click to expand...
Click to collapse
corlaci said:
Ever had a problem with your Android smartphone that application is only downloading to the phone storage and you can not move it to the MicroSD card?
Here is a quick solution. The following solution will only work on a rooted phone.
Please download and install ES File Explorer.
Enter it, Go to Menu>Settings>Root Settings Check “Root Explorer” and accept both the ES prompt and SU prompt.
Then check Mount File System
Return to ES Main screen, Long press the first Favorites icon unless the path will turn to /
Go to /system/etc and press vold.fstab
Find there the following lines:
dev_mount sdcard /mnt/sdcard
[email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Replace the sdcard with sdcard2 and sdcard2 with sdcard so that it will look like this:
dev_mount sdcard /mnt/sdcard2 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Now press the Menu button and press Save.
Restart your phone and now the “Phone Storage” is your MicroSD card and most applications will be downloaded to it.
Click to expand...
Click to collapse
is it working on all android phones?..my phone is "Vega Racer IM-A770k"..
SD card as primary storage location.
I have Rom Toolbox, and selected APPS2sd, and I have noticed my apps do get stored on my SD card, but I am wondering about the OTA I am now being nagged about.
Will this OTA also be saved to my card, or will this ignore the pointing to a specific location and perform the update on its own, regardless of where I direct my apps?
My latest update is 45.621.10.en.us for VZW
Is there an easy method of getting this OTA off the phone and into my SD card without messing with extensive file attributes?
If so, does anybody know the exact location of this file?
Root or system?
Thank you in advance for your assistance!
Hey guys!
Is there any way to reverse the process?
To change my sd card back from phone storage to external sd card-
After flashing new rom to my ZTE V970, my external SD card is shown as phone storage, but I would like to have it as external SD card!
Thanks!
install apps to external sd card,any android 4.2.1
My bro bought a micromax canvas 2 plus running 4.2.1 and asked me toh swap the sd cards..
At first i thought it would be easy since there are so many posts regarding this..but all the methods failed..
The twist is..there are 2 files in the system/etc folder..
1.Vold.fstab
2.Vold.fstab.nand
So..replacing 0 with 1 in the vold.fstab file doesnot do the trick..
After many days of searching every where, i finally found a way..
1.Root your phone
Use root explorer( or any other file manager with root access)
2.navigate to system/ etc
3.now open the vold.fstab file as text
4.make a backup of the original file
Change the lines:
dev_mount sdcard /storage/sdcard0 [email protected]/devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
To
dev_mount sdcard /storage/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.1/mmc_host
dev_mount sdcard2 /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.0/mmc_host
In vold.fstab.nand change sdcard0 to sdcard1
Then reboot your phone
PLEASE NOTE: the above change will NOT show your external as internal..or vise versa
But all those large apps and games will get installed in external sd card..
Make the default write disk 'external sd' from settings
Fully working on canvas 2 plus
Help out
I encounter a problem on my tablet !!!! my sdcard not working as external storage !!!! So. Can't use it to save data of games as some other things ....it has 2.0gb internal memory ,and 5 gb storage !!!!!then my sdcard. Which obb file of a game that is not playing I attached some screen shot of the storage to this post
KitKat
could anyone do this on kitkat , because it don´t have vold......
thanks
Thanks for the instruction. There isn't much available on the net for this. I am trying to work on an XTouch Ocean phone that has a 512mb/256mb internal structure. I would like to change the internal and external (4GB bundled with the device) but need to have the internal settings display that the change has been made in order for the device to be acceptable for a NGO project we are running. Any idea?

Vold.fstab Editing

Ok I got a Huawei Media Pad 7 lite S7-932U
Below if the code from the vold.fstab file where its stock. I cant move apps 2 sd because its been removed from the manufacturers so that out!
The point of me editing is too swap my internal storage to my ext sd but my tablet has extsd,sdcard,sdcard-ext and a sdcard2.
So I really need some help with this guys
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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/mtd11/mtdblock11
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
#shuttle
dev_mount usb /mnt/usb auto /devices/platform/usb20_otg/usb
## 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
try this
just head to the below mentioned site and upload ur original vold.fstab file and he will edit it for u
hope that helps
hmm they are not letting me post link
just copy paste it in address bar
we.droidiser.com/viewtopic.php
sonygoup said:
Ok I got a Huawei Media Pad 7 lite S7-932U
Below if the code from the vold.fstab file where its stock. I cant move apps 2 sd because its been removed from the manufacturers so that out!
The point of me editing is too swap my internal storage to my ext sd but my tablet has extsd,sdcard,sdcard-ext and a sdcard2.
[/CODE]
Click to expand...
Click to collapse
I assume you know how to edit Vold.fstab, but confused on swapping which with what.
The quickest and safest way to figure out this is using root file explorer.
At first you need to find out where exactly your device installing apps by default. Best way is to search for the recent app you installed.
Next thing, insert your external SD card with some specific file in it.
Now again using the file explorer u can find out how your device naming the external SD card by searching the specific file.
Once you find out these two locations, whats remaining is just edit the file accordingly swapping these two locations...
All the best and post here once u done ...
Move apps to sd card
sonygoup said:
Ok I got a Huawei Media Pad 7 lite S7-932U
Below if the code from the vold.fstab file where its stock. I cant move apps 2 sd because its been removed from the manufacturers so that out!
The point of me editing is too swap my internal storage to my ext sd but my tablet has extsd,sdcard,sdcard-ext and a sdcard2.
So I really need some help with this guys
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/mtd11/mtdblock11
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
#shuttle
dev_mount usb /mnt/usb auto /devices/platform/usb20_otg/usb
## 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
Click to expand...
Click to collapse
hi people i have a huge problem.
I have a WM8880 (WonderMedia) with the Android version 4.2.1 on it and I can not move them to the external SD card the apps.
I wanted the vold.fstab edit the console adb but I get an error message read-only file system
I wanted to try this here
And this is my orginal vold.fstab:
HTML:
## 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
######################
#wmt sd
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdmmc.0
#dev_mount sdcard /mnt/sdcard auto /devices/platform/sdmmc1.0
#dev_mount sdcard /mnt/sdcard auto /devices/platform/sdmmc2.0
#wmt usb
dev_mount udisk /storage/udisk auto /devices/pci0000:00/0000:00
#wmt localdisk
#dev_mount sdcard /sdcard auto /devices/virtual/block/loop0
## 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
## 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
Thanks in advance
Nice greetings from germany
BillyDesigns said:
hi people i have a huge problem.
I have a WM8880 (WonderMedia) with the Android version 4.2.1 on it and I can not move them to the external SD card the apps.
I wanted the vold.fstab edit the console adb but I get an error message read-only file system
I wanted to try this here
Thanks in advance
Nice greetings from germany
Click to expand...
Click to collapse
The permission of the file system should be changed to Read and Write to be able to edit the file vold.fstab . This can be done only if your device is
Rooted. If it is rooted you can easily change it using Root file explorer or terminal emulator.
Reply back if you have any queries..
Hello, the device is rooted, just like I have to change in the vold.fstab I the apps are stored on the external sd card?
Thanks in advance
SD as internal storage
Could anyone help with editing vold.fstab to exchange storage to the SD card as an internal storage? :good:
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Vold 2.0 fstab for HTC Dream or Sapphire
#
## - 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
dev_mount sdcard /mnt/ext_sdcard auto /devices/platform/hi_mci.0/mmc_host/mmc1
dev_mount usbotg /mnt/usb auto /devices/hisik3-usb-otg/usb1
help please
could someone help me by swaping the right thing with my lg escape? i have a 32 gb sd card and my internal storage allows only 1.8gb i want to instal san andreas (i know its not complatoble but thats not the tricky part) i got this kind of file
LGE_UPDATE_START, 2012/08/31, [email protected]
#dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# LGE_UPDATE_END
i dont know how to change it propperly i already had to flash the stock rom twice
thanks in advance too hope someone could help
I don't want to change internal and external storage, I just want to change to mount point from mnt/sdcard to mnt/sdcard/0 on my LG optimus g running 4.1.2.
There is some not needed stuff and then this: LGE_CHANGE For MTP
#[email protected] sdcard path change /mnt/sdcard/external_sd ->/storage/external_SD
#dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard2 /storage/external_SD auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sda /storage/USBstorage auto /devices/platform/msm_hsusb_host
dev_mount sdb /storage/USBstorage2 auto /devices/platform/msm_hsusb_host
dev_mount sdc /storage/USBstorage3 auto /devices/platform/msm_hsusb_host
dev_mount sdd /storage/USBstorage4 auto /devices/platform/msm_hsusb_host
dev_mount sde /storage/USBstorage5 auto /devices/platform/msm_hsusb_host
dev_mount sdf /storage/USBstorage6 auto /devices/platform/msm_hsusb_host
Don't know how to edit it, could anyone help me?
Gesendet von meinem LG-E975 mit Tapatalk
I edited my vold file and put it in my system/etc folder and it switched by external and internal sd's, but if I reboot my tab, any app installed to my SD card says it's not installed. Any help would be appreciated. Thanks.
Original:
Code:
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
dev_mount sdcard /storage/sdcard0/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0
#dev_mount sdcard /storage/sdcard0 3 /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 nonremovable,encryptable
dev_mount flash /storage/sdcard0 auto /devices/virtual/mtd/mtd9/avnftl9 /devices/platform/mtd/mtd9/avnftlj /devices/platform/mtd/mtd9/media nonremovable
asec flash
Edited:
Code:
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
dev_mount sdcard /storage/sdcard0 auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0
#dev_mount sdcard /storage/sdcard0/external_sdcard 3 /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 nonremovable,encryptable
dev_mount flash /storage/sdcard0/external_sdcard auto /devices/virtual/mtd/mtd9/avnftl9 /devices/platform/mtd/mtd9/avnftlj /devices/platform/mtd/mtd9/media nonremovable
asec flash
My file only appears this...
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
Any ideas?
Edit vold.fstab
Samsung Xcover2
Vold.fstab
S7an3k said:
Samsung Xcover2
Click to expand...
Click to collapse
Hi
I have a problem with my vold.fstab file, hope all the gurus or sifu here can help me
My device Samsung SM-9006 Clone. (System info as per attached)
I was fiddling with the vold.fstab file in order to get more memory with the SD card, now my phone can't detect any SDcard although i have checked my sdcard is functioning well. But very funny if i checked Storage on my phone, it shows Internal Storage 11.97GB and Phone Storage 422GB!! and no SDCARD present. Check the attachment and also my current vold.fstab file attachment.
If anyone have the same phone as me here, please attached your vold.fstab file (System/etc/vold.fstab) here so i could set back the original setting. (I did not backup my original vold.fstab file earlier before i fiddle the vold.fstab file) :crying:
Thank you and have a nice day.
Daniel.
what should i do if i change vold then there is something happen? it happen when i use custom rom... i edit vold but nothing happen. but if i use my stock rom and edit vold. it will change position of sdcard as internal storage... is there any solution without edit vold?
Sent from my T1-E using Tapatalk
Hi,
Can someone help me with editing my vold file?
I attach it here.
Thanks in advance.
HELP!
I tried editing the vold.fstb suddenly it went wrong my pc wont read my android fone and i can't view the storage of fone via file manager, i tried to edit it again back to normal but whenever i save and open it it still the same nothing changes, can you help me with this one sir?
Thanks!
ZTE Blade Q
My vold.fstab file 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
Please, help me - tell me which strings I must change!
karloson said:
My vold.fstab file 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
Please, help me - tell me which strings I must change!
Click to expand...
Click to collapse
PLEASE TAKE BACKUP BEFORE YOU TRY. I haven't tested. But hope it would work.[Just interchange 0 and 1 ]
dev_mount sdcard /storage/sdcard1 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
Please let me know if it worked...
---------- Post added at 12:26 AM ---------- Previous post was at 12:24 AM ----------
aLchriz said:
I tried editing the vold.fstb suddenly it went wrong my pc wont read my android fone and i can't view the storage of fone via file manager, i tried to edit it again back to normal but whenever i save and open it it still the same nothing changes, can you help me with this one sir?
Thanks!
Click to expand...
Click to collapse
Check whether file system is read only or not. If its not read only try editing with Jota text editor. If the file system is Read only you would have to change the permission first.
---------- Post added at 12:32 AM ---------- Previous post was at 12:26 AM ----------
aLchriz said:
I tried editing the vold.fstb suddenly it went wrong my pc wont read my android fone and i can't view the storage of fone via file manager, i tried to edit it again back to normal but whenever i save and open it it still the same nothing changes, can you help me with this one sir?
Thanks!
Click to expand...
Click to collapse
appviz said:
PLEASE TAKE BACKUP BEFORE YOU TRY. I haven't tested. But hope it would work.[Just move 2 from one line to other ]
dev_mount sdcard2 /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
Please let me know if it worked...
---------- Post added at 12:26 AM ---------- Previous post was at 12:24 AM ----------
Check whether file system is read only or not. If its not read only try editing with Jota text editor. If the file system is Read only you would have to change the permission first.
Click to expand...
Click to collapse
Ventrue666 said:
My file only appears this...
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
Any ideas?
Click to expand...
Click to collapse
Looks like something is missing. The whole file don't have anything else ?
hello. can you help me with my LG Escape?
thats Escapes Vold.fstab
Code:
# 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.
# LGE_UPDATE_START, 2012/08/31, [email protected]
#dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# LGE_UPDATE_END
Thanks
Snitchi said:
hello. can you help me with my LG Escape?
thats Escapes Vold.fstab
# LGE_UPDATE_START, 2012/08/31, [email protected]
#dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# LGE_UPDATE_END
[/CODE]
Thanks
Click to expand...
Click to collapse
Can you tell me what are the folders you have inside your /mnt folder ?
And it looks like your internal memory and phone memory are same (means you have only two types memory. Phone memory and external SD and you don't have option to move apps from phone memory to internal in your mobile phone)
If that is the case, you can't do the swap...

[Q] Problem with storage (internal, external)

Hello,
few weeks ago I've installed some v30a ROM, now I have problems with mounting internal and external sdcard. System won't mount it by himself.
Using the DiskInfo I've found all disk partitions in the phone. Internal sdcard is /dev/block/mmcblk0p16 and external sdcard is /dev/block/mmclbk1p1.
Manual mount (mount -t vfat /dev/block/mmcblk0p16 /mnt/sdcard) over terminal emulator, or adb shell works, but applications don't recognize changes, and they're still requesting for connect a storage device.
I've already tried to modify /etc/vold.fstab - original vold.fstab:
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 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
my modified vold.fstab:
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 16 /sys/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
#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
#### Testing manual mount ####
#/dev/block/mmcblk0p16 /mnt/sdcard vfat defaults,noatime 0 0
#/dev/block/mmcblk1p1 /mnt/sdcard/_ExternalSD vfat defaults,noatime 1 1
As you can see, I've modified paths from /devices/ to /sys/devices/, 'cause I can't find that path in terminal.
I also tried to put there classic linux-like mountpoints, but after reboot, all applications working with storage (camera, gallery) were crashing.
Next try was to modify init.cosmo.rc, and force mountpoints, but there was same problem with applications, they were crashing.
Actual ROM: http://forum.xda-developers.com/showthread.php?t=2407418 - flashed today using CWM.
Yesterday I was using - cm-10-20130707-NIGHTLY-p920 - same problem.
Thanks for every response (and sorry for my english).
bossqone said:
Hello,
few weeks ago I've installed some v30a ROM, now I have problems with mounting internal and external sdcard. System won't mount it by himself.
Using the DiskInfo I've found all disk partitions in the phone. Internal sdcard is /dev/block/mmcblk0p16 and external sdcard is /dev/block/mmclbk1p1.
Manual mount (mount -t vfat /dev/block/mmcblk0p16 /mnt/sdcard) over terminal emulator, or adb shell works, but applications don't recognize changes, and they're still requesting for connect a storage device.
I've already tried to modify /etc/vold.fstab - original vold.fstab:
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 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
my modified vold.fstab:
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 16 /sys/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
#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
#### Testing manual mount ####
#/dev/block/mmcblk0p16 /mnt/sdcard vfat defaults,noatime 0 0
#/dev/block/mmcblk1p1 /mnt/sdcard/_ExternalSD vfat defaults,noatime 1 1
As you can see, I've modified paths from /devices/ to /sys/devices/, 'cause I can't find that path in terminal.
I also tried to put there classic linux-like mountpoints, but after reboot, all applications working with storage (camera, gallery) were crashing.
Next try was to modify init.cosmo.rc, and force mountpoints, but there was same problem with applications, they were crashing.
Actual ROM: http://forum.xda-developers.com/showthread.php?t=2407418 - flashed today using CWM.
Yesterday I was using - cm-10-20130707-NIGHTLY-p920 - same problem.
Thanks for every response (and sorry for my english).
Click to expand...
Click to collapse
hm strange but maybe bring your phone back to stock with lg flash tool, then try it again.
MasterTobi said:
hm strange but maybe bring your phone back to stock with lg flash tool, then try it again.
Click to expand...
Click to collapse
same result with stock ROM (.kdz)
bossqone said:
same result with stock ROM (.kdz)
Click to expand...
Click to collapse
can you make a screenshoot from your status also there where is written your internal space and external space
bossqone said:
Hello,
few weeks ago I've installed some v30a ROM, now I have problems with mounting internal and external sdcard. System won't mount it by himself.
Using the DiskInfo I've found all disk partitions in the phone. Internal sdcard is /dev/block/mmcblk0p16 and external sdcard is /dev/block/mmclbk1p1.
Manual mount (mount -t vfat /dev/block/mmcblk0p16 /mnt/sdcard) over terminal emulator, or adb shell works, but applications don't recognize changes, and they're still requesting for connect a storage device.
I've already tried to modify /etc/vold.fstab - original vold.fstab:
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 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
my modified vold.fstab:
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 16 /sys/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
#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
#### Testing manual mount ####
#/dev/block/mmcblk0p16 /mnt/sdcard vfat defaults,noatime 0 0
#/dev/block/mmcblk1p1 /mnt/sdcard/_ExternalSD vfat defaults,noatime 1 1
As you can see, I've modified paths from /devices/ to /sys/devices/, 'cause I can't find that path in terminal.
I also tried to put there classic linux-like mountpoints, but after reboot, all applications working with storage (camera, gallery) were crashing.
Next try was to modify init.cosmo.rc, and force mountpoints, but there was same problem with applications, they were crashing.
Actual ROM: http://forum.xda-developers.com/showthread.php?t=2407418 - flashed today using CWM.
Yesterday I was using - cm-10-20130707-NIGHTLY-p920 - same problem.
Thanks for every response (and sorry for my english).
Click to expand...
Click to collapse
Try LG tool in emergency mode install a fresh rom stock and tr this:
1. Hold the Home and Volume Down button
2. Press and hold the Power button until the device turns on, then release buttons when LG logo appears.
3. Follow the on-screen instructions on how to reset your LG Optimus 3D P920
Wait 'till the process finish. Once the wipe is complete, the phone will reboot to its factory fresh default state settings. All data you previously installed on it already been deleted.
Privacy > Personal data >Factory data reset – Erases all your personal data from internal phone
storage, including information about your Google account and any other accounts, your system/application data and settings, any downloaded
applications and your DRM licence.
Resetting the phone will not erase any system software updates you have downloaded or any files on your microSD card, such as music
or photos. If you reset the phone this way, you will be prompted to re-enter the same information as when you first started Android.
If the phone does not respond to user input, or the screen freezes: Remove the battery, reinsert it and switch on the phone.
Stock roms here: https://drive.google.com/folderview?id=0B36wHsfD85m5NGJZN04zRmdIQTQ&usp=sharing&tid=0B36wHsfD85m5aDNUWVdCM3EwN3c

I was tinkering in Vold.Ftab and gave me bad

Friends, I tried using a script to change my internal memory standard to the outside, it worked, but now recognize my memory card as internal memory and try to install on the outside, so that I can not install anything.
someone has vold.fstab file Experia c2304 you can pass me so I reset my phone?
*********************************************
I find on site this tutorial to install stock rom
http : // www . sonymobile . com / in/ tools / update-service /
when you follow the first steps he will say that you already have the latest version of the system, there is only continue it installs the stock rom
Here you go
Stock vold.fstab
https://mega.co.nz/#!Jd4FQJpT!fC5I-CSu3yvOxqm31MGmkmhc5R8RmkluXOUJmJYgqu0
Or
You can even copy-paste the below content to your existing vold.fstab file
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## - 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 /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# usb otg disk
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
Click to expand...
Click to collapse

Categories

Resources