yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] NinjaBurg3r:
Anyone found a fix for DB and CM 10.1?

:confused:Has anyone out there found a way yet to get this to work nicely with CM 10.1? I am still stuck on CM 10.0 because I cannot get get Directory Bind to work properly in 10.1 on my Galaxy S3. I am able to bind the directories successfully with the green disk icon and all, however, every time I go into the an app, say for instance Sonic 4 Episode 2, it asks me to download the data again despite it already being there.
[Galaxy S II Themes and Apps] nyarnon:
Just use init.d the command is

mount -o bind sourcedir targetdir

Send from my N7100

Kernel: Perseus 31.2

Rom: Android Revolution HD 8.0

Rescue: TWRP 2.3.3.2
[Galaxy S II Themes and Apps] NinjaBurg3r:
Thank you for the response. Could you expand a little bit more on your answer? I'm not quite sure how to go about doing this but am a tech geek and certainly am not afraid to learn and try, especially if it fixes my problem!

So essentially, I could flash the newest CM10.1 over my current CM10.0, use this command with init.d (however I do that :p) and it should work with my same paths in Directory Bind? Please tell me it is that easy! All I need to know is how to access init.d to run this command :)

Will this stick on reboot, or do I need to run this command every time I reboot my phone?

Thanks for your help!
[Galaxy S II Themes and Apps] nyarnon:
This will stick and be faster. You find the directory init.d in /system/etc and you will need a rooted filemanager to make the script. Remember to keep a backup of the script, everytime you flash your Rom you will have to place it back as you are writing in the system itself.

Send from my N7100

Kernel: Perseus 31.2

Rom: Android Revolution HD 8.0

Rescue: TWRP 2.3.3.2
[Galaxy S II Themes and Apps] zmore:
You haven't tried bind mounts from init.d yourself, have you? If you had, you'd know that it doesn't work in 4.2 either.

The only way I've been able to get bind mounts working in 4.2 is from an adb shell post-bootup, which hints at a possible future workaround solution: a root app that connects to the localhost adbd to setup the mount.

The reason why mounts aren't working from apps in 4.2 is explained here.

## Multi-user external storage

Starting in Android 4.2, devices can support multiple users, and external
storage must meet the following constraints:

* Each user must have their own isolated primary external storage, and must not
have access to the primary external storage of other users.
* The `/sdcard` path must resolve to the correct user-specific primary external
storage based on the user a process is running as.
* Storage for large OBB files in the `Android/obb` directory may be shared
between multiple users as an optimization.
* Secondary external storage must not be writable by apps.

The default platform implementation of this feature leverages Linux kernel
namespaces to create [B]isolated mount tables for each Zygote-forked process[/B], and
then uses bind mounts to offer the correct user-specific primary external
storage into that private namespace.

At boot, the system mounts a single emulated external storage FUSE daemon at
`EMULATED_STORAGE_SOURCE`, which is hidden from apps. After the Zygote forks,
it bind mounts the appropriate user-specific subdirectory from under the FUSE
daemon to `EMULATED_STORAGE_TARGET` so that external storage paths resolve
correctly for the app. Because an app lacks accessible mount points for other
users’ storage, they can only access storage for the user it was started as.

[B]This implementation also uses the shared subtree kernel feature to propagate
mount events from the default root namespace into app namespaces[/B], which ensures
that features like ASEC containers and OBB mounting continue working correctly.
It does this by mounting the rootfs as shared, and then remounting it as slave
after each Zygote namespace is created.

