[Q] Internal storage not recognized? - Galaxy S II Q&A, Help & Troubleshooting

I recently flashed CarbonROM (JB-NIGHTLY-20130929-0257-i9100) and haven't been able to use the camera app, music apps, etc due to "No external storage available" errors. Right now my file structure has /storage/sdcard0, /storage/sdcard1, and /storage/usbdisk0. My external SD card (32GB) is being recognized as sdcard1, and works fine. However, my sdcard0 is completely empty, and in CWM I'm unable to mount sdcard0. If it helps, everything else, like /acct, /cache, /config, /data and others, are still there. Any idea what's going on? I'm still new to this, but haven't come across this problem before. Did I royally screw up?

stastos said:
I recently flashed CarbonROM (JB-NIGHTLY-20130929-0257-i9100) and haven't been able to use the camera app, music apps, etc due to "No external storage available" errors. Right now my file structure has /storage/sdcard0, /storage/sdcard1, and /storage/usbdisk0. My external SD card (32GB) is being recognized as sdcard1, and works fine. However, my sdcard0 is completely empty, and in CWM I'm unable to mount sdcard0. If it helps, everything else, like /acct, /cache, /config, /data and others, are still there. Any idea what's going on? I'm still new to this, but haven't come across this problem before. Did I royally screw up?
Click to expand...
Click to collapse
It might be rom related, ask on the carbon thread. Try flashing stock and try the rom again.

stastos said:
I recently flashed CarbonROM (JB-NIGHTLY-20130929-0257-i9100) and haven't been able to use the camera app, music apps, etc due to "No external storage available" errors. Right now my file structure has /storage/sdcard0, /storage/sdcard1, and /storage/usbdisk0. My external SD card (32GB) is being recognized as sdcard1, and works fine. However, my sdcard0 is completely empty, and in CWM I'm unable to mount sdcard0. If it helps, everything else, like /acct, /cache, /config, /data and others, are still there. Any idea what's going on? I'm still new to this, but haven't come across this problem before. Did I royally screw up?
Click to expand...
Click to collapse
Try flashing dorimanx 9.43v kernel http://forum.xda-developers.com/showthread.php?t=2415759

SOLVED
Formatted /data, then formatted /sdcard0, then wiped, flashed new rom, and it's all peachy now. Guess I was too afraid to format anything that it was holding me back. Thanks xda.

Related

SD Card missing?

