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

Search This thread

life02

Senior Member
Jan 17, 2006
533
88
DFW
Great tool !!!!

i managed to bind the obb directory to external usb stick on my Nexus 7 - giving me a huge free space on internal memory ...8)

but :

USB stick is very slow (ok - it's an old one) - and i can't play and charge at the same time - so my next try was to bind the obb dir to a CIFS Share with cifs manager. It works - but it only gives me read permission - so no new install is possible.

Can anyone help me here ... it would be more than great to use WLAN-N speed binding the obb dir with cifs to my PC in my home network, giving the nexus 7 unlimited storage for games - AND CHARGING at the same time.

Maybe also "sharing" the obb dir on Cifs on multible devices is possible (obb files ar read only ?) ....

Can someone try to bind a directory to cifs share and getting r/w permission ?



Please help ! Thank you !!!

That's an interesting thought... I'll look into writable cifs shares... This would be a good option for home based users.
 

rambo21es

Member
May 12, 2011
47
5
Valencia
for some reason the entries disappear after i go to application after some time.

i created entry /sdcard/Aura -> /sdcard/external_sd/Aura and activated it (green) - all works.
next time i entered the app, there is no such entry (but i think the mount was still there because Aura worked)

so what is background service actually for?

Simply uncheck "Handle USB connection" in preferences :good:
 

janolsen

Member
Mar 1, 2009
9
0
Great app, but cannot save binds?

Works great on Sony Xperia Tipo with ICS. However, it refuses to keep savings like after reboot. At the moment I do backup and then restore after phone is restarted. Since there's a boot option in the software, I'd think storing the binds would be part of the app...
 

rambo21es

Member
May 12, 2011
47
5
Valencia
Phone: International Galaxy S3
Rom: Alliance Rom Final ICS XXLH3
logcat taken when the entries work.

Works great on Sony Xperia Tipo with ICS. However, it refuses to keep savings like after reboot. At the moment I do backup and then restore after phone is restarted. Since there's a boot option in the software, I'd think storing the binds would be part of the app...


I think you can test if "Handle USB connection" (preferences) is unchecked.

regards!
 
Last edited:
  • Like
Reactions: petzku

rascal123

Senior Member
Mar 4, 2012
391
51
kl
Is this mod working on 4.1.1 AOSP?

Edit: just testing it and its working very fine...greatzzz :D

Sent from my GT-I9100G using Tapatalk 2
 
Last edited:

clio94

Senior Member
Jan 17, 2007
1,195
321
Kozani
+1. I would also like to know how u can download the complete map to ext. Sd

Sent from my SGH-T679 using Tapatalk 2
Τry this
Make a folder called tomtom in /sdcard.Then go to /sdcard/external_sd and make a folder tomtom.
Then go to directorybind and add a new bind as follow
at source /sdcard/external_sd/tomtom/
at target /sdcard/tomtom/
open the program and let it to download all the necessary.
If you allready download in /sdcard move tomtom folder in /sdcard/external_sd make an empty folder tomtom in /sdcard and then make the bind
 
Last edited:

marcomesa

Senior Member
Sep 18, 2012
297
19
Hi,
I've a tf300t of course rooted. I just transfer the Asphalt 7 data files to sd. My directory bind version is "o". The game start, but it it is blocked at first loading process. I can wait for ages but still in the intro page with the loading cursor. I notice the loading cursor is very slow compare to loading cursor when data were in the internal sd.
What can I do?
I check all the settings, but it seems I can't do more...strange because many people with my tablet succesfully transfer the data file to sd...in my case is not working...
 

thairicci

Member
Jan 8, 2012
8
1
awesome application!
works flawlessly on my "mini 2"

but there is a question i have:
why there is no more developing on this great apk?
 

Shujenchang

Member
Oct 11, 2012
5
3
HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT:
Does "alternate dbase mgmt" help: NO
Are you using any taskkiller: I think not
What ROM are you using: Android 4.4.1 on Samsung GIII LTE (i9305)
 

stalvekio

Senior Member
Dec 26, 2010
188
9
From OP

If the last fix don't work for you, can you try to save the bindings, then restore, then try if the bindings survive after a reboot.
Hope this helps
Mario

Inviato dal mio Galaxy S2 con Tapatalk2®
XWLPF Stock
Siyah 4.1.2
Jkay V14.1

I think i tried all the things above but i still cant acess my internal ja external SD card thro PC. Even uninstalling the app does not help. Looks like i´m going to Factory reset :(.
Great app tho:)
 

programatix

Senior Member
May 17, 2005
2,275
111
Hi,
I've a tf300t of course rooted. I just transfer the Asphalt 7 data files to sd. My directory bind version is "o". The game start, but it it is blocked at first loading process. I can wait for ages but still in the intro page with the loading cursor. I notice the loading cursor is very slow compare to loading cursor when data were in the internal sd.
What can I do?
I check all the settings, but it seems I can't do more...strange because many people with my tablet succesfully transfer the data file to sd...in my case is not working...

Here's a thought:
- before transferring the data, make sure you are familiar with the original directory tree.
- make the transfer
- bind the folder
- check the directory tree and make sure that it is the same. This part is crucial.

Regarding loading speed, sd micro card is usually slower than the internal flash, so you need to live with it or change to a faster sd micro card.

Sent from my GT-N7000 using Tapatalk 2
 

nicksbrain

Member
Dec 18, 2010
15
2
Thanks!

SO useful, thank you very much! Using my i9100 forever now but didn't know about this until now :silly:
 

ky0shiro

Member
Jan 24, 2012
21
3
Awesome app!
Any chance of putting it on the play store?
Easier to upgrade and wouldn't mind buying a paid version :p

Sent from my GT-I9300 using xda premium
 

zubsz

Senior Member
Nov 4, 2011
270
56
Birmingham, UK
LOSing game data

SO basically i move my asphalt 6 data from /sdcard/external_sd/(data) to /mnt/emmc/gameloft(target) and when it finishes ASphalt 6 asks me to re-install game files again? any help please? will upload screenshots if i can :) help wud be greaatly appreciated :)
 

zubsz

Senior Member
Nov 4, 2011
270
56
Birmingham, UK
losing game data

SO basically i moved my asphalt 6 data from /sdcard/gameloft/ to /mnt/emmc/gameloft and when it finishes ASphalt 6 asks me to re-install game files again? any help please? screenshots uploaded. I would really appreciated your help as i have been trying to combat this problem for a while and have found no solution.
 

Attachments

  • Screenshot_2012-10-13-18-09-27.jpg
    Screenshot_2012-10-13-18-09-27.jpg
    40.7 KB · Views: 274
  • Screenshot_2012-10-13-18-15-36.jpg
    Screenshot_2012-10-13-18-15-36.jpg
    15.2 KB · Views: 246

smoke2

Senior Member
Apr 6, 2011
177
2
After binding game data file to external SD I can still see the moved file in the internal memory folder.
On the other side the phone storage memory shows me free space, like the file was not present in internal memory.

Is it normal?

Can I delete this file?
 
Last edited:

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.