[Q] Vold.fstab modding - need help - Galaxy S II Q&A, Help & Troubleshooting

Hi guys. I've been keeping this to myself for some time but now I'm no longer can bear it anymore. So here I am, asking for a bit of help.
What I want to do is quite easy, which is changing the External SD card to become Internal SD Card (mound point /mnt/sdcard/internal_sd ), and making physical microSD (which can be pulled in/out) as my External SD card (mount point /mnt/sdcard/ )
Here's what I've discovered so far..
Code:
Modded LG O2X vold.fstab file
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
Stock LG O2X vold.fstab file
# Internal SD card
dev_mount emmc /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
Stock SGS2 vold.fstab file
# internal sdcard
dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /mnt/sdcard/usbdisk auto /devices/platform/s3c_otghcd/usb
So how do I rewrite the stock SGS2 vold.fstab file so that it'll look and function like modded LG O2X I've mention above?

Hi,
I never tried to do that and to be honnest I don't really need it so I won't try...
But according to the example you provided for LG, I would say that the SGS2 should be modded like that:
Code:
# First mount external sdcard in /sdcard
dev_mount emmc /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# The mount internal sdcard in sub folder /sdcard/_InternalSD
dev_mount sdcard /mnt/sdcard/_InternalSD 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# Then mount USB storage as it is done by default
dev_mount usbdisk /mnt/sdcard/usbdisk auto /devices/platform/s3c_otghcd/usb
If you really want to try, do it at your own risk !!
I hope this would help.
Cheers

so i just need to edit and overwrite the vold.fstab file right? no need to make flashable ZIP?

Searching xda forum returned the following method:
you will need to update the vold.fstab on the xoom to fix the issue.
adb pull /etc/vold.fstab
edit vold.fstab .........
........
save the file, and go back to the command line
adb remount
adb push vold.fstab /etc/vold.fstab
abd reboot
Click to expand...
Click to collapse
I found it on a topic not related to i9100 but vold.fstab is part of Android system so it should be a standard way to update it...
I do recommend you to do a full backup before to do that...
source: http://forum.xda-developers.com/showthread.php?t=1093720

Related

[Q] Incorrect mounting sd card [CyanogenMod7.1.0.1 REPACK]

Incorrectly mounts the external sdcard in CyanogenMod7.1.0.1 REPACK.
The external card is connected as primary, and the internal sdcard as an extra.
After editing Vold.fstab, the situation changes slightly for the better. Now, the internal memory to get sdcard, and the external is not mounted at all.
P.S: Search the forums gave only what you need to edit Vold.fstab.
Here is the content of my Vold.fstab file:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
CM 7 by default mounts a "real" SDCard as /sdcard and any other storage (internal) as /emmc.
I believe it first became an option in CM7.1 that you can change this mounting (switch it so the internal storage is mounted as /sdcard ) in CyanogenMod Settings.
You no longer need to edit/modify the vold.fstab file.

[Q] Game data on SDCARD-EXT

Hi there, is there a way to move the game data from SDCARD/ANDROID/DATA/... and SDCARD/GAMELOFT/GAMES/... to the SDCARD-EXT?
all apps that I found in the market only move the apk content, not the game data, and I did found a windows patcher software that patchs the gameloft apk installed on your phone to use the external sdcard, but it is only for SGS and SGS2, since the external sdcard is on another folder, not ROOT/SDCARD-EXT
Please help
Here's what I've done so far...
I managed to tweak the vold.fstab file inside etc folder by using Root Explorer and changed the following:
From this:
# 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
To this:
# external sd card
dev_mount sdcard_ext /mnt/sdcard: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-ext18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
And it did work! ... for a little while...
So, after a while my Atrix started to develop a lot of sudden resets which eventually made both mount points (sdcard and sdcard-ext) to fail to mount and/or even after a few more reboots, my settings above reverted back to its original version! Leaving the data on both locations intact, so I presume it's safe to keep on trying different settings.
So as it is right now, I've seen this is not really reliable at all.
Have you found a solution so far?
Happy new year everyone!
Rayan

[Q] Resurrection Remix vold.fstab

Hi all, I have a query, 2.3 and 4.0 (the officers) I modified the / etc / vold.fstab to use internal and external memory and external and internal as my SD is 32GB and is class 10. But Resurrection Remix edit the file and start the phone.
Here I show the original file as modified would remain. If someone could help me I would greatly appreciate it.
original
# internal SDcard
sdcard mount dev /mnt/sdcard/ 11 devices/platform/dw_mmc/mmc_host/mmc0/mmc0
# external sdcard
EMMC mount dev /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Modified (1)
# internal SDcard
sdcard mount dev /mnt/sdcard/external_sd 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0
# external sdcard
sdcard1 mount dev /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Amended (2)
# internal SDcard
sdcard mount dev /mnt/sdcard/external_sd 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0
# external sdcard
EMMC mount dev /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Sorry for bad English
Please help me!!!! I need orginal file vold.fstab galaxy tab2 10.1
Please help me!!!! I need orginal file vold.fstab galaxy tab2 10.1
Please help me I really rushed

[Q] MeanBean v3.09 - Need help modding vold.fstab to switch sdcard to sdcard2 - HELP!

Hi XDA,
I need help modding my vold.fstab file so I can use my 64gb sd card as /sdcard/ and not /sdcard2/
I tried what seemed to be the correct way, but it doesn't work.
Here is the original vold.fstab file's code:
Code:
dev_mount sdcard /storage/sdcard0 emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /storage/sdcard0/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usb /storage/usb auto /devices/platform/msm_hsusb_host
Please, I desperately need help to fix this - if I can't fix it I'll be forced to go back to the stock rom (UGH!)
Thanks in advance, zmag
Edit: and even when the vold.fstab file is stock, I can't listen to music from my 64gb sd card via Poweramp, or save files from Opera. I don't like how it changed from /mnt/ to /storage/ at all - any way to change this back to how I'm used to!? /mnt/sdcard/ is what I really want, but I'll settle if someone can at least help me switch sdcard2 to sdcard.
I am newbie to rooting an android, I've tried several methods to swap external to internal, but unsuccessful. After several times thinking and read some posts, so I modify vold.fstab as follow;
original:
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
to 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
and voila...it works!external become internal and internal become external.
So, I hope this will be useful and you could think up something to modify your vold.fstab.
But, still the games with big apps data however create the folder in sdcard2 (which previously read as internal, now become external/TF Card). as I told you I am newbie and will figure it out to make external SD Card trully internal since in system root, when we tap sdcard folder it belongs to internal (originally). But if you tap in mnt folder, there are two folder sdcard (SD card read as internal) and sdcard2 (internal read as TF). Maybe anyone can fix this issue.

[Q] Samsung Galaxy S - vold.fstab

Hi guys, I have trouble with this phone. Internal memory is broken so I use 16GB SD card as system/internal memory. I read guide for CM9 where is setting for configure vold.fstab file. But when I try install CM10.1 the vold.fstab file is different and I do not know how I must configure it. I need help with this.
Here is edited vold.fstab file for 4.0.4 and phone working perfectly:
#internal sdcard dev_mount emmc /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
#external sdcard dev_mount sdcard /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
And here is original vold.fstab file from clean install CM10.1
#internal sdcard dev_mount emmc /storage/sdcard 1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#external sdcard dev_mount sdcard /storage/sdcard0 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
Any ideas how configure this file for CM10.1? Thanks
any ideas?

Categories

Resources