Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,673 Members 41,126 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Internal/external sd not mounting [SOLVED]

Tip us?
 
billdangerous
Old
(Last edited by billdangerous; 23rd January 2013 at 08:35 AM.) Reason: Problem solved
#1  
Junior Member - OP
Thanks Meter 1
Posts: 14
Join Date: Mar 2009
Unhappy [Q] Internal/external sd not mounting [SOLVED]

Hi,

Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore
I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :

Code:
...
on early-init
    export EXTERNAL_STORAGE /storage/sdcard0
    export SECONDARY_STORAGE /storage/sdcard1
    mkdir /storage 0775 system system
    mkdir /storage/sdcard0 0775 system system
    mkdir /storage/sdcard1 0775 system system
    mkdir /storage/usbdisk0 0775 system system
...
I tried to mount /storage/sdcard0, but without success (in fact I am not sure to have the right method).

Extract of /system/etc/vold.fstab
Code:
...
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
...
I thought that
Code:
mount /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 /storage/sdcard0
would have been sufficient, but unfortunately not (I tried with /sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0 to).

I would like to retrieve my internal sdcard content.

Thank you in advance,
Bill
 
billdangerous
Old
#2  
Junior Member - OP
Thanks Meter 1
Posts: 14
Join Date: Mar 2009
Ok after some investigations it is a known bug from 20130121 cyanogen nighties.

To get back internal sdcard :
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
You can find more information here : http://forum.cyanogenmod.org/topic/6...rd-dont-mount/

Problem should be solved in future cyanogen nighties release https://github.com/cyanogenmod/andro...d4552bc463a501

Thanks for help

Bill
The Following User Says Thank You to billdangerous For This Useful Post: [ Click to Expand ]
 
wget21
Old
(Last edited by wget21; 23rd January 2013 at 10:33 AM.) Reason: Wrong Thread
#3  
wget21's Avatar
Senior Member
Thanks Meter 33
Posts: 160
Join Date: Jun 2011
deleted
 
yj121
Old
#4  
Senior Member
Thanks Meter 6
Posts: 130
Join Date: Jul 2012
Phone HELP!

my phone shows up on my computer but only my external sd card shows up, not my internal! help me fix it! ive attached some screenshots. btw, what are you guys using to run that code? (im a noob)
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	719
Size:	20.9 KB
ID:	1840639   Click image for larger version

Name:	Capture1.jpg
Views:	547
Size:	28.1 KB
ID:	1840640   Click image for larger version

Name:	Capture2.jpg
Views:	536
Size:	29.6 KB
ID:	1840641  
 
yj121
Old
#5  
Senior Member
Thanks Meter 6
Posts: 130
Join Date: Jul 2012
i ran the commands in terminal emulator but after reboot, everything remained the same?
 
kreatiir
Old
#6  
Junior Member
Thanks Meter 0
Posts: 26
Join Date: Aug 2013
Quote:
Originally Posted by billdangerous View Post
Ok after some investigations it is a known bug from 20130121 cyanogen nighties.

To get back internal sdcard :
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
You can find more information here : http://forum.cyanogenmod.org/topic/6...rd-dont-mount/

Problem should be solved in future cyanogen nighties release https://github.com/cyanogenmod/andro...d4552bc463a501

Thanks for help

Bill
I have the same problem and would like to get my phone back up and running.
How did you solve it?
I mean, where do I have to write those commands?

I'm a noobie, so please be so kind to explain

Peter.
 
Ghuntar WALDMEISTER
Old
(Last edited by Ghuntar WALDMEISTER; 26th August 2013 at 10:39 AM.) Reason: Details added
#7  
Ghuntar WALDMEISTER's Avatar
Member
Thanks Meter 13
Posts: 84
Join Date: Jun 2012
Location: Near Paris
Quote:
Originally Posted by kreatiir View Post
I have the same problem and would like to get my phone back up and running.
How did you solve it?
I mean, where do I have to write those commands?

I'm a noobie, so please be so kind to explain

Peter.
If you have adb on your computer (and an usb cable to connect your phone to the computer), type these commands on a terminal window :

Code:
adb root
adb shell
then (as stated in pervious post) :

Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
If you do not have adb on your computer, you may download a terminal emulatror application on your android, then type the 2nd block of commands given above.

May the Force be with you !
Sony Xperia Mini Pro / SK17i / mango : CyanogenMod FreeXperia CM10 extended by M66B (FXP215)

Samsung Galaxy Tab 2 10.1 / GT-P5100 : CM10.1
 
Ghuntar WALDMEISTER
Old
#8  
Ghuntar WALDMEISTER's Avatar
Member
Thanks Meter 13
Posts: 84
Join Date: Jun 2012
Location: Near Paris
Erm, if you have the problem with CM10.2 20130821, this solution is sadly not working...
Sony Xperia Mini Pro / SK17i / mango : CyanogenMod FreeXperia CM10 extended by M66B (FXP215)

Samsung Galaxy Tab 2 10.1 / GT-P5100 : CM10.1
 
ARChamak
Old
#9  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Sep 2013
Default SD card not mounting

I have got a symphony w125 from Bangladesh. It was running afterwards. After 2/3 months I rooted it from androidkothon.com . But after some days I got a notification... "Preparing phone memory
Checking for errors"
I neglected it and thought it'll be fine soon. But it won't. When I opened ES file manager, it showed me SD card unmounted. (Both for internal & external) .I tried my 16 GB m SD card inserting again. but it again showed the same notification . Then I did once "factory reset' and once "clear eMMC". Then also the same thing happened. While running suddenly shows system ui not responding automatically turns off. Then it doesn't start until I open the battery and insert it again. How to get my storage back now...?
 
nitingoel2
Old
(Last edited by nitingoel2; 9th December 2013 at 02:46 PM.)
#10  
Member
Thanks Meter 0
Posts: 40
Join Date: Feb 2012
sir i have a spreadtrum phone its board is sp6820gb_7620 and cpu id is 8810 cpu frequency is 1ghz and ram is 512mb with mali 300 gpu,
android version is 2.3.6 and kernal version is 2.6.35.7 user@c5-freecom-ubuntu #7, software version is mocordroid2.3.6.w12.20_p20.01_20130715.130506, hardware version is 1.1.0. my problem is that my phone has only 128 mb of internal memory and when i tried to edit vold.fstab to swap its memory with memory card it stopped detecting sd card when turned on but when in recovery mode sd is shown present, i think its very similar to karbonn a1+ in hardware and software part so can you please help me with my phone?[COLOR="Silver"]

[

Tags
cyanogen 10.1, internal sd, mount
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes