[Q] Running games from SDCard instead of internal memory?
recently installed few games and run out of memory quickly, but my SDcard still got about 7GB left, how can I run games from my sdcard, I tried move most of games, but it allowed only move like 3 games from 10 :/
You moved 3 games to the external sd card and they worked ? ,are you sure you didnt move them to the internal sd card ?
bolinao said:
You moved 3 games to the external sd card and they worked ? ,are you sure you didnt move them to the internal sd card ?
Click to expand...
Click to collapse
Nope, moved to SD card (Dungeon Defenders, Medieval Castle Defense, Sacred Odyssey, TegraZone Games). It allow me to move back to phone aswell, but rest games I can't even move to SD card... :/
If you have a bit of Linux terminal knowledge you could try moving all the data for the games to your external sd card and create symlinks or softlinks from the old directory names on your internal storage to the new ones on your external sd card using the adb shell.
Assuming you are rooted and know how to connect to your phone's terminal using the adb shell command you'll do something like this:
mv /usr/local/myGame /sdcard/
ln -s /sdcard/myGame /usr/local/myGame
This will move the directory called myGame that's initially in the /usr/local/ directory on your internal storage to your sd card after which you have a directory called myGame on your sd card with all the data in it for the game. So the mv command basically is the same as cutting and pasting a directory on Windows, you remove it from one location and store it in another.
Then you create a link in the /usr/local/ directory that redirects all requests that go to the myGame directory on the internal storage directly to your myGame directory on the sd card. In theory it should work perfectly as the Android system should treat a symlink in the same way as a direct link.
If you get an error when you create the symlink with the ln -s command or the game doesn't work anymore you can just move back the data on the sd card and everything will be as it was: "mv /sdcard/myGame /usr/local/"
You could also try some of the apps2sd apps in the Market.
What is the actual memory size reserved for apps?
Thanks.
What is the actual memory size reserved for apps?
Thanks.
Click to expand...
Click to collapse
5.7GB SD + 1GB internal can't use the external SD at the moment for apps
Sent from my LG-P920 using Tapatalk
bioweb said:
If you have a bit of Linux terminal knowledge you could try moving all the data for the games to your external sd card and create symlinks or softlinks from the old directory names on your internal storage to the new ones on your external sd card using the adb shell.
Assuming you are rooted and know how to connect to your phone's terminal using the adb shell command you'll do something like this:
mv /usr/local/myGame /sdcard/
ln -s /sdcard/myGame /usr/local/myGame
This will move the directory called myGame that's initially in the /usr/local/ directory on your internal storage to your sd card after which you have a directory called myGame on your sd card with all the data in it for the game. So the mv command basically is the same as cutting and pasting a directory on Windows, you remove it from one location and store it in another.
Then you create a link in the /usr/local/ directory that redirects all requests that go to the myGame directory on the internal storage directly to your myGame directory on the sd card. In theory it should work perfectly as the Android system should treat a symlink in the same way as a direct link.
If you get an error when you create the symlink with the ln -s command or the game doesn't work anymore you can just move back the data on the sd card and everything will be as it was: "mv /sdcard/myGame /usr/local/"
You could also try some of the apps2sd apps in the Market.
Click to expand...
Click to collapse
I've done some tests yesterday and this method unfortunately doesn't work. The mv command doesn't allow moving files or directories from the internal storage to the external sd card. Instead, I tried using Root Explorer. As a test I moved all the datafiles for Angry Birds to my SD Card and using the ln -s command I created a symlink.
The symlink itself worked perfectly, I could get a complete directory listing of what used to be on the internal storage with the adb terminal. However, Angry Birds unfortunately didn't start but just force closed. I guess Android has some built in security.
It's strange though as this exact method was used in the earlier lagfixes for the Galaxy S to copy systemfiles to the sd card and symlinking them.
bioweb said:
I've done some tests yesterday and this method unfortunately doesn't work. The mv command doesn't allow moving files or directories from the internal storage to the external sd card. Instead, I tried using Root Explorer. As a test I moved all the datafiles for Angry Birds to my SD Card and using the ln -s command I created a symlink.
The symlink itself worked perfectly, I could get a complete directory listing of what used to be on the internal storage with the adb terminal. However, Angry Birds unfortunately didn't start but just force closed. I guess Android has some built in security.
It's strange though as this exact method was used in the earlier lagfixes for the Galaxy S to copy systemfiles to the sd card and symlinking them.
Click to expand...
Click to collapse
damn, must somewhere find method what could work :/
Use Root Explorer open /system/etc/vold.fstab
you will find two line like:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Edit into the following:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Then save and reboot, the SDCard and internal memory will swap.
wan0eve said:
Then save and reboot, the SDCard and internal memory will swap.
Click to expand...
Click to collapse
Do you mean the external sd card and the internal sd card will swap.
bolinao said:
Do you mean the external sd card and the internal sd card will swap.
Click to expand...
Click to collapse
Yes, it is.
wan0eve said:
Use Root Explorer open /system/etc/vold.fstab
you will find two line like:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Edit into the following:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Then save and reboot, the SDCard and internal memory will swap.
Click to expand...
Click to collapse
will try it out.
might need to download again all game files, becouse it will take years to copy from external to sd
Thats an cool idea. Any tests yet ?
wan0eve said:
Use Root Explorer open /system/etc/vold.fstab
you will find two line like:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Edit into the following:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Then save and reboot, the SDCard and internal memory will swap.
Click to expand...
Click to collapse
wan0eve, how ****ing sure were you about this before telling others about this? I almost got my phone stuck with this and felt so stupid ever
http://android.modaco.com/topic/340279-get-gameloft-games-to-external-sd/
this will make all gameloft game data onto external sd...
wc326 said:
http://android.modaco.com/topic/340279-get-gameloft-games-to-external-sd/
this will make all gameloft game data onto external sd...
Click to expand...
Click to collapse
WOW,it works ..thanks for this
bolinao said:
WOW,it works ..thanks for this
Click to expand...
Click to collapse
OP should put this link on his first post so everyone will knows
wan0eve said:
Use Root Explorer open /system/etc/vold.fstab
you will find two line like:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Edit into the following:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Then save and reboot, the SDCard and internal memory will swap.
Click to expand...
Click to collapse
Can anyone confirm this working?
I been trying to find a way to do this for a while now and I don't want to brick my phone.
iDutchy said:
Can anyone confirm this working?
I been trying to find a way to do this for a while now and I don't want to brick my phone.
Click to expand...
Click to collapse
Here is an easier way:
http://forum.xda-developers.com/showthread.php?t=1091455
bolinao said:
Here is an easier way:
http://forum.xda-developers.com/showthread.php?t=1091455
Click to expand...
Click to collapse
That is only for gameloft right?
how about my other apps I just want my 16GB card to be the main SD card to copy apps and games to. that's why I wanted to know if this fix works to swap both SD cards.
if it does do I need to format before I do it etc will I brick my phone what are the dangers etc?
how do i get internal storage to show on miui without a sdcard?
What exactly do you mean show?
Sent from my LG-P999 using xda premium
I believe I may be having same issue so i will explain. My phone after flashing to MIUI cannot jse a sd card I put in for what ever reason when I insert one it gets super hot and just tells me card is ready for removal with no way to mount. Before Rom Manager would allow me to use internal memory for roms or downloads from browser but after miui I cannot even find the internal memory. We just want a way to access it.
Just flashed miui on my G2x and an experiencing the same problem...
If you don't have an SD card and want to make the internal SD act as the external click here and flash the external secondary miui one.
I want to try the MOD you posted but can't download it to phone because of no sdcard problem.
ahddm said:
I want to try the MOD you posted but can't download it to phone because of no sdcard problem.
Click to expand...
Click to collapse
What I did was restore to gingerbread or cm7. (basically a ROM that can discover the internal sd.) Then i connected it to my computer, put the mod and MIUI on my internal SD, wiped data, wiped cache, flashed miui, flashed the mod and bingo
I think I have a solution for you. You will need a file manager with a text editor built in like Root Explorer. Brows to /system/etc and open vold.fstab. This is the file that tells the OS where to mount the storage. Yours is most likely trying to mount the internal on the external sd which is default. All you have to do to change this is to change the vold.fstab from this:
Code:
# Internal SD card
dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
To this:
Code:
# Internal SD card
dev_mount emmc /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
Today I installed the AOKP ROM for my phone and whenever I go to Gallery or try to take a picture or any other number of apps that need access to the internal SD card, I get the message "No external storage available." I do not own an external sd card so I would like to use the internal one. How would I go about doing this? Thanks!
lostradiant said:
Today I installed the AOKP ROM for my phone and whenever I go to Gallery or try to take a picture or any other number of apps that need access to the internal SD card, I get the message "No external storage available." I do not own an external sd card so I would like to use the internal one. How would I go about doing this? Thanks!
Click to expand...
Click to collapse
This is an issue that's currently being looked into by Whitehawk and all the other ics devs. If internal storage is an absolute necessity, I suggest you hang with gb for now. Maybe try the cm7.2 RC1 or Hellfire Phoenix.
By default, the internal storage is mounted to mnt/emmc and the external to mnt/sdcard. I modified my vold.fstab (/etc/vold.fstab) to switch the two around and I have access to the internal storage now. Is this what you're looking for?
Code:
#######################
## 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
######################
dev_mount emmc /mnt/sdcard 8 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
Same issue.. My sd card went corrupt and now it is really troublesome with apps like camera asking for sd card
Hello Sir,
I have recently purchased iball andi 4.5h. I observed that the apps and games that i download are installed in Phone Storage. I want these apps to get installed to sd card. How can i do so? I don't want to root my phone.Please help.
Thanking You in anticipation.
First Root your phone.
Install any File Explorer, which gives you Root access permission.
Open the file explorer (Root Explorer) and browse to /system/etc and find a file named as vold.fstab.
You may Find there the following/similar lines:
dev_mount sdcard /mnt/sdcard
[email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Replace the sdcard with sdcard2 and sdcard2 with sdcard so that it will look like this:
dev_mount sdcard /mnt/sdcard2 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
Now save the Changes on Editor and exit the Editor.
Re-boot your device to take effect of the Changes.
I found another solution. (without root). I had bricked my phone some days back. I took it to iball service center and they flashed stock ROM with updated kernel in it. After this, in settings<storage, i get menu of 'default write cache' and in it there are two options. 1.phone storage and 2. SD card.. just select SD card and reboot
My file only have one line... and the internal memory is 256...
Please, help...
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
Ventrue666 said:
My file only have one line... and the internal memory is 256...
Please, help...
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
Click to expand...
Click to collapse
I Cant understand the ISSUE Bro..Cant help. Sorry!
provide some details
jime1 said:
I Cant understand the ISSUE Bro..Cant help. Sorry!
provide some details
Click to expand...
Click to collapse
Sorry, my mistake...
Start from beginning... I need change my External memory (SD) for use like Internal memory. But in this file have only a line, and everytime i try change this, like some guides i see in this forum, the smartphone can't recognize the sd anymore and the internal memory still the same.
I only have 256 MB in my phone.
Ventrue666 said:
Sorry, my mistake...
Start from beginning... I need change my External memory (SD) for use like Internal memory. But in this file have only a line, and everytime i try change this, like some guides i see in this forum, the smartphone can't recognize the sd anymore and the internal memory still the same.
I only have 256 MB in my phone.
Click to expand...
Click to collapse
:good: I get it now. you trying to partition your sd card like ext4 or ext3 so that you can use that partion as internal memory with the help of int2ext or mounts2sd or link2sd right..? give me some details about your phone..