Why I have 3 storages? - LG Optimus 4X HD

Title says everything. I have 3 storages but I don't know why.
1: internal sdcard
2: external sdcard
3: emulated <-- what is this? Can I delete it? In it there are 2 folders
1: 0 <-- holds my internal sdcard data
2: legacy <-- has my internal sdcard too
Sent from my LG-P880 using xda app-developers app

PenguinStyle said:
Title says everything. I have 3 storages but I don't know why.
1: internal sdcard
2: external sdcard
3: emulated <-- what is this? Can I delete it? In it there are 2 folders
1: 0 <-- holds my internal sdcard data
2: legacy <-- has my internal sdcard too
Click to expand...
Click to collapse
How many times is the same question going to be asked simply because people are too lazy to search?

Related

[Q] SDCard / External SDCard

Really funny that the internal storage of the Note is called SDCard.
It´s definitly not an SDCard, it´s a chip. The only SDCard in a phone is always an external. Is there any possibility to change this stupid name (whatever you want:
harddisc, storage or just a letter like C:, everybody would understand)?
Thanks in advance
Are you on CM9-based ROM or Stock? Is this issue on both.
sam.wilder said:
Are you on CM9-based ROM or Stock? Is this issue on both.
Click to expand...
Click to collapse
You might be able to change the name by editing the file ect/vold.fstab in the system folder. You should read the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
This is the standard for all Android devices the first storage that is mountable is always mounted to sdcard so that apps that require space to save files to can be sure there is somewhere to save it to.
Trust me its a very good reason to have it this way. Its been like this from the start as devices did used to only have external sdcards so to save every app dev changing there app it was just kept as the sdcard mount point
Sent from my GT-N7000 using xda premium
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
The followings give the internal memory to be the sd card and the external sd card to be mnt/emmc
# internal sdcard
dev_mount sdcard /mnt/sdcard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
The followings give the external sd card to be the sd card and the internal memory to be mnt/emmc
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Remember this is only for ro ms like liquid, paranoid, or cm9. For other ICS or GB rom the mount points will be different.
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
You should read the following thread:
http://forum.xda-developers.com/show....php?t=1454753
This thread also provide the appropriate vold.fstab file for ICS rom if you want to mount the external sd card as the internal sd card. I use the file for both Rocket Rom and Kingdroid rom without problem.
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Sd card is also a chip. It's just that the other is internal and the other is external.
Zapped through server hops to XDA forums
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Poly0709 said:
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
Click to expand...
Click to collapse
HAHA. I've noticed this since the day I bought my Note. Haven't done anything about it ever since. Share your solution when you find one, okay? Thanks!
Poly0709 said:
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Click to expand...
Click to collapse
Would like to point out that the milestone doesn't haven't any internal useable storage it only has the sdcard other than what's used by the system which is completely different . This is my point the first mountable storage is called sdcard to save apps the trouble of asking the user.
And as android is based from Linux it would not use the drive lettering like windows.
Sent from my GT-N7000 using xda premium
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
bitFault said:
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Click to expand...
Click to collapse
This is only for rom like liquid, cm9, or paranoid. For regular ICS rom you need to download the vold.fstab from
http://forum.xda-developers.com/show....php?t=1454753
Poly0709 said:
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
Click to expand...
Click to collapse
Its likely possible to do but I have said it will cause issues with apps if there is no sdcard mount point and as you don't need to have a external sdcard then the internel memory must be mounted to /sdcard
Is it really that big a issue? Yes really android should have changed this by now but its already far to much a issue with the fact the external SD gets mounted where ever the phone company wants it to be.
Sent from my GT-N7000 using xda premium

CM9 SD Card default

I'm trying to determine which SD card to set as the default or primary (internal or external). So i'm asking you guys.
The primary sdcard is where photos and videos from the camera, downloads, and other apps store their data.
Data can be moved to the non primary sdcard using file managers or your computer.
Please use the poll to vote which sdcard should be the default or primary.
snargledorf said:
The primary sdcard is where photos and videos from the camera, downloads, and other apps store their data..
Click to expand...
Click to collapse
This is also where apps go when you move them to SD.
Oh did I forget mention I got app2sd working?
Internal
The correct way would be to make SDC = /sdcard and the actual sdcard = /sdcard2.
More importantly apps2sd should send them to SDC as you never have to worry about it being unmounted.
I'd have to say external would be the preferred option out of the 2, just to avoid bottlenecking

[Q] Directory Bind and Link2SD

I was quickly running out of room on my phone as everything was being installed to my internal SD card (4Gb) and not to my 32Gb external card.
I found an app called directory bind which I thought would move my large games data files and put them on my external card telling my phone where to find them while freeing up my internal SD card. So I tried the following
Source /mnt/extSdCard/Gameloft/
Target /sdcard/Gameloft/
I end up with a copy of my data files on my external sd card but the files are still on my internal sd card. So instead of saving me space this takes extra space on my ext SD card as well. I thought I'll just delete the data on my internal card as its on my external card. What happens? It deletes the files from my external card as well. Really strange. I'm not sure what I'm doing wrong. Personally speaking I would've called the internal SD card the source and the external card the target. Perhaps thats where I'm going wrong but everything on using this app shows the ext card and int card used like this.
I've just found another app called link2sd would this be a better solution than directory bind?
Not sure about what you're asking. But this might help your problem: http://forum.xda-developers.com/showthread.php?t=2078603
Link2SD won't work either.
Sent from my GT-I8190 using xda premium
swagmeister said:
Not sure about what you're asking. But this might help your problem: http://forum.xda-developers.com/showthread.php?t=2078603
Click to expand...
Click to collapse
That sounds like the perfect solution. I still don't understand why directory bind doesn't move the folders for me and just copies them. Also at a loss why deleting from internal sdcard deletes the external sdcard contents too. It looks like there is a binding between the two folders but whats the point if it doesn't clear space on your internal sdcard and just duplicates the folders.
You aren't doing it correctly... I'm using Directory Bind without any problems, although it was a little frustrating at the beginning.
Go to its settings, then change the default data path to
Code:
mnt/extSdCard/
and the default target path to
Code:
/sdcard/
Also, have the Alternate dbase mgmt and Persistent service boxes checked.
Now, just follow this tutorial and it'll work http://forum.xda-developers.com/showthread.php?t=1889550. Of course, you can specify exact folders both in the data and target paths, I just like to specify each time.
kicker63 said:
Link2SD won't work either.
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Hi, yes, Link2SD works on the S3 mini but we need the init.d support for the secured boot.img. I found the batchscript created by doomlord and I have modified this script for our S3 mini. Then I create a ext4 partition (Guide by einstein.frat) on my microSD and the apps with dalvik cache files (.DEX) and library files (libs) is outsource to the ext4 partition. Until now it works without bugs. I`ll later report this in the devlopment section.
Regards
leather.face said:
Hi, yes, Link2SD works on the S3 mini but we need the init.d support for the secured boot.img. I found the batchscript created by doomlord and I have modified this script for our S3 mini. Then I create a ext4 partition (Guide by einstein.frat) on my microSD and the apps with dalvik cache files (.DEX) and library files (libs) is outsource to the ext4 partition. Until now it works without bugs. I`ll later report this in the devlopment section.
Regards
Click to expand...
Click to collapse
Any input about it? Is it still doing well?
And since you dealt with it, do some of you guys have any advice on this:
http://forum.xda-developers.com/showthread.php?t=2227471
Thanks,
Directorybind works fine, or foldermount.
What you see in internal is actually files on external. Try to unmount or delete some file on external and you will see its not a copy.
Sent through time and space from my s3mini.
Data just pretends to be on internal storage. Use an app call DiskUsage to see exactly how much space it takes up in a nice visual graph

Internal Storage (copies)

Hi
Like most of you guys know, if you install
a CM based Rom the mount points of the internal storage are three different ones.
The normal "/storage/sdcard0",
"/data/media/0" and both "/storage/emulated/0" or "/storage/emulated/legacy".
So now my question is, does this mean the data on internal memory requires four times its actual space? And if so can I delete all of them except one?
Thanks in advance for your answers
Sent from my LG-P880
the reason is our device doesnt have a seperate partition for the internal storage. instead of this the internal storage is located at the /data partition in the directory media. /data uses ext4 which means /data/media, our internal storage, uses it too and that is the problem because we want to be able to transfer files to/from your computer.. just.. ext4 isnt natively supported by windows and mac osx. it would require to install ext4 drivers. now.. fat32/vfat is supported by almost any operating system. so we need to get ext4 to fat32.. but how? with emulation (fuse). google specified where and how to mount and where to create symlinks/references to the emulated internal storage for compatibility reasons.
these symlinks/references point to the internal storage. so these are not copies. in summery any of this folders are indirectly linked with /data/media.
if you store a file at /sdcard/ or /mnt/sdcard, and the others you actually store it to /data/media
Gesendet von meinem LG-P880 mit Tapatalk 2
OK thanks for the explanation, but then why it is, that I have about 3 GB in the data/media/0 folder (the actual internal storage) and in total more than 7 GB used? The system itself doesn't require 4 GB of my internal storage, does it?
Sent from my LG-P880
Omario-242 said:
OK thanks for the explanation, but then why it is, that I have about 3 GB in the data/media/0 folder (the actual internal storage) and in total more than 7 GB used? The system itself doesn't require 4 GB of my internal storage, does it?
Sent from my LG-P880
Click to expand...
Click to collapse
With Android Jellybean 4.2 multiple user support was added. Each user get's his own private internal storage and settings. Other users can't access them except with root rights. /data/media/0 defines the private storage for the first user. /sdcard is then the emulated internal storage using /data/media/0, not /data/media. So there must be data that takes 4GB of space directly at /data/media exluding folder 0 that has 3GB of data.
/sdcard/emulated is pointed to private storage for the currently logged in user.
http://android.stackexchange.com/questions/35541/why-did-sdcard-turn-into-sdcard-0-with-4-2

Delete emulated or sdcard 1 ?

Idk which to delete cause having both is killing my storage , they both have the same files , emulated has 2 folders inside 0, and legacy both containing the same files as sdcard1 ? So can I delete one of them
really ? you care about my signature
Emulated is your actual system sdcard
sdcard1 is your external sdcard
Also emulated should be the same as sdcard0
Sent from my MB886 using XDA Premium 4 mobile app
SVLAN said:
Emulated is your actual system sdcard
sdcard1 is your external sdcard
Also emulated should be the same as sdcard0
Sent from my MB886 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So could I delete sdcard 0 without deleting emulated ?
really ? you care about my signature
daltonhrrll said:
So could I delete sdcard 0 without deleting emulated ?
really ? you care about my signature
Click to expand...
Click to collapse
No i will not do that if im you. Just because they are the same files they are just mirrors to the main emulated sdcard located on /emulated/0/
No harm at all to your sdcard space
Sent from my MB886 using XDA Premium 4 mobile app

Categories

Resources