[Q] Internal storage mounts as /mnt/sdcard? - AT&T Samsung Galaxy S II SGH-I777

I'm not sure if this is normal behavior for Android, but it was annoying the hell out of me that the internal memory was mounting to /mnt/sdcard. At first I figured this was just because I didn't have an actual sd card. Then I got one, and it got mounted to /mnt/emmc. From what i read about other devices this seems backwards? I couldn't get some apps to use the emmc storage.
What I finally did was copy all my data from internal storage to the sdcard and then swapped the two mount points in /system/etc/vold.fstab. Everything seems to have gone better than expected. I now see my 32gb microsd as the SDCARD in Storage and the 11gb internal storage shows up as additional storage. Is there any problem with doing this? I'm still not entirely clear on where /mnt/sdcard/external_sd fits into this.
Here is my vold.fstab after I edited it.
Code:
# internal sdcard
dev_mount sdcard /mnt/emmc 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/s3c_otghcd/usb

The INTERNAL SDCARD is your BUILT IN MEMORY and SHOULD BE listed as mnt/sdcard. This should be your 11Gb internal memory.
The EXTERNAL SDCARD should be listed as mnt/emmc. This should be the REMOVABLE sd card from the battery compartment.
Not sure but I would guess that you MAY HAVE ISSUES with your setup. With HOW you listed emmc I can see your on cm7. In cm7 there is a setting to change the names/location of your cards. Since you had problems I am guessing it is/was reading backwards from the get go. Someone please correct me if I am wrong.
Sent from My KickAss Captivated CM7 OC'd 1.5Ghz/Undervolted

Thanks for the reply. I guess it was working as intended from the beginning. I haven't had any problems with this while in cm7, but one of my objectives was to get cwm to use the external sdcard for backups. Of course my change had no effect what so ever on where cwm is looking for the backup folder. I'm rolling back my change with my tail between my legs. I wasn't able to find the option in CM7 you spoke of.

This is an annoying problem. I have not been able to find any system info widgets that can display the memory status of the ext_sd folder (external sd card). Its even more confusing because the internal "sd card" is also referred to as usb storage while the ext_sd is referred to as SD Card on some screens.

style26062 said:
Thanks for the reply. I guess it was working as intended from the beginning. I haven't had any problems with this while in cm7, but one of my objectives was to get cwm to use the external sdcard for backups. Of course my change had no effect what so ever on where cwm is looking for the backup folder. I'm rolling back my change with my tail between my legs. I wasn't able to find the option in CM7 you spoke of.
Click to expand...
Click to collapse
To see if the button is ticked got to MENU, SETTINGS, CHANOGENMOD SETTINGS,APPLICATION,USE INTERNAL STORAGE
If while your at normal settings if you put them back already and it is ticked in the box, then untick it and reboot. If it is not ticked then tick the box and reboot and see if that fixes it. If your still backwards then AGAIN untick it and reboot. Sometimes settings can look correct but be kind of stuck until you toggle it. Just throwing it out how I would check out if I had your issue. Hope it helps
Brought to you by my KICKASS CM7 AT&T SGS2

That's exactly what I needed. Thank you!

actually you could have done that all in the Cyanogen setting's. I had mine set that the /mnt/sdcard was my actual SDCARD... problem became that everything was being installed to my SDcard. I prefer my SDcard as my music/picture/movie storage.
if you are using CM7.1 it's in Setting -> Cyanogen Settings - > Application
The one you wanna change is Use Internal Storage checkmark if you want to change

Yes, That's what RockRatt said above. It works perfectly. Thanks!

Related

[Q] ClockworkMod Switch from internal to microsd

