vold.fstab question - Android Q&A, Help & Troubleshooting

Hi there......
I try to deal with the internal memory. I got a Coby 1045-8 with stock ROM. Everything except the internal memory is working well. I tried cm10.1 custom ROM and lost Touch and WIFI, but with this ROM, the internal memora was back again. The vold.fstab was like this:
dev_mount sdcard /mnt/sdcard auto /devices/platform/sunxi-mmc
dev_mount nand /mnt/nand auto /devices/virtual/block/nandi
The vold.fstab in the stock ROM looks like this:
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandk
dev_mount extsd /mnt/extsd auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
Of course I tried to just copy the lines, but was unsucessfull. Can anyone give an advice, how to get the internal memory back agai at this stock ROM? Or maybe how to make compatibility.zips for CM10?
Thank you for reading....

Related

Cm7 sd card "fix'

I know i saw it here somewhere, but cant find it. What steps do i need to take to get the internal sdcard to be seen as sdcard? Im running cm7 nightly 58.
simple... edit /system/etc/vold.fstab and change
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
to
Code:
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
and next time... such questions should go in Q&A... this section is for development threads only!!!
craigacgomez said:
simple... edit /system/etc/vold.fstab and change
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
to
Code:
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
and next time... such questions should go in Q&A... this section is for development threads only!!!
Click to expand...
Click to collapse
Relax there amigo
Keep in mind that if you edit the vold.fstab on nightly 58 you will lose access to the external SD card but the internal will now be labled correctly. Pershoot and I were discussing this in his thread yesterday.
Btw, this does belong in q&a
Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.
lrs421 said:
Keep in mind that if you edit the vold.fstab on nightly 58 you will lose access to the external SD card but the internal will now be labled correctly. Pershoot and I were discussing this in his thread yesterday.
Btw, this does belong in q&a
Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.
Click to expand...
Click to collapse
Is this only an issue with the newest nightly?
I'm running 7.02 and used this trick to set the internal memory as sdcard, but I dont see any way to access my microsd that is installed.
racketier said:
Is this only an issue with the newest nightly?
I'm running 7.02 and used this trick to set the internal memory as sdcard, but I dont see any way to access my microsd that is installed.
Click to expand...
Click to collapse
No its the same with 7.0.2 which is why you can't access the card. The latest nightly combined with pershoots latest kernel does mount both cards but it labels the internal as emmc and the external as sdcard. Editing the vold.fstab throws it off. I would only do it if you don't have an external SD card.
Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.
For me this zip maps my sdcard to internal and external as emmc. This works for me. Have no trouble mounting my device and card through CWM. Just flashed to Cyanogen's CM7.02. Only problem I have is trying to find the right GAPPS to flash to get Market going.
Hope this helps
racketier said:
Is this only an issue with the newest nightly?
I'm running 7.02 and used this trick to set the internal memory as sdcard, but I dont see any way to access my microsd that is installed.
Click to expand...
Click to collapse
Err nevermind. I'm running CM 7.02 and pershoot's latest kernel. SDcard is my internal memory, and emmc is the actual micro sdcard. I think this is probably the best case scenario for me.
racketier said:
Err nevermind. I'm running CM 7.02 and pershoot's latest kernel. SDcard is my internal memory, and emmc is the actual micro sdcard. I think this is probably the best case scenario for me.
Click to expand...
Click to collapse
sdcard is external and emmc is internal on cm7.0.2+
Maybe this is what you're looking for? This flashable zip (link at the bottom of this post) backs up your vold.fstab and writes a new one, swapping your internal and external SDs such that internal goes to sdcard and external goes to emmc. This makes the USB external storage mounting function more like vegan 5 (mounts your internal storage by default)..
pershoot said:
sdcard is external and emmc is internal on cm7.0.2+
Click to expand...
Click to collapse
Yeah I flashed the zip that switches them.
It just seems to make more sense to me, and keeps everything in line with other Roms
craigacgomez said:
simple... edit /system/etc/vold.fstab and change
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
to
Code:
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
and next time... such questions should go in Q&A... this section is for development threads only!!!
Click to expand...
Click to collapse
This should actually be:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
to
Code:
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
You should be simply reversing the way they were written. Writing sdcard2 instead emmc is the Froyo way of doing things. In Gingerbread, you should write emmc.
Moved to Q&A.
Yup, the flash does remount the cards. Good find.
Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.