This is not an invitation to flaming, as I am under the impression that several people have tha same problem, so I will try to gather solution/suggestions here. I have the problem when trying out the new 4.0.4. ROMs, every single one of them are missing the capability to access the external SD card - rather unfortunate since I use it to store music, to back up with Titanium Backup and back up SMS, among other things. And yes, I have wiped, I have run the kernel cleaning script and wiped again, both a system wipe and cleaned the dalvik cache. Still no luck. Now I am aware that there are tools to mount the SD card, but after trying Multi Mount SD-Card Lite, Mount /system (rw / ro) and Drive Mount from Play Store, I still come up empty, literally. I have had 5 Android phones and all have been equipped with various ROMs, so I usually know what I am doing. I even pulled out tha SD card and wiped it on the computer and then formatted it/partitioned it IN the phone. It is a big shame, since ROMs like AdyScorpius, Omega's v3 and especially DraginICS and the F1 ROM are tempting and stunning looking. Any help? Please??
mcdanish said:
This is not an invitation to flaming, as I am under the impression that several people have tha same problem, so I will try to gather solution/suggestions here. I have the problem when trying out the new 4.0.4. ROMs, every single one of them are missing the capability to access the external SD card - rather unfortunate since I use it to store music, to back up with Titanium Backup and back up SMS, among other things. And yes, I have wiped, I have run the kernel cleaning script and wiped again, both a system wipe and cleaned the dalvik cache. Still no luck. Now I am aware that there are tools to mount the SD card, but after trying Multi Mount SD-Card Lite, Mount /system (rw / ro) and Drive Mount from Play Store, I still come up empty, literally. I have had 5 Android phones and all have been equipped with various ROMs, so I usually know what I am doing. I even pulled out tha SD card and wiped it on the computer and then formatted it/partitioned it IN the phone. It is a big shame, since ROMs like AdyScorpius, Omega's v3 and especially DraginICS and the F1 ROM are tempting and stunning looking. Any help? Please??
Click to expand...
Click to collapse
Firstly this is in the wrong thread.
Secondly, have you tried going up to the root directory, and making sure it's not under \emmc
I have, and it sometimes is, but isn't this an issue? I mean, as a frequent flasher I am used to ROMs where everything works, so I would say that is in the making of the ROM, which I doubt since the source is a Google project. But even with Directory Bind, I can't link it. It is over my head, I don.t understand why some people have the problem, and most not. And sorry for posting in the wrong forum, can somone move this or close it?
Benny, Denmark
I think most people are used to the SD card being in a different directory now so they don't mention it. For some roms, there is a flashable zip which mounts it back as sdcard/external_sd (or whatever it was called)
Sent from my GT-I9100
I'm having the same issue. When I restore back to Sense 3.6, my SD is back. Not sure of the issue.
Will not mount. I've went to recovery/Mounts/ and mounted there to no avail.
Also popped out the SD and put it back in, no avail.
When I check my 'Music' it says your content is unavailable because your phone is being used as USB storage. Disconnect USB. -- it's not connected to any USB, oddly.
EDIT: my issue was GB-ICS related and flashed this - http://www.htctweaker.com/RezROM/RezROM_oldfirm_patch.zip for ICS and it fixed my mounting issues.

[Q] /mnt/sdcard/ is mising

Hey folks,
first of all, I'm sorry if my following problem has already been discussed elsewhere in this forum, but I wasn't able to locate a thread or post that fits my exact issue as I don't want to mess up another thread with this.
So here is my problem:
I've recentally updated the resurrection remix rom from v1.9.1 to v2.1 on my SGS2. My phone boots up normally and works like a charm. But then I mentioned that both of my music-apps (poweramp and stock-player) are showing every song twice, as there would be file duplicates. So I checked the content of my external sdcard (where I put my music on) with both the stock-file-explorer and ES file explorer and found out, that my external sdcard wasn't mounted in /mnt/sdcard anymore but in /mnt/emmc and when I clicked on the sdcard-icon in the stock-app it only showed me my internal storage. With ES file explorer I can't access my external sdcard at all. I already plugged the sdcard out of the device, rebooted, plugged it back in and rebooted again. But nothing has changed. Further I've taken a look with MyPhoneExplorer and figured out, that the folder /mnt/sdcard doesn't exist anymore (creating it by myself failed) while /mnt/emmc was still there. Long story short, here are the facts:
/mnt/sdcard --> doesn't exist anymore
/mnt/emmc --> shows the content of external sdcard
sdcard-icon in stock-file-explorer --> shows internal storage
ES file explorer --> can't access sdcard at all (maybe I'm too stupid to use it)
music-apps --> show all the files doubled
Please help me, what can I do to get my external sdcard back at /mnt/sdcard and the music-apps to show every file only once?
let's just talk about the mount points first:
on stock roms, the internal sd card is mounted as /sdcard/ and the external sd card is /sdcard/external_sd/
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
in recent cm9 builds, suddenly those mount points were reversed, which does not make much sense in my opinion.
with the jump from ressurection 1.9 to 2.1 you might have just hit that switch. have you performed a full wipe before and/or after flashing the new rom? maybe that'll do the trick
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
Click to expand...
Click to collapse
Actually that's the case. But what is mnt-directory good for then, if there already are folder providing the content of internal storage and external sdcards? and just btw. wikipedia says that emmc stands for embedded multimedia card and this was invented to be used as an internal storage, that's confusing me.
have you performed a full wipe before and/or after flashing the new rom?
Click to expand...
Click to collapse
I followed the installation guide very strictly and performed the wiping and factory resetting before and after the flashing as instructed.
But if the files are where they should be, why is my music indexed twice no matter what I do?
ps: I managed to access my external sdcard with ES file explorer after doing an analyse of the sdcard through the manager-option of ES file explorer.
Unfortunately there doesn't seem to be a solution for the problem, beside waiting for the next version of the rom. But to those of you who may face the same or a similar problem, here's a little workaround:
In poweramp you can define the folders to scan, so just allow it to scan only /emmc/ and the doubled files will disappear. Unfortunately this is not possible for the stock-player. Maybe this is helpful.
i never bothered to look up emmc and just assumed the "e" stood for external.
if it stands for embedded it would actually make sense to switch the mount points.
the fact that one device can be accessed using several paths, e.g. /sdcard/ and /mnt/sdcard/ is a linux thing. same thing is present on pcs, servers and embedded systems (video game console, set top boxes, mediaplayers...). the mount point /sdcard/ is for convenience.
the "picking up files twice" issue you have with your music probably comes from some mount problem. but here's an idea:
in any music player, find a song that is present twice in a row, and look at its details. you should be able to find the full filename including the folder structure. then you will know exactly, what causes the duplicates. it might be that your card is mounted in some other folder as well.
other than that, as you said, it might be best to wait for the next rom revision, or get your post count up and post in the development thread directly, where they can probably help you. if that is a general bug of the rom, i guess you are not the first to realize it and people should be working on it as it sounds really annoying.