How can I switch from the internal ClockworkMod to the microsd version?
I already have the internal version installed, and I copied the update.zip and recovery folder to the root of my microsd card. Then I rebooted using the recovery install instructions, and nothing changed. Is there a config file that needs to be modified to point to the new location?
bjhanifin,
Either way you just install CWM to your tablet. Only reason for having multiple ways
to install it is for use when folks are having problems.
rev
I want to store my ROMs and backups on my microsd card. I'm uptight about my file organization like that. Besides I have a 16 gb microsd card, I would rather keep the internal memory as free as possible.
I should point out that the internal CWM does not -- as far as I can tell -- allow me to install ROMs or place backups on the microsd card. Which I why I want to make the switch. I was just going to muck about and tinker until I hopefully got it working, but I thought I should check in for some tips before I risk fouling things up.
Would placing a /recovery/command file, which points to sdcard2 do the trick? Or am I going to have to use nvflash to restore to stock?
I think you're a bit mixed up. Internal or MicroSD are just the install methods. After installation, they are the same.
To make sure we're on the same page:
The G-tab comes with an internal 16GB card. Most of us partition 2 GB of that for the system to use, leaving the other 14GB to be used as the eMMC card, which is seen by many things as the SDCard. Any external microSD card you install will be SDCard2 (or just SDCard for something that references the internal extra space as eMMC). This is what gets the most confusing - most things refer to that extra space on the internal card as the SDCard.
I should point out that the internal CWM does not -- as far as I can tell -- allow me to install ROMs or place backups on the microsd card.
Click to expand...
Click to collapse
Since the extra 14GB from the internal card shows up as the SDCard, this is where backups and media are normally stored. ROMs get installed to the 2GB partition. Though you might be referring to where you put the ROM files to be able to install them, this is not actually the installation location.
Now, if you want your external card to be used as the eMMC, so it will be the one you connect to over USB, your backups go to, etc., you have to change a system file. (Note - some ROMs already have this reversed) To do this, you'll need to use Root Explorer (this costs about $4, but it's the only thing that makes this easy), and edit the file /system/etc/vold.fstab. in there, you will see two lines that look like this:
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
Changing those will reverse which is used in what role:
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
This second one will allow your external card to be used as you want.
OK, I made the assumption that the difference between the two ClockworkMod installers was a different "sdcard" pointer. I thought one build would point to the external card, instead of the internal card. When in fact the build is identical, only the location of the initial cwm update.zip changes.
Thank you for setting me straight. I guess I was trying to recreate the cwm environment I have been used to on my droid phone. Perhaps I will setup a (Tasker?) routine to monitor the download folder for .zip files which I can then automatically copy over to my ROM folder on the internal memory to streamline my ROM update process.
I know what you mean, I expected it to be like my Droid, too.
When I update ROMs, I start by doing a USB mount in Clockword mod, then copy the ROM over, then do the update.

Is this happening to other people?

Mini info, and Settings - sd card and device storage settings are both telling me that the internal storage is the sd card and the sd card is the internal storage. Is there a fix or is it ok.
Do you mean sdcard and sdcard2?
madiom said:
Do you mean sdcard and sdcard2?
Click to expand...
Click to collapse
It says the sdcard is the sdcar/2 and vice versa
YOU BROKE IT!!! GGGAAAWWWDDD!!!
No, you are OK. Don't worry about it. It is showing up correctly, sdcard and sdcard2.
outdooz said:
It says the sdcard is the sdcar/2 and vice versa
Click to expand...
Click to collapse
Still not 100% sure what you mean, but I think you are OK, it may have to with the ROM you are using, see the quote below from the OP of VEGan Ginger
"****The Latest Flash player from the market now works. Latest google maps now works download from the market.****
Internal Memory is mapped to SDCard and external SD Card is mapped to SDCard2."
If I open a file manager all of my internal stuff is located on SDcard, The micro SD that I can eject shows as SD2.
Depends on which ROM you're running. A lot of them switch them around. There's advantages and disadvantages to both. It certainly doesn't hurt to have them switched. The reason people do it is so that you can pull out your external SDCard and manipulate files and have them usable by your programs. The disadvantage is that you can't easily access the internal card from your computer - you pretty much have to do it from recovery (such as ClockWork Mod), because when you tether it attaches to the one named "SDCard (in Froyo).
And, to make it more confusing, they go by different names in Gingerbread:
Code:
Actual storage Froyo Gingerbread
Internal card SDCard emmc
External card SDCard2 SDCard
Those are the default names. Again, many ROMs will switch them around.
Anyways, that's just for your future reference if you move to Gingerbread.
I don't think this is surposed to happen. When I take out the sd card the tablet shows a message that says it has benn removed but it the storage space still shows up in setting. It has 1.86 gigs and even when it is disconnected it says sdcard 1.86 gigs i tried rebootee but same thing
Did you partition it like is recommended?
That would show your app partition of 2GB. And the other part of it is for storage.

