yashsingh1/xdaforums huggingface dataset:
[Android Software Development] madmack:
The remount notification bar should appear on all devices with a max delay of ~3 minutes. In most cases, the remount will happen in 20-40 seconds. If you see nothing in 3 minutes, I'm not even sure how to debug this as this is not supposed to happen and I certainly can't replicate it or think why it would happen.

Good job !

I got another similar report. Can you follow the "how to bug report" guidelines in the OP and provide these files so I can have a look?
[Android Software Development] madmack:
xda is been acting up this morning. I'm unable to post :confused:

edit: now i am :D
[Android Software Development] egingell:
I had the same problem for five and a half hours last night.

Anyway: I polished my debug script a bit. Now it saves the info to a file and "talks". :)

By "talks" I mean:

root@android:/ # sh /data/local/df.sh
sh /data/local/df.sh
Please wait...
Beginning step 1:
Step 1 complete.
Beginning step 2:
Step 2 complete.
Formatting results:
Finished.
Results saved to '/storage/sdcard0/mountsAndBinds.txt'

I also, streamlined it slightly.
[Android Software Development] DarkPrinceByWWW:
Hi ho, me again here. Link2SD is working on my girlfriends HTC Desire and on my HTC Sensation, thank you and egingell for the recommendation.

I startet FM on my Sensation and its seems to behave the same way. On tap on source I see my sd card:

and on tap on destination I see the internal storage:

The reason I'm try to use your app is to get sotify run on the HTC Desire and to mount the music folder to the sd card as the internal storage of the crappy phone is just too small to store any music files on it. As I can't test it on the Desire, I can only test it on my Sensation, at least atm. This is the rom I'm currently using: http://xdaforums.com/showthread.php?t=2115520 Based on CyanogenMod. So that can I do to solve the issue?
[Android Software Development] egingell:
On Source, just tap "Menu->/ path" to get up to "/" and find the music directory (guessing "/data/data/data.google.android.music/files") and on Destination navigate to "/storage/sdcard0" (or "/data/sdext2" since you're using Link2SD) and find where you want the files to be.

Please note that you will need to move the files manually using a root enabled file explorer or the su command line.
[Android Software Development] DarkPrinceByWWW:
So the new downloaded songs can't be moved automatically? Or stored right on the sd card as the folder is beeing redirected?
[Android Software Development] egingell:
New files after binding will get put where you want them, but existing ones need to be moved manually.

Sent from my E4GT.
[Android Software Development] Guitarfreak26:
I keep getting permission/ownership errors on the octa core s4..

No matter how long i leave it or what i try it keeps giving the same error message :(
[Android Software Development] beaver2233:
Pin/pins do NOT turn green (initially worked, no longer does),

Currently only have GTA VC paired (did have real racing 3 and mc4 but deleted those settings).

Source: /storage/emulated/0/Android/obb/com.rockstargames.gtavc

Destination: /storage/extSdCard/Android/obb/com.rockstargames.gtavc

I've tried restarting the phone multiple times, uninstalling and re installing the application. For the life of me cannot figure out why it worked fine initially and now no longer.

Using the Galaxy S4 (i9505), XXUAMDN build (4.2.2).
[Android Software Development] madmack:
need more info. Please look at how to file bug reports in the OP.

Not sure why this is happening. It worked on the s4 test device that I borrowed last weekend :/ you didn't change anything since the app stopped working?
[Android Software Development] beaver2233:
nope - looks like I'll just have to factory reset my device and hope it works!

Edit: ****, even after factory reset still doesnt work, argggh!!
[Android Software Development] madmack:
let us know if factory resetting took care of it :) you're not the only one with a stuck grey pin on the S4.
[Android Software Development] beaver2233:
Read above, just editted.
[Android Software Development] madmack:
if you want, i can try to debug your phone remotely. email me (use the email dev link in the play store) and i'll give you more information.
[Android Software Development] beaver2233:
Hmm I just tried downloading a smallish game, Ice Age Village, and it successfully mounted....
[Android Software Development] madmack:
k, try deleting the source and destination folders of the one that isn't working, have the app install its data again, and recreate the folder pair. probably a permission change or something that is causing this issue.
[Android Software Development] beaver2233:
yeah im redownloading gta vc now - i did that yesterday as well and i swear it didnt work, eh we'll see :P

EDIT: hmm bugger, doesnt work...

edit#2: i was just looking around in the app > and went to to gta vc folder pair settings, went to source...from there i was looking around and went to / path > /mnt/asec...now in there, there is com.rockstargames.gtavc-1 and states, "Size: Mounted!"

Any idea what that is?
[Android Software Development] egingell:
List mounts and binds version 3. Now it's hella fast. :D

Madmack, you are welcome to add this to your app for debugging or even to list binds that your app didn't make (i.e. folder pair not listed or pairs already bound when the app tried to bind them) as read-only.

I added a command-line argument to mimic mountpoint -n. It prints the physical path and the bound path separated by a space. It errors if the argument is a "real" mount or a path that doesn't exist.

Edit: Now it works on relative paths and paths that end with a slash.

root@android:/ # sh /data/local/df.sh /data/sdext2
/data/sdext2 is not a bind point.

root@android:/ # cd /data/data
root@android:/ # sh /data/local/df.sh com.facebook.katana/cache
/data/sdext2/data/com.facebook.katana/cache /data/data/com.facebook.katana/cache

root@android:/ # sh /data/local/df.sh /data/data/com.facebook.katana/cache
/data/sdext2/data/com.facebook.katana/cache /data/data/com.facebook.katana/cache

-- It works on the source or the destination --
root@android:/ # sh /data/local/df.sh /data/sdext2/data/com.facebook.katana/cache
/data/sdext2/data/com.facebook.katana/cache /data/data/com.facebook.katana/cache

Whether passed an argument or not, it writes all of its findings to "$EXTERNAL_STORAGE/mountsAndBinds.txt".

---------- Post added at 16th May 2013 at 12:30 AM ---------- Previous post was at 8th May 2013 at 10:35 PM ----------

Version 4 (updated June 16, 2013):

Change log:

* Bug fix.
[Android Software Development] egingell:
Use my script (version 3) and attach the file or paste the output. Seems like a good opportunity to field test it. :)
[Android Software Development] madmack:
that's normal. Some games store some "secure files" in that path. no need to be alerted. That path is a virtual one iirc.

Did you try to force close the game and try binding again? Maybe it held a lock on the folder or something. You can manually force close it by going to the apps settings in Android settings menu. Otherwise, just uninstall the game, create the folders manually, bind them.. does it work? there are many ways to debug the issue.
[Android Software Development] beaver2233:
hmm yeah force closing the game didnt help...is it possible something in the name of the folder is screwing this up?

I did as you said, and just added a random folders called 'something' and linked it to another folder on the external sd (both in the same location as previous, /android/obb, internal and external) and it worked...however when creating the same folders though named com.rockstargames.gtavc it doesnt seem to work? the game is uninstalled and the folders contain nothing...ill just try a few more things and see if that's the issue...see attached images
[Android Software Development] egingell:
If it wasn't $4.99, I would totally install it and try it myself.

Sent from my E4GT.
[Android Software Development] beaver2233:
i just added the images...whats you're paypal ? :P but it still doesnt explain why it initially worked
[Android Software Development] egingell:
*cough* "Donate to me" link *cough*

You don't need to give me $4.99 to debug your problem. Especially since I'm on JB 4.1.2
[Android Software Development] beaver2233:
this seems to be the problem - i think its the source folder thats the problem. If the destination (extSD) is named com.rockstargames.gtavc (or anything else) it works, though if the source folder is com.rockstargames.gtavc it doesn't (changing this to gta3 or grandtheft auto etc works fine and pin turns green).
[Android Software Development] okiwankenoki:
Hello madmack,

on Crowdin I made a complete german translation for your very nice Foldermount app! :good:

It was nice if you send me a Pro Version for my work :o

Yours

Okiwankenoki
[Android Software Development] egingell:
The source folder is the one that GTA: VC is going to use by name, it *must* be named correctly (i.e. /mnt/obb/com.rockstargames.gtavc - what it would be on my phone) otherwise, it will just make one and use it ignoring your destination folder.

---------- Post added at 12:32 AM ---------- Previous post was at 12:30 AM ----------

There's no "pro" version, per se. It uses in-app purchasing.
[Android Software Development] beaver2233:
yeah i know that - when debugging, uninstalled GTA VC completely (no relation to the folders being created in this test). Added randomly named folders (with nothing in them) in the /android/obb (both internal and external) and these mounted/paired fine. However, when naming the source folder com.rockstargames.gtavc they no longer mount/pair?
[Android Software Development] egingell:
Interesting.
[Android Software Development] beaver2233:
Annoying :P
[Android Software Development] egingell:
Right?

I made a folder /mnt/obb/com.rockstargames.gtavc and successfully bound /storage/sdcard0/com.rockstargames.gtavc to it. I've unbound them and now I can't get rid of /mnt/obb/com.rockstargames.gtavc. lol

Anyway, I also tried (successfully) <card>/Android/obb/com.rockstargames.gtavc, but since it's just a regular folder on my phone, it makes little difference.
[Android Software Development] beaver2233:
haha dah, i give up...
[Android Software Development] egingell:
Don't do that. There must be a way to make it work. :p

I'm not sure what a fuse device is. At any rate, is "/storage/emulated/0/Android/obb" the "real" location of the files? Either run the script I posted and attach the resulting file or attach "/proc/self/mountinfo".
[Android Software Development] beaver2233:
im trying...though now my phone keeps randomly freezing, :/
[Android Software Development] egingell:
Remind me what kind of phone it is so I don't buy one. :p
[Android Software Development] beaver2233:
its been great up until now haha legit cant even turn it on for more than a minute, just dies each time hahaha ****
[Android Software Development] egingell:
Damn, dude. That sucks. I had that problem once -- I uninstalled a system app, I don't know which one caused it, I had to reflash the ROM.
[Android Software Development] beaver2233:
i did nothing....and now im worried - factory reset the phone, it boots for a little bit starts up and then randomly freezes..looks like reflash coming up (hopefully doesnt die while im flashing!)

edit: luckily its working again...i think my phone's been through enough for 1 day haha

update: well gta vc and modern combat are working fine now (after reflashing stock firmware) *shrug*
[Android Software Development] madmack:
email or send me a pm ;)
[Android Software Development] madmack:
nice. at least i know it's not the folder name that was the issue.
[Android Software Development] madmack:
give me the results again after using the latest version of my app.

besides, the file is truncated and makes reading it difficult. Make sure you follow my instructions by using "mount > /storage/sdcard1/mount.txt" and upload mount.txt instead of copy pasting the output from terminal.
[Android Software Development] lionsh:
Great work!!!

I was waiting for so long since upgrading my nexus 7to 4.2.2 for a replacement for directory bind.

I got it to work, had to select /data/media/... for it to work.

One issue, How can i unmount? I have the pin icon. after pressing it it shows a status of "processing..." or something and then the mount is active.

But the pin does not change and everything remains the same in the app.

If I press it again, i see the same status of processing but I can't unmount in any way.

I have 4.2.2 stock on my Nexus 7 with franco kernel.

Once again, thank you for the great effort!
[Android Software Development] madmack:
something is not working. if after the "processing" dialog the pin doesn't change to green, then something is definitely wrong.

How are you selecting /data/media manually? the source and destination folders are locked in FolderMount :\ Can you provide a screenshot of your pair settings?
[Android Software Development] lionsh:
the source is locked but the destination is not.

and it does mount and work btw.

just not turning green and no unmount option
[Android Software Development] madmack:
oh my.. you don't have an external sd ! I have not tested that use-case and that is why it doesn't work.

Are you connecting a thumb drive via OTG? What is it formatted as? Actually, if you can provide the output of "mount", it would be great.

reboot your nexus, don't run my application, and then follow my instructions on how to get the output of that command to your sdcard and then attach it here.
[Android Software Development] racer321:
This app works perfectly!! Tried it on my nexus 7 with obb folder :D Thanks to the dev, just waiting to purchase pro version :)
[Android Software Development] rokahaal:
Really great app. Very very useful on my Nexus10 with It's small 16 GB storage. Thank you madmack. One question: How can I revert the files back to the original folders?
[Android Software Development] madmack:
At the moment, you'll need to use some third party app like ES File Explorer to do that job. I might add this as an option somewhere one day in FolderMount.
[Android Software Development] gelhack:
I can advise that umount must be run via debuggerd or it won't work correctly. Don't know if this is done in the apk or not.
[Android Software Development] vua777:
great help for gamer

bookmark now
[Android Software Development] chriscsh:
installed the new beta

and i try install other game with data in obb folder, seem still not work

update new mount.txt
[Android Software Development] kretex:
How about this sir?

The pin not going blue :confused:
[Android Software Development] madmack:
galaxy s? what's the android version?
[Android Software Development] lionsh:
I'm connecting sd card via sd card reader to usb and OTG cable. It's formatted as FAT32.
[Android Software Development] kretex:
SGS I9000 Rom CM 10.1 Latest Nighty JB 4.2.2 ;)
[Android Software Development] baileyjr:
Watching development of this app closely :good:

Currently using directorybind but that means I'm going to be stuck on 4.1.x indefinitely.
[Android Software Development] madmack:
can you give me the full path of your "source". it's truncated in the screenshot.

and try to be consistent. because the mount files are showing "com.Phosphor.Horn.Paid" to be mounted while the screenshot is showing a gameloft app.

I need to be able to trace the entire path to be able to replicate + fix it.

NVM. Found the bug, I'll release a test apk for you here.
[Android Software Development] madmack:
tricky that one.. everything looks AOK from what I can see.

When you click on the pin, you get "processing" and then this dialog disappears (after how many seconds?) and you get the same old gray pin?

Is any app using the sdcard1 folder? The permissions are incorrect on your mount and I think my app is trying to fix that before mounting and is failing for some reason. Try to reboot and after 15 minutes (without opening any other app), try to pin the folder again. Any progress?

----

Edit: Can you navigate using any explorer with root capability to /data/media.. do you see a subfolder called 0 in there? Is this the official cm10.1? It's weird how they're not using fuse to mount the internal sdcard.
[Android Software Development] lionsh:
Yeah, sorry about that.

horn:

source----> /storage/emulated/0/Android/obb/com.Phosphor.Horn.Paid

destination----> /data/media/0/usbStorage/sda1/Obb/com.Phosphor.Horn.Paid

I use StickMount to mount the thumb drive via OTG
[Android Software Development] madmack:
test the attached apk my friend. The pin should turn green, and you'll be able to finally unbind.

it's reassuring to see that ChainFire is mounting your FAT32 stick with the same permissions + ownership as I do ;)
[Android Software Development] bigmo5328:
Quick Question and Thank You!!!!

First I would like to say you are a god....been looking for something to help me with my storage issue since leaving my s3 (was using script to switch internal with sd card) and I was about to turn my s4 back in until I found this. Please forgive me if I ask any question that has been answered already. I read from page 1 to about 72 and then skipped. First question is it better to have the Jrummy busybox or is the stericson's okay to use. I was reading someone was having an issue using the stericsons. FM works fine for me with the games I have tested so far (Iron Man 3, Predators, CSR Racing and Heroes Call). I am having an issue actually locating some game data for a couple games I have (Arcane Legends, Arel Wars 1& 2 ) is this an issue I am having or am I just retarded and can't find it. I assumed the data would be in the obb folder. Another question I have which I believed someone already asked about is choosing two sources and having two different destinations for games like predator that has data in the obb folder and the data folder. And I guess my last question is will there be an option to choose what folders to mount at boot instead of all or having to manually select them? ........sorry for the jumbled up post, just spent about an 3 hours reading about this app trying it out and figuring out whats what. btw bought pro version just because this is an awesome app and its accomplishing some of the things I need.
[Android Software Development] beaver2233:
Yep, still very strange though!
[Android Software Development] madmack:
Any busybox will do. If I would start from scratch, I'd recommend JRummy's simply because it bundles a few more tools that FM uses. These tools are not strictly necessary though for FM's functionality so whatever works ;)

Most apps will install their data in <internal>/Android/obb or <internal>/Android/data. If they're not in either, then perhaps you can use FM's pro folder size feature when navigating. It'll give you a good idea where the "big folders" are.

Why would you want to selectively choose which mounts to bind on boot? I just can't think of a use-case for that that's why I didn't implement it.