[Q] Aabout Sd card's Dell Steak Pro

hi there, i'm new member. i've just used Dell steak pro- rom cook 2.3.6, it's rooted
there 3 memories: internal, sd card, external_sd
one day, i want to enlarge my sdcard and bought a new 16gb sd card but its name's external_sd and when sd is full i must copy data from sd to external, how can i use the external card as sd card and ignore the former one. the following text is from vold.fstab please help me to solve it
thanks in advanced
Dual SD Card support (Internal eMMC Partition and External SD)
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
# Robert, 20111228, QCT8x60_CR1707: MILSCI-618 change external sd card folder from sdcard2 to external_sd
dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
lethetuyen said:
hi there, i'm new member. i've just used Dell steak pro- rom cook 2.3.6, it's rooted
there 3 memories: internal, sd card, external_sd
one day, i want to enlarge my sdcard and bought a new 16gb sd card but its name's external_sd and when sd is full i must copy data from sd to external, how can i use the external card as sd card and ignore the former one. the following text is from vold.fstab please help me to solve it
thanks in advanced
Dual SD Card support (Internal eMMC Partition and External SD)
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
# Robert, 20111228, QCT8x60_CR1707: MILSCI-618 change external sd card folder from sdcard2 to external_sd
dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
Click to expand...
Click to collapse
anybody here

[Q] External sdcard to internal mod on Xperia Ray

Hi
I need your help.. i have xperia ray and i want to swap my external sdcard with the internal memory.. Xperia ray has 300mb of internal memory and it's really low and isn't enough.. i know that there's a hack that switches the external sdcard with the internal memory.. i found a thread (http://forum.xda-developers.com/showthread.php?t=2346389) that explains how to do that but i don't have the same line that the thread started has..
this is what i have:
Code:
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
someone can help me?
thanks
someone?

[Q] Internal / External Memory Swap on Sumvision x2

Good Evening,
I'm wondering if anyone can help with swapping my internal and external memory on my new Sumvision Android X2?
I've tried editing the vold.fstab file, but all I seem to do is tell Android that the External SD-Card is now the internal flash card.
I get the same problem with using the External 2 Internal App.
The only four lines in the vold.fstab file that aren't commented are:
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 flash /storage/sdcard0 auto /devices/platform/mtd/mtd6/avnftlg /devices/virtual/mtd/mtd6/avnftlg
asec flash
And all I've tried (so far) is swap the words in bold.
Any ideas will be very much appriecated.
Thanks

[Q] ZOPO ZP998 sdcard mount issue

Hi,
I've been using my new zopo zp998 without an external sdcard for a while...
This way the system is mounting the phone storage (internal card) as sdcard0 pointing sdcard to it...
I've already installed lots of applications and most of them point to sdcard.
Now, when I try to add an external sdcard, the system mounts the external sdcard as sdcard0 and the phone storage as sdcard1 leaving sdcard pointing to sdcard0 which is now the external one, breaking most of the installed applications...
As this phone as almost 10GB of free storage, I wish to keep using the phone storage as main storage... Adding an external card is just for extra stuff (musics and videos) or for one or another future application (GPS maps maybe).
Is it possible to always keep the phone storage as sdcard0 and sdcard, with and without the external card mounted, leaving the external card as sdcard1 if mounted?
Phone is rooted (flashed bootimg and recovery, installed CMW-SuperSU 0.98) with stock ROM 20140218-143230.
vold.fstab contents:
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
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb
Any help, please?
Thanks.

Categories

Resources