[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?
Related
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!
How do you move apps and data to to external sd card on P920?
My internal sd card is full, so bought an external one, but can't move any of the apps to external, every-time I try "move to sd card" gives out error memory is full no space to move. I know internal is full but how can I ask it to move it to external? Which for the moment is sitting there doing nothing.
Thanks
You can't move apps to the ext. SD, just to internal sd card. The ext. SD is for your music, pics, videos,...
Gesendet von meinem LG P920 - Optimus 3D
There is an app on the play store called GL to SD .. that should help get large games and large apps onto your new ext SD card
Sent from my LG-P920 using xda app-developers app
coolfi said:
How do you move apps and data to to external sd card on P920?
My internal sd card is full, so bought an external one, but can't move any of the apps to external, every-time I try "move to sd card" gives out error memory is full no space to move. I know internal is full but how can I ask it to move it to external? Which for the moment is sitting there doing nothing.
Thanks
Click to expand...
Click to collapse
if you have rooted your fone, use Titanium Backup to move them batch from internal memory to SD card using the "batch" option.
schubeir
Thanks all, will try some of those suggestions, but I would have thought a rom with that feature is a must.
Yes my phone is rooted, could I not rename external sd card to act as internal and mv internal to backup or something? or combine both the external and internal as one large space? I've barely begun to add things yet.
There is an app called Directory Bind. With this app you can move entire directories to ext_sd. Just google it, or pm me. Than I search for the link the time I come home again.
Gesendet von meinem LG-P920 mit Tapatalk 2
My phone dosent read any SD card
Hi
I have P925 i flashed on it V21E then install many custom rom and i have the same problem my phone cannot read my sd card
then i try to downgarde to original v20p and also it not work
any help please
schubeir said:
if you have rooted your fone, use Titanium Backup to move them batch from internal memory to SD card using the "batch" option.
Click to expand...
Click to collapse
Titanium Backup (and the Android system) can move apps from the internal memory to the internal SDcard but they cannot move apps from the internal SDcard to the external SDcard, I think.
maybe you need move some movies or photos to external SD card instead of the apps
Swap cards
Hi,
You can swap your external and internal cards.
Need root.
Copy everything from internal card to external card.
Install ES File Explorer.
In Settings-->Tick Mount File System
Tick Up to root
Tick Root Explorer
Click Up to get to root
Goto system
Goto etc
Click on vold.fstab-->Open As text
You should back up this file just in case
Change the following 2 lines:
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
to:
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
Save
Reboot
lisewski said:
Hi,
You can swap your external and internal cards.
Need root.
Copy everything from internal card to external card.
Install ES File Explorer.
In Settings-->Tick Mount File System
Tick Up to root
Tick Root Explorer
Click Up to get to root
Goto system
Goto etc
Click on vold.fstab-->Open As text
You should back up this file just in case
Change the following 2 lines:
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
to:
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
Save
Reboot
Click to expand...
Click to collapse
Not working for me, i'm using GB 21e, do i have to change other file, i.e.default.prop, build.prop, etc
Thank you
Hi everyone ,seeing how my tablet slows down every time i install an app i bought myself and sd card class 10,16gb.
I just installed the freshest cm10 build now i want to set it up so that the apps automaticly install on the sdcard ,can u guys help me out )?
Tried the foldermount ,but it`s very confusing and uncofortable.
THX in advance
Bump ? PLEASE I REALLY NEED YOUR HELP
running speed of the apps in internal storage is always faster than the one in external sd card. 4.5G internal storage usually enough for app installation. If internal sd card is not enough, maybe you should swap internal sd card and external sd card. It's better.
impliu said:
running speed of the apps in internal storage is always faster than the one in external sd card. 4.5G internal storage usually enough for app installation. If internal sd card is not enough, maybe you should swap internal sd card and external sd card. It's better.
Click to expand...
Click to collapse
Can you please tell how to swap? The vold.fstab method is no longer working.
Wiyosa said:
Can you please tell how to swap? The vold.fstab method is no longer working.
Click to expand...
Click to collapse
I don't use CM with my 3113. For my Nook HD running either CM and JB 4.2.2 or JB 4.3 there is a script. If you look at the OP in this thread,
http://forum.xda-developers.com/showthread.php?t=2062613
"LeapinLar wrote:
4. Swapping "sdcard" and "ext_sdcard" read this
"I have two zips attached below, one to install the swap feature and one to remove the feature. Just flash the one you want and on the next boot it will become effective.
I also now have a version for the official CM10.1/CM10.2 on emmc for the HD+ and HD."
Maybe this will point you in a direction to get the answer. I lack the knowledge and skills to experiment.
#!/system/bin/sh
sleep 10
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 30
mount -o bind /data/media/0 /mnt/ext_sdcard
chmod 777 /mnt/ext_sdcard
exit
You'll have to watch the name and locations, ext_sdcard might be extSdCard for the Galaxy Tab 2.7. You should consider having a .zip to flash from recovery to overwrite the experimental script. You might try ScriptManager to test running the script.
So, I installed CM13 Alpha4 and Enabled Adoptable storage for my card. I downloaded Minion Rush to understand what data it stores on the actual sdcard (sdcard1) vs on the internal storage (sdcard0). The app instead of being on /data is on the external sdcard. All the data the game downloads goes to /sdcard/Android/data which is still about 200MB(Internal Storage). So, apps like WhatsApp, Instagram, etc will create their usual folders on the tiny 4GB Internal storage (sdcard0). On lollipop, I used Foldermount to keep all these folders on the actual sdcard and mount them to internal.
So, I tried the same with Adoptable Storage in the picture. (First I tried foldermount and set up the external card as portable but it failed).
Symlinking wouldn't work as they're different devices. (Or can it?)
The adoptable storage is mounted to /mnt/expand/blablabla/
Using this command to symlink
Code:
ln -s /mnt/expand/99d984f9-04df-445f-992d-abda2b2bcc6a/Mounted /sdcard/Mount
It returns "Function not Implemented".
Then I tried
Code:
mount -o bind /mnt/expand/99d984f9-04df-445f-992d-abda2b2bcc6a/Mounted /sdcard/Mount
and it sorta worked. When in adb shell, cd-ind to /sdcard/Mount, using ls displays all the contents of the folder "Mounted" in the adopted sdcard. However, using a file explorer on the device says the folder is empty. Tried Solid Explorer and ES. Moreover, the folder "Mounted" in adoptable has just one mp3 file and it isn't displayed in the Music app either, after mounting. Creating a file or folder in /sdcard/Mount using ES or Solid, fails. Can anyone help me figure this out, and is this even possible? (Tried foldermount here too. Toggle doesn't go green)
Another thought was to have a sdcard with two partitions. Tried that but when converting to adoptable, It formats to one partition. Is it possible to repartition without losing data after it's formatted as adoptable? It is somewhat possible to read write the card in Linux - Decrypting Android M adopted storage
This is just an idea to make better use of Adoptable storage.
Cheers!
AgentFabulous
Use following to have mixed storage from your external sd card both as adopted and portable storage. This can be done via android terminal app or through adb from your pc.
$ sm list-disks adoptable
disk:179_64
$ sm partition disk:179_64 mixed 75
$
gives me 75% as portable storage.
However I advise a reboot after setting