The stock Nexus S mounts internal memory to /mnt/sdcard.
While it's connected as USB mass storage, applications can not write to this destination (obviously), basically can't write anywhere as this is the only read-write storage.
I'm looking for a way to write to the destination even if it's mounted as USB mass storage.
Is it possible when rooted?
Thanks.
hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
you are my saviour. i got same prob as you. now its working after follow your step.
PLease guide me as I am new to it that how could I Reterive my Internal Memory.
look at the top post!!
Hello ahmedjust
i want to know how to 2nd edit the vold.fstab plaese help me? aed when i give # internal sdcard
says internal : not found how to solved this problem?
i solved it by changing the phone
I have this problem too, I think Internal hardisk has problem .
Same Problem, I guess
Hi all,
I think i have the same issue..my SD card is not being detected , its sayin "Mount SD Card" and that field is disabled probably because it doesnt know that its there even though i have an external 16 GB card inserted..
fyi here are the specs :
model : GT-I9003
Android version : 2.3.7
Internal Memory : 1.87GB
SD Card : Unavailable
Baseband : I9003XXKPQ
ROM : MIUI 2.3.30
Here is the thing, i have flashed my phone about a 100 times, with various ROMS including stock XXKPE,XXKPQ (latest) and still no success
Also, the funny thing is, only 12 gb of my 16 gb external sd is usable so im guessing the 4 gb is being used internally by the phone for the default 2 + 2 gb of samsung galaxy s
on reboot to recovery, when i go to --> install from sd card, it says E: cant mount \sdcard
whereas when i go to --> install from internal sd card, it shows me all the files,folders on my external sd card
Another thing ive seen is when trying to clear cache it says :
E:format_volume: rfs format failed on /dev/block/mmcblk0p3
-------------
Now all said and done, i just wanted some sort of idea whether i should go ahead with this solution because im very sure its the same problem..ive inserted my external sd card on other samsung galaxy s and it works fine..and ive tried inserting other external sd cards onto my phone but it doesnt get mounted..
Thanks!
Same Problem
I think I have the same problem! Will report back if the solution works! It seemed so bazaar, I didn't think anyone else had it.
ahmedjust said:
hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
Click to expand...
Click to collapse
ihave a same problem but in step 2 edit the vold.fstab
i cant because there is no way to replace vold.fstab root explorer dosent run and adb cant get sdcard for replace vol.fstab anyone can help?
kghai3 said:
Hi all,
I think i have the same issue..my SD card is not being detected , its sayin "Mount SD Card" and that field is disabled probably because it doesnt know that its there even though i have an external 16 GB card inserted..
fyi here are the specs :
model : GT-I9003
Android version : 2.3.7
Internal Memory : 1.87GB
SD Card : Unavailable
Baseband : I9003XXKPQ
ROM : MIUI 2.3.30
Here is the thing, i have flashed my phone about a 100 times, with various ROMS including stock XXKPE,XXKPQ (latest) and still no success
Also, the funny thing is, only 12 gb of my 16 gb external sd is usable so im guessing the 4 gb is being used internally by the phone for the default 2 + 2 gb of samsung galaxy s
on reboot to recovery, when i go to --> install from sd card, it says E: cant mount \sdcard
whereas when i go to --> install from internal sd card, it shows me all the files,folders on my external sd card
Another thing ive seen is when trying to clear cache it says :
E:format_volume: rfs format failed on /dev/block/mmcblk0p3
-------------
Now all said and done, i just wanted some sort of idea whether i should go ahead with this solution because im very sure its the same problem..ive inserted my external sd card on other samsung galaxy s and it works fine..and ive tried inserting other external sd cards onto my phone but it doesnt get mounted..
Thanks!
Click to expand...
Click to collapse
its the same problem mate... see my post here... now my problem solved using above method.. the only thing is, every time the device restart or on from battery drained, need to configure everything back including APN for data connectivity..
---------- Post added at 10:31 PM ---------- Previous post was at 10:19 PM ----------
kasra_eminem said:
ihave a same problem but in step 2 edit the vold.fstab
i cant because there is no way to replace vold.fstab root explorer dosent run and adb cant get sdcard for replace vol.fstab anyone can help?
Click to expand...
Click to collapse
install any root kernel into your phone 1st.. then put it into recovery mode.. connect to pc and run android sdk... type command "adb push c:\(location of vold.fstab file in your pc) \system\etc\" and enter.. type without the " and ().. this way you will push the file from your pc into your phone and it will replace the previous one..
example : adb push c:\users\anplugged\desktop\vold.fstab /system/etc/
have a try mate.. good luck...
thanks to you.
ahmedjust said:
hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
Click to expand...
Click to collapse
thanks mate... This solved my issue... Just one more thing can use more than 4gb from the external sd?
redcarullo said:
thanks mate... This solved my issue... Just one more thing can use more than 4gb from the external sd?
Click to expand...
Click to collapse
can I answer your question on behalf of ahmedjust....? yes you can mate as long as you have sufficient space on your external SD...
anplugged said:
can I answer your question on behalf of ahmedjust....? yes you can mate as long as you have sufficient space on your external SD...
Click to expand...
Click to collapse
how? i need guidance please
redcarullo said:
how? i need guidance please
Click to expand...
Click to collapse
1st of all, of course you'll need a larger capacity of SD.. i.e 16gb..
to increase the external memory space, edit the 1st partition of fat32 format.. in the picture posted by ahmedjust, he created :
start end
32.8kb 4702mb <--increase the end figure to get more space on external..
But the following 3 partition must have +/- space as seen on the pic..
You just need to do the math to divide the space...
Good Luck..
Help
hi,
i was flashing poseidon rom on xxkpq when suddenly my internal sd card and external sd card just disappeared ...
could this help me solve my problem .
Thanks
plz help me i am not able to partition the external sd.
My problem: modified my phone as described in #1.
Phone boots fine, but whenever I install an app it just reboots. Any ideas?
Did you know? Editing /etc/fstab is pointless. Every time you reboot, it is replaced by a default one.
oz42 said:
Did you know? Editing /etc/fstab is pointless. Every time you reboot, it is replaced by a default one.
Click to expand...
Click to collapse
That is not true. I am a user of modified fstab file and it has been very useful to me because it saved my phone from being totally useless. I used to have "pseudo resets" errors, "sd card unexpectedly removed" errors, "force closes", but now my phone is 99% OK (1% = my internal SD is destroyed already :laugh: ). But no more errors encountered after using modified fstab, very stable for 3 weeks and counting.
I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.
Chirality said:
I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.
Click to expand...
Click to collapse
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.
davidsos said:
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.
Click to expand...
Click to collapse
Yes, I assume it is a part of the /data partition, which is unaffected when you flash a new ROM, because that is on the /system partition. The problem is that I don't think it's the entire /data partition, since that partition contain private app data that other apps should not be allowed to read. I'm just wondering which subset of the /data partition is mounted at that location.
If im not mistaken the /mnt partition is written in Fat32 so that when you connect your phone to a windows pc the pc will recognize it. so the sdcard in /mnt is what you see when you plug your xoom into the pc, and the /sdcard partition automatically writes changes you make to its files to the /mnt/sdcard version to reflect the changes that were made when you plug into windows pc. the true sdcard, the one you manually put into the top of the xoom is /mnt/external1, or /microsd in the main filesystem "/" Atleast thats what I believe, Im no dev
Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.
_TB_TB_ said:
Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.
Click to expand...
Click to collapse
That's what I'm hoping somebody would do, I don't own this device.
/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/
solarnz said:
/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/
Click to expand...
Click to collapse
Thanks! That's in line with what I was thinking.
very usefull this to me
so I guess it means that if my /mnt/sdcart space has become way too small in proportion to the available space on the card after a flash recovery so I can fix this by enlarging my /data partition, which thus is not really a partition, but merely an imbedded file system -an image file. Which can be enlargend with dd.
Thank for this discussion
Mikkel
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
iBrickYouNot said:
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
Click to expand...
Click to collapse
you can't
Tell me how the system determines whether the SD card is mounted or not?
I want to mount the SD card manually and without fuss. To do this, I first unmount wherever it is mounted.
umount /storage/0123-4567
umount /mnt/runtime/full/0123-4567
etc
And then everything mounts fine with system namespace.
The problem is that if you unmount the sd card through the phone settings. And then mount it through the terminal, then the system and file managers do not see it. Nevertheless, it is possible to enter it manually through file managers.
The same happens in case of mount errors. The system stops seeing the memory card even if it is actually mounted. How can I tell the phone that it is mounted?