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
Related
Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
tommyhui said:
Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
Click to expand...
Click to collapse
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
tknguyencsu said:
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
Click to expand...
Click to collapse
Yes
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Mokubai said:
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Click to expand...
Click to collapse
I have tried to do this by editing the "vold.fstab" file in the etc folder. However I have not been successful. I can only switch between the internal and external sdcard.
Each time I failed I have to recopy the original vold.fstab file before the Note working again if I am lucky. Most of the time I have to reflash the rom again. You can get some information from the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753
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
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
Hi all,
Just got me an Xperia T, very happy with it.
Only thing I am having trouble understanding is how the file system works, please let me try and explain.
I have a 16gb micro SD card in the device and it also has 16gb of internal storage.
When I mount the device to windows it shows two drives (Internal Storage and SD Card), now these are pretty obvious as to which each one is.
Now my quandary: When I use astro file manager to browse the phone the file system is different (in fact pretty much the opposite).
The micro SD card shows up as "ext_card" and the internal storage (I think) shows up as "sdcard" and then there is another folder called "int_storage" that is empty.
Is this correct?
Could someone please clarify this for me?
Thanks,
Dave
Yes, this is the way it's supposed to be.
When you connect to the PC using MTP, you mount SDcard and ext_card from mnt.
Sent from my elegant Xperia™ Ion using xda premium app.
Cheers for the super fast response!
I thought that was how it was working but it was just a little confusing since it swaps around the name of each drive when plugged into windows.
Thanks again.
The way the T handles internal storage is a little odd...
Older devices have the "internal SD" formatted as FAT32.
Newer Android devices have this trick called emulated storage, where a FUSE module does special permissions magic to allow /data/media (on an ext4 system) to be mounted to /sdcard
The T is a little odd in that instead of using /data/media, it has int_storage or something like that, which is then remapped via FUSE to /sdcard. It's the only device I know of to have the internal SD formatted as ext4 but not "unified" internal storage (e.g. /sdcard is just a directory under /data)
Didn't really understand any of that.
But it's nice to know that I was right and it does handle the storage a little strangely (I deduced that much from your post at least).
Hello,
All is in the title. UMS is not working, that's a fact, but where does it come from ? A kernel issue ? I doubt else CM10 team or Kholk would have been able to make it working.
Thank you for your answers
UMS requires several things, like a physical partition.
our internal storage isnt a physical partition - its located at the /data partition in the folder media.
we could only tell to UMS to use the whole data partition but thats not what we want cause we would see our whole data partition as mass storage device and also it would use the ext4 filesystem and not fat32. ext4 is only natively supported by linux distributions and not by windows or mac osx (you would need additional ext4 drivers).
now you say /sdcard actually looks like a physical partition, but thats not true. /data/media (internal storage; ext4) can be emulated to /sdcard (fat32) with FUSE but because its not a physical partition (block special/device) it cant work with UMS.
gordon0001 said:
UMS requires several things, like a physical partition.
our internal storage isnt a physical partition - its located at the /data partition in the folder media.
we could only tell to UMS to use the whole data partition but thats not what we want cause we would see our whole data partition as mass storage device and also it would use the ext4 filesystem and not fat32. ext4 is only natively supported by linux distributions and not by windows or mac osx (you would need additional ext4 drivers).
now you say /sdcard actually looks like a physical partition, but thats not true. /data/media (internal storage; ext4) can be emulated to /sdcard (fat32) with FUSE but because its not a physical partition (block special/device) it cant work with UMS.
Click to expand...
Click to collapse
Damn, so we have to use MTP and PTP protocol. On linux what tool do you suggest? I don't have windows on my pc. It looks a bit uncomfortable for me...
Neither with external sdcard we can have UMS?
external sdcard would work fine without problems.
developers just need to support it.
Gesendet von meinem LG-P880 mit Tapatalk 4 Beta
Thank you Gordon001 (clicked on 'thank you').
I have been circonspect when came the time of emulated layout MTP is slow on my side, and UMS was really easy to use.
My main concern is i'm not able to make DriveDroid working. I think it was the lack of UMS, but it seems i'm wrong, because DriveDroid is implementing is own layer on its media img/iso. Do you have experience on DriveDroid ? (CM10.2 for me).
There was an app somewhere to enable UMS on the O4X... wait... Ah, here it is: USB Mass Storage App for the LG Optimus 4X. Didn't try it yet, as I mostly stick to ADB
yes, indeed, but it is not compatible with CM10.2