I want my apps to be automatically installed on the external card. I assumed that bladev-swap-sd.zip would do it and so installed it under recovery mode. It puts vold.emmc.fstab into /system/etc/
This is the relevant part of the the file:
#dev_mount emmc /storage/sdcard0 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard /storage/sdcard1 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/sdcard0 auto /devices/platform/msm_sdcc.1/mmc_host
It has made no difference. I just installed an app from G play and it was installed into sdcard0 instead of sdcard01
I am using CM11c0_codina.nova plus ace2nutzer.kernel.4.4 codina
What do I have to do to make the sdcard1 the default for the phone?
R
It seems you are trying to swap internal memory with external memory there. Have you tried using NT-App (for ace kernel) or ChronoKernelSetting (for Chrono's kernel) ?
Related
if you don't have a sd card and you want to get benefit from your internal storage in froyo b2, you can make the system to deal with internal storage as an external sd card, and you can use gallery,music and camera with your internal storage and enhance your experience>>
yo have to edit the following file
"/system/etc/vold.fstab" with any editor like ASTRO or ES explorer
you have to change the following:
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
to:
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.1/mmc_host/mmc1
and its better to remove mount command of internal storage in "/init.rc"
by comment the following "just put a(sharp #) before it"
#mount vfat /dev/block/mmcblk0p1 /storage
then reboot your android and enjoy !
please be aware that this fix work in case YOU DON'T HAVE AN EXT. SD CARD
in case you have one maybe the changes may not be as above
thank you all.
Hi Louis, could you please advise if there shall be other line to edit, so the new "SDcard" will have the asec folder functions?
something like this
http://forum.xda-developers.com/showthread.php?t=1088474
thank you for your reply.
but would you please explain what is /asec folder functions/
i checked your link but the modded vold.fstab there has some additional lines and i'm really not a professional and i'm not sure if those commands will be applicable in our omnia
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!
As i am new on this site i cant add thread in devel site. Please need help i have 64 gig microsd and have 2 partitioned fat32 formatted
1 partition 20 gb (want this as for installing apps)
2 partition 40 gb (want to store photos videos atc...)
so until now i have original swapped memories fstab like this
----------------------------------------------------------------------------------------------------------------------------------------
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
discard = enable
format_option = -r 1980
}
dev_mount sdcard /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/tegra-ehci.0/usb
#end line ## keep this line
--------------------------------------------------------------------------------------------------------------------------------------
in text dev_mount sdcard1 - that's 20 gb of my partition
if i want add another partition do i need to do this way???
}
dev_mount sdcard2 /mnt/Data auto /devices/platform/sdhci-tegra.2/mmc_host/mmc2/mmc2
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
Any help with this??? Or is possible that android gonna see 2 sdcard partitions???
edworkscomputing said:
As i am new on this site i cant add thread in devel site. Please need help i have 64 gig microsd and have 2 partitioned fat32 formatted
1 partition 20 gb (want this as for installing apps)
2 partition 40 gb (want to store photos videos atc...)
so until now i have original swapped memories fstab like this
----------------------------------------------------------------------------------------------------------------------------------------
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
discard = enable
format_option = -r 1980
}
dev_mount sdcard /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1/mmc1
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/tegra-ehci.0/usb
#end line ## keep this line
--------------------------------------------------------------------------------------------------------------------------------------
in text dev_mount sdcard1 - that's 20 gb of my partition
if i want add another partition do i need to do this way???
}
dev_mount sdcard2 /mnt/Data auto /devices/platform/sdhci-tegra.2/mmc_host/mmc2/mmc2
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
Any help with this??? Or is possible that android gonna see 2 sdcard partitions???
Click to expand...
Click to collapse
If i remember right, this device only accepts 32gb microsd.. think that might be the problem, ace? And on another note, since we are using the phone to try and figure this out, why not insert the card into your computer and fix the format issue like a normal person instead of using all sorts of complicated methods that are way more difficult? it only makes since to use methods already in place to make life easier on us, or unless your a robot, which i can see for developers sometimes they dream in binary :laugh: they tend to use the difficult methods to show off lol.
Pretty sure you have to format any card larger than 32gb from within Android to get the Glide to register it, from what I've read anyway. I've seen several posts referencing this. If formatted on PC, it won't register with our phones.
Since (afaik) there's no way to partition the card from within android, perhaps with an app but no guarantee it will detect a valid card afterwards, you may have to keep it unpartitioned.
I believe there is a post maybe a page back on this particular forum that confirms cards over 32gb will work. Shouldn't have to dig too deep.
So i made 1 partition 64gb uder linux i made fat32 formatted phone have no problem to recognize it. Problem is that when i downloading files larger than 700 mb phone freeze. not sure if that do root or the card ... must do test first with original firmware i think 1.3 ghz kernel is not stable just testing now will give more infos after...
edworkscomputing said:
So i made 1 partition 64gb uder linux i made fat32 formatted phone have no problem to recognize it. Problem is that when i downloading files larger than 700 mb phone freeze. not sure if that do root or the card ... must do test first with original firmware i think 1.3 ghz kernel is not stable just testing now will give more infos after...
Click to expand...
Click to collapse
So i was right do not install 1.3 kernel i downgraded to 1.2 ghz and everithing working ok!!! 64gb card confirmed for use in glide
edworkscomputing said:
So i was right do not install 1.3 kernel i downgraded to 1.2 ghz and everithing working ok!!! 64gb card confirmed for use in glide
Click to expand...
Click to collapse
do 2 partitions work?
Sent from my SAMSUNG-SGH-I927R using xda app-developers app
I stand corrected glad to be proven wrong!
Sent from my SAMSUNG-SGH-I927 using xda app-developers app
I'm not responsible if you do harm to your phone, I'm sure if you mess up you can just reflash cm10 through CWM and be fine though.
backup file /etc/vold.fstab
edit file /etc/vold.fstab (i used ES File Explorer)
towards the end of the file you will see
Original (FYI these mount points are specific to T989)
# internal sdcard
dev_mount sdcard /storage/(some long path)
# external sdcard
dev_mount external_sd /storage/(some long path)
swap the mount points for these 2 dev_mount
Example
# internal sdcard
dev_mount external_sd /storage/(some long path)
# external sdcard
dev_mount sdcard /storage/(some long path)
Save and reboot
Click thanks if this helped
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"