• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Trying to figure out something in internal file storage.

nitramus

Well-Known Member
Apr 17, 2011
166
6
gatineau canada
I'm used to my old htc desire with external storage and am finding things a bit odd/trying to figure out something.
When I open my file explorer (es file explorer) it auto points me to "device/sdcard" folder.
Using quickpic it auto points me to the "0" folder and PowerAmp shows me both "0" and "legacy" folders
Playing around I found that folder in point 1 mentioned lower points to "device/storage/emulated". In this emulated folder I have folder "0" and foder "legacy". In this "storage I also have "sdcard0" folder with the same arrow for shortcuts.

1----/device/sdcard
2----/device/storage
3----/device/storage/emulated
3.1--/device/emulated/0
3.2--/device/emulated/legacy
4----/device/storage/sdcard

Both "sdcard" folders have the icon with the shortcut arrow.
I noticed the "legacy" folder from the start but never saw the "0" folder. I presume everything is pointing to the legacy folder.
Any changes I make are mirrored in all the other folders so I know it is all the same thing and when I look at the used and free space in the setting/apps everyting adds up fine like there is only one folder.

Now my question is why all those folders and can any be deleted without causing any problem like points 3.1 and 4 mentioned higher.
I know that not all apps work the same but like you can understand I am a bit confused about all this.
 
They also changed something either with 4.4 or the N5 that if you open up internal storage from your PC, you will have another "storage" folder inside. This folder might not show anything but it's actually YOUR storage. Kind of stupid as they've never done this before. The only thing that showed up in mine was my Titanium Backups. I deleted those backups and it essentially deleted my entire internal storage. So be careful.
 
Upvote 0
I'm used to my old htc desire with external storage and am finding things a bit odd/trying to figure out something.
When I open my file explorer (es file explorer) it auto points me to "device/sdcard" folder.
Using quickpic it auto points me to the "0" folder and PowerAmp shows me both "0" and "legacy" folders
Playing around I found that folder in point 1 mentioned lower points to "device/storage/emulated". In this emulated folder I have folder "0" and foder "legacy". In this "storage I also have "sdcard0" folder with the same arrow for shortcuts.

1----/device/sdcard
2----/device/storage
3----/device/storage/emulated
3.1--/device/emulated/0
3.2--/device/emulated/legacy
4----/device/storage/sdcard

Both "sdcard" folders have the icon with the shortcut arrow.
I noticed the "legacy" folder from the start but never saw the "0" folder. I presume everything is pointing to the legacy folder.
Any changes I make are mirrored in all the other folders so I know it is all the same thing and when I look at the used and free space in the setting/apps everyting adds up fine like there is only one folder.

Now my question is why all those folders and can any be deleted without causing any problem like points 3.1 and 4 mentioned higher.
I know that not all apps work the same but like you can understand I am a bit confused about all this.

Those are what in Linux are called symlinks (like shortcuts in Windows) that various system apps in Android are using.. Leave them alone. Basically, just use the first one in you file manager for all your file operations. Same with apps like Power Amp, uncheck all other paths and use SDcard.

They also changed something either with 4.4 or the N5 that if you open up internal storage from your PC, you will have another "storage" folder inside. This folder might not show anything but it's actually YOUR storage. Kind of stupid as they've never done this before. The only thing that showed up in mine was my Titanium Backups. I deleted those backups and it essentially deleted my entire internal storage. So be careful.

If you are connected to a PC with MTP protocol and your computer has a proper MTP driver, you should see all your folders on \SDCARD when you open up internal storage. At least that's how it works here. Sounds like you might be connecting using PTP rather than MTP or you need an MTP driver on your PC, I'm not sure.
 
Upvote 0
I just bought the Nexus 5 and installed ES File Explorer, and have a similar experience with multiple similar files, and emulated, and SD0, etc.

ES picked it's default home directory as /sdcard, so I'm thinking that this is the "active" directory and should keep everything as a subfolder of this one. Do I understand properly?

Now, ES says that the download path is /storage/emulated/0/download.. I'm using the Chrome browser and Gmail, so is it possible? should I? change the default download folder to one under the /sdcard? And then make changes in Chrome and Gmail?

TIA
 
Upvote 0
I just bought the Nexus 5 and installed ES File Explorer, and have a similar experience with multiple similar files, and emulated, and SD0, etc.

ES picked it's default home directory as /sdcard, so I'm thinking that this is the "active" directory and should keep everything as a subfolder of this one. Do I understand properly?

Now, ES says that the download path is /storage/emulated/0/download.. I'm using the Chrome browser and Gmail, so is it possible? should I? change the default download folder to one under the /sdcard? And then make changes in Chrome and Gmail?

TIA
Leave everything the way it is. You do not have duplicate files. Those different parts leading to the same files are what in Linux are called symlinks. Think of them like shortcuts in Windows, alright that's too simplistic. They are all there to allow different programs to find your days.

Bottom line, those are not duplicate files. Those are different pointers to the same files!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones