yashsingh1/xdaforums huggingface dataset:
[Android Software Development] madmack:
FM should properly detect the binded folders that you've made in DirectoryBind, that's why the pins are green. I'm not sure what you mean by not able to bind anything in FM ?

There isn't any way to import data from Directory Bind at this time. However, you don't need to move all files back to sdcard and start over. You can just unbind all pairs in directory bind, delete that app, then add all the pairs in FolderMount (yes, manually choosing source/dest unfortunately :( ) and then bind all.
[Android Software Development] VictorC666:
Thanks for fast reply, FM didnt detect binded folders and pairs list is empty, it just says press + to ad new pair... no pins at all

If i try to add new pair in FM, name it ie TEST, select source and destination, it asks me if to move data, so I press yes and thats it, nothing more happens. Data are moved as should, but pairs list is still empty... Maybe it is in conflict with DirectoryBind?

I found I can edit pairs.db on my PC with SQLite editor, so that I can prepare my own pairs.db from directorybind_conf.csv by hand and then restore it in FM, I just need a little advice :) in pairs.db in pairs table there is src and dst column, so src is where are data placed on SD and dst where are data placed on extSD? And what sould be in sqlite_sequence table, there is column name=pairs, and column seq= ; seq is number of pairs? ;)
[Android Software Development] madmack:
After you click on the check mark and FM asks you to move data to the destination, you should see the TEST pair appear in the list with a pin icon to the right. If this is not happening, then FM is most likely not able to write data to its /data/data partition

