[Tutorial] How to move Gameloft SD Data Cache to External - Galaxy S II Q&A, Help & Troubleshooting

Gameloft has lot of great Android games. However, most of them are not small in size. Samsung Galaxy S II has only 11.50 GB internal USB storage. Gameloft will store all the games data in /sdcard/gameloft/games which is located in internal USB storage.
Asphalt 6 Adrenaline HD itself needs to store 900 MB data files there. Not to mention if you have lot of Gameloft games like BackStab HD, 9MM HD, Dungeon Hunter 2, Order & Chaos and etc…
Gameloft Patcher does not work on every Gameloft games. But no worry, here is a free solution to hack and move Gameloft games data to external SD card.
All Gameloft games are supported.
Note – Root access is required.
Requirements:
-A rooted phone
- Script Manager
- A script
How to:
1- Move your Gameloft folder to external sd. (/sdcard/external_sd/)
2- Create an empty folder named gameloft on your sdcard.
3- Install Script Manager from Android Market here
4-Download the SD-Hack.sh Script on the attachments and save it to /sdcard
5-Launch Script Manager.
6-Go to /mnt/sdcard and select SD-Hack.sh.
7- Check Run as root and Run at boot. (like the picture)
8-Click Save and then Exit.
9-Reboot your phone.
That’s all, maybe you'll need to download the SD data again for some games but it'll be saved on your external sd.

Used to do this on my old HTC DHD. Obviously SGS2 had much more internal memory, so never bothered. Good one.
Sent from my GT-I9100 using xda premium

Non Gameloft games to SD
Just about to route my S3.... Just want to know if you can move the game data for other non gameloft games to my SD card using this method????
Cheers
Paul

if you have a rooted phone...
why not just make a symlink???
---
nevermind .. /mnt/sdcard is VFAT, that doesn't support symlinks
.. is there some kind of "fstab" to make changes permanent and do not install additional software??
i realised when y connect my phone (sg sclcd i9003l gingerbread rooted) from usb
it UNMOUNTS /mnt/sdcard (internal storage) and /mnt/sdcard/external_sd (external sd card)
and REMOUNTS by usb on my pc .. when i stop usb drives on my pc and stops usb storage on my phone
seems it REMOUNTS /mnt/sdcard and /mnt/sdcard/external_sd as were before
may be possible to find and edit the script that *remounts* these devices??
thank you

Thx a lot
Sent from my GT-I9100 using tapatalk2

Game data on CIFS share!!??
OK.
This looks promising. I just created a CIFS share and automount it on boot via mount manager. I mounted my laptop's hard disk partitions and that of the USB external HDD connected to my laptop. I have a partition of 50 GB aprox that is blank. I am hoping that I can use this to store app data using this method. I modified your script like this
!/system/bin/sh
sleep 60
mount --bind /sdcard/pc/H/Android/obb/com.madfingergames.deadzone/ /sdcard/Android/obb/com.madfingergames.deadzone
here pc/H is the cifs mount
Just testing this with one game for now (shadowgun deadzone)
Will test and let you know how I fare!
Thanks a lot for the knowledge!

auldthief said:
OK.
This looks promising. I just created a CIFS share and automount it on boot via mount manager. I mounted my laptop's hard disk partitions and that of the USB external HDD connected to my laptop. I have a partition of 50 GB aprox that is blank. I am hoping that I can use this to store app data using this method. I modified your script like this
!/system/bin/sh
sleep 60
mount --bind /sdcard/pc/H/Android/obb/com.madfingergames.deadzone/ /sdcard/Android/obb/com.madfingergames.deadzone
here pc/H is the cifs mount
Just testing this with one game for now (shadowgun deadzone)
Will test and let you know how I fare!
Thanks a lot for the knowledge!
Click to expand...
Click to collapse
Nope. Doesn't work. It just redownloads data in the internal SD again. any views??

Don't have any Gameloft games, but I DO use ePSXe and have several PS1 game Isos stored on my phone (650Mb a pop)
Will this method work for me?
Sent from my Infected KitKat bar.....

