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.
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
Are you using a CM7 boot disk and another OS? By default the B&N stock will mount the first partition of the SD card. This is not what we want, as the 4th partition is the one where we are going to be storing data.
In order to change the mount point you need to edit the vold.fstab file located in /system/etc
You will find a line that points to the sd card for mounting:
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1/devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Change the first "auto" to 4. This defines the 4th partition for mounting. As seen in the following:
Code:
dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1/devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Now reboot your device and you should now have access to the 4th partition in the stock android OS.
[Solved] SD internal to SD external Swap
Required
ROOT
i installed FX explore (free)
and installed the FX explore root addon also free
You must have root to edit the etc/vold.fstab file ok
all you have to do is edit the etc/vold.fstab file and swap the items marked in red ok then save and reset the iconia with a pin next to power button
when it reboots you will have the external sdcard as the main internal memory and the old internal memory will be shown as the new external sdcard this gives you a internal memory upto 32 gig
the guide..
gain root
install fx explorer and root addon
run fx explorer
when it opens click on the System(root) icon
a popup will ask to confirm root access click ok
open the folder etc
scroll to find file volt.fstab
at the bottom you will see menu items file , view , Tools , windows, click on tools item
select the option mount read-write
on the popup tick i understand the risk and then ok
tap on vold.fstab and a open with box pops up select text editor
look at the text and you will see 2 lines that do not start with a #
those are the 2 lines you need to edit
only 4 edits are required ok
on the first line to edit swap the first 2 0s to 1s
on the 2nd line to edit swap the first 2 1s to 0s
check below to see what it should look like and make sure yours looks the same
then after you have edited it select the menu item file and hit save
reboot your iconia and enjoy all that extra space to install crap to
this is what it looks like BEFORE the edit
dev_mount sdcard /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
this is what it looks like AFTER the edit
dev_mount sdcard /storage/sdcard1 [email protected] /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.1/mmc_host
below is my edited file ok
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard[COLOR="Red"]1[/COLOR] [email protected] /devices/platform/goldfish_mmc.[COLOR="Red"]1[/COLOR] /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /storage/sdcard[COLOR="Red"]0[/COLOR] auto /devices/platform/goldfish_mmc.[COLOR="Red"]0[/COLOR] /devices/platform/mtk-sd.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
notes
if you do this and then remove the sdcard the iconia will still boot but will have no internal sdcard as the original internal sd will still be set as external sd.
also any apps you have installed on the sd card you have removed will still show up on the iconia desktop but if you click to run one it will say NOT INSTALLED
just reinsert the sdcard and all will work . the reason im saying this is i have 2 32 gig sdcards and have the desktop setup in folders so i can switch sdcards and run apps
that are on the current inserted sdcard this gives me almost unlimited storage .
..
screen shot of storage after swapping
What about the content of the internal sd and external sd. will it get wiped?
Can i add this external swap as a feature to my python script?
entonjackson said:
What about the content of the internal sd and external sd. will it get wiped?
Can i add this external swap as a feature to my python script?
Click to expand...
Click to collapse
No it did not wipe any thing ' but if you copy the contents of the internal drive to the external drive before you alter the volt.fstab file all installed apps are OK if you don't then when you click an app on the desktop it says app not installed as it looks at he wrong sdcard for app folder
So if your script could maybe format the 32 gig SD card then copy the contents of the internal over then do the volt.fstab edit then reboot I'm sure
That would work - bear in mind you have to have root to do the as you have to unmount and remount read write to alter the /etc/volt.fstab
But I'm very happy to test Any script that may be written ,
Maybe the script could have it as a menu option so you can run it . And even have the option to restore it back ?
Dave
bullbrand said:
No it did not wipe any thing ' but if you copy the contents of the internal drive to the external drive before you alter the volt.fstab file all installed apps are OK if you don't then when you click an app on the desktop it says app not installed as it looks at he wrong sdcard for app folder
So if your script could maybe format the 32 gig SD card then copy the contents of the internal over then do the volt.fstab edit then reboot I'm sure
That would work - bear in mind you have to have root to do the as you have to unmount and remount read write to alter the /etc/volt.fstab
But I'm very happy to test Any script that may be written ,
Maybe the script could have it as a menu option so you can run it . And even have the option to restore it back ?
Dave
Click to expand...
Click to collapse
Thanks for the info.
Yes I want to do something like a Iconia B1 toolkit, including the rooting features i currently have in the python script.
If I add this Internal SD <-> External SD Swap feature, of course i would add options to
backup data from external sd
format external sd
revert to default fstab
entonjackson said:
Thanks for the info.
Yes I want to do something like a Iconia B1 toolkit, including the rooting features i currently have in the python script.
If I add this Internal SD <-> External SD Swap feature, of course i would add options to
backup data from external sd
format external sd
revert to default fstab
Click to expand...
Click to collapse
that would be an excellent tool
and as more features get discovered am sure the tool could grow even more
ps
i had a look at the engineer mode.apk but cant figure out how to call directly the -> Connectivity -> CDS Information -> Network Utility
or even any way to run the engineer mode without running a dial app to enter the #*#*3646633#*#* , would be sweet if it could be directly called
as the script would not require any user input . maybe someone (pawit) can figure out a command to fire up engineer mode and run the
/data/local/tmp/busybox telnetd -l /system/bin/sh -p 1234 in one step ?.
shame we can't get our own forum here for the B1 i have requested one but got no response .
I think at least i could call the engineer mode apk, as this is possible with the adb shell, but of course it would be awesome to switch to the network utility.
pasting the command into that line and invoke the Run button seems to be impossible.
bullbrand said:
[Solved] SD internal to SD external Swap
tou must have root to edit the vold.fstab file ok
all you have to do is edit the vold.fstab file and swap the items marked in red ok then save and reset the iconia with a pin next to power button
when it reboots you will have the external sdcard as the main internal memory and the old internal memory will be shown as the new external sdcard this gives you a internal memory upto 32 gig
only 4 edits are required ok
swap the 0s to 1s
swap the 1s to 0s
this is what it looks like before the edit
dev_mount sdcard /storage/sdcard0 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
this is the original vold.fsab file on iconia
just find the 2 lines and edit the 4 parts marked in red
below is my edited file ok
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard[COLOR="Red"]1[/COLOR] [email protected] /devices/platform/goldfish_mmc.[COLOR="Red"]1[/COLOR] /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /storage/sdcard[COLOR="Red"]0[/COLOR] auto /devices/platform/goldfish_mmc.[COLOR="Red"]0[/COLOR] /devices/platform/mtk-sd.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
Click to expand...
Click to collapse
Hi Bullbrand,
Can u help me to make step by step.
What app requirment ?
Where is the file vold.fstab
How to change file permission ,
Etc.
Thanks for your sharing.
Note : system already rooting
Regards
From Newbie
youps.
Done I am using Root Explorer, very easy....
Regrads
Just a noob question.. This is like in the older phones we make a partition in the sd card to use it as our internal memory for more apps? Or this is like ONLY using our external sd card as our internal sd memory? Does this lag the tablet because i remember that when you make a partition on the sd card it tends to lag
Eduardogv said:
Just a noob question.. This is like in the older phones we make a partition in the sd card to use it as our internal memory for more apps? Or this is like ONLY using our external sd card as our internal sd memory? Does this lag the tablet because i remember that when you make a partition on the sd card it tends to lag
Click to expand...
Click to collapse
No , the phone has 1 gig internal always and all this does is swap what it installs the main app data to I'm using a class 10 32 gig SD and there is no speed difference IMO the only diffance is I can now install more apps before. Get the running out of space message ,
It works well for me OK.
cakadut said:
Hi Bullbrand,
Can u help me to make step by step.
What app requirment ?
Where is the file vold.fstab
How to change file permission ,
Etc.
Thanks for your sharing.
Note : system already rooting
Regards
From Newbie
Click to expand...
Click to collapse
great to see you managed the edit ok.
i have updated the first post with a step by step guide to doing it for anyone else trying to do this ok..
dave
hye there, i love your work for tablet iconia b1, just a question, can i use quite same method on other device? for swap sd for sure.
Yes no reason you can't
bullbrand said:
Yes no reason you can't
Click to expand...
Click to collapse
With android commander this is a peace of cake, you can do it on your computer, copy and paste the lines in,remove the old, reboot, finished.
Did it a long time ago, and you have a benefit, sometimes your tablet/phone has a problem and won't start, get out the SD card, find the error, remove it, and voila... most of the time when you remove an app, it leaves garbish.. with the sdcard in my computer I can clean up the mess
trouble
i am having trouble gaining root access i have downloaded the programs and add on but it says i do not have root access how is this granted??
Can you make a flasheable zip please?
Enviado desde mi GT-I8160 usando Tapatalk 2
here explain how to install V6 rooteados phone. Perfect for managing memory ram
http://forum.xda-developers.com/showthread.php?p=40747730
Enviado desde mi GT-I8160 usando Tapatalk 2
bullbrand said:
No , the phone has 1 gig internal always and all this does is swap what it installs the main app data to I'm using a class 10 32 gig SD and there is no speed difference IMO the only diffance is I can now install more apps before. Get the running out of space message ,
It works well for me OK.
Click to expand...
Click to collapse
Question: Is possible to Increase the internal storage?
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.