yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] audioralf:
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
[Galaxy S II Themes and Apps] jcasares:
That's how it worked in GB as well. It's a symbolic link, not a real directory.
[Galaxy S II Themes and Apps] audioralf:
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
[Galaxy S II Themes and Apps] jcasares:
Ok. I didn't get your post then. You mean that while connected through UMS you can't access the directory in the phone, not on the PC. I don't remember how it worked in GB nor have it running now on ICS. Let's see if someone else can confirm.
[Galaxy S II Themes and Apps] Batman8:
Sorry to switch topics a little bit but did anyone here using Directory Bind go through with the new Bionic software update to version 5.9.904? I would just like to know if you had any problems doing so, if you kept your root status and if all Directory Bind links were still working afterwards?

Just wondering...thanks.
[Galaxy S II Themes and Apps] audioralf:
Thank you for your reply. On PC I have no access to the directory which should be mounted.

But if I look with filemanager on the android device I have access to /emmc with all files, like in the normal view. So it seems that it is NOT mounted.

The path /sdcard is not visible, because it is hidden due to the UMS connection.

So this might be the reason why it can not be mounted...

On GB we had the default cofiguration, that the inserted SD card was accessible as /SDCard/external_sd/. So it was accessible as USB drive. Now in ICS it is outside in /emmc/. Unfortunately the USB connection seems to interrupts the access for Android to /SDCARD. So the "dump logcat" function can not write into the file directorybind_logcat.txt during usb connect.

I have deinstalled the adbtranfer tool for Windows and the myphonexplorer client on PC. Both did not help.

Ralf
[Galaxy S II Themes and Apps] jcasares:
I still don't get you then... :p

You want, in your PC and through the mounted drive, access the data in the external sdcard? You should have two units mounted in Windows. The internal SD and the external SD.

This software only solves the (internal) access to Android applications, not from PC.

Don't know how your ROM works but with CyanogenMod 9 when you enable UMS you can't access anymore the units from the phone so it's logical that DirectoryBind can't maintain the bind anymore.

I think you need to use MTP to be able to retain the bind.

Let me know if what I say it's understandable.
[Galaxy S II Themes and Apps] Siorghlas:
Posted this almost a month ago and no replies... Nobody can help? Nobody knows what may happen?
[Galaxy S II Themes and Apps] audioralf:
Yes, I came from MTP where everything is ok. The discussed application mounts /emmc to /sdcard/external_sd and is accessable from PC in MTP Modus.

I found the SakaschiMod the best for me, because it is a mix from CyanogenMod9 with the AOKP moddings and including Samsung framework to use the "Samsung Apps" market application.

Here I tested the USB connect function, as an alternative method which is more common to new users which love to have their SD card as Drive Icon in Windows. When plugging to Windows one drive is installed for the internal "Sd Card" . When disabling "USB debugging" a new driver is installed for the inserted "external SD card", if you plug the device to a Windows PC USB Port.

Also a second Drive Icon is displayed on Windows Explorer.

But if you click "connect USB to PC" on android the firmware only connects to the first "drive" which is the internal 12 GByte Memory of the S2.

If I click the second "drive" Windows says "insert a disk".

It seems to me that the external SD card is not accessible via this method (at the moment)

So I guessed hat the software "Directory Bind" could be able to mount the SD Card even in this connecting method. But now I have learned that is not possible.

I had not tested with naitve CyanogenMod9 or stock ICS, if this firmware Version give access to the inserted SD Card in USB mode (UMS).

Best greetings

Ralf
[Galaxy S II Themes and Apps] jcasares:
It should be accessible. At least in CyanogenMod 9 build 20120414 it is (and a lot of previous versions after UMS was enabled as well). Did you originally format the card from inside Android OS or from Windows as FAT32?

You won't be able to use DirectoryBind with UMS (the alternative to MTP) as the control of the mount points is lost inside the OS while given to the PC. You should try to find the issue with you not being able to read the MicroSD from inside Windows.
[Galaxy S II Themes and Apps] ovgandroid:
Flawless, excellent, super on sgs2

A MUST HAVE!!!!!

Question, can an app like tasker mount data for a game upon enter, ie so i dont have to do it manually, if so how?

Suggestion, ability to add app icon and label

and tasker auto feature like above

Keep up the good work, much appreciated :)