The second part I bolded probably explains why it works from adb, since adbd is at a lower level than the regular forked app process.
[Galaxy S II Themes and Apps] NinjaBurg3r:
So essentially, at the moment, there is no simple way to get Directory Bind to work with CM10.1, or any ROM based off of 4.2, other than the way you mentioned post-bootup? :(

That is a shame, looks like I'll be sticking to CM10.0 for a while, as having to use adb shell after every reboot just won't work for me :(

Thank you for the clarification regardless.
[Galaxy S II Themes and Apps] nyarnon:
No I am on ARHD but I see no reason why it wouldn't work from Init.d as it is not run from an app but on startup as root user. There might be a catch with the user permissions but they too can be set from mount or with chown. Have you tried that?

Send from my N7100

Kernel: Perseus 31.2

Rom: Android Revolution HD 8.0

Rescue: TWRP 2.3.3.2
[Galaxy S II Themes and Apps] regi458:
Problem

Hi.

I really love this app but I has a big problem and I don't understand it.

I moved my gama data (shadowgun, nfs mw, nova etc.) to my sd. And it was fine, every game were OK and I was really happy, that I found an app, which solved my external sd problems. But some hours later I wanted to play with my games again and I checked Directory Bind, but all of my binds had disappeared. The datas were on my sd but I hadn't got my binds so I couldn't play with my games.

What is the problem? Please help me.

Thanks.

(Samsung Galaxy S Advance 2.3.6)
[Galaxy S II Themes and Apps] egingell:
Or write a script using ROM Toolbox's "Scripter" and run it on boot ("Set at boot").

I'm going to play with this and see what happens.

Edit: Seems to have worked. No toast screen, though, but I'm sure there's a command for that.
[Galaxy S II Themes and Apps] bsoplinger:
Another option for running scripts at boot: SManager (short for script manager) I assume.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Galaxy S II Themes and Apps] alihejazi:
Hi all

Do not bother

I have a Sony Sola., When the data on the memory card can not run the pump slipped. Should be on the internal memory. Whether a program that will fix the problem.

( Excuse my language is not good)

:angel:
[Galaxy S II Themes and Apps] bsoplinger:
A warning to those trying to use a program, be it ROM Toolbox or SManager, these programs will cause the binding to occur much later in the boot sequence. Many games "phone home" during boot so may fail epically when their data isn't available because the mount/bind hasn't occurred by the time they run.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Galaxy S II Themes and Apps] EP2008:
So, with directory bind er should be ok? I haven't encountered any issues, but I don't boot often either.
[Galaxy S II Themes and Apps] egingell:
DirectoryBind is exactly the same, dude. The only difference, besides moving files around for you, is that DirectoryBind writes the command-line script for you.

Edit: Also, if apps that need data on the SD card, whether it be internal or external, that "phone home," as you put it, during boot are going to have a hard time getting to their data when the SD card(s) haven't even been scanned by the media scanner.
[Galaxy S II Themes and Apps] Mastiha:
How do you move a folder that already exists on the internal and external storage e.g. The DCIM folder? Does the folder name that you move the data to have to be identical?
[Galaxy S II Themes and Apps] BigbenNZ:
You can use any name you like and put the name in the root of the Ext SD card.
[Galaxy S II Themes and Apps] dimilio:
Good day

My galaxy s3 don't let my install the app ......it gives me a message there is no space......

Any suggestions ????????

Thanks
[Galaxy S II Themes and Apps] DjDom:
Hmm, I'm having an interesting issue with this.

It works great on my tablet, it moves the apps, they run. But once I close the directory bind app, the list goes empty and I can't see what's binded.

The apps still work however.

Any ideas as to what the problem could be?
[Galaxy S II Themes and Apps] polo2883:
Does anyone know how to get directory bind to be able to read from /data/data on a Motorola Razr M?

---------- Post added at 02:15 PM ---------- Previous post was at 01:44 PM ----------

I got it to work
[Galaxy S II Themes and Apps] fga:
Did you try "alternate dbase" in preference...

★GT-N7100★
[Galaxy S II Themes and Apps] Munemasa:
Worked like a charm with my LG Optimus L5. I'm waiting for a new microSD card I ordered from eBay to test with my Galaxy S WiFi.
[Galaxy S II Themes and Apps] DjDom:
That seems to have worked, for now.

Thank you very much. :)
[Galaxy S II Themes and Apps] Munemasa:
After almost a day of use, my phone gets a little slow. Reboot solves but it's a little annoying.
[Galaxy S II Themes and Apps] 8vasa8:
It works great.

It's an avesome app but it shows the sign "Directory Bind has been granted superuser permissions for an interactive shell" all the time. And this entry is in the logs of superSU million times.