For SQLite, I don't have a seq column. I only have name, src, dst and excScan. The id_ has to be unique and incremental. You guessed the src & dst correctly. src = internal and dst = external.
[Android Software Development] xamindar:
I like this program but why doesn't it let me move the whole obb folder over and link that? Most large game data is in that folder.
[Android Software Development] VictorC666:
I did it! I finaly I managed to restore pairs from my handmade backup, I can see all pairs I wanted, but i cant pin it now :( It keeps saying: Cannt connect while copying. Please wait... I dont know why it says anything about copying... all data are already copied to extSD from DirectoryBind :(
[Android Software Development] madmack:
Reboot. Or manually force close FM and start it again. (long press home, swipe FM out). Something went wrong in one of the copy operations that FM did and it got stuck. Did you receive any errors ?
[Android Software Development] xamindar:
Hey madmack,

Care to offer any explanation? I bought this program because it said I could not link the entire obb folder unless I paid for it. Bought it, still can't move entire folder. Not moving the entire data folder I can understand because apps are constantly using that, but why is it not letting me move obb?

And yes, I did search as much of this thread as I could. I found others asking the same early on, but never an answer of why not.
[Android Software Development] madmack:
the answer is actually in this thread, and in the FAQ.
[Android Software Development] xamindar:
OH ok, thanks. Looks like with this I need to move it all myself?
[Android Software Development] madmack:
FM should be able to move content of obb itself. Try that first, and if it doesn't error out, you're good.
[Android Software Development] xamindar:
It didn't ask me to move when I created the obb link. Maybe I did something wrong. I just deleted everything in the obb folder to start fresh and see how well it works now.
[Android Software Development] omias:
Here is the video explaining the issue.

Btw.... you have done an amazing app :victory:

I inserted annotations on the video (u can see the annotations only using standard youtube player e.g. Desktop and laptop) the annotations not appears in the mobile youtube. :(

http://www.youtube.com/watch?v=ALusC4qSiWI
[Android Software Development] madmack:
Awesome ! Nice presentation :)

ok, there is definitely an issue. Can you please provide the "mount.txt" file from your phone? instructions for how are in the OP. The Sygic folder is apparently already mounted or FM thinks that it is. Otherwise, I can't find anything in my code that indicates a difference in behavior for when you "auto select" the destination or manually select it. In both cases, FM should detect the presence of files in the source and offer to move them for you. Weird :eek: Perhaps your mount.txt will shed some clues.
[Android Software Development] bsoplinger:
You can edit on your Android device with the SQLite editor from the Play Store. Its a paid app but works well.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Android Software Development] lclaudiogb:
Apk causing reboots to my xperia zq

I need help.

I´ve just updated my Xperia ZQ which is same as ZL to 4.2.2 and now FolderMount is causing REBOOTS right after it tries to mount files or I tap on the PIN symbol to mount file. Before on JellyBean 4.1, everything was OK and I was able to move large files such as games to SDCARD EXT and games worked flawlessly.

Now though on Google Play it says apk is compatible with 4.2, it is not working for me.

If I leave the option MOUNT ON STARTING, phone starts to reboot endlessly.

I have the PRO version but had to uninstall it until I have a fix form it to mount successfully on my Xperia ZQ.

Please help if possible.

Thx!
[Android Software Development] omias:
1st mount.txt (all pins in green and all working ok, incluiding SYGIC) *sygic mounted using manual mode View attachment mount(1).txt

2nd mount.txt (all pins turned off) View attachment mount(2).txt

3rd mount.txt (the issue, crazy phone, freeeeze) !!!!! *sygic mounted using auto mode View attachment mount(3).txt
[Android Software Development] madmack:
here: http://xdaforums.com/showthread.php?t=2317432
[Android Software Development] kondronaute:
same issue here but not solved by manual install :( it seem that something stay in memory after uninstall FM... it was working good the first time ...

is there a manual cleaning ? some files written by the app and not removed ?

i really want use this amazing app ... :eek:
[Android Software Development] omias:
Try cleaning/deleting using PC, if u try to clean/delete using your phone ...... you will not be able to do it.

Enviado desde mi GT-I9500
[Android Software Development] kondronaute:
all seem working the folder is mounted but the list of pairs is empty .

manual or automatic gives same result = list of pairs with nothing and no pins !!!

for unmount u must tic to not mount at restart and restart the phone !!!
[Android Software Development] VictorC666:
Even after reboot, same problem :( Any way how to debug it? enable logging?
[Android Software Development] madmack:
this is happening with the latest version as well?
[Android Software Development] madmack:
if you reboot with the auto boot option ticked, all folders are mounted automatically?
[Android Software Development] madmack:
I would remove the /data/data/com.devasque.fmount folder after uninstalling. This should get rid of all traces of the app in the phone's memory.
[Android Software Development] madmack:
All these look ok except with the one with the total freeze. I think what's happening is that your phone is terminating the debuggerd script and then the file is getting executed again multiple times. Hence why you end up with multiple mount points. Can you provide a logcat for when the freeze issue is happening? I need to know why the debuggerd script is crashing (and locking up your phone).

One thing isn't clear. The one with the "manual sygic working", I thought in the video, even though you added the pair, it actually didn't appear in the list? How come it's working fine?
[Android Software Development] VictorC666:
well after another restart FM is not more saying the error, but it does nothing :) maybe problem is i am trying it with your free version... i can see all my pins in the list restored from my handmade backup, but i cant pin to green anyone :) because it is more then 3 :( so i am gona to pay for this amazing app, I hope it will work :(
[Android Software Development] madmack:
i don't think that this is the issue.. I'm not making any extra checks at mount time. If the pairs are in the DB, they should all pin correctly as if you've added them with the pro version.
[Android Software Development] kondronaute:
yes

---------- Post added at 05:04 PM ---------- Previous post was at 05:03 PM ----------

that's what i was looking for :) i'll try and tell you :)

thanks

I not find this directory :(
[Android Software Development] VictorC666:
I just bought your app and its working ;) but pins newer got green but pairs got mounted anyway :) that pairs i added to db manually and restored, if i add any new pair it has green pin. Strange...
[Android Software Development] omias:
Yea :good: "manual sygic working" appears in the list !!! And I can switch green

Enviado desde mi GT-I9500
[Android Software Development] kondronaute:
other when I want to pair just a folder that not work to me the pair is not in the list of pairs, the files are moved but folder not mounted and no way to do it coz it's not in the list and no pin...

i am using an rooted desoxeded XUBMF8 with perseus kernel and phils recovery busy box 3minit and i manually do my CRT
[Android Software Development] omias:
I realized where the problem starts :highfive: (see the screenshot)

Here is my logcat (recorded while phone freezes) https://docs.google.com/file/d/0BxDxnsbwlS14UzVJMUgzS094dVU/edit?usp=sharing I cant add it to the attachments....bcuz is a lil "big"

View attachment 2113822
[Android Software Development] suv_168:
Folder Mount issue with Mobile Odin Pro.

I need help. Is it normal that after creating folder pair, it's not possible to view files stored in ext SD in Mobile Odin? :confused:

This is what I mean...

Wanted to update a latest CWM which I've downloaded. I've placed it in ext SD.

Then I went to Mobile Odin to flash. However, I'm not able to view this file nor any other files when I choose the External SD in Mobile Odin. It shows files in one of the folder pairs I've created earlier. Not the root directory of ext SD.

Only after I removed all the folder pairs in FM, I was able to view the file which I needed plus other files store in ext SD. :)

