Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
blueeagle69
Old
#181  
Senior Member
Thanks Meter 15
Posts: 105
Join Date: Jan 2012
Exactly mate.
Tbh, if you use es file explorer you can clearly see that the system does indeed think the data is on the internal sd card. So it does fool the system. The problem is, I don't think that things outside of the system are fooled.
But like you mate, I would be happy to be proved wrong :)
Great tool though.

Sent from my Scroll Excel/GT-I9100 using Tapatalk.
 
Batman8
Old
#182  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Feb 2011
Yeah, I think that unless I finally hear something from the developer of this app, I'm going to do the same thing that you did (restore the original data folder BEFORE updating any of those games that I patched with DB).

You're right though, this is surely A GREAT APP and is one of my favorites since I waited over 8 months for something like it to pop up. I am so happy now to finally be able to put ALL my games from my Droid-X onto my Droid Bionic that I am without words to describe my joy!!!

Thanks again for your input/comments.
 
blueeagle69
Old
#183  
Senior Member
Thanks Meter 15
Posts: 105
Join Date: Jan 2012
You're welcome matey :)

Sent from my Scroll Excel ICS/GT-I9100 using Tapatalk.
 
handfish
Old
(Last edited by handfish; 12th April 2012 at 11:20 PM.)
#184  
Senior Member
Thanks Meter 15
Posts: 238
Join Date: Jun 2008
Quote:
Originally Posted by Batman8 View Post
Yeah, I think that unless I finally hear something from the developer of this app, I'm going to do the same thing that you did (restore the original data folder BEFORE updating any of those games that I patched with DB).
First of all, I like this tool very much and it saves me many GBs of space. Thank you.

I believe in most cases, those games (such as the Gameloft ones) that you downloaded from the Play Store are really only a barebone "game installer" (plus some kind of version checking mechanism to make sure and verify that you have got the latest and correct data downloaded onto the SD card, in addition to license checking). When such installer is run the first time, it simply checks if the data files are available. If not, it creates a folder in a pre-defined directory (e.g. /sdcard/gameloft/game/<package name>) and then download the files into this directory. There appears to be some kind of date / time counter so that regularly when you re-run the game it will go and check for new data files and needed, asks you to download the new files.

What this app does (I think) is as simple as mounting a directory on an external SD card to the original hardcoded directory that is expected by the game. This is (almost) the same to how we mount DVDs and external hard drive on a Linux system (i.e. the mount command). Hence, after the mount is successful, as far as the app concerns, the files are there in the correct directory.

Note that this whole mounting idea will break if the target directory (the original directory expected by the game, e.g. /sdcard/gameloft/game/<package name>) has files there (i.e. not empty), then the mount will fail. This can happen, for example, when you reboot the phone but the mount has not been done yet or fail to mount without you knowing it, and then you run the game. At that point, the game will think that "OK, the directory is there, but it is empty. Time to download files.", and when you see the downloader, it is too late already because the game would have already written some new files (e.g. process log) into the directory.

The update that you get from the Play Store is likely to be an update to the installer, e.g updating the download and file verification algorithms, etc. Some game logics will be there and importantly as long as the directories are mounted corrected before you run the game, everything should be fine.

(not sure if my poor English describes what I want to mean clearly...)

On my phone, I have updated (if I remember correctly) Shawdowgun and MC3 (and some others I am sure) via the Play Store. All of the data files go into the correct directories. i.e. This app does not affect the game in anyway, assuming the mounting point is correctly configured.

Note: I am no expert so please correct me if I am wrong.
The Following User Says Thank You to handfish For This Useful Post: [ Click to Expand ]
 
rothshek
Old
#185  
Member
Thanks Meter 2
Posts: 39
Join Date: Mar 2011
FC on galaxy s2 cm9 0411
 
Batman8
Old
#186  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Feb 2011
Quote:
Originally Posted by handfish View Post
First of all, I like this tool very much and it saves me many GBs of space. Thank you.

I believe in most cases, those games (such as the Gameloft ones) that you downloaded from the Play Store are really only a barebone "game installer" (plus some kind of version checking mechanism to make sure and verify that you have got the latest and correct data downloaded onto the SD card, in addition to license checking). When such installer is run the first time, it simply checks if the data files are available. If not, it creates a folder in a pre-defined directory (e.g. /sdcard/gameloft/game/<package name>) and then download the files into this directory. There appears to be some kind of date / time counter so that regularly when you re-run the game it will go and check for new data files and needed, asks you to download the new files.

What this app does (I think) is as simple as mounting a directory on an external SD card to the original hardcoded directory that is expected by the game. This is (almost) the same to how we mount DVDs and external hard drive on a Linux system (i.e. the mount command). Hence, after the mount is successful, as far as the app concerns, the files are there in the correct directory.