I know that I can turn it off. Is there any possibility that the battery has been discharged because of it?
[Galaxy S II Themes and Apps] Munemasa:
I have a similar problem and, I tried to unbind some stuff and it says cannot unbind this location.
[Galaxy S II Themes and Apps] dr.ketan:
Uncheck 'show notification' from superSU settings
[Galaxy S II Themes and Apps] Munemasa:
I already did that, but I could figure out how to unbind some stuff it doesn't let me to unbind.
[Galaxy S II Themes and Apps] tys0n:
Sv: [TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT r

Deny su in su-app and reboot, unbind what you want, and grant su again.

Work for me.

Sent thru time and space from my s3mini.
[Galaxy S II Themes and Apps] Munemasa:
Thanks! If my phone gets slow again I'll try what you said. I hope that works for me also.
[Galaxy S II Themes and Apps] zmore:
FYI all:

bind mounts are working again in 4.2 as of the latest 1/21 CM10.1 nightly!

thanks to this patch

and this one
[Galaxy S II Themes and Apps] StephenC82:
Have you tested it now with 4.2.1 ?
[Galaxy S II Themes and Apps] zmore:
Yeah - already tested with SManager & working here. bind mounts created in one app now "show up" in other apps, vs being private. (init.d mounting still isn't working though)

(I don't like to assert anything w/o testing)
[Galaxy S II Themes and Apps] koolshubh:
I keep getting a notification as Directory Bind has stopped working..

Why is this so??

Please help me out??

Thanks
[Galaxy S II Themes and Apps] Chillz88:
This notifications comes for me too.. and lags occur when this notification comes up.. even if I uncheck notifications, it would only hide it right?..those lags and binding again might still occur im the background ..:confused:
[Galaxy S II Themes and Apps] OOOnizuka:
Please tell us in detail how you managed to get to work mounting on CM 10.1

Thanks in advance!

P.S. Sorry for my terrible English (((
[Galaxy S II Themes and Apps] Munemasa:
Chillz88 my lag looks better now when I deactivated the notifications and installed SD-Booster. Unfortunately my card is only a class 4, no money for a better one.

The only strange thing is that, when I export a picture from Dropbox, the gallery shows it as if it was under the phone memory but I can see it's not with ES file manager. When the phone decides to verify the card's media, it gets fixed.
[Galaxy S II Themes and Apps] Chillz88:
I doubt the lag is because of your SD card cos I have it too and I am using a UHS1 class 10 sandisk 64 GB on a s3...still have the lag.. Will uncheck the su notification and see if it makes any difference..
[Galaxy S II Themes and Apps] Munemasa:
You can try SD-Booster as well if the notification disable doesn't work,
[Galaxy S II Themes and Apps] NinjaBurg3r:
Please tell me this is true! This is the news I have been hoping for!

When you say that it works, do you mean that we can keep the same binds that we had from CM10.0? Or do we need to re-jigger them for 10.1 and its multi-user directory? Either way, I don't really care, so long as it works and stops asking me to download additional data which is already stored on my phone! I hear there is a stable 10.1 on the way, so may just wait for that before I make the jump from 10.0.

Can anyone else verify that binds are properly working with the newest nightly?
[Galaxy S II Themes and Apps] akshayp707:
How to transfer sd data to external sd

Question to root users only>>>>>

How to transfer apps to external sd. I tried with Directory Bind and it works successfully. But d problem is after switch off/on the phone, d game dont start and require sd data again....

Any solution do u have 4 directory bind or other transfer type app.

---------- Post added at 08:27 AM ---------- Previous post was at 08:18 AM ----------

Question to root users only>>>>>

How to transfer apps to external sd. I tried with Directory Bind and it works successfully. But d problem is after switch off/on the phone, d game dont start and require sd data again....

Any solution do u have 4 directory bind or other transfer type app.
[Galaxy S II Themes and Apps] Accorat:
I still can't get bind mounts to work in 4.2.1 with 20130121 CM10.1 nightly. What exactly do I have to do?

Thanks in advance!
[Galaxy S II Themes and Apps] egingell:
Suggestion for rooted users:

Scenario: I want to bind "/sdcard/external_sd" (source) to "/emmc" (target) for convenience, but it won't mount due to the file system being read-only.

Suggestion:

1: Check for root (duh).

2: Check for read-only.

3: If read-only, use this:

#!/system/bin/sh
mount -o remount,rw "<parent dir of target dir>"
mkdir "<target dir>" # required because Android rewrites the root directory every boot.
mount -o bind "<source dir>" "<target dir>"
mount -o remount,ro "<parent dir of target dir>"

... else this:

#!/system/bin/sh
mkdir "<target dir>" # fails if the directory exists, but the user will never know it.
mount -o bind "<source dir>" "<target dir>"

Example (if target's parent directory is read-only):

#!/system/bin/sh
mount -o remount,rw "/"
mkdir "/emmc" # required because Android rewrites the root directory every boot.
mount -o bind "/sdcard/external_sd" "/emmc"
mount -o remount,ro "/"

Note: You also need to remount for unbind.

Side note: Please use quotes around directory names so we can use names with spaces in them and allow for non-existent folders in general (use mkdir).

If you are going to check for root, why not allow [more] root operations?
[Galaxy S II Themes and Apps] Munemasa:
Read the first post.

I don't know how to solve my problem, as I said, my phone thinks the stuff I download from drop box is on internal when it is actually on external.
[Galaxy S II Themes and Apps] StephenC82:
Looking at the changelog it appears in the nightly for the 22nd afaic.
[Galaxy S II Themes and Apps] zmore:
Actually, the changelog for the 22nd REVERTED one of the necessary parts of the fix for bind mounts being able to propagate to other apps, so, we're back to square one for now. Works on 1/21, but not on 1/22 and forward until a better fix is implemented.

Ah well.
[Galaxy S II Themes and Apps] StephenC82:
I'm on 1/21 and can't get it to work. Might revert to 4.1.2.
[Galaxy S II Themes and Apps] fndpena:
Great app.
[Galaxy S II Themes and Apps] iBrickYouNot:
Won't Install ...

Noob with rooted MMx a110. I don't know if it's just this app but install button on the install prompt won't press. As it I keep hittin Install and nothing happen. Then I press Cancel and back to FileManager/Downloads - it doesn't work from anywhere. I can install other apps from playstore/Filemanager just fine though.. What could be the problem?
[Galaxy S II Themes and Apps] egingell:
Do you have "Unknown sources" enabled in the Security settings?
[Galaxy S II Themes and Apps] huney:
This is possibly the most helpful app ever developed especially for phones/tablets/phablets having limited internal storage. Thanks a lot to Slig! Everybody's looking forward to your work on further developing this great app. Great work, man!

Cheers!
[Galaxy S II Themes and Apps] BigbenNZ:
I don't know if this chap is still alive, he dropped out in page 13..

Does any one know..?
[Galaxy S II Themes and Apps] rgomia:
Fantastic app... thanks a lot! :good: :good: :good: :laugh:
[Galaxy S II Themes and Apps] YHWHF:
¿Si hubiese usado esto, me hubiese gardado mi partida de Eternity Warriors?

Tenía nivel 45 y ahora a empezar otra vez. :crying:
[Galaxy S II Themes and Apps] kretex:
English please :D:confused:
[Galaxy S II Themes and Apps] moliverac8:
Perhaps, if you want to talk in spanish go to htcmania.

Enviado desde mi GT-P3110 usando Tapatalk 2
[Galaxy S II Themes and Apps] RavRob:
I have a Jynxbox....supposed to be pre-rooted.

I installed this app and all went well. But when I open it I get a blank screen. I rebooted and it says "autobinding in progress" but that's it.

How do I get it to access my External SD card?

Thanks
[Galaxy S II Themes and Apps] YHWHF:
If I had used this, I had gardado my game Eternity Warriors?

Sorry, I cluelessness among between forums. :eek:
[Galaxy S II Themes and Apps] Bilgets:
hello sir, i want to ask something..

is this app only redirect the Read target, or both Read & Write target?

i mean, if i bind /sdcard/DCIM to /sdcard/external_sd/DCIM ; does a captured photo will be saved at /sdcard/DCIM or /sdcard/external_sd/DCIM ? thanks :D
[Galaxy S II Themes and Apps] egingell:
Both directories will be treated as if they are separate directories, but they are both physically the same directory and all of the files are stored on the external card.
[Galaxy S II Themes and Apps] eBreu:
Always when I reboot, DB bind some links even I have unbind all and then show me some FC. Is there any solution for this?
[Galaxy S II Themes and Apps] 911-Future_Maker:
Anyone found a solution for disappering entries in DirectoryBind?

I mean that the data is actually moved and linked to the external sd, but it's not indicated in the program's UI as usual. I think it's a jelly bean issue, I'll guess the app is not fully compatible with 4.2.1. Editing directorybind_conf.csv in sdcard not helping so much...

What about Key Lime Pie. XD
[Galaxy S II Themes and Apps] egingell:
That's the backup file.

"Alternate database" has been tossed around this thread a lot.
[Galaxy S II Themes and Apps] vNa5h:
is there any way to decompile the apk and edit some values to change the default appdata storage...

\data\data\com.google.android.apps.currents

to

sdcard\data\com.google.android.apps.currents

coz currents stores both cache and data to internal mem...which takes a whopping 100-150mb itself

can i change some vaules to make it store in the sdcard instead.....
[Galaxy S II Themes and Apps] wuzdat:
I just wanted to write a quick "Thank You" to the dev of this app. I previously owned an LG Opt V & had extreme storage space limitations with it but I was able to work around it using apps that linked files to my SD card....but then I bought an LG Opt Elite, to my surprise I had even more space issues, and worse than b4 the apps I used wouldn't link anything cuz now I had an Ext SD & an Int SD...I searched for weeks for a solution to move a lot of data, files from the internal SD to my Ext.SD & had no luck.

Miraculously I came upon this Directory Bind app, to my surprise it FIXED ALL MY PROBLEMS! Thank God for this app....I was able to link several large directories of my choosing (not just data) to the Ext SD & it removed them from the Int SD, wow! Now I had tons of free space on the internal storage and on the internal SD card, &the phone runs perfectly, no issues from the app or the ROM.

I'm running Sleipner 2.3.9 on Android 2.3.7, LG Opt Elite.

THANK YOU FOR A TERRIFIC TOOL!!!

My O-Elite using XDA App
[Galaxy S II Themes and Apps] Gizmotech:
That was the reason I ditched Google Currents for Flipboard.
[Galaxy S II Themes and Apps] tiunilohmu:
I don't know if you can fix this problem. Or not even a problem. After the sdcard is removed and reinserted, can you make Directory Bind re-link the sdcard again without going into it unbind all the links and bind again?
[Galaxy S II Themes and Apps] Nemotatu:
A must have app, but I need to unroot my device is there a way to work without root?!

Thanks.
[Galaxy S II Themes and Apps] kt-Froggy:
As far as I understand, it it only needs root for auto-binding at boot -- without root, you would need to enable the bindings manually. Other than that, it should work.
[Galaxy S II Themes and Apps] GlossGhost:
Hello,

This is a copy/paste post from LG Optimus 3D forum.

I just messed up all my games trying to bind their directories to the SD card using Directory Bind.

If someone was able to bind Dead Trigger and Asphalt 7 to SD, it would be great to explain me how he did that.

"It never works on my device." - GlossGhost

First of all I would like to know if any of you managed to bind those games to SD, and if you did, what am I doing wrong.

I have ICS running on it, and if it's of a matter, this device has SD Card slot and internal memory.

SD Card is mounted by default from LG as _ExternalSD folder on the /system/sdcard/, which is the internal memory.

You go in it and you have the contents of the SD Card there.
[Galaxy S II Themes and Apps] vNa5h:
anyone
[Galaxy S II Themes and Apps] Gizmotech:
You can achieve this with a mount - o bind script in init.d
[Galaxy S II Themes and Apps] jes0411:
After some time using this app, I realized sometimes after reboot entries dissapears.

I checked "alternate dbase mgmt" option and for now is working fine.

Thanks.
[Galaxy S II Themes and Apps] Mr.RS4:
Is Spotify possible to move to sdcard?

If sow, where is Spotify storage on android / samsung Galaxy s3?

I use Omega v39

Thanks!
[Galaxy S II Themes and Apps] carmine31280:
How can i do this lg l9 10e

Sent from my LG-P769 using Forum Runner
[Galaxy S II Themes and Apps] orangerot.:
Yes of course it's possible! Spotify Data is located in the Android folder on your SD Card. The folder is called com.spotify.mobile.ui or something similar.
[Galaxy S II Themes and Apps] Nirvanes:
Will this work in Sony Xperia J/ST26i? If yes, how? I just wanted do be able to move things to my external SD....
[Galaxy S II Themes and Apps] zhaoinger:
Dead Trigger I not sure but Asphalt 7 is easy, just bind the path "/sdcard/Android/" to any folder in the external sd path e.g. "/storage/extSdCard/Folder/", check the transfers files and add entry. Just wait for the process to finish, ensure the status is green before starting the game, cick on the icon to manual mount if the icon is gray. The pathname above works on jeally bean 4.1.1 on galaxy note 2, may not be the same for others phone.
[Galaxy S II Themes and Apps] vNa5h:
yeah but i need it app specific...

i have to modify it in the app
[Galaxy S II Themes and Apps] XxdejavuxX:
This is how I got it to work with Spotify on my Sprint galaxy note 2.
[Galaxy S II Themes and Apps] carmine31280:
Hello i used the directory bind app but after i reboot i lost all entries now if i go to file manger all the folders that i made with the app are still there on external sd if i delete all folders made by directory app will it mess up my phone please help

Sent from my LG-P769 using Forum Runner
[Galaxy S II Themes and Apps] LuckyStrike88:
This is phenomenal app, thanks slig!

1 suggestion, using swiftkey it's hard to type in the location of the directory because swiftkey wants to auto correct everything when you hit space bar. I wonder if it is possible to have directory bind use the input like password boxes where swiftkey somehow can tell and doesn't attempt to auto correct you. Just a thought not the end of the world. (certainly this is a swiftkey problem not a DB problem)

1 question, if I have a folder on my external SD named Android/data, could I just bind that entire directory to my SD card, moving all the data? I am constantly running out of space and it's a PITA to move folders to gain just 10mb of space.

Thanks again slig for a great free app.
[Galaxy S II Themes and Apps] Munemasa:
I guess you can, I did that.
[Galaxy S II Themes and Apps] salilkansal:
When i reboot i lost all the entrees. How to solve this..?
[Galaxy S II Themes and Apps] danarama:
Did you read post 1?