• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.
wtf is a vold.fsbat???

You mean the vold.fstab?

heres whats in the 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.

#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host

# LGE_CHANGE
# If sdcard isn't exist, mount emmc partition
# 2011-06-14, bongkyu.kim@lge.com
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.1/mmc_host
 
  • Like
Reactions: srcomputer
Upvote 0
i need help please
i deleted the vold.fstab from may phone
now the sd cards is now working
i need the original vold for the lgms695
please any one to help me

thanks
open notepad or notepad++, copy paste what I posted into a new doc and save as vold.fstab. The copy to your phone with;

Code:
adb push vold.fstab /system/etc/vold.fstab
then reboot.
 
Upvote 0
Has any one had any luck adding to the vold.fstab script to mount the sdext2 partitions created by CWM?

My phone will not mount the card after I partitioned it in CWM Recovery. Any Ideas?

dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.1/mmc_host

add this?

dev_mount sdcard /dev/block/vold/179:20 /mnt/sdcard
dev_mount sdext2 /dev/block/vold/179:34 /data/sdext2

what are my options, as I cannont manually mount this path/dir ?

Cumofo
 
Upvote 0
Has any one had any luck adding to the vold.fstab script to mount the sdext2 partitions created by CWM?

My phone will not mount the card after I partitioned it in CWM Recovery. Any Ideas?

dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.1/mmc_host

add this?

dev_mount sdcard /dev/block/vold/179:20 /mnt/sdcard
dev_mount sdext2 /dev/block/vold/179:34 /data/sdext2

what are my options, as I cannont manually mount this path/dir ?

Cumofo
that def not how its done. the vold.fstab doesnt need touched for sd-ext to work.
 
Upvote 0
that def not how its done. the vold.fstab doesnt need touched for sd-ext to work.



Yeah, I figured as much. I don't have a clear root cause as to why my MS695 would not mount the dir to the newly partitioned fat, ext4, and swap on the sdcard. Unexplainably, the card did eventually mount after in desperation, I hit the "format SD Card" key in settings, it formatted and mounted.
I had formatted all partitions via paragon and inside CWM too, and i do not understand the auto commands that follow the wipe procedure predicated by the key event. It would be cool to know, so i could incorporate the script into a widget just in case.

Would the adb 'mount' call also do the job?

adb shell
su
mount sdcard -rw , -o, vfat /dev/block/mmcblk1p1/mnt/sdcard

(I know I got the syntax wrong, it's just from memory. I'll correct it in a bit.)

I could use some brain power in how to treat this statement:

Use this flag if the board has a ext4 partition larger than 2gb
#BOARD_HAS_LARGE_FILESYSTEM
= true

Is this under supervision? Or do I need to enable it?

thx

Btw. Thank you Mr. God for your help: I found an early version of the gps exploit that pulled the .conf to the host C:\ , then at the conclusion of the file pushed it back to its former location:

echo [*] Cleaning up...
adb shell "rm /data/local.prop"
adb shell "rm /data/gpscfg/*"
adb push C:\gps_env.conf data/gpscfg/gps_env.conf
adb shell "chmod 771 /data/"

huh? The local.prop file?

splain Lucy!


cumofo
 
Upvote 0
Yeah, I figured as much. I don't have a clear root cause as to why my MS695 would not mount the dir to the newly partitioned fat, ext4, and swap on the sdcard. Unexplainably, the card did eventually mount after in desperation, I hit the "format SD Card" key in settings, it formatted and mounted.
I had formatted all partitions via paragon and inside CWM too, and i do not understand the auto commands that follow the wipe procedure predicated by the key event. It would be cool to know, so i could incorporate the script into a widget just in case.

Would the adb 'mount' call also do the job?

adb shell
su
mount sdcard -rw , -o, vfat /dev/block/mmcblk1p1/mnt/sdcard

(I know I got the syntax wrong, it's just from memory. I'll correct it in a bit.)

I could use some brain power in how to treat this statement:

Use this flag if the board has a ext4 partition larger than 2gb
#BOARD_HAS_LARGE_FILESYSTEM
= true

