I've got an s7 edge running 8.0.0
In file explorer my internal storage is shown as storage/emulated/0
What does this mean? Is it cause I don't have an sd card in the phone?
Thanks to anyone who can help
greggins said:
I've got an s7 edge running 8.0.0
In file explorer my internal storage is shown as storage/emulated/0
What does this mean? Is it cause I don't have an sd card in the phone?
Thanks to anyone who can help
Click to expand...
Click to collapse
Internal storage goes by different symbolic name tag, it is storage/emulated/0 as emulated/virtual filesystem, not the actual one or /sdcard as a symlink or /data/media/storage as actual path to files.
Hi thanks for replying.... So in layman's terms, that means everything is normal and it's just another way of saying internal storage?
Exactly
Related
Ok, I was trying to place some .zip files on my internal memory root for storage purposes. I used root explorer, changed to r/w created a folder (/storage) and put the files there. When I restarted my phone they were gone. What happened? Is there a reason this shouldn't work.
Hello, my name is LanternsLight456 and I'm a crackflasher...
lanternslight456 said:
Ok, I was trying to place some .zip files on my internal memory root for storage purposes. I used root explorer, changed to r/w created a folder (/storage) and put the files there. When I restarted my phone they were gone. What happened? Is there a reason this shouldn't work.
Hello, my name is LanternsLight456 and I'm a crackflasher...
Click to expand...
Click to collapse
The internal storage is checked during every startup for integrity just in case something is wrong from last shutdown... The best bet is to put your files to /data folder if you must put stuff in the internal storage (not recommended)..
Don't create your own folders, it will be removed by the integrity checking...
SDCard is still the best location for putting ALL user data
I suspected as much but wasn't too sure, thanks faux
Hello, my name is LanternsLight456 and I'm a crackflasher...
faux123 said:
The internal storage is checked during every startup for integrity just in case something is wrong from last shutdown... The best bet is to put your files to /data folder if you must put stuff in the internal storage (not recommended)..
Don't create your own folders, it will be removed by the integrity checking...
SDCard is still the best location for putting ALL user data
Click to expand...
Click to collapse
Thank you I also had wondered this, totally abandoning the idea now, WOOT WOOT West L.A.
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
VuDuCuRSe said:
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
Click to expand...
Click to collapse
Well this is known for a while now . Quoted from my thread here:
vold.fstab - CHANGE THE DEFAULT SDCARD: -thanks to julle131
There is this file named vold.fstab at your /system/etc/ folder, which controls which of your sdcards (Internal/External) will be mounted when you connect your phone to the PC. The last 2 lines are the only that matter. These are the two possibilities:
EXTERNAL SDCARD MOUNTED (DEFAULT):
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.4/mmc_host
dev_mount emmc /mnt/sdcard1 14 /devices/platform/msm_sdcc.2/mmc_host
INTERNAL SDCARD MOUNTED:
dev_mount sdcard /mnt/sdcard 14 /devices/platform/msm_sdcc.2/mmc_host
dev_mount emmc /mnt/sdcard1 auto /devices/platform/msm_sdcc.4/mmc_host
change them as you wish with a root explorer or before flashing.
Click to expand...
Click to collapse
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
spirosbond said:
Well this is known for a while now . Quoted from my thread here:
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
Click to expand...
Click to collapse
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
mrasquinho said:
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Oh I see! Sorry about that. As far as I know apps are not choosing were to put their data. They just say to the OS "I want these things to be at the sdcard" and the OS puts them at the correct place. So you can't "hack" the app to "see" at somewhere else. On the other hand the OS initialises on boot which card is the primary and which is the secondary. So my knowledge stops there and I can't imagine a way to make this separation between app data and the rest...
I hope for someone else's help!
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
Maybe this cannot be done, because I think that the mapping of the partitions and mounts comes from the bootloader, but there is already the solution of resizing the data partition using the space of internal storage.
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
That's a great idea!
I almost don't use the so called "internal sd card", therefor I have 2GB of fast empty space being wasted.
Why not simply mounting the internal sd-card partition in the data folder and the data partition on the internal sd card folder?
I only use the internal sd card to hold ringtones and other small stuff that I need to be in accessible 100% of the time, so a few hundred MB are enough!
Me gusta!
Every ROM flashes it's own fstab, right?
So all we'd need to do would be, editing the fstab before flashing it.
-----------------
Regarding the my first idea... I don't think one can simply mount a path on another path. We'd need a "virtual" device pointing to /mnt/sdcard-internal/data/ then mount that virtual device on /mnt/sdcard-external/data/.
My knowledge of unix mount/filesystems is not much more than what's explained here: https://help.ubuntu.com/community/Mount
OK, just found this:
http://askubuntu.com/questions/11079/mount-a-directory-to-look-like-a-drive
there is a FUSE filesystem named bindfs that probably does exactly what you want. For example the following:
bindfs -n /media/USB-HDD-01/ISO/ /home/johnc/ISO-images
Click to expand...
Click to collapse
would result in ISO-images to show up as a mounted filesystem in the Places sidepanel in Nautilus. The -n is required because otherwise bindfs tries to use the allow_other FUSE option, which by default is not allowed for regular users (if you use bindfs in /etc/fstab this is not a problem).
The first directory you give is the existing one, the second directory you give is an empty directory under which the contents of the existing one will appear.
Click to expand...
Click to collapse
So, bindfs depends on FUSE... and there's a port of fuse to android: https://github.com/seth-hg/fuse-android but looking at the README I get the feeling that it's not really working. The last step would be having a kernel with FUSE support... and regarding that, I have no idea, how easy it is to get a kernel like that for our U8800 :\
Finding such a solution to expand the DATA partition indirectly would be great!
I used to apply genokolar's custom partition method as "1.2G DATA + 1.46G INTERNAL SD" before, but i found out that it has some issues with Official 2.3 Roms. One of them -the most important IMHO- is the BOOTLOOP problem occurring in some specific situations!!!
See the details in my post here:
http://forum.xda-developers.com/showpost.php?p=25853141&postcount=134
(Seems that I don't encounter the bootloops on Custom Roms, but i'm not %100 sure and never will be )
So i unfortunately gave up using it, and revert to the stock partition .
I will be grateful to the one who will find a better and reliable solution. Hope to see it soon...
I still have to gather more information on the official update "modus operandi".
My goal is to simply reformat both partitions and then swap their mount points.
If the official update formats the partitions before applying the flashing official ROM files, then partitioning changes shouldn't cause any failure on the official update.
But like I said, I'm still yet to confirm that info.
Gen's idea was great (I learned a lot just by looking at his scripts) but resizing partitions has its dangers.
Since "no one" really uses the internal memory, why not simply exchange its room with /data, right?
This would be awesome! I would love to have 2gb for apps, instead of cluttering my phone.. plus the 2gb of internal storage are just a waste for me.. I never use them.. so this would be great!
Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
TrofeoSC said:
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
Click to expand...
Click to collapse
Thanks, but I already looked into that. It won't work for this unfortunately.
Please read forum rules before posting
Questions and help issues go in Q&A and help
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Ingenium13 said:
Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Click to expand...
Click to collapse
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
screwdestiny said:
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
Click to expand...
Click to collapse
Thanks, but I've already tried it and it won't work for this situation.
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Firsh said:
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Click to expand...
Click to collapse
Any updates to your solution? Does this still work?
Hello!
These days I switched from Galaxy S2 to S4.
Now some apps like Whatsapp want to access sdcard0 to display the pictures from the chats.
The path from the database looks like this: /storage/sdcard0/WhatsApp/Media/Whatsapp Images/IMG-20141111-WA0001.jpg
But mnt/media_rw/sdcard0 or storage/sdcard0 has permissions rwx------ with no content of the internal SD.
The internal SD is linked to "mnt/sdcard" with permissions rwxrwxrwx.
Any idea how to fix the access problem between sdcard0 to internal SD???
Best regards
Frank
franklin84 said:
Hello!
These days I switched from Galaxy S2 to S4.
Now some apps like Whatsapp want to access sdcard0 to display the pictures from the chats.
The path from the database looks like this: /storage/sdcard0/WhatsApp/Media/Whatsapp Images/IMG-20141111-WA0001.jpg
But mnt/media_rw/sdcard0 or storage/sdcard0 has permissions rwx------ with no content of the internal SD.
The internal SD is linked to "mnt/sdcard" with permissions rwxrwxrwx.
Any idea how to fix the access problem between sdcard0 to internal SD???
Best regards
Frank
Click to expand...
Click to collapse
sdcard0 is your internal memory.
sdcard1 is your external memory (the actual micro sd card you bought or got with the phone).
That's how ES File Explorer shows it to me.
I have the same permissions you mentioned. What exactly is your problem?
Hi!
Sry, perhaps my english is nor very good...
My problem is, that Whatsapp will access the internal SD by sdcard0, but sdcard0 is empty or inaccessable!
CM 12 uses instead sdcard, not sdcard0
My Galaxy S2 has different permissions on sdcard0, can I change it permanently on CM12??? How??
franklin84 said:
Hi!
Sry, perhaps my english is nor very good...
My problem is, that Whatsapp will access the internal SD by sdcard0, but sdcard0 is empty or inaccessable!
CM 12 uses instead sdcard, not sdcard0
My Galaxy S2 has different permissions on sdcard0, can I change it permanently on CM12??? How??
Click to expand...
Click to collapse
So you're saying that you get errors from whatsapp?
I've used CM12 or rom based on CM12 and CM12.1 and haven't had any issues with apps accessing the sdcard, internal or external.
Yes, the App works, but can't display sent and received pictures from the last time...
I see only a blurred preview because of the sdcard0 directory problem...
I see. Do you have problems with other apps that need access to the internal memory?
I don't know what the problem could be, but one way to solve it is to try a different rom
I don't know exactly. My Phone isn't completely prepared....
I hab more problems to use the external SD, for example the camera app
Hi All,
I have an issue and im stuck. I have an SD inserted and used as internal, however the Android internal file system does not show up in the File Explorer apps or in Linux Mint when connected with USB. All that shows up is the SD CARD in both scenarios when browsing the File System on the mobile or through USB.
Moto G7 XT-1962-4 rooted
Latest Security patch manually flashed with fastboot
Any help would be much appreciated
What about Settings > Storage? Is internal storage show up there?
WoKoschekk said:
What about Settings > Storage? Is internal storage show up there?
Click to expand...
Click to collapse
yes it shows up there. not able to browse the file system. any assistance would help thanks.
Via PC, u can only view internal and and external sd card data. U have to use root explorer app in Android or TWRP to view system files