Need help in modifying vold.fstab of Lenovo A526 - Android Q&A, Help & Troubleshooting

I have a Lenovo A526 with the stock ROM installed and I was trying to modify the vold.fstab file to switch the internal and external storage. I've tried switching out sdcard0 and sdcard1 from these lines:
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
but it doesn't switch them, instead it makes my external SD card disappear from the storage menu in the settings.
I've also tried to switch out sdcard and sdcard2 but that does absolutely nothing. :crying:

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] Vold.fstab modding - need help

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

[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?

[Q] How can I change my internal storage ?

How can i change the internal storage of my android phone if it says:
#dev_mount sdcard /mnt/sdcard auto/block/mmcblk0
#dev_mount internal /mnt/sdcard 19 /devices/platform/sprd-sdhci.3/mmc_host/mmc0
dev_mount sdcard /mount/sdcard auto /devices/platform/sprd-sdhci.0/mmc_host/mmc0
thanks for the one who can help me

Categories

Resources