[Q] error mounting emmc and cannot detect external sd card - Android Q&A, Help & Troubleshooting

Good day,
I am using SGS2 i9100g.
I have flashed from CM10.0, JB4.1.2 to pacman 3.00, JB4.2.2
ISSUES:
1. error mounting emmc and cannot detect external sd card
2. When i want to use camera or gallery, there is an error saying "No external storage available"
Attempted solutions:
I have tried the following but it does not solve my problem
1. re-flash the custom rom and gapps. (full wipe with wipe cache and dalvik cache)
2. reformatted my sd card to fat32.
3. went to recovery to unmount and remount my external sd card
4. tried to mount emmc in recovery but returns an error "error mounting emmc"
5. off and on and also rebooted my smartphone
6. tried these codes shown at the bottom(to manual remount)
$ su <enter>
# mount -o remount rw /mnt/sdcard<enter>
Side notes:
- I am not sure whether is both related in terms of cannot mount emmc and not detecting my sd card.
- My sd card can be seen in storage with many free space(new sd card) can unmount and mount but the "Mount usb storage" is sealed, my internal storage also can be seen with a lot of free space.
- I am not sure about this but i have googled and saw that some people said that cyanogenMod has bugs regarding the folder of sd card and internal memory directory are swapped(or something like that)
- By using ES file explorer i can see mnt/extSdCard(which is my external sd card) with my files inside but in my mnt/sdcard(i am not sure if this is for internal memory) there is nothing but i cannot find emmc folder inside /mnt.
- I have a storage folder which has sdcard0 which contains nothing, sdcard1 which contains my file in my external sd card and a usbdisk0 contains nothing also.
- Now i am not sure which is the cause of the problem where i cannot use my camera phone and gallery
Please help and thanks in advance
Every help and suggestion is appreciated

SOLUTION!!!
SinsoljaX said:
Good day,
I am using SGS2 i9100g.
I have flashed from CM10.0, JB4.1.2 to pacman 3.00, JB4.2.2
ISSUES:
1. error mounting emmc and cannot detect external sd card
2. When i want to use camera or gallery, there is an error saying "No external storage available"
Attempted solutions:
I have tried the following but it does not solve my problem
1. re-flash the custom rom and gapps. (full wipe with wipe cache and dalvik cache)
2. reformatted my sd card to fat32.
3. went to recovery to unmount and remount my external sd card
4. tried to mount emmc in recovery but returns an error "error mounting emmc"
5. off and on and also rebooted my smartphone
6. tried these codes shown at the bottom(to manual remount)
$ su <enter>
# mount -o remount rw /mnt/sdcard<enter>
Side notes:
- I am not sure whether is both related in terms of cannot mount emmc and not detecting my sd card.
- My sd card can be seen in storage with many free space(new sd card) can unmount and mount but the "Mount usb storage" is sealed, my internal storage also can be seen with a lot of free space.
- I am not sure about this but i have googled and saw that some people said that cyanogenMod has bugs regarding the folder of sd card and internal memory directory are swapped(or something like that)
- By using ES file explorer i can see mnt/extSdCard(which is my external sd card) with my files inside but in my mnt/sdcard(i am not sure if this is for internal memory) there is nothing but i cannot find emmc folder inside /mnt.
- I have a storage folder which has sdcard0 which contains nothing, sdcard1 which contains my file in my external sd card and a usbdisk0 contains nothing also.
- Now i am not sure which is the cause of the problem where i cannot use my camera phone and gallery
Please help and thanks in advance
Every help and suggestion is appreciated
Click to expand...
Click to collapse
I have found a solution. Just reflash back to stock and then flash to custom rom.(repartition with an uncompatible .pit file can cause a traumatic event to a person i.e me )
ATTENTION!!!
DO NOT MESS WITH .PIT FILE!!! I've did a mistake earlier and i've paid the price of bricking my phone. Plus when you meddle with the wrong .pit file, it will corrupt the internal memory and as far as i have searched through the xda forum, nothing works and re-flashing back to stock rom can also cause problems.
Hope this information will inform all of you so that you will not make the same mistake as i have done.
Peace

SinsoljaX said:
I have found a solution. Just reflash back to stock and then flash to custom rom.(repartition with an uncompatible .pit file can cause a traumatic event to a person i.e me )
Click to expand...
Click to collapse
Do you think it would work if I just redo repartition with a known correct PIT file?
Or going back to Stock is a must?
Thanks!
iZ

Related

Can't format internal sd card - /dev/block/mmcblk1p1 on /sdcard failed: no such file

