[Q] Internal SD-card (USB-Storage) won't mount when Android boots, only ext-sd - General Questions and Answers

Hello,
Internal SD-card (USB-Storage) won't automatically mount itself when Android starts. It only mounts my external SD-Card. In CWM i can access everything (internal sd, external sd, system etc.) i can format them also. when i connect my phone to the pc i can read and write to both SD-Cards. Everything seems fine, but when android boots (with my ext sd inserted), i enter my pin, and my homescreen appears. Everything is ok but only my external sd is mounted, not my internal (USB-Storage). But when i boot without the external-sd inserted it mounts my internal-sd without problems. Weird. When i insert my ext-sd (phone is running) after my int-sd got mounted, it also mounts my ext-sd. What´s the reason for this behavior? Does anybody know how to fix it? can´t be a format (rfs/ext4 or FAT like) problem i think, but maybe i am wrong.
My Phone is:
Samsung Galaxy S i9000 running
CyanogenMod 10.1 / cm-10.1-20130111-NIGHTLY-galaxysmtd.zip (Stock CM-Kernel, also used semaphore jb 1.9.3)
Maybe someone has an idea how to fix this problem. I´d really appreciate any help.
Greetings,
Strainhunter

fixes, i think^^
I think i fixed the problem.
I copied all the files on my external sd (yes, the problem with the internal sd (usb-storage not mounting was the external sd )
then i formated emmc in CWM--rebooted--> and the copied the files back to the ext-sd. Till now i rebooted the device multiple times and both sd´s are mounting fine^^
Thanks to me^^
Greetings, Strainhunter

Update: Problem came back -> got fixed
Hello Again,
After recently the problem came back, i experimented a little and found out that the problem did go away when i made my nandroid backups in tar format, but came back when i made them i dup format. I think it was the big "blobs"-folder on my ext-sd that caused it.
Just wanted to update this thread, because if someone encountered this problem too, he maybe want to have a look at his Nandoid-backup-format.
MfG,
Strainhunter

Related

[Q] "Can't mount sdcard" error in CWM

I've seen this error elsewhere, but no solution. I'm running PRIME 1.4, want to upgrade to 1.6.
- I used the nvflash method. I re-did this, obviously that didn't work.
- I tried formatting the SD card via Windows and via CWM (which didn't work, because it couldn't mount it...duh). Used the default FAT32 settings to format. For others, this seemed to be the fix.
- I CAN read the SD card on the tablet once booted up regularly. I can also mount the storage on my PC.
Any ideas? Thanks in advance.
So I tried a different sdcard (8GB, if it matters). No issues. No idea why this worked, so I guess the mystery is unsolved.
chicagoepicuser said:
So I tried a different sdcard (8GB, if it matters). No issues. No idea why this worked, so I guess the mystery is unsolved.
Click to expand...
Click to collapse
Probably partition of your sdcard. Try reformatting it to another format like NTFS or something?
chicagoepicuser said:
I've seen this error elsewhere, but no solution. I'm running PRIME 1.4, want to upgrade to 1.6.
- I used the nvflash method. I re-did this, obviously that didn't work.
- I tried formatting the SD card via Windows and via CWM (which didn't work, because it couldn't mount it...duh). Used the default FAT32 settings to format. For others, this seemed to be the fix.
- I CAN read the SD card on the tablet once booted up regularly. I can also mount the storage on my PC.
Any ideas? Thanks in advance.
Click to expand...
Click to collapse
In fact, CWM can't real actual SDcard (dock slot), it read the MicroSD only (the tablet slot)
Try putting the zip at the root of the MicroSD, and launch CWM
For me it´s doing the same - can´t mount SD card. I have microSD card that I have formated into FAT/FAT32/NTFS - nothing worked. I try to put it into SD card adapter and nothing too...
Can someone tell us please, where is the problem??? I have root, flashed cwm 3.0.2.8, standart ROM...
monkasko said:
For me it´s doing the same - can´t mount SD card. I have microSD card that I have formated into FAT/FAT32/NTFS - nothing worked. I try to put it into SD card adapter and nothing too...
Can someone tell us please, where is the problem??? I have root, flashed cwm 3.0.2.8, standart ROM...
Click to expand...
Click to collapse
MicroSD needs to be formated into FAT32 and only this format
If you read the post above yours, you would have also seen that the SDcard slot on the dock DOES NOT WORK in CWM
bud77 said:
In fact, CWM can't real actual SDcard (dock slot), it read the MicroSD only (the tablet slot)
Try putting the zip at the root of the MicroSD, and launch CWM
Click to expand...
Click to collapse
Yes, did this. I wasn't messing around with the dock, just the microSD in the tablet itself. And yes, the .zip was in the root directory--though it's not like I was able to get this far. I was not even able to see the root directory, at all.
chicagoepicuser said:
Yes, did this. I wasn't messing around with the dock, just the microSD in the tablet itself. And yes, the .zip was in the root directory--though it's not like I was able to get this far. I was not even able to see the root directory, at all.
Click to expand...
Click to collapse
Plug it in while android is running, and check if the MicroSD is seen in /removable/MicroSD
If, yes, that's pretty weird. If not, try another MicroSD
I had the mounting issue as well. But I formatted my micro SD card with SD Formatter (I am not allowed to post URL as a new user ), then it can be mounted.
myode is right, use SD Formatter 3.0 will fix your problem.
It use low-level format, where windows format don't.
I came across (i can't remember where exactly) some people swear that by formatting the microsd card in a android phone, the card no longer exhibit abnormal behaviour in the tf101.

[FIX][CWM] Error: Unable to mount SDCARD in CWM (and CF-ROOT)

Hi people!
I have seen many people have a problem with the above mentioned error in CWM. Although there are any threads on the topic, none of them are really clear (and often speculate) the method to fix it. And there is a lot of confusion regarding the "sdcard" in the i9003. This is my attempt to clarify and provide a reasonable fix (which worked for my Class 10, 16GB Micro SD (SDHC)).
It goes like this:
-> Boot into CWM recovery
-> Choose any options pertaining to the external sd card (such as backup, restore or install file from .zip)
-> The command returns with an error about how it can't mount "sdcard".
Now, there are a few thing that you have to be mindful of:
1) The "sdcard" mentioned in CWM for the i9003 is actually the external sd card.
- It is done this way so that everything works with the external sd and not with the internal 2GB sd that is present on our phone.
2) The internal sd is referred to as "sd-ext".
3) This pertains to the CWM of our phone. After booting into Android, it is back to "normal".
I tried to do a format in Windows 7's default formatting tool with FAT32, exFAT and NTFS (just eliminate the possibilities) with "default allocation size". It didn't work. Even choosing a larger allocation size did not work.
The Fix:
-> The optimal recommended filesystem for an android SD Card is FAT32.
-> Using the "SD Formatter" (version 3.1 as of this writing) from the SD Association ended up solving my problems.
-> The download link, for Windows (A MAC version is also available), from their site is here. You have to click "I Accept" and accept the terms of the EULA (but who really reads those things anyway ) ?
-> Use a card reader (using your phone is not recommended), make sure you have selected the right card and that you have backed-up all the data on your card (incase you didn't know - formatting erases all your data!).
-> I chose "Quick format" under options and made sure "Format Size Adjustment" was off (These are available under "options").
-> It's done in a few minutes, and it works GREAT! :-D
Cheers people! Hope this clears up some stuff!
This thread deserves to be made a sticky thread...
Moderators please make sure to consider this
Btw - nice job dude you explained it all very well!
Tapashocked via my gt-I9003 with a random keyboard of my choice !
Finally solution came..it works like a charm...thank you so much Bro..
I was bugged by the same problem a few moths ago....
I solved it by Going to Settings > SD card ad phone storage >SD CARD> Umount sd card > Format SD card....
@Lord: thanks mate!
@Symdroid: your welcome! Glad to have helped!
@Neojith: Yeah that usually works, but for some odd reason it didn't work for me last time.
Also, this works without fail even if your SD card is unrecognizable (or comes up as corrupt/damaged) in Android but is detected on the computer.
Sent from my GT-I9003 using XDA App
Man i dont hav any card reader....why cant i do this while it's inside the phone? :-(
Give it a shot... It may work (but be sure you're formatting the right card)!
I recommended a card reader as it is faster, and in most cases the card wasn't detectable by Android but was detectable using a card reader.
Sent from my GT-I9003 using XDA App
Got cranium ROM 3.1 and its not working on my phone. It shows the drive in the PC but i cannot access it. But the phone still reads whats on the SD card. It works well before with kPE...
kudos Erahgon, it worked!
FYI I didnt even use a card reader, used the phone itself (too lazy to search for a reader at home)
Srry guys, was outta town for a few days!
@vadexlux: Good to hear that it works from your phone as well!
@lbraddx : If it's not accessible even in Windows, your card is probably corrupted. Do a quick format in Windows, then use a data recovery software to recover your files. After that, format using the method in the first post, and remember to back-up your files.
Sent from my GT-I9003 using XDA App
Erahgon said:
Hi people!
I have seen many people have a problem with the above mentioned error in CWM. Although there are any threads on the topic, none of them are really clear (and often speculate) the method to fix it. And there is a lot of confusion regarding the "sdcard" in the i9003. This is my attempt to clarify and provide a reasonable fix (which worked for my Class 10, 16GB Micro SD (SDHC)).
It goes like this:
-> Boot into CWM recovery
-> Choose any options pertaining to the external sd card (such as backup, restore or install file from .zip)
-> The command returns with an error about how it can't mount "sdcard".
Now, there are a few thing that you have to be mindful of:
1) The "sdcard" mentioned in CWM for the i9003 is actually the external sd card.
- It is done this way so that everything works with the external sd and not with the internal 2GB sd that is present on our phone.
2) The internal sd is referred to as "sd-ext".
3) This pertains to the CWM of our phone. After booting into Android, it is back to "normal".
I tried to do a format in Windows 7's default formatting tool with FAT32, exFAT and NTFS (just eliminate the possibilities) with "default allocation size". It didn't work. Even choosing a larger allocation size did not work.
The Fix:
-> The optimal recommended filesystem for an android SD Card is FAT32.
-> Using the "SD Formatter" (version 3.1 as of this writing) from the SD Association ended up solving my problems.
-> The download link, for Windows (A MAC version is also available), from their site is here. You have to click "I Accept" and accept the terms of the EULA (but who really reads those things anyway ) ?
-> Use a card reader (using your phone is not recommended), make sure you have selected the right card and that you have backed-up all the data on your card (incase you didn't know - formatting erases all your data!).
-> I chose "Quick format" under options and made sure "Format Size Adjustment" was off (These are available under "options").
-> It's done in a few minutes, and it works GREAT! :-D
Cheers people! Hope this clears up some stuff!
Click to expand...
Click to collapse
I've used above method but still failed..i flashed another CWM also failed. is there any other way?
please help me my phone is dead for a week now
Can you access the card from your phone? Can you access it from your computer?
What are the specs. of the SD card?
Erahgon said:
Can you access the card from your phone? Can you access it from your computer?
What are the specs. of the SD card?
Click to expand...
Click to collapse
cannot access from the phone. but when i flash with odin there is part saying 'error can't mount sdcard-skipped wipe data' but when i check the sd card from my pc its empty and i lost all my file in sd.
here another weird thing, you said the 'sdcard' in CWM is the external sd. I can't mount 'sdcard' but I can mount 'sd-ext'; when i took out my sdcard then I can't mount 'sd-ext'. so I think in my case 'sd-ext' is my sdcard. thanks for replying though. can you figure out my problem?
iming88 said:
cannot access from the phone. but when i flash with odin there is part saying 'error can't mount sdcard-skipped wipe data' but when i check the sd card from my pc its empty and i lost all my file in sd.
here another weird thing, you said the 'sdcard' in CWM is the external sd. I can't mount 'sdcard' but I can mount 'sd-ext'; when i took out my sdcard then I can't mount 'sd-ext'. so I think in my case 'sd-ext' is my sdcard. thanks for replying though. can you figure out my problem?
Click to expand...
Click to collapse
Flashing with ODIN? What were you flashing with ODIN? When you flash with ODIN it doesn't do anything to the external-sd card.
Have you done an internal-external sd swap? If so, and you want to flash a new firmware using ODIN, you must re-partition (i.e. Use the latona pit file) and then proceed with the flash. After the flash, you may once again swap the external and internal sd cards. I haven't tried this, so this is just my best guess. If this doesn't work, try using your old vold.fstab file (read this thread for more details).
Erahgon said:
Flashing with ODIN? What were you flashing with ODIN? When you flash with ODIN it doesn't do anything to the external-sd card.
Have you done an internal-external sd swap? If so, and you want to flash a new firmware using ODIN, you must re-partition (i.e. Use the latona pit file) and then proceed with the flash. After the flash, you may once again swap the external and internal sd cards. I haven't tried this, so this is just my best guess. If this doesn't work, try using your old vold.fstab file (read this thread for more details).
Click to expand...
Click to collapse
still no luck
Fascinate owner here. Had the same issue with CWM red (3.x) and Green (4.x).
All I did was reformat the card in Android. You have to unmount it in Settings > SD Card. Then simply Format. All your data will be erased but CWM will be able to read your card again.
WOW... I have THAT trouble too (on a I9100!), read this (googled) post and think.. "hmmm.... all other works fine with the ext. SD-Card... that can't be the fix..."
BUT i test the fix and OMG!... Now all CWM troubles gone! PERFECT!
Thank you very very much! I love the XDA community! *smak* ;-)
Is there any way to do the same for the internal sdcard coz my external sdcard reads fine but internal phone memory as well as internal sdcard are corrupted!
WOW
hi dude..its works like..hapi man!!!Thanks alot!
Relaxasaurus said:
Fascinate owner here. Had the same issue with CWM red (3.x) and Green (4.x).
All I did was reformat the card in Android. You have to unmount it in Settings > SD Card. Then simply Format. All your data will be erased but CWM will be able to read your card again.
Click to expand...
Click to collapse
I have been seaching for this problem, and I was lucky enough to come across your post. After formating my SD card within android, the problem is solved, and now I can backup to and restore from my external SD card. I am using Galaxy Tab 2.
Thank you!!