I re-created folder pairs again & the same issue happens again. :crying:
[Android Software Development] madmack:
I want to make sure nothing funny is happening either due to sygic already using that folder, or any other reason that might be holding up these specific folders. can you do the following:

1. uncheck "mount on boot"

2. reboot

3. using another file explorer, move the internal sd sygic folder to sygic.old

4. create a new sygic folder in the internal sd

5. delete the destination sygic folder

6. go to FM, create a new pair. select the new sygic folder you created as source, and let it populate the destination automatically.

7. pin. does it work? still freeze the phone?

It's a little hard to debug that one. I'm not seeing anything crazy in the logs and so far you're the only one facing these issues so my gut feeling tells me that whatever is happening is local to your device and not a bug with FM per se.

I believe mobile odin restarts to flash these cwm image files. If so, I would highly recommend that you do not feed it anything that's mounted in FM given that these won't be available when mobile odin restarts to flash it in its own custom recovery. Perhaps ChainFire already is taken care of situations where the path is mounted and that's why you're not seeing them in his file explorer which is a good thing.
[Android Software Development] suv_168:
So I guess in the meantime, I'll continue to use Folder Mount but store any files in int SD insteaf for Mobile Odin to work.

Thanks for the prompt reply.
[Android Software Development] skivnit:
I dunno if this has been raised in the past but since last update I can't use ums mode on my note 2 with fm. It says the sd card is being accessed by.... Whilst I could do it 2 weeks ago

Swyped from another galaxy
[Android Software Development] VictorC666:
How to migrate pairs settings from the DirectoryBind to FolderMount

Simple guide how to migrate pairs settings from the DirectoryBind to FolderMount for those who have many pairs in DirectoryBind

1. You need any SQLite editor, for example free, portable SQLite Editor

2. After purchasing FM create backup of pairs settings, even you have no pairs at all (Menu\Settings\Backup and Restore\Backup), in directory /mnt/sdcard/FolderMount/backup will be created file pairs.db, upload this file to your PC

3. Open the pairs.db in SQLite editor and go to the tab "Browse Data" and in the dropdown menu select the table "Pairs"

4. Insert so many new rows as you need (with the button "New Record") and in each row insert new data with this syntax:

id=integer PRIMARY KEY (0..xx)

name=Name of pair in the FM

src=source path, for example /mnt/sdcard/DCIM

dst=destination path, for example /mnt/extSdCard/DCIM

5. Save pairs.db and upload it back to the directory /mnt/sdcard/FolderMount/backup

6. Restore Settings in the FM (Menu settings\Backup and restore\Restore)

7. Done!
[Android Software Development] Athar Mansoor:
Sorry for the large images was not sure how to re size them from the mobile app.
[Android Software Development] egingell:
If you're using this as the casual user, it shouldn't be affecting those things at all.

Side note: MG1? Didn't they just barely release MF9?

P.S. Large pics are fine.

Sent from my SGS4.
[Android Software Development] Athar Mansoor:
Only concern was that app installs/uninstalls take a really long time as the app manager is still 'computing' in the background.. and i suppose that will increase as with more apps/games get installed and their data transferred to SD (using a class 10 BTW). Calls for more optimization may be?

And Yea,, Got the MG1 few days back, It jumped from MF8 to MG1 on the INU CSC
[Android Software Development] madmack:
There isn't much that FM can optimize in that department. I suggest unmounting all pairs before visiting that page to speed up the loading process. Otherwise, you can always use the Google Play store to uninstall apps. It'll be much quicker. Just to to the apps page, then uninstall.
[Android Software Development] Athar Mansoor:
Thanks, that helps.