My phone (Omega 13 - siyah kernel 1.5.2) works great but i can't do a full wipe, format INTERNAL /sdcard, restore nandroidbackup or mount internal /sdcard. The error log by cwm recovery is that:
checking for extendedcommand...
skipping execution of extendedcommand. file not found...
mount: mounting /dev/block/mmcblk1p1 on /sdcard failed: no such file or directory
W: filed to mount dev/block/mmcblk1p1 (file exists)
Click to expand...
Click to collapse
error mounting /sdcard!
I hope someone can help me, thanks!
p.s. i have no external sd card insert in the phone
look for a file called superwipe, or megawipe. this will format the internal card however you do need to backup your memory card, you will loose any non backed up data... doing a nandroid backup will NOT back up the internall sd card...
Last time I check, mmcblk1 is external SDcard and not internal SDcard
I understand why it does not work: it try to format external SDcard but as you said you have none
Which recovery do you use?
Mopral said:
Last time I check, mmcblk1 is external SDcard and not internal SDcard
I understand why it does not work: it try to format external SDcard but as you said you have none
Which recovery do you use?
Click to expand...
Click to collapse
I supposed that it could be this. I use cwm-based recovery v5.5.0.4 cf-v1.5 (built-in omega 13)
Sorry but i'm android noob i think that recovery is installed on nand but it's built-in with custom rom, right? how can update i my recovery?
This error is strange because even if it does not find a external sd should still format the internal sd instead the process stops
RazielSasy said:
I supposed that it could be this. I use cwm-based recovery v5.5.0.4 cf-v1.5 (built-in omega 13)
Sorry but i'm android noob i think that recovery is installed on nand but it's built-in with custom rom, right? how can update i my recovery?
This error is strange because even if it does not find a external sd should still format the internal sd instead the process stops
Click to expand...
Click to collapse
No it could not switch to internal: command are created with a fix mount point in them so it only apply to this mount point and nothing else
AFAIK, the only thing that can format your internal SDcard should be a factory reset but it will also erase all your apps/contacts/settings in the process so make a backup if needed
There is maybe "format /data" in recovery but I am not sure if it will wipe the full internal SDcard or just the /data partition which contains your apps
Mopral said:
No it could not switch to internal: command are created with a fix mount point in them so it only apply to this mount point and nothing else
AFAIK, the only thing that can format your internal SDcard should be a factory reset but it will also erase all your apps/contacts/settings in the process so make a backup if needed
There is maybe "format /data" in recovery but I am not sure if it will wipe the full internal SDcard or just the /data partition which contains your apps
Click to expand...
Click to collapse
very thanks
Format data is data only not sd card ..
Custom roms may have recovery built in or not .
jje

[Q] emmc not mounting

Currently having an issue with my SGS2.
Have been installing the custom vanilla rootbox roms for a while and the most recent update process has been from 3.2 -> 3.3.1 -> 3.4.
What has happened seems to have happened on the last update is the internal (non removeable) mmc card doesn't seem to be mounting.
Going into CWM recovery and choosing the "install zip from sd card" to use as a pseudo file browser, i can view both /sdcard (removeable sd) and /emmc (internal sd) and see all the files, but when the phone boots up only the external card is visible.
Browsing the files system:
/extSdCard - has external card files
/sdcard - is empty
/storage/sdcard0 - is empty
/storage/sdcard1 - has external files
/emmc - does not exist
So for some reason /emmc is not mounting to /sdcard + /storage/sdcard0
Is there a way to fix this issue? Also does CWM have a file-backup facility that i can backup my hidden files to the other sd card, or is there another method i can do this?
Flash different kernel.
TheATHEiST said:
Flash different kernel.
Click to expand...
Click to collapse
Doesn't seem to have fixed the issue.
(Flashed siyah).
Does anyone have any other suggestions that might help?
I had this issue...
I had this issue and managed to resolve it by using the following steps:
I backed up the phone using Titanium Backup to the external SD card (mmcblk1) and then shut the phone down and removed the SD card (to ensure it wasn't erased at any point).
I then booted into CWM recovery and re-partitioned and re-formatted the internal SD Card (mmcblk0p11). I then formatted /data, /cache and wiped the Dalvik cache to start afresh.
Once booted, I made sure that the internal SD card mounted correctly and was showing the correct amount of space (approx. 11.5GB).
On my computer I then copied the Titanium Backup files off the external SD card, repartitioned it as a single partition (MBR-style, not GUID/GPT!) and then then reformatted the partition as FAT.
I re-copied the TB backups back onto the external SD card and put it back into the phone. On reboot, the phone mounted both partitions as expected.
I then restored from the TB backups and I've not had any trouble since.
I'd been living with the issue for a while and it was driving me insane. The turning point came for me when I removed the external SD card once and it mounted the internal SD card correctly (which it hadn't done in a long time). It was then I realised that it was something about having the two together that wasn't working properly for some reason. This is why I repartitioned and reformatted them both as "stock" as I could to ensure that they worked in their "out of the box" state.
I'm not entirely sure why this happened as it did, but it seems to be working correctly now for me (and I'm very happy!).
I hope this works for you!!

