[TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req.

Search This thread

HippoMan

Senior Member
May 5, 2009
3,541
2,678
Hippoland
is this app requires free size in internal memory while using.suppose i want to mount 1.30 gb the data frm external drive.is it necessary there should a free space of 1.30 gb in internal memory.please help
No, you would not need 1.30 gb in internal memory.

What this app does is to perform a mount of the external directory over a pathname on the internal drive. Essentially, this just sets up a mapping on the internal drive which points to the external data.

The main purpose of DirectoryBind is to set up these kinds of mappings, so that you don't have to copy huge amounts of data from the external drive to the internal drive.
.​
 

mhmd_bk

Member
Feb 17, 2012
38
0
hi guys ...

i need help ...

so i have moved some games data using DirectoryBind, and it did work at first. however, after few minutes,when i opened the app, all the entries have disappeared and the games stopped working.

ps: all the files that DirectoryBind created still there.
 

SpasilliumNexus

Senior Member
Jan 23, 2013
1,959
2,854
Delaware
www.last.fm
Well, just to clear the things out: you download the game data, bind folders and transfer the files to external sd right?
Can you try to bind the folders first, before download the game data and see what's happen? Also I suggest you to use some custom folder name different from DirectoryBind. I always bind directly the two folders and it works like a charm.
Example:
S: storage/sdcard1/gameloft
T: sdcard/gameloft

I've tried doing what you've mentioned and it still downloads the data to the phone's internal memory. Restoring to my stock rooted 4.1.1 to try it out DB worked perfectly there. I'm just going to assume that it's a firmware incompatibility with my phone and have to use my phone without it until a solution comes along.

Thanks nonetheless for trying to help :)
 

jshx2

Member
Jan 21, 2013
11
0
Android file

All my games show up under a 'Android' folder on the internal memory. Is it safe to bind this entire folder? I am a newbie but it seems that it is just game and app data. Any help is very appreciated! Thanks!
 

911-Future_Maker

Senior Member
Jan 5, 2013
1,568
1,127
I've tried doing what you've mentioned and it still downloads the data to the phone's internal memory. Restoring to my stock rooted 4.1.1 to try it out DB worked perfectly there. I'm just going to assume that it's a firmware incompatibility with my phone and have to use my phone without it until a solution comes along.

Thanks nonetheless for trying to help :)

Nice to hear some good news today. ;P
It seems it was definitely your rom issue, if you want custom rom with working DB checkout the one in my sig. :)
All my games show up under a 'Android' folder on the internal memory. Is it safe to bind this entire folder? I am a newbie but it seems that it is just game and app data. Any help is very appreciated! Thanks!

Hi dude, yes it completely safe....if you just do the things right. ;P
That Android folder on internal sd is the place where all your games(and apps) are storing their data.
 
Last edited:

jshx2

Member
Jan 21, 2013
11
0
Thanks for the help. For some reason it shows that the game info has been copied over but when I go in the game and it asks me to download more data that should already be in the transferred file. Clearly the directories were not bound is there something I'm missing? I froze any app killer and can't figure it out.

Sent from my rooted LG-P769 10e using xda app-developers app
 
Last edited:

LuckyStrike88

Senior Member
Oct 1, 2012
183
53
hi guys ...

i need help ...

so i have moved some games data using DirectoryBind, and it did work at first. however, after few minutes,when i opened the app, all the entries have disappeared and the games stopped working.

ps: all the files that DirectoryBind created still there.