[Q] Changing emmc mount location

I have Samsung Galaxy S II with CyanogenMod 7.1.0(Android 2.3.7). Under "Storage Settings" there is "SD Card"(built-in 10 GB), "Internal Storage"(2 GB, afaik, it's place, where system and system apps are installed), and "additional storage: /mnt/emmc" - it's my 32GB microSD.
As in the name, external microSD is mounted in /mnt folder. I can easily access it, using Root Explorer and CM7 built-in explorer. However, most of normal Market apps, cannot, cause they only access /mnt/sdcard. I have feeling that external SD is used only by me, TitaniumBackup and SMSbackup.
When I had original Samsung firmware, there was "external_sd" folder in "sdcard", so all applications that can access sdcard, could use microSD.
I don't want to use "Use internal storage" in CM7 settings, cause I would like system to mainly use built-in 10GB, however I also want Market apps to have access to external SD. I found script which makes shortcut in sdcard, but when I create second emmc mount, applications like Gallery, Music etc. show duplicates, so I think removing /mnt/emmc will repair this.
Is there a tweak for CM7, that removes emmc from /mnt and mounts it in /mnt/sdcard/external_sd, or simply makes CM7 storage management Samsung firmware-like?
P.S. I'm begginer at this forum, so if I placed this thread in incorrect section, sorry.
I don't think I would do that. You would probably brick your phone. That partition is what boots your phone and controls your kernel. If you move it to the SD card and you power on your phone, I don't think it would know to access the partition on your SD card...
lowandbehold said:
I don't think I would do that. You would probably brick your phone. That partition is what boots your phone and controls your kernel. If you move it to the SD card and you power on your phone, I don't think it would know to access the partition on your SD card...
Click to expand...
Click to collapse
But I don't want to move system partition mount point to sdcard, but microSD mount point.
Same problem here. I am running cm7 on my galaxy s i9000.
Need a way to mount external SD card for market apps.
Konpon96 said:
I have Samsung Galaxy S II with CyanogenMod 7.1.0(Android 2.3.7). Under "Storage Settings" there is "SD Card"(built-in 10 GB), "Internal Storage"(2 GB, afaik, it's place, where system and system apps are installed), and "additional storage: /mnt/emmc" - it's my 32GB microSD.
As in the name, external microSD is mounted in /mnt folder. I can easily access it, using Root Explorer and CM7 built-in explorer. However, most of normal Market apps, cannot, cause they only access /mnt/sdcard. I have feeling that external SD is used only by me, TitaniumBackup and SMSbackup.
When I had original Samsung firmware, there was "external_sd" folder in "sdcard", so all applications that can access sdcard, could use microSD.
I don't want to use "Use internal storage" in CM7 settings, cause I would like system to mainly use built-in 10GB, however I also want Market apps to have access to external SD. I found script which makes shortcut in sdcard, but when I create second emmc mount, applications like Gallery, Music etc. show duplicates, so I think removing /mnt/emmc will repair this.
Is there a tweak for CM7, that removes emmc from /mnt and mounts it in /mnt/sdcard/external_sd, or simply makes CM7 storage management Samsung firmware-like?
P.S. I'm begginer at this forum, so if I placed this thread in incorrect section, sorry.
Click to expand...
Click to collapse
Check this :http://forum.cyanogenmod.com/topic/34456-can-i-change-de-external-sd-location/.There is a guide in the second post.
If you find it helpful please hit like
Thank you, it's exactly what I was looking for. Liked.

[Q] External SD Card Usage

Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
bitbearmi said:
Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
Click to expand...
Click to collapse
Yes I see this as a problem as well. I have looked into the vold.fstab file (where the system looks to see how it should mount partitions) but changing them just makes neither partition mount. I have a feeling that it might be something in the kernel but I will keep digging around.
Also if someone does figure it out how do you prefer them to be mounted? Internal as /emmc and external as /sdcard? Internal as /sdcard/int_sd and external as /sdcard? Maybe something else?
I guess it would depend how the apps and the kernel handle it, which of course, would vary with a custom ROM. Early builds of CM9 for the MoPho alternated back and forth, but there is also an option to swap what is internal and external as well. When it wasn't mounting at all, you could edit the vold.fstab, which would be my first inclination, so thanks for saving me that step!
I think, from most implementations I've seen, when a device has internal and external storage its been mounted as /mnt/emmc and /mnt/sdcard. Its like that on most of the custom ROMs I've used (on Nook, OG EVO, Hero, MoPho).
..rob
Im really lost on the whole external sd thing. I just want to be able to have my apps on there but android has made it seemingly impossible to do so anymore. Is there a write up or something on how this can be done with todays ICS?
Sent from my EVO using xda premium

[Q] ACER Liquid Gallant E350 finds 2 SD-Cards, how to use the 2nd one?

Hi folks! I'm quite new to android so if this is a real noob question where i could have found the answer by myself by doing a little searching (which i did, without much luck) please delete this thread (or point me in the right direction )
I recently got an ACER Liquid Gallant E350 running ICS. According to the specs it should have 4 GB internal storage and of course space for an microSD-card.
However when i check "storage" i have 1GB "internal storage" and 1,6GB "USB storage" and then there is my 32GB microSD card that shows it has 29,23GB.
The thing is the 1,6GB USB storage is seen as a SD-card by the system and also called sdcard when i check with file manager. My 32GB microSD is called sdcard2.
So when i tell the system to install to sdcard it will install to that 1,6GB USB storage (which is almost full!) and i cant find a way to force it to install it to the real SD-card.
Even with app 2 sd it will try to copy the apps to that 1.6GB USB storage and (as far as i can tell) i cant tell it to use the other (real) SD-card.
Is there some sort of fix or work around for this? Did ACER mess up by naming the internal storage sdcard?
I think you have to edit the script to do that manually. Find out the name of the sdcard2 partition, and put that in place of the sdcard partition which is currently in the script. You may need to clear & reflash everything, then flash your customized a2sd script.
Also make sure you've established what partitions you want on the microSD card, and how they are to be formatted.
Ah that sound like more work than i expected. Also i dont think there is a tool yet to backup the ROM for this phone
So i guess im kinda screwed for now. Isn't there an easy way to maybe symlink the data folder to the SD card? (i think it's the android folder isn't it?)
Hello, when you go to storage in settings you have 2 options. 1 is usb storage. This is for sd card 1. 2 is option sd card 2. Mark this one and all will go to sd card 2.
Sent from my HTC Incredible S using xda app-developers app
it doesnt work in this phone
Zoeriva said:
Hello, when you go to storage in settings you have 2 options. 1 is usb storage. This is for sd card 1. 2 is option sd card 2. Mark this one and all will go to sd card 2.
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
hello, i have the same problem with my acer liquid gallant duo (os4.0.3), when i go to storage in settings in preferred install location i have 3 options:
-internal storage
-USB storage (sdcard1)
-let the system decide
it doesnt have the sdcard2 option..
I have tried the Directory Bind ( http://forum.xda-developers.com/showthread.php?t=1410262 ) and it works but first you have to install it in usb storage(sdcard1) and then move it to sdcard2 and if an app is biger than 1,5gb you cant install it in the first place coze you only have 1,4gb of free space in usb storage(sdcard1)..
in ROM MANAGER i have seen an option that it sais partition sd card, i will read more about it and i will check it out
this is the first android phone that i have and i am new to this
Hi all!!
I also have the Gallant Duo, I love it! But this thing about not being able to move apks to the external sd (sdcard2) is very annoyning? Is there any solution apart from directory bind? Like this one f.e. http://www.xda-developers.com/android/choose-your-own-storage-with-folders-plug/. Does anyone know if this works? Also, does anyone have a modified vold.fstab file with the sdcard2 as internal sd and internal as external?
Looking for an answer to this question i didn't found it here, but i think here should be an answer.
What worked for me:
use the app External 2 internal from the app store.
Check use per default:
The original internal mounting point: /mnt/sdcard
The original external mounting point: /mnt/sdcard2
The ext. sdcard device access: /dev/block/vold/179:25 I'm not sure about this setting, i just looked in the folder and this was the highest number. so more information about this is welcome
With these settings i've good results. But after some reboot's with "at boot**" (no init.d support needed) i lost access to my sdcard, in fact every one.. When I restored my ROM(super stock ROM) using CMW everything worked fine again, no loss of data or whatsoever, and external 2 internal worked again till now.
But now i'm wondering why the boys and girls from super stock ROM didn't fix this upfront..?

Categories

Resources