Bundling two pairs in one is not a good approach IMO. FM categorizes entries per folder, not app. It makes intuitive sense to me that way: what if some apps have more than 2 folders? what if one of these folders is binding correctly while the other doesn't? FM issues commands to bind folders, the entries in the main menu should reflect that.
[Android Software Development] bigmo5328:
Haha sorry like I said probably was going to end up asking something dumb......I was stuck looking at my storage meter and was trying to calculate which apps I should enable and which ones I shouldn't when the whole purpose of this app is to move everything to the sd card and make a link in the internal to that location so my storage meter is lying.....and I get the bundling two pairs thing so thats cool......I'll try to hunt around and see if I cant find that game data.....seems like gamevil games are the only ones I am having issues with right now that and spacetime studios ......got a crap load of games that I have just to have and I am testing them out one by one slowly ....but thanks for the quick response and I really appreciate the work you put into this app .... its a life saver
[Android Software Development] darkhandsome18:
[MENTION=3722298]bigmo5328[/MENTION] Use storage analyzer app to find the big folders. It's free on the play store
[Android Software Development] rickwyatt:
i payed for the pro but it wont mount obb to obb it says please select a subdirectory
[Android Software Development] egingell:
I had no problem with this.

You need to follow the trouble-procedure in the OP.
[Android Software Development] madmack:
go to the settings menu and enable that option.
[Android Software Development] egingell:
Oh, right, I forgot about that. That option seems to enable itself whenever I wipe the data of FM for whatever reason.
[Android Software Development] madmack:
you're special :D
[Android Software Development] egingell:
After wiping FM's data, it always offers to restore the backup, I always click No. Does it restore app settings regardless of which button is clicked with the exception of the folder pairs?
[Android Software Development] madmack:
if you click no, it won't restore anything.

maybe you have "back and restore" enabled in Android? if so, then this is probably restoring FM's settings automatically for ya.
[Android Software Development] egingell:
Nope. I prefer manual restores with TiB or from NAND backups.

---------- Post added at 12:39 PM ---------- Previous post was at 12:30 PM ----------

I figured it out. I was thinking backward. When it's checked, it *checks* the paths and it's checked by default.
[Android Software Development] bigmo5328:
Thanks for the info seems some of the games were putting it in /data/data... Just have to figure out how to make that work
[Android Software Development] [^IcEmAn^]:
When I move Real Racing 3 or carmageddon and after that try to start the game from menu it just starts downloading app data again and it loads it to internal memory. It doesnt start from sd card apparently.

What to do?
[Android Software Development] thehoz:
I am trying this program out. I am noob to android with the Galaxy s4. I was going to return mine to bestbuy today and get the 32gb at ATT, but decided to try this program first. $1,99 is a lot cheaper and less headache. I rooted the phone and installed the app. I am trying to move a big app to see the difference in storage. The biggest one I have (I think) is Angry Birds Friends. Its about 50mb. But I can't find the folder that I want to move. Anyone have any ideas? Thanks.
[Android Software Development] egingell:
/data/data/com.roxio.angrybirdsfriends or something similar, which is not on the SD card. You can still move it, but you have to use the Menu->/ path option and move the files currently there manually.

Sent from my E4GT.
[Android Software Development] phaze1:
How to restore to internal sd?

First, thanks to the dev for your work. Just installed this software and have a few problems. I have successfully moved a couple of games but I have the same problems as the above posts but also with NBA Jam. Keeps redownloading data and lost my save data. Also I wanted to move it back so how do I do that? Would be nice if the app had a "Restore App to Original Location" (Internal SD). If I missed it please enlighten me. If not please instruct me on the proper way to restore it.
[Android Software Development] bluntman420:
madmack, using this method of mounting folders, would it be possible to mount nfs shares? On 4.2, if i use terminal to busybox mount the share, ONLY the terminal see's its contents. If you could use this method for nfs shares that would be awesome. I love this app and have purchased it from the play store. Hopefully more functionality can be added. Thanks.
[Android Software Development] egingell:
There's really only one way to find out. I'm guessing yes.

Edit: I just realized that you mean actually mounting the NFS share, not mounting an already mounted NFS share. I don't think this app will do that, in fact, I know it won't. It only binds existing folders to other existing folders.
[Android Software Development] treb88:
Have been looking for this app for so long...thank you so much for this one..