[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
Problem:
After Upgrading to 0224 official MSI ROM, you'll have a new issue with the SD card, it means your SD card is totally unusable and all the apps know the internal 4GB memory (in fact about 2GB) as the primary and the only alternative memory of device, so all related data files will be on "storage/Android/data/".
Solution:
With this modification we'll completely switch the Internal Storage of the device (4GB) with your External SD card (up to 32GB) and after this all the data files will be on "External SD/Android/data/"; but the only issue is for the labels, after switching:
4GB Internal Storage as external_sd ("/mnt/extrenal_sd')
(up to)32GB External SD as flash or sdcard ("/mnt/storage")
Requirements:
1- Root access (use Gingerbreak, see here)
2- Root Explorer or any app you can modify the file "/system/etc/vold.fstab" with
3- Overwriting the attached file or simply changing the codes as below and Reboot:
Before:
Code:
dev_mount flash /mnt/storage 1 /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
After:
Code:
dev_mount sdcard /mnt/external_sd auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount flash /mnt/storage 1 /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
talk about persistence...
Many thanks goldie, I will try this out later.
Regards
Is this SD card problem still an issue with the latest 0306 firmware? I'm about to upgrade.
bradfree63 said:
Is this SD card problem still an issue with the latest 0306 firmware? I'm about to upgrade.
Click to expand...
Click to collapse
I found this Issue on the latest Enjoy10's firmware 0224. you can try the latest ver. for your tab; any problem by the storage, just try my way!
I have a rooted Xolo q700i phone. I've installed a external sdcard and which is shown as sdcard0 in /storage. In /storage there is also sdcard1 which is i think internal sdcard. I am not using this internal sdcard. Since my internal memory is full, I want to use this internal sdcard with link2sd.
Can someone please help me with this.
- How to create partition in internal sdcard?
- How to use internal sdcard with link2sd?
I don't want to use my external sdcard for this as that one is nearly full and I have to remove it sometimes.
Thanks
Hi everyone!
I've installed CM10 (4.1.2) from SD card. Now I want use device without SD card. But applications don't work without external SD card (No external storage available). I suppose this is because CM swapped internal storage with the SD card.
Now I want swap it back.
I've found vold.fstab file located in /system/etc folder. It contains:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Please help.
Best regards,
Alex