Another suggestion.. When the unmount and remount operation is carried out, Would it be good to have the copy (merge) operation performed once again from source to destination folder. Followed by a gallery re scan.

Sent from my GT-I9500
[Android Software Development] madmack:
I'd rather not. It'll slow the entire mount operation. Something I'm against. Mount should be just that: mount a pair. The odds of having files in the source that don't exist in the destination are really slim in any case.
[Android Software Development] egingell:
If anything, delete the files first.

Sent from my SGS4.
[Android Software Development] skivnit:
^^

Swyped from another galaxy
[Android Software Development] madmack:
try unmounting all pairs and try again, does it work?
[Android Software Development] aviwdoowks:
Question. Can the backup folder be shared between phones?

With same rom?

Any rules?

---------- Post added at 10:25 AM ---------- Previous post was at 10:10 AM ----------

Is there any way to use this app for a more "global" elimination of the internal memory.

Like one pair that does it all?
[Android Software Development] madmack:
Not possible. You wanna research "fstab swap" to see if it's at all possible for your particular device.
[Android Software Development] aviwdoowks:
I am on the Razr M w/ an emulated internal sd.

---------- Post added at 10:42 AM ---------- Previous post was at 10:33 AM ----------

I got this to work on stock based roms only. http://xdaforums.com/showthread.php?t=2349362

---------- Post added at 10:47 AM ---------- Previous post was at 10:42 AM ----------

Was that no on the sharing Q also?

Thank you
[Android Software Development] madmack:
sharing q?
[Android Software Development] aviwdoowks:
Can we share the backUp folder with other phones?

With same rom?

Any rules?
[Android Software Development] egingell:
Based on my poking and prodding, SD swaps are not likely to be possible (on the SGS4, at least). The internal SD card is physically part of the "userdata" partition. It is located in (not mounted to) /data/media/0 and Android does some wicked voodoo magics to make it vfat and mounted in numerous places (/mnt/shell/emulated/0, /storage/emulated/0, /storage/emulated/legacy, /storage/sdcard0, /mnt/sdcard, /sdcard - symlink). If the SD card is elsewhere on the partition table, I can't find it.

It would be easy enough to mount the physical card to /data/media/0, but putting the internal SD card on /storage/extSdCard would be difficult. It could be as easy as: rename /data/media/0 to /data/media/sdcard, make a new directory of the old name, mount the /dev/block/mmcblk1p1 there, and bind the new named directory to /storage/extSdCard.

That's the theory, anyway, and I'm not about to test it on my daily driver phone. Y'all are welcome to try it, but I'm not going to be responsible for your data or your phone's health.

E.g.

mv /data/media/0 /data/media/sdcard # theoretically, this would only need to be done once.
mkdir /data/media/0
mount -o bind /data/media/sdcard /storage/extSdCard

# change vold.fstab
dev_mount sdcard /data/media/0 auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
[Android Software Development] madmack:
No rules. Go ahead :)
[Android Software Development] aviwdoowks:
Thanks

Just to be clear I can get the "11extsd2internalsd", see prev post, to work on stock (w/initd) but not on CM10 based roms for the Razr M.

Also xda provides those code boxes but they cannot be viewed on a phone browser.

Would you please just paste the code into the message?

SORRY for the bother.

---------- Post added at 01:31 PM ---------- Previous post was at 12:38 PM ----------

OK the Op says no rules on posting backup files.

Anybody proud of their "pairs" and want to post them?
[Android Software Development] aviwdoowks:
Here is mine. This just a trial to find out if this could be useful.

File is not a zip just rename to pairs.db.
[Android Software Development] egingell:
I remind you that this is experimental. If it works, great, let me know and I'll post it in my thread and on my blog. :thumbup:

Edit: Steps:

Backup /system/etc/vold.fstab (rename it to /system/etc/vold.fstab.bak).

Extract files from ZIP (attached) to /data/local/tmp (arbitrary location).

Set permissions of both .sh files to 755.

Execute renamemediasd.sh (you might have to do this from recovery via ADB).

Copy or move bindsdtomedia.sh to your init.d folder (probably /system/etc/init.d).

