[Q] SD cards mounts only manually - G2 and Desire Z Q&A, Help & Troubleshooting

my sdcard is not mounted by the system self, i must go to the terminal mount /dev/block/mmcblk1p1 /mnt/sdcard works fine, but some apps are saying that is no sd-card present
how i can fix the problem or mount the sdcard manually so all apps can access it?
system: elitemod baesd on cm 7.2

Related

[Q] Mount SDCard in console

Hi.. how i can mount/remount sdcard in console? because something is wrong.. in every roms when i goes to sdcard in setting its show unavailable.. once time ago i wrote something in console as remount and it was okey.. but i forgot it how i can do that.. i tried many combination of command mount but nothing. maybe i can find in google with keyword "mount/remount in linux" can be possible?
but through astro i can explore sdcard.. its strange..
please help. And thanks for answers
Code:
mount /dev/block/mmcblk0pN /sdcard -t FSTYPE
N is number of partition (usually 1) and FSTYPE is vfat or ext2 (usually vfat)
Google is a good help so please use it!
i look on mount and sdcard is mounted.. but still i cannot explore it with anything except astro.. i think maybe is problem in kernel.. i have last kernel version... working sdcard full for everyone? maybe is problem only in my phone.. or its global error
Sd card works in latest kernel, probably is your problem, reformat the card.
Try this:
vdc volume mount /sdcard

Formatted and partitioned SD card (fat32 and ext2) not mounting with Redux rom.

I've created a ~500mb ext2 partition on my sdcard on redux custom rom 1.0.2 on htc desire. However, Link2sd doesn't seem to like this partition (complains that it can't mount and can't write a script to automount at boot), but then I read that redux comes with something installed already. However, it doesn't seem to be using the partition properly.
Mount shows up thus:
#mount
...
/dev/block/mmcblk0p2 on /sd-ext type ext2 (rw,noatime,nodiratime,barrier=1,data=ordered)
...
Any suggestions about what I need to do to get this partition used as part of the system storage?
Thanks in advance.
Try ext3 / ext4.
AFAIK ext2 is no longer supported in the scripts.
According to EASEUS partition Manager this partition is already ext3, but according to my mount command above it's ext2 - now I'm really confused. . Any other suggestions?
Hi there,
I do have similar problems.
After flashing latest Redux2 Rom, my Desire refuses to mount my SD-Card. I'm not able to see it in the Settings, nor am i able to flash or Restore anything from it in Recovery mode.
After trying going to "Flash zip from sdcard" i get the Error:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No sich file or direktory)
E:Can't mount SDCARD:
I already tried the SD-Card in another phone and it's working proberly. I Already formated it on the other phone and tried formating it in Recovery.
As a result i'm also unable to reRoot it with unRevoked as the Phone won't go into USB mode...
Any suggestions how i might fix this problem?
MfG
Dominik
Use the search. Problem got solved very often.

[HOWTO] mount EMMC and External SD on CM7 as it is on Stock ROMs

Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
a good guide indeed for the CM7 ROM users
I did something similar for all my Gameloft games, EA games, Glu games, and DATA partition, and Download, and all the other stuff, basically i mounted everything off to my 64 GB SD card instead of internal SD
lets give this topic some flight time, stuck for a month, it'll come off by itself
also added to main INDEX
Thanks AllGamer...
thanks, i was looking for something like this for a while.
Thanks so much for this. Thanks a bunch!!!
ICS
Can someone who had flashed ICS Alpha builds tell us if this procedure works on them?
Thanks and I am glad I'd helped someone by doing this post
Testing this out right now on Isotope, let's all keep our fingers crossed.
talmeida said:
Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
Click to expand...
Click to collapse
does it work for other devices cm7 roms??
tried it and didn't work for me. Might have typed it wrong. Will try again.
I only used the file browser to see if i can access both the emmc and the sd card but could only get to the emmc
I will try...
talmeida said:
Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.
So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:
1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:
# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:
# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard
3 - Reboot the phone and voilá
This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
Click to expand...
Click to collapse
Oh man, thank you!
This worked like a charm on my Epic Touch 4G.
tried this in a aokp rom(hydrogen), and it doesn't work.
Why not mount the emmc to /mnt/sdcard/external_sd in addition to /mnt/eemc for backward compatibility?
Does it work on CM9 too?
I had ICS Passion v13 installed on my Samsung Vibrant before, and my vold.fstab file is a bit different from cm7's. I now have cm7 installed but the vold.fstab file doesn't seem to have changed with the change of roms.
It would be great if you could post the fstab and build.prop files somewhere online from where I can download it and replace in my phone because I don't want to mess up again(I encountered the "encryption failed" bug in ICS today and I tore my hair out fixing that..so yeah.)
Thank you.
Anyone else that's on AOKP have any luck getting this to work??? The flip-flooped SD cards on CM9/AOKP is seriously annoying..
Sent from my AOKP'd T989
This is the vold.fstab file in my Samsung Vibrant:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
dev_mount emmc /mnt/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
As you can see, it is differs from the one you posted in the guide. What steps should I take now?
Can anyone show me how to do this with captivate cm7?
Please and thanks!
fresherthanU said:
Anyone else that's on AOKP have any luck getting this to work??? The flip-flooped SD cards on CM9/AOKP is seriously annoying..
Sent from my AOKP'd T989
Click to expand...
Click to collapse
has anyone found a solution for AOKP yet? I find that many of my apps such as google music and my camera don't save files properly. This has caused me to switch back to juggernaut.
major thanks to anyone who can help!

[Q] Can't mount ext3 partition in CM9 for use with s2e

Hi,
I used this guide (cyanogenmod.com/wiki/Sony_Ericsson_Xperia_Play_%28GSM%29:_Full_Update_Guide) to install CM9 on my Xperia Play. After everything worked out well I decided to "extend" my external memory by using s2e and an ext3 partition. First I created a big primary fat32 (~29GB) partition and then a primary ext3 partition (~1.5GB) on my sd card. Now the problem: s2e doesn't recognize this ext3 partition. When booting to recovery it's possible to successfully use "mount /sd-ext". When booting to CM9 I can't find /mnt/sd-ext, /sd-ext or any similar mount point (Where is it or where should it be?). Just for testing purpose and because I'm not allowed to create an own mount point (Why that by the way?) I unmounted /mnt/obb and mounted my ext3 partition there by using "mount -t ext3 /dev/block/mmcblk0p2 /mnt/obb" in the Terminal Emulator and it worked.
What am I doing wrong? Why won't simple2ext recognize my ext3 partition?
I just tried link2sd and it worked. Now I'm wondering even more why s2e doesn't! Any ideas?

Swap internal SD and ext_sd

Hello,
I have some trouble with a P6 firmware B111
The Phone have 8Go + micro SD of 32Go
/sdcard
/storage/sdcard0
/mnt/sdcard
are shortcut to the "internal SD"
/storage/emulated/0
And
/storage/sdcard0
/mnt/sdcard2
are shortcut to th external SD (of 32go)
/mnt/ext_sdcard
I want use offline GPS tomtom but all maps take 7go.
i can easily put on my exernal SD
But the app install it on the /sdcard
so not enought memory.
Any trick to mount /sdcard to my exernal sd?
I have already change my /system/etc/vold.fstab:
Code:
dev_mount sdcard /mnt/ext_sdcard auto /devices/platform/hi_mci.0/mmc_host/mmc1
but doesn't work even after reboot
Same with the app root external 2 internal SD of codlab.
In official china rom for p6 version B116 has an option already to chose external sd card as primary storage..you can try that rom and copy vold.fstab
Sent from my HUAWEI P6-U06 using Tapatalk 2
Especially for Tomtom this trick helps to me:
Root you device.
Install Tomtom and download map to internal storage first
Install FolderMount from Play
In FolderMount, create pair between /sdcard/tomtom and ext_sdcard/tomtom
This will move map to external SD card and create link from internal storage.
What a great a simple 'out of the box' thought. It works perfect for me!!!
You can use this script, just copy to /system/etc/init.d.
Script:
"mount -t vfat -o umask=0000 /dev/block/vold/179:33 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1"

Categories

Resources