Stock UCLF6 writing to external_sd not working

I updated to ICS 4.0.4 (UCLF6) using CWM. I just noticed I am unable to make changes to external_sd. Initially, I was using an app to move installed apps to the external sd. Then after a reboot, I noticed my phone would say those apps were not installed. I also tried copying a file to external_sd using SSH/SCP. Everything shows the file there. In the past, the media scanner would kick in an run right after but it does not run.
Anyhow, after a reboot, the files I just copied are gone as well.
The 2 issues leads me to believe that writing to external_sd is not working.
Anyone else seen this issue? Are you able to write to external_sd and not lose the data after a reboot?
Phone is rooted.
SD card faulty?
You might check to make sure your SD card isn't faulty. I had a similar problem and I couldn't even write files or format the card from a PC. Ended up getting it replaced under warranty.
If you connect to a PC and are able to write files to it then I'm not sure what it could be.
Possibly but very unlikely. I upgraded to ICS from GB using zip files that I placed on the external sd. I suppose I could try and revert back to GB to confirm the external sd still works.
What I will do next is to copy all of the data off the external sd and reformat it from CWM. Let's see if that works.
The odd thing is I am able to write/delete stuff on the external sd. There are no errors in such operations. However, if the phone reboots, then all changes are lost.
It's almost as if the entire external sd were mapped to and running from memory. So you can apply any changes you want but they get lost when the power goes out (ie. reboot).
It seems I'm the only one seeing this issue. Have not heard anyone else seeing the same.

[CM13.0] Internal storage problem

Hello.
I have just wiped my device and installed the newest CM13.0 - Marshmallow (LG G3 D855). After rebooting and configuring my phone I got an information that my SD card is unknown. After pressing the notification the phone asked me if I want to use my SD card as external or internal storage. I read about this in the Web and decided to choose the 2nd option. The card was formatted (it was stucked at 20% for couple minutes and after that time progress bar disappeared - no information about success or errors). Internet said me to reboot my phone after the operation is completed.
Now I have a problem. External storage disappeared. I was expecting it to be a part of my old internal storage (about 10GB + 64GB of my SD). What I saw was still 10GB and nothing more. I tried to go to the settings and checked `Storage and USB`. I found my card but I couldn't check the size and anything (there was an information "Checking...", which didn't refreshed even after 2h of waiting...). I think my SD was FAT32, but I'm not sure.
Now when I put the card into my PC i see it has 16MB of size. I tried to format it with size adjustment into NTFS, exFAT and FAT32 - the size of 64GB came back but after doing factory reset and configuring everything in the same way as I described before, I get same issues (using all the file systems).
After all I got angry and decided to choose using my SD normally as an external storage. In this case I see my card and I'm able to copy data on it, BUT... It has size of 16MB... I'm tired of this and really don't have any ideas how to repair it. I don't care if it is internal or external storage. I want this to start working as expected.
Informations:
- LG G3 D855
- CM13.0 (cm-13.0-20151127-NIGHTLY-d855.zip (290.07 MB))
- MicroSDXC ADATA 64GB CLASS-10 (AUSDX64GUICL10RA1)
[EDIT - SOLVED PARTIALLY]
I have partially solved the problem. I noticed that this 16MB is just a swap space. Probably that's why Android saw it as a partition to use.
I managed to set my SD as an external storage. I used EaseUS Partition Master. I deleted all partitions on my card. Next I created a new UNFORMATTED partition (just a raw partition). Then I put my card into the microSD slot in my G3 and started the phone. I chose `external storage` option and it worked! I tried the same for internal but it hangs at 20% and gets an exception. So for now until they fix this, I will use it in the old way.
Nickon said:
Hello.
I have just wiped my device and installed the newest CM13.0 - Marshmallow (LG G3 D855). After rebooting and configuring my phone I got an information that my SD card is unknown. After pressing the notification the phone asked me if I want to use my SD card as external or internal storage. I read about this in the Web and decided to choose the 2nd option. The card was formatted (it was stucked at 20% for couple minutes and after that time progress bar disappeared - no information about success or errors). Internet said me to reboot my phone after the operation is completed.
Now I have a problem. External storage disappeared. I was expecting it to be a part of my old internal storage (about 10GB + 64GB of my SD). What I saw was still 10GB and nothing more. I tried to go to the settings and checked `Storage and USB`. I found my card but I couldn't check the size and anything (there was an information "Checking...", which didn't refreshed even after 2h of waiting...). I think my SD was FAT32, but I'm not sure.
Now when I put the card into my PC i see it has 16MB of size. I tried to format it with size adjustment into NTFS, exFAT and FAT32 - the size of 64GB came back but after doing factory reset and configuring everything in the same way as I described before, I get same issues (using all the file systems).
After all I got angry and decided to choose using my SD normally as an external storage. In this case I see my card and I'm able to copy data on it, BUT... It has size of 16MB... I'm tired of this and really don't have any ideas how to repair it. I don't care if it is internal or external storage. I want this to start working as expected.
Informations:
- LG G3 D855
- CM13.0 (cm-13.0-20151127-NIGHTLY-d855.zip (290.07 MB))
- MicroSDXC ADATA 64GB CLASS-10 (AUSDX64GUICL10RA1)
Click to expand...
Click to collapse
i cant say this will work, but if i had your problem i would clean off the rom and flash it again, and while in twrp before booting, format your sd card. if that doesnt help, i dont know what else to try.
i didnt know this storage option was added to cm13, but anyways, i would never use external storage as internal. ii have seen people try for years, and usually come back with some problems.
bweN diorD said:
i cant say this will work, but if i had your problem i would clean off the rom and flash it again, and while in twrp before booting, format your sd card. if that doesnt help, i dont know what else to try.
i didnt know this storage option was added to cm13, but anyways, i would never use external storage as internal. ii have seen people try for years, and usually come back with some problems.
Click to expand...
Click to collapse
Tried to reinstall... Same thing happens...
Nickon said:
Tried to reinstall... Same thing happens...
Click to expand...
Click to collapse
well, you have 10 post now, i would try asking in the thread where you got the rom. i dont know what else to suggest. sorry.
bweN diorD said:
well, you have 10 post now, i would try asking in the thread where you got the rom. i dont know what else to suggest. sorry.
Click to expand...
Click to collapse
From official Cyanogenmod website.
Nickon said:
From official Cyanogenmod website.
Click to expand...
Click to collapse
its impossible that there is a thread on xda in the g3 section though right? cause thats not what we do here, post roms and such...
Nickon said:
[EDIT - SOLVED PARTIALLY]
I have partially solved the problem. I noticed that this 16MB is just a swap space. Probably that's why Android saw it as a partition to use.
I managed to set my SD as an external storage. I used EaseUS Partition Master. I deleted all partitions on my card. Next I created a new UNFORMATTED partition (just a raw partition). Then I put my card into the microSD slot in my G3 and started the phone. I chose `external storage` option and it worked! I tried the same for internal but it hangs at 20% and gets an exception. So for now until they fix this, I will use it in the old way.
Click to expand...
Click to collapse
I just ran into this problem on a LS990 (Sprint LG G3) and your post gave me a lead on how to fix it.
I didn't have a microsd reader handy so I used adb shell while in recovery and deleted the partition with fdisk
1. opens ADB
Code:
adb shell
2. This shows you the partitions on your device so you can pick out your external sd card
Code:
cat /proc/partitions
3. mmcblk1 was my external sd card, yours may be different
Code:
fdisk /dev/block/mmcblk1
4. P shows your partitions on the device
Code:
p
5. D deletes the partition on your selected device device
Code:
d
6. O creates a new empty dos partition table
Code:
o
7. N creates a new partition and I accepted all defaults
Code:
n
8. W writes new partition table to disk and exits fdisk
Code:
w
9. I then shut down my phone and removed the microsd.
10. Power phone back on. Once phone has completed boot, insert SD card and it'll give you the option to set up the SD card because it's corrupt. This time, choose portable.
**Note: I'm not an expert by any means and this may be completely unnecessary to go through, but this happened to work for me. Use at your own risk**
up any solution in 2016 ??

Broken storage and /boot missing (or unmounted)

Hi,
so I have a really weird issue with my Redmi 6. As you've read from the title my phone's storage is broken and /boot is missing (or maybe unmounted).
Let me explain what happened.
So my bro needed 16 GB SD card for postmarketos (the SD card was in my phone) so I told him that he could have it. He had 4 GB SD card which wasn't enough for the postmarketos so he gave me the SD card. When I inserted it to my phone, MIUI asked me what to do with it. There were 2 options. Use it as external storage or extend internal storage so I selected extend internal storage. When the process was done, internal storage was unmounted... I tried mount /sdcard but it didn't work. Then I came across a video that has sm command in it and it was a partition management command or whatever. So I tried mounting internal storage, and it worked! BUT when I opened file manager it detected internal storage as USB. I literally have NO idea why (MIUI file manager detects it as USB but Google file manager detects it normally). I tried to fix it with the sm command, but I only made it worse... When I tried mixing the partitions I accidentally typed disks instead is disk (sm partition mixed disk"s":128,179 50). Then I think is started formating the partitions. I was lucky enough to cancel it, before it formats the whole /. It formated only the SD card and I think /boot. I don't think I can give any more info about what is did. I hope someone could help me.
Thanks for your time.
Sucharek
PS I don't have my phone rooted or unlocked bootloader or a custom ROM
Note: Everything happened when the phone was on
Please someone tell me a fix
I'm waiting almost a month and so far, no answer
Please, if you can, tell me a fix
Thanks
Hi guys I have an update that I reset my phone and everything works now!

Categories

Resources