im searching the same for about 2 months with no luck. There isn´t an app or a mod working on CM10.1 (at the moment) :(

Thanks for the help. For some reason it shows that the game info has been copied over but when I go in the game and it asks me to download more data that should already be in the transferred file. Clearly the directories were not bound is there something I'm missing? I froze any app killer and can't figure it out.

Sent from my rooted LG-P769 10e using xda app-developers app

Have you tried checking the box "alternate dbase management" in preferences?

This worked for me, I'm on CM10.1 on the i717

---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------

Hi dude, yes it completely safe....if you just do the things right. ;P
That Android folder on internal sd is the place where all your games(and apps) are storing their data.

This is also where system apps like messaging are stored too right? I thought some people complained of some apps working some not after doing this?

The reason for my concern is a have a G Note and a 64gb SD card formatted as NTFS, so I have to use NTFS+ to mount it at boot, but the program scans the whole card which takes a couple minutes at boot (longer if it is a random reboot) so would my phone wig out at boot if the card hadn't been mounted, and would the card even mount if the NTFS app is located on the SD card?
 
  • Like
Reactions: jmgg2k

jmgg2k

Senior Member
Feb 11, 2011
323
59
Have you tried checking the box "alternate dbase management" in preferences?

This worked for me, I'm on CM10.1 on the i717

---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------



Not working with "alternate dbase management". Could you please post your paths and config in DirectoryBind?
 

jmgg2k

Senior Member
Feb 11, 2011
323
59
Yes, I am on the Slim Bean rom and it's based on aosp (but I know that it is a bit different for my device (i9100) so maybe it's because of that)

Im on CM10.1, my kernel is Siyah v 1.8.9, and my device i9300 GS3. Directory Bind is not working with any configuration that i had tried.
Please, if somebody could share the config and bind paths would be great (ON CM10.1)
 

911-Future_Maker

Senior Member
Jan 5, 2013
1,568
1,127
This is also where system apps like messaging are stored too right? I thought some people complained of some apps working some not after doing this?

The reason for my concern is a have a G Note and a 64gb SD card formatted as NTFS, so I have to use NTFS+ to mount it at boot, but the program scans the whole card which takes a couple minutes at boot (longer if it is a random reboot) so would my phone wig out at boot if the card hadn't been mounted, and would the card even mount if the NTFS app is located on the SD card?
No mate, sms and mms are located in your phone's root directory, the exact path is:
data/data/com.android.providers.telephony/databases/mmssms.db

it's hidden by default, you must have root and enable 'show hidden files' in some file explorer to access it.
So no worries about your sd card, but why formatting to ntfs, I can't see any preferences to do that, not only that, but you have to use an app just to mount it at boot. I really sugggest you to use the fat32 format.
 

egingell

Senior Member
Apr 10, 2012
4,755
2,059
47
blog.sophielabuf.com
No mate, sms and mms are located in your phone's root directory, the exact path is:
data/data/com.android.providers.telephony/databases/mmssms.db

it's hidden by default, you must have root and enable 'show hidden files' in some file explorer to access it.
So no worries about your sd card, but why formatting to ntfs, I can't see any preferences to do that, not only that, but you have to use an app just to mount it at boot. I really sugggest you to use the fat32 format.

It's actually not hidden. Files and folders are hidden in *Nix by prefixing the file name with a dot. There is no "hidden" attribute like in Windows.
 

LuckyStrike88

Senior Member
Oct 1, 2012
183
53
No mate, sms and mms are located in your phone's root directory, the exact path is:
data/data/com.android.providers.telephony/databases/mmssms.db

it's hidden by default, you must have root and enable 'show hidden files' in some file explorer to access it.
So no worries about your sd card, but why formatting to ntfs, I can't see any preferences to do that, not only that, but you have to use an app just to mount it at boot. I really sugggest you to use the fat32 format.

GNote can't use ExFAT and FAT32 is limited to 4gb transfer size.

I may end up reformatting to FAT32 and dealing with the 4gb barrier, just to be able to do this. 16gb is appallingly small.

Edit to add, what is sdcard0/Android/data/com.android.contacts com.android.mms com.google.apps.maps etc?

---------- Post added at 12:54 AM ---------- Previous post was at 12:51 AM ----------

Have you tried checking the box "alternate dbase management" in preferences?

This worked for me, I'm on CM10.1 on the i717