[MOD] External 2 Internal

This is a script that I found from the i9003 forum and modified a bit to suit i9100.
Personally I found that this script works better than the Root External 2 Internal SD because the remount happens while the phone is booting. Not after the phone has booted.
LIMITATION
Your storage will be reset if you mounted your phone as "Mass Storage"!
Do NOT mount your phone as Mass Storage if you use this script.
MTP and PTP mode works fine.
Best Practise
1. Partition your internal storage. I use 11Gb~12Gb Pit file.
2. Flash your custom ROM
3. Flash View attachment swapcm11.zip
Troubleshoot
If you need to trouble the script
1. install Root External 2 Internal SD
2. Find out the mounting point of your internal storage and SD card. They should look like
Code:
/dev/block/vold/179:9
/dev/block/vold/259:3
3. change the numbers in the script to match with your findings in 2.

[Q] Error mounting externalSD on CWM on SGSIII (i9300)

Hi,
Three weeks ago I had my SGSIII rooted and with a custom ROM and regular backup in the external SD card and everything was working OK.
I wanted to remove all the information form the internal memory and decided to format the internal memory, so using CWM (6.0.4.7) I made all the wipes and formatted:
/system
/cache
/preload
/data
I think that one of those formats was the source of the error, but I don't know which one!
Afterwards I tried to access the externalSD card from the restore menu to restore one of my NAND backups, but the extrenalSD card was not accessible (E: Can't mount /storage/sdcard1) neither from the install zip menu (same error). the SD card was OK because was workable in another phone. I tried to mount the external SD card from the mounts and storage menu but gave an error (Error mounting /storage/sdcard1!)
Since I could not restore my NAND backups, I restored the stock ROM (JB 4.3) using odin and afterwards I rooted the phone and install again CWM (6.0.4.7) but the problem persisted and now I am using the stock ROM and can access the external SD card from android normally.
I have looked about this error and all the cases I have found are using older versions of CWM and recommend to format the external SD card, so I did, but the problem persisted.
So my questions are:
- What have I done wrong?
- How can I fix it?
Afterwards I thought that I could copy the NAND backup from the external SD to the internal memory so I made NAND backup to see where it was stored, but using ultra explorer I cannot find the location (furthermore, according to the DiskUsage App the space is used but does not inform me where it is).
I have asked Google for the location of the backups in the internal memory (I can not recall such locations) but the folders did not exist or where empty. So:
- Is it possible to copy a backup from the external SD card into the internal memory?
- How can it be done?
Thanks in advance for your help and sorry for the lengthy post.

[Q] Upgrade to CM11 and can't access extSdCard

i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
s050399b said:
i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
Click to expand...
Click to collapse
I had similar problem after I rooted and installed TWRP and when I used Link2SD app it kept complaining that it could not mount the 2nd partition of the SD card I tried formating a few times using
Minitool on my PC and a card reader to attach the micro SD card.
I ended up creating partitions then running option wipe in Minitool using 1's then fomating 1st partition to FAT32 primary and 2nd partition to ext4 primary (I had already tried formating to ext2 & ext3 with no fix) I did not enter a lable name for either of the partitions, both partitions set to primary.
Note also that I ran Minitool surface scan on both partitions and reported no errors, thought I would do this before I installed SD back in to my phone.
On completion of the above I installed the SD card in to my phone ran Link2SD and it recognised the second partition and mounted with no errors and when I look at storage in Link2SD both partitions
are seen and I am now able to link apps to second partition with no errors.
Hope the above helps in some way, I am learning all the time thanks to XDA members.
s050399b said:
i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
Click to expand...
Click to collapse
As an idea: Check your "platform.xml" if write permissions are given. See here.
I think the problem lies at recovery. I suggest flashing an older official cwm recovery from the official website. Since i did that ive had no mounting issues at all.
When i first rooted my s3 i flashed twrp and had issues with preload, same with a later cwm.
Sent from a stolen phone!

Categories

Resources