Is this under supervision? Or do I need to enable it?

thx

Btw. Thank you Mr. God for your help: I found an early version of the gps exploit that pulled the .conf to the host C:\ , then at the conclusion of the file pushed it back to its former location:

echo
[*] Cleaning up...
adb shell "rm /data/local.prop"
adb shell "rm /data/gpscfg/*"
adb push C:\gps_env.conf data/gpscfg/gps_env.conf
adb shell "chmod 771 /data/"

huh? The local.prop file?

splain Lucy!


cumofo
from my understanding when sd-ext exist thats what android's a2sd will use when installing apps to sdcard.

The other stuff you posted, the all caps one is a flag used in the src when compiling, does no good in any file on the phone itself.

The other is part of the root exploit.

how to make external sd be the internal sd
on lg ms695?
And I posted in your other thread that was tried with the Esteem and never ended well.
 
  • Like
Reactions: srcomputer
Upvote 0
i just want to heve fun with my phone
like everybody

You are either very niave about the backwards assed file system used by LG, or a sadist


I have lost my job, and spent two weeks and two phones on rooting adding a 16gb card and boosting the signal of a brand new LG-695. I have amassed 52 GB of drivers, dll's, and C++ notes in two weeks also, along with the exile of my wife and kids.

Needless to say: I cannot stop! I must have a working linux-swap of 250 MG, a EXT4 of 2GB, and a Fat 32 partition of 12Gb

It just keeps dropping the sdext2! Why? What can I do? and only remounts after a manual format.

I can't seem to get the syntax right to mount the Dir via adb here's what I'm trying:

mount sdcard /dev/block/vold/179:20 /mnt/sdcard vfat -rw ,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharse
-t=iso8859-1,shortname=mixed,utf8,errors=remount-rw

or is it:
mount sdext2 /dev/block/vold/179:34 /data/sdext2 ext4 -rw,relatime,barrier=1,data=ordered 0 0


ok, ok. I;m going to install Parted and see what that gets me..



Cumofo
 
Upvote 0
You are either very niave about the backwards assed file system used by LG, or a sadist


I have lost my job, and spent two weeks and two phones on rooting adding a 16gb card and boosting the signal of a brand new LG-695. I have amassed 52 GB of drivers, dll's, and C++ notes in two weeks also, along with the exile of my wife and kids.

Needless to say: I cannot stop! I must have a working linux-swap of 250 MG, a EXT4 of 2GB, and a Fat 32 partition of 12Gb

It just keeps dropping the sdext2! Why? What can I do? and only remounts after a manual format.

I can't seem to get the syntax right to mount the Dir via adb here's what I'm trying:

mount sdcard /dev/block/vold/179:20 /mnt/sdcard vfat -rw ,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharse
-t=iso8859-1,shortname=mixed,utf8,errors=remount-rw

or is it:
mount sdext2 /dev/block/vold/179:34 /data/sdext2 ext4 -rw,relatime,barrier=1,data=ordered 0 0


ok, ok. I;m going to install Parted and see what that gets me..



Cumofo
its because you are trying to make it do sumtin its already doing. Sd-ext will get used when you set apps to be installed to the sdcard in app manager. You wont be able to just view it like the rest of the sdcard that is vfat, esp on windows. Swap, theres a cmdline cmd to enable swap and the kernel has to support it. Stock I dont think it does and atm a custom kernel breaks wifi.
 
Upvote 0
can anyone tell me how to get the vold.fstab file to reappear on my razr? I accidentally deleted it and now the phone doesnt recognize either the internal storage or the sd card at all. I used the same method to switch the drives as my previous razr on GB but apparently it doesnt work for ICS. thank you in advance
 
Upvote 0
hello i have a problem similar to this.i edit my vold.fstab file on my emdoor em63 tablet and when i rebooted the sdcard didnt work i was switching the internal to external, I tried to push the file with adb but it says device not found adb works fine for everything else but not for my sdcard i can remount, mount, reboot, but i cant push or pull and on the table when i got to settings/apps or settings/storage force close on me what can i do?
confused.gif
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones