Hi! And yes I did use search function but all result didn't really help me out.
I just bought this phone and I will replace mine HTC HD2, which I already miss. Oh well this LG seems to be a good phone but I have notice like many people about SD Card problem.
When you check settings and storage info you see that phone have partitioned in to two partition. One for I don't know Intern Memory? And second one seems to be for saving apps/games.
I now have a SD Card 16gb that I mount in and when I use USB connection I get 2 storage to play with, one is around 5gb I think that is phone intern memory?
And second is 14gb that should be external sd card?
I have install several games and apps but I really want them to be on external 16gb and not intern 5gb, I tried Apps2SD but it only move to phone 5gb storage instead of 16gb external. And I don't want to use CM7, I just want to use original firmware until they release 2.3.
Are there any solution for this?
I don't even get to choose where to install games/apps, they just install on phone and than I try to move with Apps2SD but it only go in to phone's memory.
//Cheers
May I ask why you want to do this?
The way this phone mounts your storage cards, you can only use the external card for storage. movies, music and such things, while the internal is used for applications.
the internal card is mounted at /mnt/sdcard, while the external card is mounted in /mnt/sdcard/_ExternalSD. that way you access your external through your internal, and applications will see it as one card. Problem is, most applications don't use _ExternalSD explicitly, they all use the sdcard root directory and take it from there.
For most users this way is the preferred. They save music and such things on external and that way keep the internal from clogging up. 5,5GB for application data is more than enough for most of us.
This phone has a large data partition (1,4GB) where ALL applications are installed (this is android default, and probably nothing to do about). This partition will hold thousands of applications.
But if you would like to switch, it is possible by editing a system file. This will require you to install clockworkmod, preferably a version with adb support.
This may void your warranty, and there is always a slight possibility of bricking the device when working with system files. And I can not guarantee it will work.
I will tell you exactly what to do if you choose to try.
The reason why I want to do this is because I want as much storage as possible, sure 5.5gb might be enough but game like Spectral Souls just took around 1gb data to download. I mean it's kinda stupid not to use SD Card as storage for application also. That's why I kinda miss my old HTC HD2, I could move apps/games to my SD Card without using intern storage.
If there's the only way to install a custom rom I think I will pass.
I like to use it the firmware it come with, using Launcher PRO Plus atm and I love it. Fast and smooth. Oh well.... This is kinda annoying not to be able to use full out of SD Card. But thanks for the info.
Stikkontakt said:
May I ask why you want to do this?
The way this phone mounts your storage cards, you can only use the external card for storage. movies, music and such things, while the internal is used for applications.
the internal card is mounted at /mnt/sdcard, while the external card is mounted in /mnt/sdcard/_ExternalSD. that way you access your external through your internal, and applications will see it as one card. Problem is, most applications don't use _ExternalSD explicitly, they all use the sdcard root directory and take it from there.
For most users this way is the preferred. They save music and such things on external and that way keep the internal from clogging up. 5,5GB for application data is more than enough for most of us.
This phone has a large data partition (1,4GB) where ALL applications are installed (this is android default, and probably nothing to do about). This partition will hold thousands of applications.
But if you would like to switch, it is possible by editing a system file. This will require you to install clockworkmod, preferably a version with adb support.
This may void your warranty, and there is always a slight possibility of bricking the device when working with system files. And I can not guarantee it will work.
I will tell you exactly what to do if you choose to try.
Click to expand...
Click to collapse
You don't need a custom rom, but you need clockworkmod recovery to update the system file needed to change the mounts.
But I still don't see the reason why you need this.. your card is probably also waaay slower than the internal memory
anyways, here's the steps.
create a folder called _ExternalSD in your external SD card
install clockworkmod recovery, download a version supporting adb here on the forum
connect your phone to your computer via usb and make sure drivers are installed.
download ADB: http://dl.dropbox.com/u/27197205/ADB.rar
extract archive, open command prompt on that folder
reboot into recovery by holding vol down and power until the second lg logo appears, then release both
go to mounts and storage in CWM and mount /system
run pull.bat from command prompt. you should get confirmation that one file was transferred
in the files folder inside ADB folder there is a file called vold.fstab. make a copy for backup. Open it in a text editor
i don't have the original vold.fstab available, so not sure exactly what it says, but there are two lines on the bottom.
They probably says (not necessarily in this order)
dev_mount sdcard /mnt/sdcard auto (and something more here)
dev_mount sdcard /mnt/sdcard/_ExternalSD auto (and something more here)
switch this part, leaving everything from auto where it is.
save file and run push.bat from command prompt, you should get a confirmation that file is transferred.
reboot and check if everything is OK. This should work, but if you or some reason get memory card errors after boot, restore the original vold.fstab and I'll look into it.
Hmm I get stuck on part where I run ADB on PC and use pull, it doesn't give me any file in files folder.
On command Promp:
C:\ADB>adb pull /system/etc/vold.fstab /files
*daemon not running. starting it now on port 5037 *
* daemon started successfully *
111 KB/s <682 bytes in 0.006s>
That's what I get, but no file in files folder.
Stikkontakt said:
anyways, here's the steps.
create a folder called _ExternalSD in your external SD card
install clockworkmod recovery, download a version supporting adb here on the forum
connect your phone to your computer via usb and make sure drivers are installed.
download ADB: http://dl.dropbox.com/u/27197205/ADB.rar
extract archive, open command prompt on that folder
reboot into recovery by holding vol down and power until the second lg logo appears, then release both
go to mounts and storage in CWM and mount /system
run pull.bat from command prompt. you should get confirmation that one file was transferred
in the files folder inside ADB folder there is a file called vold.fstab. make a copy for backup. Open it in a text editor
i don't have the original vold.fstab available, so not sure exactly what it says, but there are two lines on the bottom.
They probably says (not necessarily in this order)
dev_mount sdcard /mnt/sdcard auto (and something more here)
dev_mount sdcard /mnt/sdcard/_ExternalSD auto (and something more here)
switch this part, leaving everything from auto where it is.
save file and run push.bat from command prompt, you should get a confirmation that file is transferred.
reboot and check if everything is OK. This should work, but if you or some reason get memory card errors after boot, restore the original vold.fstab and I'll look into it.
Click to expand...
Click to collapse
I see I did something wrong in the pull.bat file
it should say
adb pull /system/etc/vold.fstab files
Hmm.... What should I do now? I mean what should I type in command prompt? just pull? or more command? to get vold file.
Should I re-download your ADB? XD
EDIT: Hm I reboot phone both intern memory and extern memory doesnt show up.
Stikkontakt said:
I see I did something wrong in the pull.bat file
it should say
adb pull /system/etc/vold.fstab files
Click to expand...
Click to collapse
just type
adb pull /system/etc/vold.fstab files
EDIT: Hm I reboot phone both intern memory and extern memory doesnt show up.
Aaah I got file now:
## Vold 2.0 NVIDIA Whistler fstab
#######################
## 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
######################
## 20100725, [email protected], Add 2nd external memory
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
It's those up lines there dev_ right?
Stikkontakt said:
just type
adb pull /system/etc/vold.fstab files
Click to expand...
Click to collapse
Try:
## 20100725, [email protected], Add 2nd external memory
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
or if that fails
## 20100725, [email protected], Add 2nd external memory
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
Stikkontakt said:
or if that fails
## 20100725, [email protected], Add 2nd external memory
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
Click to expand...
Click to collapse
I tried this one, so I just run push, how do I know if it have upload to phone?
you should get a confirmation if you ran it from a command prompt.
Stikkontakt said:
you should get a confirmation if you ran it from a command prompt.
Click to expand...
Click to collapse
I did on second and when I boot in to phone, both memory extern and intern got no recognize both dont show up. Im gonna try first one you post now.
when I type push it say:
55 KB/s <679 bytes in 0.012s>
Is this confirmation?
EDIT: Both don't work. My Intern and external doesn't show in phone. Did I do something wrong?
that means something transferred, so yes, it's kind of a confirmation..
Stikkontakt said:
that means something transferred, so yes, it's kind of a confirmation..
Click to expand...
Click to collapse
Both don't work. My Intern and external doesn't show in phone. Did I do something wrong?
Probably not. I have CM7 installed, so I'm not able to test myself. Therefore hard to get it right
Try this:
Code:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
Stikkontakt said:
Probably not. I have CM7 installed, so I'm not able to test myself. Therefore hard to get it right
Try this:
Code:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
Click to expand...
Click to collapse
Doesn't work but I have a question, maybe I did wrong. Should it say like this?
## 20100725, [email protected], Add 2nd external memory
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
or
## 20100725, [email protected], Add 2nd external memory
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
I mean should I replace what you give me? or add them 2 more extra line?
you should only have two dev_mount lines after ## 20100725, [email protected], Add 2nd external memory
just like your original file..
Hi guys, I believe that this has been bumped numerous times. But I would appreciate it if some one could upload a .zip for cwm to patch the system.
Basically I would like to swap the internal sd dir to external sd dir vice versa so that I can install games and applications on my external sd card. I tried to mod the vold. but in the end it shows that both drives are unavailable.
Please help.
Code:
## Vold 2.0 NVIDIA Whistler fstab
#######################
## 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
######################
## 20100725, [email protected], Add 2nd external memory
#LGE_CHANGE_S[[email protected]] change for issue: not able to boot with corrupted SD card
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0
After I did this, the device can't mount either the internal or external sd. It says unavailable in the storage page.
Sorry mate I have only tried it to Django Manouche ROM.
raz0r9199 said:
After I did this, the device can't mount either the internal or external sd. It says unavailable in the storage page.
Click to expand...
Click to collapse
bro post up ur original vold.fstab file and ill edit it to make it work
Swap on internal sdcard is very much risky and not at all recommended. Because swap write very often reduntantly which can damage phone internal flask memory . You can use it on external card which is if cause damage then even cost-effective. Best idea would be zram/compcache
Sent from my LG-P990 using Tapatalk
raz0r9199 said:
Hi guys, I believe that this has been bumped numerous times. But I would appreciate it if some one could upload a .zip for cwm to patch the system.
Basically I would like to swap the internal sd dir to external sd dir vice versa so that I can install games and applications on my external sd card. I tried to mod the vold. but in the end it shows that both drives are unavailable.
Please help.
Click to expand...
Click to collapse
Why would you wanna do it the hard way?
There's a setting for this:
Check the Settings->Cyanogenmod Settings->Application->Use Internal Storage setting and that should swap your internal and external SD.
Hope this helps
Hi bro, I'm using stock gingerbread from LG and thats the problem. I'm on fps 0.2a kernel for now and this is my vold.fstab.
## Vold 2.0 NVIDIA Whistler fstab
#######################
## 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
######################
## 20100725, [email protected], Add 2nd external memory
#LGE_CHANGE_S[[email protected]] change for issue: not able to boot with corrupted SD card
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
I have the same and here it works and external sdcard is on_ExternalSD. What else did you do and what is your ROM.
Playing with that is always risky, and to be honest I can't see your point.
3 out of 6 people can't read correct the first post
orlox said:
3 out of 6 people can't read correct the first post
Click to expand...
Click to collapse
I read and understood and I still don't catch the point.
I think the point is to swap InternalSD (about 4GB) with ExternalSD (or microsdcard) that may be more than 32GB up to each user can buy microsdcard.
So you can do like this
1.make dirrectory /mnt/sdcard/_InternalSD
2.edit vold.fstab to
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
3.add or edit build.prop to
ro.additionalmounts=/mnt/sdcard/_InternalSD
after reboot you will get sdcard map to your microsdcard (see picture) and use all total space may be 32GB as sdcard BUT one problem is you will not use the original 4GB it will say empty and unaviable (let I try to seek how to solve this and will update later)
k101d said:
I think the point is to swap InternalSD (about 4GB) with ExternalSD (or microsdcard) that may be more than 32GB up to each user can buy microsdcard.
So you can do like this
1.make dirrectory /mnt/sdcard/_InternalSD
2.edit vold.fstab to
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
3.add or edit build.prop to
ro.additionalmounts=/mnt/sdcard/_InternalSD
after reboot you will get sdcard map to your microsdcard (see picture) and use all total space may be 32GB as sdcard BUT one problem is you will not use the original 4GB it will say empty and unaviable (let I try to seek how to solve this and will update later)
Click to expand...
Click to collapse
so its not possible to make use of both the internal storage 5 gigabyte and the external sd card at the same time rite
lopiop said:
so its not possible to make use of both the internal storage 5 gigabyte and the external sd card at the same time rite
Click to expand...
Click to collapse
Sorry I not use stock now but modify of vold.fstab work perfect with MiUI rom it only can't use internalsd space for stock rom like V20 may be depend on android version 2.3.4 (CM7 and MiUI is 2.3.7X) so I give up now and look forward to use CM7 or MiUI instead.
Thanks guys finally managed to get it to work. The reason why I'm doing this. Some applications, although you can move to the external sd card, but some files still reside in the internal sd card, so when you have loads of apps, the available storage for your internal memory will go down.
Correct me if I'm wrong.
Hey! I'm new here, and I've just got my brand new droid 3 which works nicely in france using CM9. The only problem i've been encountering is that I have a 32 GB memory card i used to have plugged in on my last phone (a HTC Desire HD), and all of my data was on it. So when i saw the sdcard was actually mounted to /mnt/sdcard-ext and that therefore i would not be able to access my data, i got a little upset. So i worked to find a way to make it mount to /mnt/sdcard every time it boots. I looked up on google and on every forum i could think of, but no signs of help. So now that i've found a way, i'm giving it here so you folks can do it easily. I'm not a great big dev, so it's not a big tweak or hack or something, and so tell me if it's not appropriate to put it here.
So, basically what you have is your phone with your sdcard plugged in, and CM9 installed. I have not tested this method on other ROMs, so i don't know how that will turn out (even though normally it should work, because it's based on android system itself).
I am not responsible for bricking your phone (i did it a few times (happy i had RSDLite)), nor any damage you could cause to your system or anything else. It worked on my phone though, so it should work on yours.
So, basically, what you have to do is open a Terminal Emulator session, become root by tapping su , then go to /etc by typing cd /etc/, then edit your /etc/vold.fstab file using vi or any other text editor you want (i use vi because nano does not work on my phone) : mount -o rw,remount /system && vi ./vold.fstab . Then you will find a text file which looks like this :
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point[:[asec_point]:[lun_point]]> <part> <sysfs_path1...>
...
# internal eMMC
dev_mount sdcard /mnt/sdcard 25 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
# external sd card
dev_mount sdcard-ext /mnt/sdcard-ext auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
...
So what we wanna do is changing this part to this :
Code:
# internal eMMC
dev_mount sdcard /mnt/sdcard-ext 25 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
# external sd card
dev_mount sdcard-ext /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
DO NOT TOUCH TO ANYTHING ELSE, IT COULD DAMAGE YOUR PHONE!
and then that's it, just reboot and your phone's internal storage is now 28 GB if you have a 32 GB card like me (because of software limitations, it actually still is 32 GB but is only shows 28.)
[attachment=20540:Screenshot_2012-03-16-18-23-18.png]
So that was it! thanks for reading, and again tell me if anything's wrong!
In short,
what should vold.fstab look like to link /sdcard/external_sd to the 2nd partition on the EMMC external sdcard? (/dev/block/mmcblk0p2 is a bad idea)
Background and why you might want to do this:
3 data partitions, how best to arrange? (/mnt/emmc /mnt/sdcard & 2nd emmc partition)
My internal memory has shrunk down from 8gb to about 4gb, which is annoying but natural for flash storage.
This is no longer enough space for apps such as Sygic to store it's maps in.
Sygic looks in /mnt/sdcard & /mnt/sdcard/external_sd. These older apps are always going to be a problem so I'm looking to make /mnt/sdcard/external_sd available somehow. But which way is best?
I have 2 partitions on the EMMC sdcard and the internal SDcard is just fat32:
Internal SD = ~4gb, /mnt/sdcard
External SD partition 1 = fat32, ~10gb, /mnt/emmc
External SD partition 2 = ext3, ~5gb, currently used by link2sd in /mnt/sec I think
Click to expand...
Click to collapse
/mnt/sdcard/external_sd is unused.
I would prefer to do:
Code:
ln -s /mnt/sec/external_sd_emulated /mnt/sdcard/external_sd
...but presumably because the /mnt/sdcard is only fat32 I have permission denied. I was hoping this would work since the source for the link is ext3 even if the destination is fat32.
I could edit fstab to change that but I'd rather not if possible because that's a bit too non standard for me. If I did though... what would that be?
I guess it would be adding to vold.fstab:
Code:
dev_mount emmc /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.[B]3[/B]/mmc_host/mmc[B]2[/B]
^ but should it be a 3 or a 1 at this line? fstab -l with no output and nothing in /devices makes it hard to figure out
I would normally experiment but in this case I don't want to get it wrong. How do I find out what /mnt/asec is mounted to because df isn't showing it
Just to show I have searched, a related thread:
http://forum.xda-developers.com/showthread.php?t=941443
&
http://forum.xda-developers.com/showthread.php?t=1524831
Also a note to anyone reading this; obviously backup your vold.fstab file... but also put it somewhere that you can access easily via adb and CWM recovery if it doesn't work. I guess mounting /dev/block/mmc... might work but that would then fail if the sdcard isn't present... which would be I guess when USB mass storage mode is turned on.
Some documentation on /devices on Android would be good:
http://miuiandroid.com/community/threads/vold-fstab-modding-need-help.15576/
Same problem.
I used Galaxy S 8GB and found that it's too less space for install many game.
So I buy micro sdhc 32 GB.
I added it in vold.fstab too but it seem like does not work.
Now I used workaround by run command.
mount -o /mnt/sdcard/Android /mnt/emmc/Android/
But it's not convenient to use because if you want to plug computer via USB you must umount first unless it might have problem when mount.
So If you can find solution to add it automount external sd (micro sdcard ) at startup same as internal sd feature please guide me.
Thanks
frankind said:
I used Galaxy S 8GB and found that it's too less space for install many game.
So I buy micro sdhc 32 GB.
I added it in vold.fstab too but it seem like does not work.
Now I used workaround by run command.
mount -o /mnt/sdcard/Android /mnt/emmc/Android/
But it's not convenient to use because if you want to plug computer via USB you must umount first unless it might have problem when mount.
So If you can find solution to add it automount external sd (micro sdcard ) at startup same as internal sd feature please guide me.
Thanks
Click to expand...
Click to collapse
you're gonna need an entry to whatever the sdcard is but from /devices so it ejects properly. the thing is I I'm not 100% the syntax in my first post is correct.... the only way is to try it unless we can find a command that is equivalent to fdisk -l on linux?
An app called directorybind can do this bit running an app all the time isn't ideal and it crashes for me from time to time