Note that this whole mounting idea will break if the target directory (the original directory expected by the game, e.g. /sdcard/gameloft/game/<package name>) has files there (i.e. not empty), then the mount will fail. This can happen, for example, when you reboot the phone but the mount has not been done yet or fail to mount without you knowing it, and then you run the game. At that point, the game will think that "OK, the directory is there, but it is empty. Time to download files.", and when you see the downloader, it is too late already because the game would have already written some new files (e.g. process log) into the directory.

The update that you get from the Play Store is likely to be an update to the installer, e.g updating the download and file verification algorithms, etc. Some game logics will be there and importantly as long as the directories are mounted corrected before you run the game, everything should be fine.

(not sure if my poor English describes what I want to mean clearly...)

On my phone, I have updated (if I remember correctly) Shawdowgun and MC3 (and some others I am sure) via the Play Store. All of the data files go into the correct directories. i.e. This app does not affect the game in anyway, assuming the mounting point is correctly configured.

Note: I am no expert so please correct me if I am wrong.
Handfish -

I think I am able to follow you and know just what you mean. It sounds like you're saying that the target directory must remain empty or it will break the link between the folders (which I have had happen to me once after rebooting my phone and the links weren't established yet like you said, but I just opened DB and relinked the 2 folders again and it worked fine). I believe you are also saying that the updates that we all get from the Play Store/Market only update the installers and NOT the data folders, which if true would be perfect. But for some reason I just feel like new data is still being added as well since some updates give you bug fixes and things that seem like they would be "data" related, but I could be wrong. Although you may be right in that it only updates the installers with the new info and then re-installs the game with all the new info without needing new data.

This is very interesting and I wish the developer of this app would help shed some light on exactly what the app is doing but I'm so damn glad to have something like this that I SURELY AM NOT COMPLAINING. I LOVE THIS APP!! I just wish it came with more info/instructions etc. so we could understand it better and know what to do (or NOT to do) to avoid problems.

It is very promising though that you said you were able to update Shadowgun and MC3 without problems, so that's great news. Maybe next time I have an update pop up I'll try it without doing anything else and see if it works.

Anyway, I really appreciate all of your input. Together we all can figure this one out. I'm so glad to finally be able to put any and everything I want onto my Bionic now that it actually feels like a whole new phone to me. I love it now more than ever and I don't know when I might upgrade to a new device since this one now works like it really SHOULD HAVE right out of the box.

I've now saved over 6GB using it, and then added about 5GB of more stuff since I have a 64GB sdcard that before this app, it was only good for storing lots of music & movies and wasn't doing me much good for apps or games. Now my phone can do almost anything! Please let us know if you discover anything else about this app and how it works and thanks again for taking time to share your info!
 
Elemetrix
Old
#187  
Senior Member
Thanks Meter 10
Posts: 182
Join Date: Apr 2010
I couldn't get this to work for Spotify at all

And I noticed every time I started the app it had wiped out my previous binds..
 
audioralf
Old
#188  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Mar 2011
Default Problems with USB connect

Hi,
I try mounting /emmc/ to /sdcard/external_sd/
Mounting ok, when device is not connected to PC. (Windows XP)
Green icon, and can access with android filemanager to the folder "sdcard/external_sd"

But when connecting to the PC the message appears on my S2 to connect via USB. When I click ok, the sd memory is connected as drive "g" but the directory "external_sd" is empty. After looking into your application the connection icon is diabled. When clicking it it becomes red.
"Dump logcat to file" brings up "log dump error" .
After disconnecting with pc. The icon becomes green after clicking a "Dump logcat to file" is possible
Here it says:
/DirectoryBind( 4484): Service called (onStartCommand).
I/DirectoryBind( 4484): Service operation: ONUSBDISCON.
I/DirectoryBind( 4484): Performing bind-on-usb-discon.
I/DirectoryBind( 4484): Checking root privileges.
I/DirectoryBind( 4484): Root privileges available.
I/DirectoryBind( 4484): Trying to bind all checked.
I/DirectoryBind( 4484): Checking root privileges.
I/DirectoryBind( 4484): Root privileges available.
I/DirectoryBind( 4484): Manual Bind returned OK.

Thank you for advice

Ralf

Samsung S2 4.04 2.0.27-thoavoukk-2.19 SakaschiMOD 10.6
 
jcasares
Old
#189  
jcasares's Avatar
Senior Member
Thanks Meter 26
Posts: 143
Join Date: Dec 2011
Location: Buenos Aires
That's how it worked in GB as well. It's a symbolic link, not a real directory.
 
audioralf
Old
#190  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Mar 2011
Quote:
Originally Posted by jcasares View Post
That's how it worked in GB as well. It's a symbolic link, not a real directory.
Yes, but even if I did not create a directory manually the directory is created by the application. You can tap long on target path to select a target directory, or type a new name. In this case it is created.
But when I connect to PC it is disconnected. Why?
In this situation it is accessible via adbtransfer via network plugin or "myphoneexlporer." I tried both variants "enable/disable USB debugging" without success.
Ralf

 
Post Reply+
Tags
move data to external sd, move data to sdcard
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...