Copy or move vold.fstab to /system/etc

Reboot.

Pray - if that's your thing.

To undo (I have added an undo script which assumes your init.d is in /system/etc and that you backed up your vold.fstab by renaming it to vold.fstab.bak - if you didn't, then the script will leave it and you'll have to edit it yourself per step 3):

Boot into recovery.

Delete bindsdtomedia.sh from your init.d (rm /path/to/bindsdtomedia.sh). If in /system/etc/init.d (mount -o remount,rw /system # first).

Restore backup of vold.fstab or switch the "#" from "orig" to "new".

Rename /data/media/sdcard back to /data/media/0 (mv /data/media/sdcard back /data/media/0).

Reboot.

Epted 07/16/13 19:00 MST: Smartened up the scripts. renamemediasd.sh will look for init.d and backup vold.fstab and undo.sh will undo (imagine that).
[Android Software Development] egingell:
You could just zip the DB file - no need to rename. :p
[Android Software Development] aviwdoowks:
Are you willing to help a noob get the swap to work for the xt907 -cm10 & miui?

Which of your threads? Not here!

---------- Post added at 04:53 PM ---------- Previous post was at 04:44 PM ----------

To all:

Anything special to do when flashing a new rom?

Like unmount all links & backup?
[Android Software Development] egingell:
My thread. It's also linked in my signature. The stuff in that thread is specific to the SGS2 and SGS4 using stock ROMs and kernels, but may work on other phones, ROMs, and kernels.

If by "help," you mean "fix error messages," then sure, but I'm not taylor making a script for any specific phone or ROM.

Edit: Oh, it's not linked in my sig... it will be soon -- and there it is. :D.
[Android Software Development] fayez107:
Well I'm soon planning to BUY Folder Mount PRO. I just needed a clarification.

Once I buy it means it is with me till my phone is alive?

Also if I format my phone, install new Firmware and CUSTOM ROM, Custom Kernal and obviously Folder mount is removed.

How to I get back the PRO version back again? Do I have to buy it again ?

I need to know this cause I'm new to Android I keep on experimenting with my phone so I format, flash and do everything with it atleast twice a month.
[Android Software Development] egingell:
It's exactly the same as any other Google Play purchase.

Sent from my SGS4.
[Android Software Development] fayez107:
As I said New to Android. I haven't done any purchase ever. This would be probably my first one ! ^_^

Can you please elaborate how other Google Play purchases work ?
[Android Software Development] rascal0pl:
Poweramp still doesn't shows any files/folders files (exfat formatted extSD) :(
[Android Software Development] egingell:
They are tied to your Google account, not your device or ROM.

Sent from my SGS4.
[Android Software Development] mrdreamers:
nice app :)

ya think you'll ever get it to a "one click done" app?

over all sweet app!!
[Android Software Development] siraltus:
Hey madmack, I have a new glitch in CM10.1 that seems to be caused by FolderMount. I'm sure you're starting to hate me by now. :D

So when FolderMount is set to run on boot, the external SD card (exFAT-formatted if it matters) randomly fails to mount (on average every 2-3 boots).

/storage/sdcard1 is gone when it happens and if I manually mount it, all works well from that point on.

I posted in the CM nightlies thread about this over the past few days and it's not happening to anyone else. It's definitely not a card failure because it's happening with three different brand cards.

I just disabled "Run on Boot" and now I can't get the problem to happen again, even after rebooting 20 times in a row.
[Android Software Development] DualJoe:
The 1st post states (even in red color) it supports Android 4.2.2. These OS versions have their sdcard as part of /data partition on EXT3/4 whereas external SD-Cards are VFAT or exFAT. If you try to bind mount an external vfat folder (eg. obb) to (data/media/0/Android/obb) the permissions are all wrong (eg. no x permission on folder that is "accessable"). So how does this app circumvent the issue of cross-filesystem (vfat<>ext) bind mounts?
[Android Software Development] egingell:
There's no "issue." The only time there would be an issue is if the app comes with executable scripts (Folder Mount, Titanium Backup) or executes scripts from its data folder (ROM Toolbox, Root Explorer, Script Manager) and you move/bind its data folder to an FAT partition.