---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------



Not working with "alternate dbase management". Could you please post your paths and config in DirectoryBind?

My config is standard other than alternate dbase management is checked and the paths are just standard it's NFS:MW and Max Payne
 

dr.esslamelbanna

New member
May 26, 2012
1
0
What is the version of this app?

First, I have to thank all the for this great, very useful application. It helped me so much.
Please can you tell me what's the last version of this app. I have Dell streak 7 tablet running on Android 2.3. If you can put the link of the last version of the application.
Again thank you too much for your application and consider your help.

---------- Post added at 06:38 AM ---------- Previous post was at 06:33 AM ----------

]First, I have to thank all the for this great, very useful application. It helped me so much.
Please can you tell me what's the last version of this app. I have Dell streak 7 tablet running on Android 2.3. If you can put the link of the last version of the application.
Again thank you too much for your application and consider your help.
 

enkidu70

Senior Member
Nov 9, 2012
271
90
Im on CM10.1, my kernel is Siyah v 1.8.9, and my device i9300 GS3. Directory Bind is not working with any configuration that i had tried.
Please, if somebody could share the config and bind paths would be great (ON CM10.1)

I have the same problem using Resurrection Remix Mod (CM10.1, Siyah v1.8.9) on my SGS3 i9300! Button is green but directories are not mounted!