[Q] Media Storage issue

Just fyi I'm running task's AOKP ROM with stock kernel...
My phone was filling up with pics and videos... So I connected it to my MAC and copied all the pics/vids to the computer and then deleted them with the computer. After disconnecting the phone the file are all gone but the phone still thinks I have no space left on my phone. So I have to format my internal storage to fix the problem? Is there any other way around it?
Anyone got some advice for me?
Come guys. My phone now says its completely full. I deleted over 8 gigs of pics and vids. They do no appear anywhere on my phone (so they were actually deleted). So this morning I formatted my /sdcard directory in CWM. After I did that it now says I have 64kb/11gigs free.... WTF? I thought formatting should have deleted everything off of that directory? I backed up my apps and other things on my ext sd card so that if I had to I could restore them there. When I booted into CWM I just went to mounts/storage and formatted /sdcard. Should I be trying something else?

Help Please. SDCard not mounting

The thread says it all. I have a rooted EVO LTE running the CM 10. Everything was working fine until I accessed the SD Card from within TWRP to copy a file. Now I get errors when I look at the command line within TWRP "failed to mount /sdcard {Invalid argument)". Can anybody help me? Thanks so much to all of this community.
finman76 said:
The thread says it all. I have a rooted EVO LTE running the CM 10. Everything was working fine until I accessed the SD Card from within TWRP to copy a file. Now I get errors when I look at the command line within TWRP "failed to mount /sdcard {Invalid argument)". Can anybody help me? Thanks so much to all of this community.
Click to expand...
Click to collapse
I currently have the same problem and mannnn am I f'n pissed.... i did a factory reset from within the bootloader which is what caused mine to stop working right...anyways I am also looking for a solution so when i do I will give you the info.
zoned_out said:
I currently have the same problem and mannnn am I f'n pissed.... i did a factory reset from within the bootloader which is what caused mine to stop working right...anyways I am also looking for a solution so when i do I will give you the info.
Click to expand...
Click to collapse
The only way I was able to fix this was to mount the SDCard over USB in Recovery Mode and reformat it. I lost what was on there, but it's working now.
I formated my card through windows 7 and I still have the same problem. I never had this issue on any of my previous rooted phones I am really gettin pissed with the lte...
Sent from my EVO using xda app-developers app
Are you guys also having trouble accessing the Camera? Mine doesn't seem to pick up my SD card and only allows me to use the Camera using external storage...
Well when I pull my camera up my phone days " no external storage available" then at the bottom if my screen another pop up says "insert an SD card before using the camera" I have my SD in....idk what to do. I searched the threads already but nothing besides some guy saying format my SD...I did that but now I have the same problem along with my pictures and music being erased.
Sent from my EVO using xda app-developers app
Well you could have put the files on your comp first and then reformatted, but I am having the same problem. I guess we just gotta hang in there. It will be fixed soon I hope.
I'm having the same issue with the Aug. 31 CM10 nightly. I cannot access my SD card. If I look in system memory, it shows the card and the size, but I cannot access it, same as you guys. Trying with TWRP to wipe, it shows a bunch of e: failed to mount /sdcard (invalid argument). Still no solutions?
d1scopotato said:
I'm having the same issue with the Aug. 31 CM10 nightly. I cannot access my SD card. If I look in system memory, it shows the card and the size, but I cannot access it, same as you guys. Trying with TWRP to wipe, it shows a bunch of e: failed to mount /sdcard (invalid argument). Still no solutions?
Click to expand...
Click to collapse
I was able to mount the SDCard over USB in Recovery Mode and reformat it from my computer. Obviously I lost my data that was on the SDCard, but none of the apps I had running were affected. Once I did this and rebooted into CM10, everything was fine and I just made a fresh Titanium Backup of all of my apps. My previous TWRP Nandroids were on the SDCard, so they were lost, but I can always reinstall another ROM and restore my Titanium Backups and go from there. Hope that helps.
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
midfieldmaestro said:
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
Click to expand...
Click to collapse
This!
midfieldmaestro said:
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
Click to expand...
Click to collapse
AWESOME! Thanks!
So I'm having a similar issue, except I didn't try to access the external sd card from TWRP. And yes I've verified its the actual physically removable card.
I can see it in the system storage menu. However when I try to access it in Estrongs, it's no longer mounted as ext_sd in the sdcard folder. I did some digging and found it's now mounted as external_sd in the root folder of the phone. Looking in the storage folder, it still shows up as sdcard1, and my internal storage is still sdcard0. This seems to have happened after I flashed one of the nightlies, like 9/1 or 9/2. Any ideas on how to resolve this?
I'd rather not revert to my last backup, which was a Sense rom. I think this is screwing with the media scanner, because none of my sounds for alarms calls or texts work anymore
BeerMit said:
So I'm having a similar issue, except I didn't try to access the external sd card from TWRP. And yes I've verified its the actual physically removable card.
I can see it in the system storage menu. However when I try to access it in Estrongs, it's no longer mounted as ext_sd in the sdcard folder. I did some digging and found it's now mounted as external_sd in the root folder of the phone. Looking in the storage folder, it still shows up as sdcard1, and my internal storage is still sdcard0. This seems to have happened after I flashed one of the nightlies, like 9/1 or 9/2. Any ideas on how to resolve this?
I'd rather not revert to my last backup, which was a Sense rom. I think this is screwing with the media scanner, because none of my sounds for alarms calls or texts work anymore
Click to expand...
Click to collapse
this is a work around for the HTC method of listing the sd cards, in my opinion HTC really screwed the pooch with the way they labeled the file system. The way sense accesses the external sd is through a shortcut to the physical address of the external sd. It really screwed with apps like power amp which had no problem reading both cards but if for example you went to power amp and marked what folders had your music by selecting the folders through the ext_sd folder shortcut it would read and list your music twice. another user who flashed cm10 noticed this (not the ext_sd file problem but the way CM10 was confused by the structure) and quickly wrote (then generously shared) a script that would rewrite the address correctly. I guess that a similar script (or that very same one) was introduced to the installer for the nightly builds
Wow thanks for the clear explanation. I too thought the ext_sd method was screwy, with all of my custom notification sounds showing up twice. Any idea on how to fix my alarm and call sounds not working? Can't afford to miss a day of class lol
This isn't definite as I haven't had to but going to fix permissions might help if some programs aren't recognizing the file tree
Welp, it was worth a shot, but no go. Ima keep tinkering. Thanks anyway tho
Well here's what I did after I flashed the original rewrite script, I had to factory reset (changes survived)and then wipe system, then reflash the nightly build (fastboot kernel for boot 1.15+)
Edit: I still have the shortcut folder on my internal however its not linked anymore so nothing shows up, everything else works fine
Ok, tried a full reset, wiped data, system, caches. Ringtones are working again, as are text tones. Alarms, still silent as ever... I'm so confused right meow
Sorry to hear that man

