Requirements :
Terminal Emulator
Game data
SuperUser
The game data is usually found in /sdcard/Android/data or at /sdcard/Android/obb....
1] Copy the game data from your internal sdcard to the external sd card.
2]Create an empty folder with the same name as that of the game data folder at the place from where you copied the data.
[In my case i copied jp.sega.vt folder from /sdcard/Android/obb to /extSdCard/gamedata
3]Open terminal emulator and type
su
mount -o bind /current location of game data /location from where you copied game data
In my case, i wrote
Code:
su
mount -o bind /extSdCard/gamedata/jp.sega.vt /sdcard/Android/obb/jp.sega.vt
Do this for all games you want to move..
Enjoy the game...
You'll have to repeat this process every time you restart the tab..Otherwise create a shell script and run it..
the current location of your gamedata is on your extsdcard??
theelitekiller said:
the current location of your gamedata is on your extsdcard??
Click to expand...
Click to collapse
yup...i copied the game data to the extsdCard and now am mounting it to the sdcard...
kan_bleach said:
yup...i copied the game data to the extsdCard and now am mounting it to the sdcard...
Click to expand...
Click to collapse
It keeps telling me mount no such file or directory.
Can you make a video?
Sent from my GT-P5100 using XDA Premium HD app
theelitekiller said:
It keeps telling me mount no such file or directory.
Can you make a video?
Sent from my GT-P5100 using XDA Premium HD app
Click to expand...
Click to collapse
i'll try making one...
Meanwhile, tell me the steps you took..
Also post a snapshot of your root directory...
I made a folder called gamedata on my extsdcard and i copied the folder of the game and put it in gamedata and removed it from sdcard
Sent from my GT-P5100 using XDA Premium HD app
theelitekiller said:
I made a folder called gamedata on my extsdcard and i copied the folder of the game and put it in gamedata and removed it from sdcard
Sent from my GT-P5100 using XDA Premium HD app
Click to expand...
Click to collapse
your sd card should also have an empty folder with the same name as that of the folder of the game...
it worked i just had to type extSdCard instead of extsdcard.
why not just use the script from here..http://forum.xda-developers.com/showthread.php?t=1961097 and have the ext as internal and alot less painful of having to go through each game? Not trying to start a flame war, seriously just asking?
truskillzz said:
why not just use the script from here..http://forum.xda-developers.com/showthread.php?t=1961097 and have the ext as internal and alot less painful of having to go through each game? Not trying to start a flame war, seriously just asking?
Click to expand...
Click to collapse
I found this method more suitable...
kan_bleach said:
I found this method more suitable...
Click to expand...
Click to collapse
gotcha..lol yea was just wondering
or..is not possible merge internal and external card, so with a ext.32gb we could have a 48gb internal sd?
Related
So has anyone been able to figure out how to use the internal memory for movies/music/pictures
I've been able to add items to the internal memory via an update.zip installed through Clockwork.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
NotATreoFan said:
I've been able to add items to the internal memory via an update.zip installed through Clockwork.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
Click to expand...
Click to collapse
I don't think you understood my question. but how would I install my music/movies/pics through an update file, and be able to see it in music player and gallery.
titos1997 said:
I don't think you understood my question. but how would I install my music/movies/pics through an update file, and be able to see it in music player and gallery.
Click to expand...
Click to collapse
I understood your question. I create an update.zip containing the folder structure that Android recognizes, and then I script them to install to internal memory. After rebooting, my ROM is untouched and I have the files in the internal memory.
Can you not just use root explorer to move the media files to a place on internal memory.?
Sent from my DROIDX using XDA App
monkespit said:
Can you not just use root explorer to move the media files to a place on internal memory.?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
You can put them there with root explorer, but the only place I know of that you can put files on the internal memory is /data. If you place them anywhere else they will disappear after a reboot. I have movies on mine (with root explorer)but in order for the app (rockplayer) to see them I have to remount and chmod the /data directory. I have a very simple script in gscript to do this with as the permissions reset themselves after reboot. Here is the command:
mount -o rw,remount -t yaffs2/dev/block/mtdblock3 /data chmod 777 /data
The whole thing is a pain and the stock apps don't see the internal memory so you have to use rockplayer or vplayer to use the files. The update.zip is probably a better solution, but I would have no idea how to go about that.
Here's a script I modified originally its a script written by mattiadj so I gotta give him props
Here's his thread its for the Galaxy S III I think - http://forum.xda-developers.com/showthread.php?t=1772234
This will make your external SDcard as Internal and your Internal SDCard external
It mounts data/media to your extSdcard
Please make a backup before you do this, just in case.
Let me know if you have any problems
1. Anyway.. you will need to place this script in your /data folder (Yes you need to be rooted)
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for just user)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything for user
3. Use Smamager (Download it if you dont have it, ... .its free) and goto the script file and open as script/execute, then when it opens choose "Is executable" and then click "Su" & "Boot". Click "Save".
4. Reboot and enjoy.
To go back to the normal setup just delete the script or open it back up in smanager and clear the SU & Boot options.
In order for some apps to function properly you will have to copy some folders from your old internal sdcard to your "New" one.
For example.. aptoide wouldnt work until the aptoide repos folder was copied over. If you want you can just copy over everything to be safe. I on the other hand just picked and chose what I needed
xalien8dx said:
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for everyone)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything
Click to expand...
Click to collapse
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
imnuts said:
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
Click to expand...
Click to collapse
Changed it to just user read, write, execute..
thanks
So, after this what happens to the internal SdCard. Does it, or is it still being used, and if so for what...?
^ same ? and has anyone tested this and is it safe?
All this is is a modded script from mattiadj. It was written for the GS3, so I changed it to work on the 3113 tablet
Here is what it does quoted from mattiadj
My aim was to use the external sd as internal sd and the original internal sd ONLY for apps installation.
So now my 64gb external sd is used for all tasks which the internal sd was used and the original internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD, which is now mounted as internal
Click to expand...
Click to collapse
The original internal sdcard is mounted by default from the system as /data/media as well as /sdcard and mnt/sdcard
so with this script it puts data/media as extSDCard and /sdcard and /mnt/sdcard are mounted to the original external SDcard
you can still access the internal SDcard from data/media or /extSDCard or mnt/extSDcard
my code
Code:
sleep 5
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 5
mount -o bind /data/media /mnt/extSdCard
this can be easily modified to work on other systems.
Hope this helps,
N8
Tried this out last night. For me it works only if run manually... After reboot, I get long "checking SD for errors" and when it actually mounts SD it gets mounted twice- as both internal sdcard and extSdCard.
Sent from my GT-P3100 using Tapatalk 2
I ran this with SCript Manager (Play Store) and it works great on my p3113. My External SD card was mounted as internal and my Internal Memory was mounted as ExternalSDcard. I am going to love having this script!
If your having problems with it mounting as your internal and external try unmounting/remounting your external card in settings under storage. Or if your skilled enough try changing the second sleep value in the script to a higher number like 10 that should fix it
Works famously. For the apps that have issues just clear data under settings and it seems to be golden.
Sent from my GT-P3113 using xda app-developers app
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
king200 said:
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
Click to expand...
Click to collapse
It should. For example, I use Amazon MP3 and when I downloaded a song before they went to the internal card. Now they are stored on the external. The device reads your external as though it is the internal.
Sent from my GT-P3113 using xda app-developers app
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
kdog48 said:
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Yes
in script manager choose su and boot. If you follow the first post it will execute on boot. Or if you have a rom with init.d support place this script in your /etc/init.d folder, I dont have a rom with init.d support so I dont know if that would work but it should. If someone could test this and let me know I would appreciate it. Im not sure if you still have to set permissions to execute on it.
Well I've had problems downloading certain apps to SD it says insufficient memory delete 0mb of data so I actually will just manually use it haha
Sent from my GT-P3113 using xda app-developers app
Working 100% using a 32GB memory card! thanks for this!
hi guys
is applicable to 2 10.1 GalaxyTab P5100?
requires Android 4.1.1 or 4.0.4. ?
Thank you.
If this works, I will name my next born child after you!
Anyway, I would like to know if this will work on Cyangenmod 9.0.0? Or will it only work on the stock rom. I have my old stock rom of 4.0.4 saved if I need to go back... because I will if this works.
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
I already used the thank link... but stilll thank you so, so much! I just recently got my 8gb 3113... needless to say, I REALLY needed some space. If any, it was a good lesson for me to definitely choose the 16GB Nexus 4.
MadDogE134 said:
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
Click to expand...
Click to collapse
It's from SManager.
how to move apps to external card on I9500 on a rooted device
Sent from my GT-I9500 using xda premium
You can use FolderMount app from marketplace, I don;t think there is another way for now.
thnx. i wil try if it works nothing like it
Sent from my GT-I9500 using xda premium
wasimk9900 said:
thnx. i wil try if it works nothing like it
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Folder mount should work for you if your rooted, does a fine job.
I'm rooted & download foldermount. However I can't seem to find the files to mount to my ext memory.
Games like Candy Crush or Puzzle Trooper, I can't find any files in android/data or android/obb (this folder is totally empty). What should I do?
I Have downloaded file manager to view my system files but I can't seem to mount the apk from data/app in the / memory.
Need help.
Thanks!
Hi, download foldermount and open files from the app by pressing the plus sign to add files and enjoy
Sent from my GT-I9500 using xda premium
wasimk9900 said:
Hi, download foldermount and open files from the app by pressing the plus sign to add files and enjoy
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
For games like Real Football or some other gameloft games that are usually huge in size like above 500mb for the apk, how does foldermount help me with the memory other than only move the data from internal memory android/data or android/obb?
If I use a file manager, I found the apk in /data/data on the phone memory instead & the com.data files etc on /data/app lib.
Anybody knows what I should do with such apps?
Thanks.
That's why you use FolderMount, basically all the huge data is moved to SD card and Android is being fooled to thinking that the data is still on the internal memory. After doing this it looks a little bit strange in Storage info in Settings, as for example my phone has: Total space: around 9GB, Used space: 13GB, Free space: 6GB. I instaled multiple heavy games and all their data is stored on the SD card, you just need to specify which data you want to move.
Edit: Sorry I didn't fully understand your post. You meant that the actuall apk file is of a huge size, I don't think that Folder Mount will help in this situation, as you can only mount folders from the /mnt/sdcard folder. But to be honest all of the games I have store data in either /mnt/sdcard/Android/data or obb folder, and I believe that most games on the Marketplace do the same.
hiobb said:
That's why you use FolderMount, basically all the huge data is moved to SD card and Android is being fooled to thinking that the data is still on the internal memory. After doing this it looks a little bit strange in Storage info in Settings, as for example my phone has: Total space: around 9GB, Used space: 13GB, Free space: 6GB. I instaled multiple heavy games and all their data is stored on the SD card, you just need to specify which data you want to move.
Edit: Sorry I didn't fully understand your post. You meant that the actuall apk file is of a huge size, I don't think that Folder Mount will help in this situation, as you can only mount folders from the /mnt/sdcard folder. But to be honest all of the games I have store data in either /mnt/sdcard/Android/data or obb folder, and I believe that most games on the Marketplace do the same.
Click to expand...
Click to collapse
Exactly, all gameloft and ea games are stored in obb or data so FolderMount does wonders. I bought the pro version and it gets the job done.
Sent from my GT-I9500 using xda premium
Hello guys here another method to extend the Xperia SP internal memory and enjoy all heavy games you want. With this you will mount the /sdcard/Android folder in external memory.
What you need:
1. ROOT
2. init.d support
- UB: kernel with this feature.
- LB: You can use Universal Init.d
3. External SDCARD I have a 32GB class 10 and works like a charm.
Steps:
1. Run "Universal init.d" application and enable init.d
1. Create "/sdcard1/Android" folder
2. Copy or move the content from /sdcard/Android to /sdcard1/Android
3. Create or copy the following script into /etc/init.d/mnt_android:
Code:
#!/system/bin/sh
#script to mount /sdcard/Android in external sdcard
sleep 10
mount -o bind /sdcard1/Android /sdcard/Android
df > /sdcard1/mnt_android.log
4. Set 777 permission to the script file.
5. Reboot and enjoy.
6. Press thanks button.
RESERVED
On the step 3 I was in doubt, says create or copy the script, if I choose to create in what format should I save?
can i mount another one
can i mount another folder with the same steps
many thanks
lvints said:
On the step 3 I was in doubt, says create or copy the script, if I choose to create in what format should I save?
Click to expand...
Click to collapse
no format needed just create the file in plain text and save it with the name "mnt_android" in "/etc/init.d/" folder.
bloodraven174 said:
can i mount another folder with the same steps
many thanks
Click to expand...
Click to collapse
I think it won't be a problem which folder do you want to mount?
Question
jucares said:
I think it won't be a problem which folder do you want to mount?
Click to expand...
Click to collapse
Jucares with your will we have to cut and paste from the internal android folder to the sd card every time we install and app/game?
raziel123 said:
Jucares with your will we have to cut and paste from the internal android folder to the sd card every time we install and app/game?
Click to expand...
Click to collapse
The cut and paste only will be necessary the first time you used this script after that the external data of new apps/games will be installed in the mounted folder (sdcard).
guess it wont work for apps/games installed from other than play store....i tried and games wont run!!
It's work for me, all games is playable...:thumbup:
Sent from my C5302 using xda premium
hey bro. universal init.d, I say this: your kernel does not have init.d support, keep doing the following and step 3: 3. Create or copy the Following script into / etc / init.d / mnt_android: I do not understand if it's not in the system folder or outside the system. excuse the question but I really want to do this. I'm on stock 254 BL root and cwm. and my card is sandisk 32gb ultra HC1
Turn on auto execution tab at top of universal init.d app
Make sure you created the script and copied it to the unit.d folder. Permissionneeds to be set to rw-r-r
Solved (Swap the internal storage with external)
Guy's Guy's Guy's This is an easy and quik and stable method to swap your internal memory with the external big one for our Xpeia SP :laugh:
watch it on youtube
http://www.youtube.com/watch?v=qBzQIxCFtxQ
and on xda for xperia z also works on Xperia SP - V AND ??
http://forum.xda-developers.com/showthread.php?t=2180733
MemoHada said:
Guy's Guy's Guy's This is an easy and quik and stable method to swap your internal memory with the external big one for our Xpeia SP :laugh:
watch it on youtube
http://www.youtube.com/watch?v=qBzQIxCFtxQ
and on xda for xperia z also works on Xperia SP - V AND ??
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Only works on 4.2.1 Roms..... Xperia sp is still stuck on 4.1.2
Im getting this phone soon and need to know if moving apps to SD will be possible after 4.3 update?
Me too, I want to know if this method would still work after 4.3 update.
zakkkkk said:
Im getting this phone soon and need to know if moving apps to SD will be possible after 4.3 update?
Click to expand...
Click to collapse
On Android 4.4.2 (cm 11.0) it works like a charm using FolderMount app. So you should not be anxious as far as you root the phone. You will find a way despite not the one described in this post.
Sent from my C5303 using XDA Premium 4 mobile app
moved chrome and that worked, move a game and that didn't, it exit itself back to homescreen, anyone any idea?
thanks
hi,
some apps store there data on the internal sdcard without the possibility to change the folder. i'be tried the app foldermount and could mount some foldern from the external sdcard to the internal sdcard, so the apps don't know that there store there data on /storage/sdcard1. but how can i do this without an extra app? i now that i can start scripts after android start. so i've tried this in terminal emulator
Code:
mount -o bind /storage/sdcard1/folder /storage/sdcard0/folder
but it doesn't work: "mount: Operation not permitted". how can i do this?
i use stock 4.4.2 (rooted)
gene
You missed su at the beginning of your command
Sent from my Xperia Z2 using Tapatalk
yes, thanks.
but now there is the error "bad option". whats that?
gene2 said:
yes, thanks.
but now there is the error "bad option". whats that?
Click to expand...
Click to collapse
I am using GL2SD app for that purpose. all the games data is in my sd card.
Not too sure what you are up to, but would symlinking work?
Sent from my D6503 using XDA Free mobile app
Maybe, but i think the extsd is fat32 and i'm not sure android can use ext formated sdcards. Fat32 doesn't support symbolic links.
I don't understand what 'bad option' mean.
I use Folder Mount for this purpose. It can move anything (per app obb/data)to external. Try it. if you like it... buy it (3 links max in free version)
Does require root though!
At the moment i use it too. but this is an extra app i have to install. Mounting with script should be the better way - but it doesnt work.