also does this have support on miui v4 sgs2, think ill try miui
[Galaxy S II Themes and Apps] blueeagle69:
Hi.

Once the entry has been binded, you can forget about it, and it will be automatically set upon reboot.too.
[Galaxy S II Themes and Apps] jago25_98:
Just to be clear, my i9000 on ICS has 2 sdcards - the internal card and the external kingston card.

ICS put the internal card at /mnt/sdcard and the external card at /mnt/emmc (but also /emmc)

Many apps don't recognise /mnt/emmc so I thought I'd do a simple:

ln -s /mnt/emmc /mnt/sdcard/external_sd

but it's access denied even though I have remounted the volume(s) as rw etc.

I could start messing with fstab but then I saw this. However, it won't let me link /mnt/sdcard/external_sd to /mnt/emmc
[Galaxy S II Themes and Apps] jcasares:
Bind /emmc to /sdcard/external_sd (should be an empty directory, if there is data the bind won't work).
[Galaxy S II Themes and Apps] 911-Future_Maker:
^Folder Mount. You can find it here @xda. Give it a search. ;)
[Galaxy S II Themes and Apps] Mista513:
I've been using this since November and in ran across a post for externalsd2internal that seems to just swap the spots of the two. I really haven't had any issues with directory bind minus the few invisible game apps it doesn't seem to find.

Has anyone here used the other and can give advice on if the other works as good as this app. Seems to be a lot simpler process and would be easier for ppl with multiple apps and games like me to using a large amount of data.

http://xdaforums.com/showthread.php?t=2036796

Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
[Galaxy S II Themes and Apps] egingell:
That app and this app are completely different animals. This app selectively moves and links individual folders that the user wants linked. Whereas the other swaps the mount points of the physical external SD and on-board SD card. The latter has a major drawback in that you can no longer take out your physical SD card without possible damage to it and crashes-galore from system apps.
[Galaxy S II Themes and Apps] Meeni_K:
Awesome app - One question

I'm really loving this app, it does exactly what I wanted - saving certain apps to SD without having to completely swap internal and external memory.

However, at this point I am unable to locate the directories for several of the games that are installed on my phone. Some of them show up in the Android/data folder or the sdcard root folder as expected, but many are missing completely, therefore "robbing" me of the ability to copy them to the external SD card. Does anyone happen to know a solution to this problem or is this a limitation I'll have to learn to accept?
[Galaxy S II Themes and Apps] danarama:
Some games are in sdcard/Android/obb

Some smaller games may not use /sdcard at all
[Galaxy S II Themes and Apps] Meeni_K:
Hmm that's too bad, because there are several apps larger than 200MB among them. Would there be any other way to locate/move them, or is that just a matter of luck, so to speak?
[Galaxy S II Themes and Apps] Mista513:
Some large games like the Angry Birds games and a few others do not show in data nor the obb folder which is my issue also. They seem invisible to directory bind even if you locate the correct path in a file explorer. So unfortunately it's just something you have to deal with cause I've found no work around at all.

It's the reason I was exploring the option of using that externalsd2internal mod to just switch the two mounts. I've been just deleting some extra apps that are on phone memory only that I don't need to have all the time to free up some additional space.

Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
[Galaxy S II Themes and Apps] 2Beastmode4u:
4.2.2 broken

Not working on android 4.2.2

This was my goto mounting application but it won't work after updating to 4.2.2

Anyone know if there is a working version?

Cheers.
[Galaxy S II Themes and Apps] danarama:
It's well documented in this thread that it doesn't work on 4.2.x

Try FolderMount
[Galaxy S II Themes and Apps] 911-Future_Maker:
And in addition some are using both sdcard/data and obb. xD

One of the latest popular game having that behavior is Heroes of Destiny. 200+MB in data and obb. I have another examples also.
[Galaxy S II Themes and Apps] danarama:
Yes this is true. Jet Set Radio is another example. I successfully moved both data and obb with my script. Truth be told, my script just binds the entire obb directory. It just made more sense that way.
[Galaxy S II Themes and Apps] 911-Future_Maker:
^Yes, and it's easier.^^
[Galaxy S II Themes and Apps] zaydvath:
Always say "enter valid target directory"

What should i do?

