Sorry to repost this question, but I've been banging my head over it for too long! I can access both the internal and external storage through file browsers, but the Android system/apps can't seem to access the external storage. Tried this on CM10, AOKP 10-11, and now AOKP 10-17. Even tried changing from Joker's recovery to TWRP, thinking it had to do with the formatting/mounting. I've tried both SD and EMMC as primary in Option's chooser. Nothing works...
At one pont when going from CM9 to CM10/AOKP I did format /emmc... could that have done something? Also, I notice the new JB mounts the cards to /storage/sdcard0 or sdcard1. If I look in the /mounts folder I see /sdcard (which right now maps to my internal) but no /emmc or any other link to the external storage. Also, when I look in settings-storage, I see the system, "sdcard" (which is internal right now), and "internal storage" (which is my external), but only the first two have details on what types of files (apps/music/pictures/etc). The last partition (my external) is all grey
I've deleted all the .nomedia files, cleared app data in gallery/music/media storage... help!
The storage which u use as a main is called sdcard0 and other well called 1 u should find them in /storage folder not the mount
Sent from my MB855 using xda app-developers app
Related
Hi,
I need to factory reset my phone and have used App List Backup to genereate the list of apps to be restored. However, I cannot find the file and the sdcard folder on my phone is empty.
Anyone able to help me out here? I think I've backed up everything else, but I'd really like to get this file out just in case...
Cheers!
Once you mount your phone, you'll see two mounted drives. The folder 'External_SD' is empty on the 'internal mount'. Select the other drive to see the data.
Have you checked the folder 'data' or 'android'?
Are you rooted? My external SD is always visible in /mnt/emmc Internal is visible as /mnt/sdcard
Longun said:
Are you rooted? My external SD is always visible in /mnt/emmc Internal is visible as /mnt/sdcard
Click to expand...
Click to collapse
Thanks, but it wasn't there. Managed to get the files by removing the sd card and running it again. It then created a folder on the root of the main storage
I recently took the the plunge and flashed my first non-stock ROM. Went with turl's CM9 Kang (v8). I noticed that the mounts are different than stock in regards to the internal storage and my external card. I understand that using emmc for internal and sdcard for external is more "proper", but it now appears that every app that wants to write data is writing out to my external card. Presumably because /mnt/sdcard was the internal storage on stock, but now is not. I noticed a setting under Storage->Storage Configuration called 'Use internal storage'. I found some mention of it in the dev thread, but would like to know what this does. Does it simply flip the mounts so that apps will write data to the internal storage? I would have liked to have just my music, videos, documents, etc. on the external and all the app data internal...otherwise that 11GB is pretty much going to waste? And, yes, I could just try changing the setting (currently off) and rebooting, but I'm not really interested in my apps resetting all their external data again. Looking for enlightenment. As always, thanks in advance.
flash this zip in CWM
ovitz said:
flash this zip in CWM
Click to expand...
Click to collapse
What does this do? You'll have to excuse my hesitation when someone just says" flash this".
If you wanna to use internal memory as primary memory you have to flash this ZIP.
SDcard will be mount as emmc, internal memory will be mount as SDcard (the same like with any Blur rom)
ovitz said:
If you wanna to use internal memory as primary memory you have to flash this ZIP.
SDcard will be mount as emmc, internal memory will be mount as SDcard (the same like with any Blur rom)
Click to expand...
Click to collapse
Is there any program to switch that around?
I have programs that can only access sdcard (e.g. for audiobook listening). I need to place my external sdcard somewhere in the sdcard folder to be able to use it.
I have tried to adjust the vold.fstab, but it won't save the file after adjustment.
Hope you can help. Thanks in advance.
Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
bitbearmi said:
Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
Click to expand...
Click to collapse
Yes I see this as a problem as well. I have looked into the vold.fstab file (where the system looks to see how it should mount partitions) but changing them just makes neither partition mount. I have a feeling that it might be something in the kernel but I will keep digging around.
Also if someone does figure it out how do you prefer them to be mounted? Internal as /emmc and external as /sdcard? Internal as /sdcard/int_sd and external as /sdcard? Maybe something else?
I guess it would depend how the apps and the kernel handle it, which of course, would vary with a custom ROM. Early builds of CM9 for the MoPho alternated back and forth, but there is also an option to swap what is internal and external as well. When it wasn't mounting at all, you could edit the vold.fstab, which would be my first inclination, so thanks for saving me that step!
I think, from most implementations I've seen, when a device has internal and external storage its been mounted as /mnt/emmc and /mnt/sdcard. Its like that on most of the custom ROMs I've used (on Nook, OG EVO, Hero, MoPho).
..rob
Im really lost on the whole external sd thing. I just want to be able to have my apps on there but android has made it seemingly impossible to do so anymore. Is there a write up or something on how this can be done with todays ICS?
Sent from my EVO using xda premium
Hi everyone.
After some snafu while trying to update Gapps to the latest package, which wrecked my phone ;
I re-flashed the ROM (CM11.0 from Maclaw's), doing full wipe of dalvik/cache/data/system. I reinstalled the previously working Gapps package.
Everything is working fine, but the way the storages are mounted is not correct. For instance, Gallery won't display pictures from the external sdcard.
Yet, if I use file manager, I can access it, and all my personal files are still there. When connecting to the PC, internal storage takes me to the actual internal storage being used by the phone but external storage appears empty.
/sdcard points to /storage/emulated/legacy it contains my old files from before flashing anew.
tree of /storage :
/storage
---/emulated
------/0 <-- this seems to be the same folder as legacy
------/clockworkmod <-- never mind, it's just there, empty. A remnant of my previous recovery
------/legacy
------/obb <-- empty
---/sdcard0 <-- redirects to /storage/emulated/legacy
---/sdcard1 <-- external sdcard
I hope I'm being clear enough. Basically, external sdcard doesn't seem to get mounted at a correct place which would allow apps to read from it.
While in recovery, if I go to the file manager,
external sd card is mounted in /external_sd
/sdcard is the internal storage
/data/media is the same as /storage/emulated as before. ./0 is populated, ./legacy is not.
So, basically, I should find a way to mount the external card to /data/media right?
Edit : I kept trying stuff. I created a folder from my PC on the apparently empty sd card, and put a photo in it. It displays in the gallery, and the folder is at the root of the sd card, just like every other folder that are not detected by either my phone and PC. The hell is that about?
After updating to a new ROM (revolt), my SD card is mounting as "sdcard1" instead of "sdcard0" (according to the file manager). The problem is that apps don't recognize that an SD card exists. When I open the camera, for example, it immediately quits saying that there is no storage and I should insert an SD card. Many other apps respond the same way.
What can I do to either get my SD card back to mounting as sdcard0 or change where apps look for an SD card?
Thanks!
zephyrcat said:
After updating to a new ROM (revolt), my SD card is mounting as "sdcard1" instead of "sdcard0" (according to the file manager). The problem is that apps don't recognize that an SD card exists. When I open the camera, for example, it immediately quits saying that there is no storage and I should insert an SD card. Many other apps respond the same way.
What can I do to either get my SD card back to mounting as sdcard0 or change where apps look for an SD card?
Thanks!
Click to expand...
Click to collapse
Actually, the Rezound default is sdcard0 is internal storage and sdcard1 is the external card. I am not familiar with that ROM but some JellyBean ROMs switched them (not purposely, it was a JB thing). But if you are using the stuff included with the ROM it should all work, you could also look at the symbolic link for /sdcard and see if it is pointing to /storage/sdcard0 or /storage/sdcard1 (might be to /mnt/xxx instead of storage), the exact and switch it there.
Are you restoring apps with TiBu or something similar, this layout may be different than the backed up one, you might need to reinstall everything from the Play Store to get it work properly, the ROM should be OK itself.
Yeah, anything 4.3 based has the cards switched.
Sent from my Rezound using Tapatalk
Thanks for the replies.
Both apps that came with the ROM (i.e. the built in camera app) and apps from the play store have trouble finding the SD card. This is where the symlinks point:
Code:
[email protected]:/ $ ls -l | grep sdcard
lrwxrwxrwx root root 2014-01-03 14:31 external_sd -> /storage/sdcard1
lrwxrwxrwx root root 2014-01-03 14:31 sdcard -> /storage/sdcard0
d---r-x--- root sdcard_r 2014-01-03 14:31 storage
Is this correct or should they be switched?
Maybe I should just find another ROM...
zephyrcat said:
Thanks for the replies.
Both apps that came with the ROM (i.e. the built in camera app) and apps from the play store have trouble finding the SD card. This is where the symlinks point:
Code:
[email protected]:/ $ ls -l | grep sdcard
lrwxrwxrwx root root 2014-01-03 14:31 external_sd -> /storage/sdcard1
lrwxrwxrwx root root 2014-01-03 14:31 sdcard -> /storage/sdcard0
d---r-x--- root sdcard_r 2014-01-03 14:31 storage
Is this correct or should they be switched?
Maybe I should just find another ROM...
Click to expand...
Click to collapse
It looks correct... I would try Tachyon or LiquidSmooth and see if you still have issues.
Sent from my Nexus 4 using Tapatalk
acejavelin said:
It looks correct... I would try Tachyon or LiquidSmooth and see if you still have issues.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I just switched over to Tachyon. Still having the same trouble. Built in camera app says no external storage available and crashes... Are there any other possible causes? I've checked that the microsd card is properly seated in its spot...
By the way, under Settings > Storage, I can see the SD card including it's capacity and free space. I can also successfully unmount and remount the SD card from there. Still doesn't help with the apps, though.
Thanks!
zephyrcat said:
I just switched over to Tachyon. Still having the same trouble. Built in camera app says no external storage available and crashes... Are there any other possible causes? I've checked that the microsd card is properly seated in its spot...
By the way, under Settings > Storage, I can see the SD card including it's capacity and free space. I can also successfully unmount and remount the SD card from there. Still doesn't help with the apps, though.
Thanks!
Click to expand...
Click to collapse
What about the internal storage, does it show up in Storage twice? In JB ROMs there should be a section in Settings->Storage at the top labeled "Internal Storage" 2.34GB (this is where apps go when installed), then a little farther down "SD Card" xx.xxGB depending on card size (this is the external SD), then farther down yet there is another section labeled "Internal Storage" 10.48GB (this is the actual internal storage or sdcard0).
If not, you lost your internal storage, try reformatting it in recovery, reformatting in Windows Disk Manager, or repartition the internal storage with CWM/TWRP... last resort, run an official RUU (the exe version, not the flashable ZIP ones).
acejavelin said:
What about the internal storage, does it show up in Storage twice? In JB ROMs there should be a section in Settings->Storage at the top labeled "Internal Storage" 2.34GB (this is where apps go when installed), then a little farther down "SD Card" xx.xxGB depending on card size (this is the external SD), then farther down yet there is another section labeled "Internal Storage" 10.48GB (this is the actual internal storage or sdcard0).
If not, you lost your internal storage, try reformatting it in recovery, reformatting in Windows Disk Manager, or repartition the internal storage with CWM/TWRP... last resort, run an official RUU (the exe version, not the flashable ZIP ones).
Click to expand...
Click to collapse
Ahh... that would seem to be the problem. Or at least a problem.
I'm not sure how to fix it, though. TWRP says it can't mount the internal storage (and, thus, cannot wipe it). How else can I go about wiping it?
Thanks again for all the help!
In these situations i start from scratch. Lol. But that's just me.
Sent from my Rezound on Tachyon using Tapatalk
abby_nitewolf said:
In these situations i start from scratch. Lol. But that's just me.
Sent from my Rezound on Tachyon using Tapatalk
Click to expand...
Click to collapse
I don't mind starting from scratch. I don't have anything important on my SD card that isn't backed up. I'm not sure how to go about wiping the SD card, though. Neither Android nor TWRP recognizes the SD card, so I can't wipe it. Do I need to switch to a different recovery or something?
Thanks again!