Related

[Q] moving apps data file to external sd card

i would like to move the apps downloaded data file to external sd card
i have try app2sd but result is not promising
it does not move the data file (still in the internal memory or known as /sd)
i using script manager to help with the code as below
#!/system/bin/sh
sleep 60
mount --bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
or
#!/system/bin/sh
sleep 60
mount -0 bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
Click to expand...
Click to collapse
which one is correct?
for now gameloft is successfull at the moment
but if i use on other folder like from "ea" it is not successfull it tend to read back to the internal memory card which require me to redownload the data again
sometime it can read at external but once i restart, it fail again
if i got few app needed to use the command (currently gameloft, ea, lexi-comp) i wanted the data to stay in external sd card
should i create 3 different file for the script manager to run or i just create one single file and dump all 3 command into one single file?
your reply is very much appreciated
I try something similar with DCIM and MEDIA
I tried something similar with folders DCIM / Camera, Media and Music
I create a script with the script program manager and even try to get into the rc.d but I have not found a way to run at startup and run it from root explorer no problem but to run automatically at startup does not work
Use this http://forum.xda-developers.com/showthread.php?t=1410262

If you like me..........

.....and you love to play games on the go then storage is a must for game data.
I upgraded to ICS with condi's fantastic tool but under condi's 3.3 tool I have been unable to use the mass storage option with any success(maybe its me). On installing the tens of gameloft games the internal memory has been quickly eaten up.
The only way that allows me to istall game data is a suggestion from obicom to run a script to direct game data to the external card.
I downloaded "scripter" from google play and inserted;
mount -o bind /mnt/sdcard2/data /mnt/sdcard/Android/data.
(make a folder in sdcard2 called "data")
Only thing I have found is you must run the script every time the tablet has rebooted( which isn't really a problem)
This has worked successfully from HC3.2 to this version of android.
I hope this helps anyone else that installs Gameloft games and to ensure the internal memory stays clear for other things.
One the other hand, if the option in codi's 3.3 tool and has successfully managed to transfer game data over to external card please advise me further.
Cheers,
David.

Apps to SD and Internal USB

Ok this is really annoying that all the app2sd apps only see the 8gig of the USB which is internal on the S1 but says its external on the tablet,
Are there any apps that can move files to the external SD card, on my samsung phone a couple of years ago i had an app installed that did this automatically when installing anything.
tonycrew said:
Ok this is really annoying that all the app2sd apps only see the 8gig of the USB which is internal on the S1 but says its external on the tablet,
Are there any apps that can move files to the external SD card, on my samsung phone a couple of years ago i had an app installed that did this automatically when installing anything.
Click to expand...
Click to collapse
ive got the exacts same problem. its really annoying. but you can make your own script for REAL App/Data 2 SD.
youll just need Scriptmanager to boot the script on start up.
This is an example for my obb folder, which is now placed on the sdcard 2. it saves storage
But dont forget, if u dont fire up the script manually or start it up on boot, your game will try to redownload every data and place it on internal sd again.
Feel free to add some paths: i.e like the gameloft data stored on /android/data/"gameloftfoler".
" #!/system/bin/sh
#OBB Folder
mount -o bind /mnt/sdcard2/Gamesrelated/obb /mnt/sdcard/Android/obb "
(without qoutes)
create a script with scriptmanager, give it root and boot rights. there you go :good:
Thanks i will try that.
Thanks!

[MOD] Obb on SD v0.4.2

I wanted to free up few GB from my internal storage by moving some big OBB files to "real" external SD. There are multiple apps that can do that but most of them need to patch my sdcard daemon (because I run Samsung phone), run on boot to execute the binds/mounts, they have to unmount when connecting to pc (not sure?), want me to (offer) remap various locations or pay for multiple entries...
Then there's XInternalSD which does exactly what I need except few things (requires unnecessary setup) which is why I am coming with my own version of similar module.
Module Obb on SD attempts to make it seamless - just enable module, reboot and move obb's to SD card (to same folder: Android/obb) - that's it. No need to enter any path or whitelist/blacklist any app. Do you want to only move Obb from Grand Theft Auto? Then only move that obb. Obb on SD will detect "obb on SD" and enable hooks only for this single game.
I tried various approaches. For example hooking up constructors of File() but since most of large obb's comes from games - ane they are native, it doesn't really work. I just like to have elegant and efficient solution which I thing this module is.
Need more features or move other directories? Than use FolderMount, GL to SD or other app.
Compatibility? It should be the same as XInternalSD. Almost all games I have work just fine (Rockstar, Gameloft, EA, Sega and others), the only trouble I encountered was with games from DotEmu which had hardcoded path to /mnt/sdcard from within native libraries (and it's outside of scope for Xposed to change such fopen call).
Obb on SD also tries to make Play Store update OBB files directly on SD card. It works during my tests but I hear some have issues with it. If you do, you might want to use the "no_play_store_hooks" version instead (available only from here). EDIT: Since version 0.4 there are configuration toggles for enabling/disabling Play Store hooks.
Download: Xposed Module Repository or Play Store
Source: https://github.com/moneytoo/ObbOnSd
Changelog
Code:
v0.4.2 (20160117)
- Report internal memory path in Settings (including a workaround for related issue).
- Add ad banner. Sorry for this but it's the way to keep the app free while be able to provide future updates. There's an option to purchase a single key to hide ads across all of my apps.
v0.4.1 (20160103)
- Add option for Android (5 and) 6 support (needs to be enabled manually)
v0.4 (20151226)
- Add settings screen
v0.3.2 (20141206)
- Allow Google Translate
v0.3.1 (20141018)
- Exclude first party apps (Android/Google)
v0.3 (20141007) - beta
- Add support for Obb on SD updates/removals via Play Store
- Bug fix
v0.2 (20141002) - experimental
- Add /Android/data support
v0.1 (20140922)
- Initial version
Hi.I am using s4, it's really used up my internal space when I install big game/apps.
This module is great but I want to know if there is a chance for updating that every time when I install a app than it auto moves the obb file to SD card?
Or like folder mount choosing the appear for moving without manually moving by ourselves.
Thanks for your effort !(Sorry for my English, I am not a native speaker -_-)
What I'm most concerned is kernel compatibility. Does this work on custom kernels? FolderMount is very strict and won't find the folders properly if the ramdisk isn't very close to stock one. Also you should add the data folder as well. The one beside obb folder. Some legacy games use that as well.
Yup would be great if option for data folder would be there, though happy with obb too. Thanks.
_____________
Sent from my "GT-I9300/1+1" powered by Temasek/Carbon Rom & Boeffla/ak Kernel
Fueled by 7000mAh ZeroLemon Battery
Does this interfere with storage stats and does it mean that i can just drag n drop the contents of the obb from sdcard to the android/obb on extsdcard at whim and it auto detects?
Next we just need something for internal/data/data/, besides Link2SD plus there seems to be nothing else out there. All samsung androids suffer this same issue.
Thanks for the module!.
I skeptically tried this module to ease my woes with my Galaxy S5 and all the trouble ive been having (for WEEKS) with switching my internal to external sd links.
FolderMount, Link2SD, internal2externalsd (script & app) all failed.
Obb on SD: PROFIT!
THANK YOU THANK YOU THANK YOU! lol
Worked first time without a hitch! Tested XCOM game (obb is 3.5 gb+) - had it installed on both internal and external (64 gb SanDisk) and App Info showed 7 gb - so I renamed the internal obb folder to 1com.etc and it still played! Now I can place all my games on external sd and save SO much room! (2.15 GB free is now 7.35 GB free!)
Running KK 4.4.2 - SM-G900P - ND2 Build (Sprint Galaxy S5)
@leung6340 Obb & updating via Play Store: This is the next thing I want to try - handling updates from Play Store. It could work using the trick with paths changed in File() constructor in Play Store (or other service responsible for download). Will test.
@nicesoni_ash @shivadow Data dir on SD: Another thing I will most probably test and do (if it will work good enough).
@Blackbird256 Just like XInternalSD, it works on much higher level so it doesn't matter what kernel is used.
@shivadow Storage stats - depends what exactly you mean... Application manager will not report correct size though (because it will not find the obb on SD)...
I'm trying this genial module and I past assassin creed on my external sd in android/obb but didn't work
I'm on s4 goldeneye 38.2 with talextop
any help?
seems alot easier than foldermount, but oh well, i payed for the pro version so i guess ill keep using it
zmag said:
I skeptically tried this module to ease my woes with my Galaxy S5 and all the trouble ive been having (for WEEKS) with switching my internal to external sd links.
FolderMount, Link2SD, internal2externalsd (script & app) all failed.
Obb on SD: PROFIT!
THANK YOU THANK YOU THANK YOU! lol
Worked first time without a hitch! Tested XCOM game (obb is 3.5 gb+) - had it installed on both internal and external (64 gb SanDisk) and App Info showed 7 gb - so I renamed the internal obb folder to 1com.etc and it still played! Now I can place all my games on external sd and save SO much room! (2.15 GB free is now 7.35 GB free!)
Running KK 4.4.2 - SM-G900P - ND2 Build (Sprint Galaxy S5)
Click to expand...
Click to collapse
I currently use LINK2SD on my S5. So what do you mean that they fail? How does Odd on SD Better? PLEASE EXPLAIN...
Been waitin o soooo long
With Sd-XC you couldnt partition exFat, so i would have to put nandroids on my 64gb sd-xc with otg cable and use my old 32gb sd partitioned to take care of obb files, soooo point being this is awesome, now i can use one card. Thank you sooooo much to developer.
Xperia Z2 working flawlessly!
Thank you!!!! this is exactly what I've been looking for! no mounting or partitioning just copy obb data to external sd card and install apk and play! so far I've tried two apps/games and it's working perfectly! going to try more tomorrow but thanks again for the amazing work! we really needed this, I look forward to your future updates
Y use this module... only need to install and enable it... then move all of my obb files to the same directory but in the external sd, reboot and that's all. Work perfectly all apps. Better, easier and faster than link2sd and the other available options
Sent from my C6903 using XDA Free mobile app
NICE!!!
moneytoo thank you very much for this amazing module! Works flawless on my sm-g3815 with CM11. Tried so many apps before and this is by far the easiest one to use, and it actually works!
Thank you very much :good:
now only need to transfer data too... I will be perfect!
Sent from my C6903 using XDA Free mobile app
Wow looking this for my life wanna test and give feedbak
Xperia Z1 C6902
Working awesome hats off to dev
Xperia Z1 C6902
---------- Post added at 04:07 AM ---------- Previous post was at 03:32 AM ----------
Hope u add data support also in future updates
Xperia Z1 C6902
Thank You....working 100% for me, no need any tricks for it,
just install the module, activated, reboot and you ready to go.
It's realy2 what I looking for this long.............:good::good:
Hi
I'll try this interesting module! :good:
But.. why some people mention Link2Sd? It does another thing, uses another partition and it's not meant to move obb files...
does it work if ext sd is NTFS formatted?

[Completed] [Q] How to link obb files to external sd card?

Hello guys
I have an Acer Iconia Tab 8 A1-840 and I have a few games. The problem is that I don't have enough space in the internal memory for all my games. I want to link the obb files to my sd but every app I've tried gives me an error.
- Directory Bind does not move the files.
- Link2SD gives me "Link2SD package invalid".
- And Foldermount gives me "Unknown Error".
So I don't know what can I do to link my games to the SD. I think that the problem is caused because of my x86 CPU, a Quad-Core Intel Atom, or could it be my sd card? My system version is stock KitKat 4.4.4.
Sent from my A1-840 using XDA Free mobile app.
The issue is that the way android works the sd card is not made to run apps off of. Mainly as Google removed the native android code for sd cards. So app developers don't make apps that work that way
Juandr0ide said:
Hello guys
I have an Acer Iconia Tab 8 A1-840 and I have a few games. The problem is that I don't have enough space in the internal memory for all my games. I want to link the obb files to my sd but every app I've tried gives me an error.
- Directory Bind does not move the files.
- Link2SD gives me "Link2SD package invalid".
- And Foldermount gives me " Unknown Error".
So I don't know what can I do to link my games to the SD. I think that the problem is caused because of my x86 CPU, a Quad-Core Intel Atom, or could it be my sd card? My system version is stock KitKat 4.4.4.
Sent from my A1-840 using XDA Free mobile app.
Click to expand...
Click to collapse
Are you able to move app from phone memory to SD Card ?
I can't move apps to my SD card natively, my tablet uses the internal storage for every app related files. I had another tablet before (the HP Slate 7) that didn't let me move apps to sd natively but I could move the obb an data files using Directory Bind, but it had an ARM A9 CPU and JellyBean 4.1.1, also it's internal memory path was /storage/sdcard while in my actual tablet it is /storage/emulated/0.
Sent from my A1-840 using XDA Free mobile app
Juandr0ide said:
I can't move apps to my SD card natively, my tablet uses the internal storage for every app related files. I had another tablet before (the HP Slate 7) that didn't let me move apps to sd natively but I could move the obb an data files using Directory Bind, but it had an ARM A9 CPU and JellyBean 4.1.1, also it's internal memory path was /storage/sdcard while in my actual tablet it is /storage/emulated/0.
Sent from my A1-840 using XDA Free mobile app
Click to expand...
Click to collapse
Okay, so root your device can help with your problem.
You can link your obb's to your usb drive, for that you need a cheap usb-otg cable and a usb drive (4gb) or you can just get a usbotg (portable)
1. Connect that to your device and copy the Android folder which has the obb to the root of the usb drive
2. Then download XInternalSD from here http://repo.xposed.info/module/com.pyler.xinternalsd
3. Activate it in Xposed and reboot.
4. After that open XinternalSD and select the path to your usb drive, in my case it is /mnt/usbotg. You can find this in Es File Explorer easily.
5. Enable the games in XInternalSD that you wanna run, don't enable all apps, just enable the games that you wanna run, in my case - GTA San Andreas, FIFA 15, Asphalt 8 and NFS MOST WANTED.
6. Reboot and start the game.
I call this MHD (Mobile Hard Disk)
Press thanks if I helped.
parasthakur37 said:
You can link your obb's to your usb drive, for that you need a cheap usb-otg cable and a usb drive (4gb) or you can just get a usbotg (portable)
1. Connect that to your device and copy the Android folder which has the obb to the root of the usb drive
2. Then download XInternalSD from here http://repo.xposed.info/module/com.pyler.xinternalsd
3. Activate it in Xposed and reboot.
4. After that open XinternalSD and select the path to your usb drive, in my case it is /mnt/usbotg. You can find this in Es File Explorer easily.
5. Enable the games in XInternalSD that you wanna run, don't enable all apps, just enable the games that you wanna run, in my case - GTA San Andreas, FIFA 15, Asphalt 8 and NFS MOST WANTED.
6. Reboot and start the game.
I call this MHD (Mobile Hard Disk)
Press thanks if I helped.
Click to expand...
Click to collapse
I already have an otg cable an and a pendrive I could use, but I would really prefer to use my SD Card. I found an app called Obb to SD which needs xposed but I don't have it installed. I don't want to install xposed framework yet since I haven't found a way to unbrick my tablet in case that it gives me a brick and I think it might cause a brick because of my x86 CPU. Thanks for your help anyway .
Sent from my A1-840 using XDA Free mobile app
I no longer have the "Link2SD package invalid" problem . At first I thought it was because of my CPU, but it was because the patch wasn't working well (I wanted to try Link2SD plus before buying it). Thanks to all of you guys for helping me ! Now I can finally play my games.
you can use gl to sd but you need root

Categories

Resources