[correct me if I'm wrong
[Galaxy S II Themes and Apps] danarama:
What are you putting in both fields?
[Galaxy S II Themes and Apps] zaydvath:
Source:

/storage/sdcard0/Android/data/com.ea.games.nfs13_na

Target:

/storage/sdcard0/Android/data/com.ea.games.nfs13_na

[correct me if I'm wrong
[Galaxy S II Themes and Apps] danarama:
You cannot link to the target to the source if they are the same.
[Galaxy S II Themes and Apps] zaydvath:
Sory...

I forget to edit after paste

This my actual path

Target :

/storage/extSdCard/Android/data/com.ea.games.nfs13_na

Source :

/storage/sdcard0/Android/data/com.ea.games.nfs13_na

correct me if I'm wrong
[Galaxy S II Themes and Apps] danarama:
Wrong way round?

Try this:

Target :

/storage/sdcard0/Android/data/com.ea.games.nfs13_na

Source :

/storage/extSdCard/Android/data/com.ea.games.nfs13_na
[Galaxy S II Themes and Apps] peter7769:
View attachment 1860072

this is how mine looks and works perfectly, hope it helps.
[Galaxy S II Themes and Apps] zaydvath:
I've tried

But still no luck:(
[Galaxy S II Themes and Apps] peter7769:
so what happens when you click the add button & transfer files?
[Galaxy S II Themes and Apps] zaydvath:
Just moving files and then it say "enter valid target directory"

:(

correct me if I'm wrong
[Galaxy S II Themes and Apps] peter7769:
very strange, wish i could help more
[Galaxy S II Themes and Apps] zaydvath:
Its okay...

Thanks for your respon

I wondering, is this app work on exfat or fat32 format card?

correct me if I'm wrong
[Galaxy S II Themes and Apps] danarama:
Yeah,

Are you typing the paths or long press to browse the paths?
[Galaxy S II Themes and Apps] zaydvath:
I've tried type, long press, even copy/paste path from file explorer

correct me if I'm wrong
[Galaxy S II Themes and Apps] danarama:
Long press is the only trusted way I would recommend.

Not sure what your issue is then. Can you bind other folders? You're definitely not on 4.2?
[Galaxy S II Themes and Apps] zaydvath:
Other folder can't bind too..

I'm on stock 412

correct me if I'm wrong

---------- Post added at 10:04 PM ---------- Previous post was at 09:17 PM ----------

Solved

disable path verification

correct me if I'm wrong
[Galaxy S II Themes and Apps] DrunkPimp:
For some reason everything unbinded after reboot even though I had the setting ticked, what should I do?

I''m on an ATT Galaxy Note 2 running cleanrom ace.
[Galaxy S II Themes and Apps] peter7769:
did you save the database?
[Galaxy S II Themes and Apps] radiikal:
I'm using the O version. Binding the directory fine. However now I'm having the issue of duplicate data. Both data in the original directory and in the created bound directory exist. I had clicked move data when I bound them initially.

Any advice?

Thx
[Galaxy S II Themes and Apps] egingell:
This has been addressed in this thread.
[Galaxy S II Themes and Apps] radiikal:
ok egingell, thx for the heads up...will read through the 200 pages....lol
[Galaxy S II Themes and Apps] _Variable:
Hello App Dev, I have mentioned your app in my guide here:

http://xdaforums.com/showthread.php?t=2223055

-.-.-.-.-.-.-.-.-

Sent from a dark and unknown place

Galaxy Tab 2 7.0 P3100
[Galaxy S II Themes and Apps] danarama:
Or search... even for posts by me in the last week or so...

---------- Post added at 01:57 PM ---------- Previous post was at 01:55 PM ----------

App dev doesn't care. Not signed in for a year
[Galaxy S II Themes and Apps] Aman1238:
Amazing piece of software. It's a shame that LG only made the internal memory 2GB and even the SD-Card is mounted as internal..

One question, is there a way to move /data/app/ files from System Root? When I try to do it, it says cannot access the folder..

I'm not using a SII, but the app should work as it is, if I am right.

Using Android 4.0.4, rooted.

Thanks!
[Galaxy S II Themes and Apps] peter7769:
no this app will not allow you to access the root folder, i'm sure this has been discussed in this thread.
[Galaxy S II Themes and Apps] dgcruzing:
Be great if it did.

Anyways just used it on a Mediatech ATV1200 to shift a ton of XBMC data off internal.. this is how I did it encase someone else comes looking..
[Galaxy S II Themes and Apps] halldors78:
this worked for me

try this website and change the install directory to auto. some program changed this for me on my lg optimus 4x hd and then suddenly i had no space to install to, guess some apps have to install to internal drive
[Galaxy S II Themes and Apps] danw_oz:
Very nice, I was asking about this in a Sony forum, a simple method in creating symbolic links
[Galaxy S II Themes and Apps] danarama:
To avoid confusion later, this uses bind. Symbolic links wouldn't work in this situation
[Galaxy S II Themes and Apps] kMogs17:
im getting a data directory is not empty error even though it is in fact empty?? any ideas why this would happen?
[Galaxy S II Themes and Apps] danarama:
Perhaps you got them the wrong way round like everyone else does?
[Galaxy S II Themes and Apps] kMogs17:
sorry i shouldve mentioned i tried both ways but anyway im not trying to get it to work anymore because im using a different work around thanks anyway though
[Galaxy S II Themes and Apps] ivaneris:
What is that folder for?i've tried to search xbmc folder in android/data and found no folder named like that:confused:

Sent from my LG-P990
[Galaxy S II Themes and Apps] egingell:
Is your file explorer set to not show hidden files/folders?

Sent from my SPH-D710
[Galaxy S II Themes and Apps] ivaneris:
Nope..it's showed all folders...

Sent from my LG-P990
[Galaxy S II Themes and Apps] Allexsander:
Works in Razr HD 4.1.2!

Thanks!

Vlw...
[Galaxy S II Themes and Apps] Traky:
External microSD card

Hi Guys!

I tried this app and I have a problem. Source folder /sdcard/external_sd/Sygic (in my case) is not on my external SD card (microSD) but on same place as target /sdcard/Sygic (also in internal phone SD memory). I cannot set source folder on my external SD card (I see error msg - enter valid directory). How to solve this problem?

Thanks.
[Galaxy S II Themes and Apps] nobe0001:
I think it should be /external_sd/Sygic.

And this folder has to be created, before you can use it.

I do it this way.
[Galaxy S II Themes and Apps] Traky:
Thanks for reply!

Also - my structure in root:

/storage/sdcard0 (this is /sdcard, I think that /sdcard in root is only shortcut to /storage/sdcard0 in root, I see the same content)

/storage/sdcard0/external_sd

/storage/extSdCard (this is my external microSD card)

I solved problem, I set this way to /storage/extSdCard manualy. Also I dont understanded use folder /sdcard/external_sd when this folder external_sd is on same place as target.

But I have second problem, after restart all bind entries lost and is needed set entries again. How solve this? (installed this version DirectoryBind_0.2.0o.apk)
[Galaxy S II Themes and Apps] nobe0001:
I installed this app few days ago, so I'm user trying to help with my fresh experience:

1.

Do a Backup of Database within this app, so you don't have to retype everything ...

2.

Use instead of typing the explorer within the app - long press on path-window opens explorer.

You can go up there.

In my root there ist /ext_card (without storage) and /storage/sdcard1 (wich leads to same folder).

So my phone seems to be different?

I had difficulties using pathes below storage - didn't work for me.

So please try, if you find your pathes without "storage" ... this should work (doesit for me).

Source and target cannot be the same - you need something like /sdcard1/Sygic or /extSdCard/Sygic
[Galaxy S II Themes and Apps] Allexsander:
Here also... :confused:

Some solution?

Vlw...
[Galaxy S II Themes and Apps] Traky:
Try backup database (option in menu). I have not tried it yet, but I see this solution in post thereinbefore

from nobe0001. Propably is needed restore this backup after restart.
[Galaxy S II Themes and Apps] danarama:
Yes if alternative dbase management didn't fix it, backup / restore is only option although usually alt dbase is enough
[Galaxy S II Themes and Apps] Mista513:
Does binding apps like Chrome, Flipboard, actually do anything? I do big games like Dark Knight, Shadowgun and see the storage difference but doesn't seem like non gaming apps do anything.

Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
[Galaxy S II Themes and Apps] danarama:
Games have by far the largest amount of data of any app. Browsers can use a lot too but that may mostly be in /data rather than /sdcard
[Galaxy S II Themes and Apps] pathuri97:
Use for USB HDD share???

I wanted to use DIRECTORYBIND for different purpose.

I have android TV BOX (MINIX NEO X5) and supports USB HDD's.

I wanted to share these USB HDD's either to my smart phone or tab or pc.

But unfortunately neither samba server or any other SMB allows only SDCRAD.

Then I tried to use DIRECTORYBIND to bind USB HDD drives folder to some folder on SDCARD (without copying the files).

But after binding to internal scard folder - I dont't see USB HDD files.

I tried reversing the source/target paths as well.

Still not working - any help in this regard is appreciated.

Again I tried with FOLDERMOUNT - first time it didn't work.

But when I reversed the paths for source/target - it worked.

Pl help me.
[Galaxy S II Themes and Apps] danw_oz:
My mapping and gps programs do pretty good, more than most games ;)
[Galaxy S II Themes and Apps] danarama:
That's a good point.

I only use Google maps :)
[Galaxy S II Themes and Apps] Allexsander:
blz...

worked for me...

Vlw...
[Galaxy S II Themes and Apps] LordGravewish:
Thanks for the application! I have a problem though, it's not working on my GT-S7562 with KyleOPEN ROM. The logs show this:

E/DirectoryBind( 3704): Mount command returned error: Usage: mount [-r] [-w] [-o options] [-t type] device directory
I/DirectoryBind( 3704): Manual Bind returned error.

It's reporting a wrong mount usage?

Anyways, if you could fix this it'd be awesome, I've been using Link2SD for most stuff but that one won't bind specific folders that aren't directly registered to the app.

EDIT: Using FolderMount instead worked perfectly, so fixing this isn't a necessity for me anymore.
[Galaxy S II Themes and Apps] egingell:
There's also the fact that the dev hasn't so much as looked at this thread in forever.
[Galaxy S II Themes and Apps] cdaarif:
Im little bit confused which version is da latest version? 0.2oK version / o.2 o0 version? ?
[Galaxy S II Themes and Apps] peter7769:
I'm sure that o is the latest version, thats what I'm using and never had a problem with it. :D
[Galaxy S II Themes and Apps] danarama:
Its in alphabetical order.
[Galaxy S II Themes and Apps] arkin56:
okay it's doing good to my phone, note 2 at&t, but i have a question, on binding my game folder to external sd card, will the original file on the sd card will remain there or it should delete itself? cause mine just stays there.help :D
[Galaxy S II Themes and Apps] danarama:
It is moved off the internal sd card. You will still see it in the original folder though because you bound the original folder to the new folder. That is the entire point of this app!
[Galaxy S II Themes and Apps] Stunherald:
Amazing app, thanks! GPS maps and voices were consuming more than 2GB of internal memory on my Photon Q. Finally they are on SD card ^^

BTW: Just found a small *thing*. On Motorola Photon Q the mount points of internal/external SD cards are:

/storage/sdcard0/ ........... this is Internal

/storage/sdcard1/ ............ this is External

also there is a soft link in root [/] dir linking to internal storage.

lrwxrwxrwx root root 1970-01-12 11:28 sdcard -> /storage/sdcard0

Thing is, when i tried to mount /storage/sdcard1/xyz/ (as data) to /storage/sdcard0/xyz/ (as target), i got error message "Enter valid target directory".

But when i used that softlink, it is working fine ... /storage/sdcard1/xyz/ (as data) to /sdcard/xyz/ (as target) ...

It's just a cosmetic bug and does not have functionality impact, but one could be confused :]

EDIT: It's not app bug but a "mess" in android permissions .. hell with that ^^
[Galaxy S II Themes and Apps] danarama:
Its not a bug in the app. Its how your phone works. There are several routes to the same place on each device, but each device handles differently how they can be accessed
[Galaxy S II Themes and Apps] Stunherald:
I've checked the permissions again and i can see the difference now but still its a bit "weird" ^^ But yea, it is not a app bug for sure.

d---r-x--- system sdcard_r /storage/
drwxrwxrwx root sdcard_rw /storage/sdcard0/
d---rwxr-x system sdcard_rw /storage/sdcard1/

BTW: Bind On Boot is not working properly for me. Paths are not bound and system start. The main "autobind" is working (i can see the message that DirectoryBind got root rights and performed _some_ actions), but the thing is that the bind list is empty, so it will not create any links. Only way is manual db restore, then everything is fine in blink of an eye :]

Not a big deal since i'm rebooting not so often.

EDIT: Scratch this, it's working fine :)
[Galaxy S II Themes and Apps] danarama:
Did you do alt db management as per post 1?