[Q] Changing internal and external memory - Android Q&A, Help & Troubleshooting

I've been trying to change my internal memory to external and and the other way around. I have a SGH-T769 and i followed another forums advice with this in which involves coding. They told me to switch my coding from:
#internal sdcard
dev_mount sdcard /storage/sdcard0 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
#external sdcard
dev_mount external_sd /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
Click to expand...
Click to collapse
To
#internal sdcard
dev_mount sdcard /storage/sdcard1 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
#external sdcard
dev_mount external_sd /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
Click to expand...
Click to collapse
but my codes looks different. my code is
#internal sdcard
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
#external sdcard
dev_mount sdcard1 /mnt/sdcard/external_sd auto/devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
Click to expand...
Click to collapse
I want to know what is the right code for making the switch, please and thank you

Related

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

Mounting sd to internal memory

Lets hope I'm in the right forum this time I created a thread in the assist forum but they told me to start from here. I guess they think I have a better chance to find an answer. Here it goes.
I have a tablet ZTE E9Q witch it has a very small amount of memory. Only 1gb and already the system took 900mb incliding factory apps. I need to edit the vold.fstab in order to increase the internal memory.I have watched videos on youtube and read a few threds and post here but I still can't figure it out. The lines are not the same as the ones a saw. Can anyone help me please?
This is the code.
ps: I already tried to swap 0 and 1 in the first and the second line but I got nothing.Still was the same.
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

Need help in modifying vold.fstab of Lenovo A526

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:

Categories

Resources