So I'm coming from the Evo LTE and file folders seem to be in a different place... I was hoping someone could explain it to me.
I'm rooted and using astro:
If I back out all the way I'm in My files (root?)
There are folders here called "sdcard" and "storage"
If I go into "storage" I see the following directories:
emulated
extsdcard
sdcard0
usbdrivea
usbdriveb
usbdrivec
usbdrived
usbdrivee
usbdrivef
programs seem to install themselves into both "sdcard" but also into any subfolder of "storage" (excluding extsdcard.. which I've determined is my actual sd card). I can't seem to figure out the rhythm or reason behind this
The reason all this is brought to my attention is I just emailed myself an apk which I saved from the gmail app... now I can't find where it saved it to
Thanks in advance for any help!
There are symlinks all over the place, some of it relates to multi-user capability (mainly for tablets). Here's how I understand it.
/storage/UsbDrive[A-F] - These are for when you hook up your device to a OTG cable/dongle, which allows you to connect USB flash drives or USB hard drives to your phone.
/storage/extSdCard - This is your external SD card.
/storage/emulated/legacy - This structure is linked for backwards compatibility to different locations (/mnt/shell/emulated/0). This is actually your internal SD card.
/storage/sdcard0 - This is your internal SD card - symlinked to /storage/emulated/legacy.
You may also be familiar with:
/sdcard - This is your internal SD card - symlinked to /storage/emulated/legacy.
You may also see a "0" in there -- that means user "0", which is the primary user of the phone. Additional users will only see their own SD card items and would be labeled "1", "2", "3", etc.
Using the "old" Android naming conventions, I access my SD cards as follows:
Internal SD card - /mnt/sdcard (or just /sdcard)
External SD card - /mnt/extSdCard
To answer your question -- I believe Gmail saves your attachments to the "Download" directory, which should be at /mnt/sdcard/Download.
Hope this helps!
pdappcgeek said:
So I'm coming from the Evo LTE and file folders seem to be in a different place... I was hoping someone could explain it to me.
I'm rooted and using astro:
If I back out all the way I'm in My files (root?)
There are folders here called "sdcard" and "storage"
If I go into "storage" I see the following directories:
emulated
extsdcard
sdcard0
usbdrivea
usbdriveb
usbdrivec
usbdrived
usbdrivee
usbdrivef
programs seem to install themselves into both "sdcard" but also into a subfolder of "storage" (excluding extsdcard). I can't seem to figure out the rhythm or reason behind this
The reason all this is brought to my attention is I just emailed myself an apk which I saved from the gmail app... now I can't find where it saved it to
Thanks in advance for any help!
Click to expand...
Click to collapse
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Related
I (along with other people) find it weird that Asus chose to mount the sdcard to /Removable/MicroSD instead of the traditional /mnt/sdcard.
I would like Titanium Backup to store the files on my sdcard instead of the internal memory, but the problem is that TI only checks the /mnt/sdcard directory. So in my infinite geek knowledge I had the idea to symlink /Removable/MicroSD/TitaniumBackup to /mnt/sdcard/TitaniumBackup. The problem is that FAT32 doesn't support symlinks, so I formatted the sdcard to NTFS and popped it back in but it wouldn't mount it, which I realized was because it doesn't have the NTFS modules. So I popped it back out and formatted it as ext2, but it still wouldn't mount automatically and I couldn't mount it manually because I didn't know what the device name was.
Anyone have any solutions?
You can try ask the developer of TitaniumBackup to include support for asus TF.
Obviously I already did that but I'm looking for a fix on my end.
As with most other tablets, the internal SD is mounted to mnt/sdcard so external SD has to be mounted elsewhere.
As far as TB goes, you can choose where to store backups. Have currently got it setup to backup to Removable/MicroSD/TitaniumBackup
EDIT: If you go into TB preferences menu, scroll down to Backup folder location, then press the Back icon (the system one) to get back to the root folder. Then you can choose the Removable/MicroSD/ folder. Click on "create a new folder", call it what you want, then open that folder. Click the "Use current folder" button and there you go...Backup folder on external SD!
Took me a while to realise that the back icon took you back up the folder tree, rather than closing the folder location window!
It would be nice if we could get a custom mount script or something that would mount the sdcard to something like /mnt/sdcard/music. I'd love to have my music synced to card and everything else stored internally...
fisha21 said:
EDIT: If you go into TB preferences menu, scroll down to Backup folder location, then press the Back icon (the system one) to get back to the root folder. Then you can choose the Removable/MicroSD/ folder. Click on "create a new folder", call it what you want, then open that folder. Click the "Use current folder" button and there you go...Backup folder on external SD!
Took me a while to realise that the back icon took you back up the folder tree, rather than closing the folder location window!
Click to expand...
Click to collapse
Thanks! Thats what I needed to know, I was thinking its kind of stupid that they only have a "detect" button.
brando56894 said:
I (along with other people) find it weird that Asus chose to mount the sdcard to /Removable/MicroSD instead of the traditional /mnt/sdcard.
I would like Titanium Backup to store the files on my sdcard instead of the internal memory, but the problem is that TI only checks the /mnt/sdcard directory. So in my infinite geek knowledge I had the idea to symlink /Removable/MicroSD/TitaniumBackup to /mnt/sdcard/TitaniumBackup. The problem is that FAT32 doesn't support symlinks, so I formatted the sdcard to NTFS and popped it back in but it wouldn't mount it, which I realized was because it doesn't have the NTFS modules. So I popped it back out and formatted it as ext2, but it still wouldn't mount automatically and I couldn't mount it manually because I didn't know what the device name was.
Anyone have any solutions?
Click to expand...
Click to collapse
What? You're doing it backwards!
If TI is writing to /mnt/sdcard/TitaniumBackup, but you want it to write to /Removable/MicroSD/TitaniumBackup instead, then /mnt/sdcard/TitaniumBackup should be the symlink, pointing to a directory on the SD card!
The target's filesystem doesn't matter (fat32), only the source's (i.e. ext4 on the internal storage).
Good catch, either way it doesn't matter now because I don't need symlinks since I know how to do it in TB now.
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?
Thank Blefish first ,with your contribution to U8800 ,so we users can enjoy the Kitkat.
I have learned that Kitkat will forbid app create file/folder in ext-SD root directory,instead apps can only created their data in /Sdcad/Android.So my Sdcard directory will be tidy.
When I installed Blefish 0516 edition,I found the feature didn't work.
And I found in dir ./storage , ext-SD was mounted as Sdcard0 while the internal storage was mounted as Sdcard1.I think the irregular mounted sequence between ext-Sd and internal storage is the reason why the feature didn't work.
And I didn't found vold.fstab in ./system/etc , so I can't edit it to change the mount seq.
Dear Blefish guru,I am looking for your help~
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Blefish said:
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Click to expand...
Click to collapse
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
zhuld.lord said:
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
Click to expand...
Click to collapse
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually): http://source.android.com/devices/tech/storage/config-example.html
Blefish said:
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually):
Click to expand...
Click to collapse
Thanks for so detailed reply.
But I still don't understand how to enforce write permission.As a perfectionist , I really don't want to see so many folders created by third-party apps in my ext-SD.
If it is convenient for you,could you inform me the way to enable the write permission in your rom? :fingers-crossed:
Hello all I recently installed XInternalSD from xposed app. Before I did this if I opened Root Explorer and clicked the /sdcard path it would show the files on the internal memory. Now it links to emulated/storage/legacy which is blank and only 900MB in size. Is that correct? I swear it's not.
/storage/emulated/0 shows my internal files just fine, and extSDcard shows the files on my external SD card just fine.
The main reason for this thread is my Titanium backup is failing now because the backup location is set to /storage/emulated/legacy/TitaniumBackup and it says there isnt enough free space. This process worked fine before I installed XInternalSD. I can set it to my external SD card I suppose, but read somewhere that post Android 4.2 it should point to legacy.
I am running CM 10.2.1, Android 4.3.1.
Anyone have any experience or advice?
Can anyone tell me the folder path (from ROOT) for the external SD Card? I only ask as I can't seem to locate it in Root Explorer or Titanium Backup. I'm going to be backing it up and don't want to put it on internal storage for obvious reasons.
I looked in:
/mnt (including subfolder /sdcard)
/storage
Both are internal.
I have a feeling that it may not be showing for some reason. TB was pointing to /storage/emulated/0 (internal), but I changed preferences and got it to point to [External Storage]/TitaniumBackup (which is correct). I had to change my "Storage Provider" to "DocumentProvider Storage" in order to enable TB to backup there. Root Explorer still won't allow this.
If I have to do something special to Root Explorer to get it showing, please let me know. Perhaps this is something that changed with Marshmallow?
/mnt/media_rw/
Sent from my HTC6545LVW using XDA-Developers mobile app
So strange... but thank you, there is a folder under there with the contents.