AOSP Roms not using internal sdcard?

Hi,
I have a quick question about something I've noticed (and can't seem to find a thread on this in the Q&A). Behavior I've noticed/seen is that when ever I install an AOSP rom, it only appears to use my external sd card (/mnt/sdcard/ext_sd), but ignores the 10GB internal memory card (mnt/sdcard). If i use any "sense based" rom - like EclipticRez.....I can use/leverage both.....so I "don't think" it's a formatting issue...as right now i have full access to both SD cards. I recently jumped and installed Rage 3.0 when I found out that bluetooth has been fixed [Squeals with delight....], but when it wasn't accessing the internal 10GB i restored back.
I'm hoping someone can point me in the right direction and fix this before i install Rage 3.1 as soon as its available.
Thanks,
Rez
HTC Rezound - Rooted & S-OFF! :highfive:
Firmware: Stock hboot 2.27; Amon Ra Vigor [v3.15]; Baseband 2.22.10.0801r / 2.22.10.0803r
ROM: EclipticRez
Kernel: Funky Kernel
Previous Rezound ROMS: Scotts CleanROM Developer Edition [V1.4] , CounterShrike, Anything by Neo
AOSP maps internal to /emmc.
Rezinator said:
Hi,
I have a quick question about something I've noticed (and can't seem to find a thread on this in the Q&A). Behavior I've noticed/seen is that when ever I install an AOSP rom, it only appears to use my external sd card (/mnt/sdcard/ext_sd), but ignores the 10GB internal memory card (mnt/sdcard). If i use any "sense based" rom - like EclipticRez.....I can use/leverage both.....so I "don't think" it's a formatting issue...as right now i have full access to both SD cards. I recently jumped and installed Rage 3.0 when I found out that bluetooth has been fixed [Squeals with delight....], but when it wasn't accessing the internal 10GB i restored back.
I'm hoping someone can point me in the right direction and fix this before i install Rage 3.1 as soon as its available.
Thanks,
Rez
HTC Rezound - Rooted & S-OFF! :highfive:
Firmware: Stock hboot 2.27; Amon Ra Vigor [v3.15]; Baseband 2.22.10.0801r / 2.22.10.0803r
ROM: EclipticRez
Kernel: Funky Kernel
Previous Rezound ROMS: Scotts CleanROM Developer Edition [V1.4] , CounterShrike, Anything by Neo
Click to expand...
Click to collapse
Im having a similar issue. Mine is being mounted but unable to access it from any apps or computer besides root explorer. I was reading somewhere that because a sense rom will mount it as a sd cards and AOSP mounts it as EMMC and jumping between the roms can cause issues. The fix was suppose to be do a complete wipe on the phone (factory rest, wipe data, system..ect) and the reinstall. Well i did that and still doesnt fix the issue, if i find a fix for mine ill let you know if your still having problems
clmowers said:
Im having a similar issue. Mine is being mounted but unable to access it from any apps or computer besides root explorer. I was reading somewhere that because a sense rom will mount it as a sd cards and AOSP mounts it as EMMC and jumping between the roms can cause issues. The fix was suppose to be do a complete wipe on the phone (factory rest, wipe data, system..ect) and the reinstall. Well i did that and still doesnt fix the issue, if i find a fix for mine ill let you know if your still having problems
Click to expand...
Click to collapse
Shrike - I saw that you posted this in the Infection thread. (which matches your response above)
>>AOSP mounts internal as /emmc and external as /sdcard.
I see that now. Is there a thread I need to read or something I need to do so that AOSP/Infection will leverage the 10GB that is on internal drive? It seems like "out of the box" AOSP/Infection/.... ignore /emmc...
SD Maid shows
/storage/sdcard1 = /emmc [10GB]
/storage/sdcard0 = /sdcard [32GB]
Non-AOSP does this "automatically" [from what I saw]....I use the internal 10GB for all the installs...then use my 32GB removable SD card for my media and backups only.
Thanks!!
Rez
Rezinator said:
Shrike - I saw that you posted this in the Infection thread. (which matches your response above)
>>AOSP mounts internal as /emmc and external as /sdcard.
I see that now. Is there a thread I need to read or something I need to do so that AOSP/Infection will leverage the 10GB that is on internal drive? It seems like "out of the box" AOSP/Infection/.... ignore /emmc...
SD Maid shows
/storage/sdcard1 = /emmc [10GB]
/storage/sdcard0 = /sdcard [32GB]
Non-AOSP does this "automatically" [from what I saw]....I use the internal 10GB for all the installs...then use my 32GB removable SD card for my media and backups only.
Thanks!!
Rez
Click to expand...
Click to collapse
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.
synisterwolf said:
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.
Click to expand...
Click to collapse
So are you saying that on AOSP you can set everything to either internal or external but no mix and match? So you pick either internal or external and that's it?
What happens if you put all your music on external but want your apps to install to internal? Will you still be able to read/listen to the music files while having apps install onto the internal?
I was just thinking of trying out Infected AOSP but I don't know if AOSP is right for me then.
synisterwolf said:
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.
Click to expand...
Click to collapse
where is the option to set it to ext or internal?
feralicious said:
So are you saying that on AOSP you can set everything to either internal or external but no mix and match? So you pick either internal or external and that's it?
What happens if you put all your music on external but want your apps to install to internal? Will you still be able to read/listen to the music files while having apps install onto the internal?
I was just thinking of trying out Infected AOSP but I don't know if AOSP is right for me then.
Click to expand...
Click to collapse
Yes and no.. For example on mine everything is saved to the external but I save my music to the internal. Power amp is able to pull from the internal card so all my music is playable I think what he meant was you can either have apps save to the external or internal not both. On a sense ROM you can change the location of where the app is saving its data to external or internal
Sent from my Infectious Rezound using Tapatalk 2
xXezmacXx said:
where is the option to set it to ext or internal?
Click to expand...
Click to collapse
for nandoirds yes.
for the os its not as simple you will need to edit your void.fstab
synisterwolf said:
for nandoirds yes.
for the os its not as simple you will need to edit your void.fstab
Click to expand...
Click to collapse
Is it as easy as editing the vold.fstab? This what I have currently.
# internal sdcard​dev_mount emmc /storage/sdcard1 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0 nonremovable,encryptable​# external sdcard
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2​
If I change/edit it to whats below, will it work?
# internal sdcard
dev_mount emmc /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2 nonremovable,encryptable
# external sdcard
dev_mount sdcard /storage/sdcard1 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0​
I just guessed that the nonremovable,encryptable part should stay with the internal sdcard. I have no idea what this will do so if anyone sees anything wrong please let me know!
Also I don't care what the sdcards are called in a file explorer. When on a CM9 ROM I used a zip that made the external sd show up as emmc in root explorer. The same zip doesn't work on 10.1 but it did on 10.
EDIT: I tried this for the hell of it and absolutely nothing changed! I guess I should change it back but I am shocked that something didn't break. I really have no idea what I'm doing!

Categories

Resources