Well... I guess this could be a CM10.1, Siyah or Busybox issue... Because I tried to "mount -o bind /extSdCard/Downloads /sdcard/Downloads" as root but it did not work. It also did not return any error... :(

Enkidu
 

911-Future_Maker

Senior Member
Jan 5, 2013
1,568
1,127
First, I have to thank all the for this great, very useful application. It helped me so much.
Please can you tell me what's the last version of this app. I have Dell streak 7 tablet running on Android 2.3. If you can put the link of the last version of the application.
Again thank you too much for your application and consider your help.
Hello dude, the latest version is 0.2.0o, it's the last file in the list.
GNote can't use ExFAT and FAT32 is limited to 4gb transfer size.

I may end up reformatting to FAT32 and dealing with the 4gb barrier, just to be able to do this. 16gb is appallingly small.

Edit to add, what is sdcard0/Android/data/com.android.contacts com.android.mms com.google.apps.maps etc?
These are related to your contacts, maps and messages, I advise not to bind such a system things. Their data is likely pretty small, so I don't believe you want to move them according to limited storage space.
 
Last edited:

rotaryheadrx7

Senior Member
Nov 18, 2012
90
32
I have the same problem using Resurrection Remix Mod (CM10.1, Siyah v1.8.9) on my SGS3 i9300! Button is green but directories are not mounted!

Well... I guess this could be a CM10.1, Siyah or Busybox issue... Because I tried to "mount -o bind /extSdCard/Downloads /sdcard/Downloads" as root but it did not work. It also did not return any error... :(

Enkidu

It is neither a CM 10.1, Siyah or Busy box issue. It is a 4.2.x issue.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 694
    Hi all !

    This is my application to bind directories located on external_sd to directories on internal memory (/sdcard/). This way You can transfer large application data directories to external_sd. Could be usefull with ex.: games from Gameloft, other like Shadowgun, applications like CamScanner.

    screenshot:
    SC20111225-111214.png
    SC20120105-183116.png


    SC20120105-183406.png
    SC20120105-183427.png


    Features:
    * Requires ROOT !
    * Aimed at specific functionality and features (not idiot-proof)
    * You can create any number of Data -> Target directory pairs, mount them manually or choose to mount them on system boot (checkbox does that).
    * On/Off switch controls whole mount-on-boot function.
    * Diskette icon indicates if mount operation was successful, by taping it You can mount/umount entry.
    * Icon changes if application is using mounted entry
    * DirectoryBind can tell what application is using this entry (tap at entry in use)
    * Long tap on entry (disabled) brings edit/delete window
    * App auto umount all entries on USB connected and remount after USB disconnected (for now via BroadcardReceiver UMS_CONNECTED / UMS_DISCONNECTED)
    * App shows notification and vibrates if auto umount on USB fails
    * If mounting all checked entries (ex. on boot) app is waiting specified time (def. 60 sec) if data directory is not available (happens sometimes at boot)
    * Tested sucessfully with Asphalt 6, Shadowgun, DeadSpace, CamScanner

    Color statuses:
    * GRAY - entry disabled
    * RED - mount failed
    * BLUE - waiting for data availability
    * GREEN - mounted OK

    version 0.2.0k
    * fixed FC if screen orientation changes during copy/delete
    * more extensive logging

    version 0.2.0m
    * ?? fixed problem with entries marked green on boot, but not mounted (repotred by stone_ship)
    * ?? fixed problem with random FC on ICS (reported by Thomas)

    version 0.2.0n
    * auto create target directory action moved from "bind" action to "add/edit entry" action due to possible problems when data outside "/sdcard"

    version 0.2.0o
    * added option to control if mount service is run as sticky

    *** for now older version kept in case I broke something ***

    please do not test data transfer files features on sensitive data they seem to work OK but are not throughly tested

    Compiled using API android 2.3.3. Attached as self-signed development apk package. No market link for now.

    important info
    * Remember ! All entries must be umounted before attempting to use MASS STORAGE MODE. Application will try to do it automatically on USB CONNECT. If it fails and You'll use MASS STORAGE MODE sdcard partition WILL CRASH and reboot will be required to restore normal operations ! Main cause of that is appplication using mounted folder. You have to close that application and retry to umount entry.

    * This application requires *root privileges* so it has full control over entire system! Uses root privileges to invoke "mount", "umount", "lsof" and "grep" shell commands via su and it DOES NOT write anything on system partitions.
    It DOES NOT apply any permanent changes to the OS, however I cannot guarantee it does not contain BUGS and security issues. I'm not responsible to any damage it can cause. Use it AT YOUT OWN RISK !

    application permissions explained
    WRITE_EXTERNAL_STORAGE - application automatically creates target path, copy existing files from target to data
    RECEIVE_BOOT_COMPLETED - application can perform automatic bind on boot
    VIBRATE - application creates notification alert with vibrations when cannot umount all locations on USB connect
    READ_LOGS - dump own logcat to file
    *ROOT* - invoking "mount", "umount", "lsof" and "grep" commands via su

    BUGS REPORTING
    As every program can contain bugs so this one too. I'm very grateful if someone find and report a bug. No report will go unattended and I'll look into each case. There is just one thing, often report even very detailed is not enough so application has built in logging (logcat) capability - it can be enabled in Preferences.

    Logcat can be dumped to file from main app window: menu -> dump logcat to file
    So when reporting bug please attach that file to Your post :)

    Regards !
    Slig

    !!! IF YOU HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT !!!
    1. In preferences check "alternate dbase mgmt" and try again
    2. Report in this thread with informations
    - does "alternate dbase mgmt" help ?
    - are you using any taskkiller
    - what ROM are you using

    I need to know how many people have this issue, maybe it would be good to make "alternate dbase mgmt" default mechanism.
    Sorry for that but I'm still learning and doing by best to make this app as much compatible and usable as possible. This is my first public app for android ;)
    29
    Moved to "Themes and Apps" section.
    15
    How do we get this to work? I've moved my game files to my sd card on my otg cable for my nexus 7 and I've tried to mount the obb folder using this http://xdaforums.com/showthread.php?t=2155363 but my games such as Asphalt still tell me to download data :/

    I haven't tested it with obb folders tbh. I just added my bind commands to the debugger.mnt file then executed remount.sh.

    (I think I'm going to release an app to make everyone's life easier. It'll have a modern GUI, intuitive layout, and compatible with 4.2.2). I'll post a link to it here once it's all finished. :good:
    7
    Later posts seems to sound like the posters are blaming or are angry with the author of the app. This is really sad.

    Anyway, I would like to answer some questions and hope that people would be more polite in the future as the author wrote the app for free and saved a lot of people time and effort. Without the app, people like me usually wrote script to mount the links and now we have nice GUI to do that. I am most thankful for the auto unmount feature. Previously when using script, I must make sure that I unmount the link before unmounting the external card (to mount to pc). If I forgot that, then the external card would later fail to bind anymore until I restart my device.

    On the version, the higher the number, the newer it is. If the number is the same, then the later alphabet is newer, meaning "b" is newer than "a".

    On the app itself, it is a frontend to perform mount/unmount, while allowing moving files automatically. So, whatever limitation you are facing is on the OS, not the app. The app helps you to move files (when creating the link), helps you mount the link (on every reboot), helps you unmount the link when your external card is unmounted (and remount it), and helps you move back the files when you delete the link. It uses mount and umount to perform the linking/unlinking process. They are commands that come with the busybox.

    On why source is the external card and the target is the original path, the author uses the parameter naming used by mount and umount. When mounting, the source is where the data is, while the target is where you want it to appear. Mount also requires that the target directory must exists and empty. If it does not exists, the mounting process would fail.

    For installing app, as long as there are sufficient space to where the OS is installing it to, it will install successfully. If it complains that there are insufficient space while there is plenty, then it has something to do with what you have done, such as rogue odex file (normally caused by cracking apps with Lucky Patcher). There are also cases where the app to be installed is at fault. This would normally be solved when the app is updated.

    So, I hope I clear up some confusion with this post and please, if you can't get any apps developed freely by generous developers to work while others have no problem, try to understand how they work and do some research before bashing the authors.

    Thanks.

    Sent from my GT-N7100 using Tapatalk 2
    6
    ...I've been living the dream ever since a ... scripter produced a solution to the FAT32 limitation on AOSP.
    I doubt that. :) Tech should be working for you, you shouldn't be working for the tech. If you ever are, you should ditch it and use something else.
    Directory Bind no longer works on 4.2 though. There are some workarounds I've been made aware of but they're very technical and I haven't tried them yet​
    BTW, there are fixes, technical is a relative term. I created a workaround to the 4.2 issue and it is what I use. I even attached my proxy wrapper at the bottom of the project so people could play with it.

    ...

    Ok, I'm going to threadjack a bit here. I'm the person who wrote that script. However, I have been informed that there would be more demand for an app like this one -- and slig has been MIA for a little over a year. When I check out Google, I see a bunch of bad instructions on blogs, and people making a bunch of incorrect statements. (Particularly regarding 4.2)

    As an example, I rebound inside data/data manually -- worked fine. It's just that this tool is broken because of the zygote-restricted-slave-mountspace bug/feature. Most of the problems seem to come from the lack of a GUI, not the lack of it being possible.

    I see a need for a New Unified Volume Daemon (NuVold). Something that is (1) GUI/Play Store based (2) portable across devices + integrates in Android Storage Manager for SD (3) mounts + repairs wacky filesystems (4) on partitioned devices (5) can rebind directories (6) softlink/install apps to SD card. [Swapping internal/external storage is not needed (and pointless) if something can do (5) and (6) in a user-friendly way.]

    Currently, multiple utilities do each in a semi-broken and nonconsistent way. (Paragon broken on 4.2, my script can sorta do 2-5 but via command line, Directory Rebind broken, ExtSd2InternalSd hijacks mount at boot...)

    Essentially, I am proposing a merger of my "fuse-mountsd", "Super APP2SD", "Directory Rebind", "Paragon's FS App" (the execution, not the proprietary stuff), "StickMount", "ntfs-3g", and "exfat-fuse". This is possible, but would require a lot of work. Plus there's no way you could charge for it, given all the chefs.