yashsingh1/xdaforums huggingface dataset:
[Android Software Development] dex4ever:
When i edit the pair and click SAVE rescan.. rescan don't happens, the problem is when receive new media, appears blur in the chat and device not receive content, i check original folder and paired folder and new media don't exist :(
[Android Software Development] Athar Mansoor:
Ok.. Lets take this case when the folder is unpaired. Are you able to see your media in the original location. If so then you need to move that to the paired location. After the move has been completed you can pair the folders again.

Am not sure why the rescan/move is not triggered when you go to edit mode of the pair and hit save.
[Android Software Development] dex4ever:
Apparently occur any problem with permission .. i don't know =/
[Android Software Development] egingell:
If you can't get a folder to unmount, turn off auto mount on boot and reboot.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Software Development] Olioaglio:
Someone has FM working on S5 with stock rom (rooted of course)?

Olioaglio
[Android Software Development] Shoraht:
Hi,

I tried the app and moved one app and it worked fine. The problem is, that it is not what I was looking for so, how do I undo what the app did so I can uninstall FolderMount and still have the app I moved work again.

I am looking for a tool that will move apps from the 2 gb internal storage to the 12 gb internal storage.

Thanks
[Android Software Development] zuifon:
Is there a way to mount to entire data folder on the sdcard instead of mounting applications one by one ?
[Android Software Development] noobhero:
argh! i just edited my comments on play store.. gotta change again..

looks like i've gotten the kitkat custom issue!

pins are green but folders' empty! damn!

i've got so much folders!

edit: could there be a patch that can make things work?
[Android Software Development] kenshindono:
Weird, I'm on premium on Kitkat (bought the apps a year ago) but I can't link Android & Data on my new device

I was able to do that before and now it doesn't works. It says that I can't link the entire folder (like it does for non premium).

When checking the "about" it says premium yes

I can link more than 3 folders without problem but still can't connect the most important folders...:rolleyes:

Please some help. can't do anything without that apps

Update : Tricked it a bit with TB but need to test
[Android Software Development] madmack:
uncheck "destination checks" in the setting menu?
[Android Software Development] kenshindono:
yup, now it works so no problem.

I can mount my folders:highfive:
[Android Software Development] leopard_fist:
lolz i tried mounting my system/app folder, which rendered my phone unbootable-had to restore from a nandroid:eek:

can one of you gents tell me, what folders i should mount in order to save space, yet keep a working system? thanks :eek:

as well, how would this work with regards to nandroid backups?
[Android Software Development] rocciacoraggiosa45:
work on exfat and ntfs? or only fat32?
[Android Software Development] egingell:
It works with whatever the kernel supports.
[Android Software Development] Blackbird256:
Is 4.4.3/4.4.4 supported? It doesn't work for me. :(

Using this ROM with googy kernel

http://xdaforums.com/showthread.php?t=2557353
[Android Software Development] yomiguy:
Hi [MENTION=1436971]madmack[/MENTION] I just wanna say thank you mate! I bought your pro version when I had my s3 and I also used it with my tab 2. Then I bought my s4 but I didn't want to root it because of knox so I couldn't use folder mount. Moreover updating to 4.4 brought this **** problem with the sd card.

But now thanks to TOWELROOT I could root my s4 not worrying for knox and I can enjoy your wonderful app in my phone! Indeed it fixed the problem with sd card! Amazing! Now I have much more free space in my memory! It keeps working perfectly!

Thanks! ??????

Enviado desde mi GT-P3110 mediante Tapatalk
[Android Software Development] skingg:
Quick question

Hi, I've tried to link two obb folders (Cytus and DJMax Ray) from source to external sdcard destination folder I created and named as Games. Both works but when I try to unlink one of them (Cytus in my case), I delete Cytus from the pair list and it asks me if I would like to restore the files to the original source location, I clicked yes but for some reason it moved everything from the Games folder (even the DJMax Ray files).

What could I be doing wrong? Still running JB 4.3.
[Android Software Development] madmack:
You probably don't have unique destinations for your folder pairs so when you deleted one, it erased or moved back all others. The relation between sources and destinations should be 1 to 1 (sources and destinations should always be unique) unless you know what you're doing.
[Android Software Development] skingg:
So does this mean I've to create a different folder at the destination for each of my files?
[Android Software Development] yomiguy:
Your problem is what madmack tells you. It happened to me yesterday when I used folder mount after long time in my s4.

I created a folder called "folder mount" in sd card and I linked all the folders with it. As a result, when I tried to open one of these folders there were lots of files from the others folders.

So I had to moved each file to the right folder again unmount them and remount them but creating this time one folder for each folder I wanted to move ;)

Enviado desde mi GT-P3110 mediante Tapatalk
[Android Software Development] skingg:
For some reason my all my files on my ext SDCard wiped itself today. Don't think its connected but this feeling really sucks :(
[Android Software Development] desean:
It is working for me on my stock Z1 Android 4.4.4
[Android Software Development] SolGarlic:
Hi madmack,

I just tried your app and it seems it would solve my problem, but:

- When I choose any app, it only says it has files in DATA, although I know for sure it has also files in OBB

- When I try to manually add a pair, it doesn't find any folder inside OBB (although it says the folder OBB is 1.4GB)

So, I cannot move any folder from OBB to my external SD CARD.

Just 2 notes:

- If I use a program like Solid Explorer, I can see folders and files inside the original OBB folder

- If I use a program like Disk Usage I can see a mount point for /mnt/obb with no files inside

- Games that have a folder inside the original OBB folder work ok

Previously I was running "GL to SD", but uninstalled it and rebooted several times.

I guess the problem might be related to this /mnt/obb mount point, but I don't know who created it or how to remove it.

(I am using OMNIROM with OMNI's original kernel in a ASUS ME301T)

Can anyone help?
[Android Software Development] madmack:
kernel issue. Check out the OPs link to KK problems.
[Android Software Development] madmack:
Yes, you're definitely very clear. I'm just not sure what is causing this behavior other than something coming in late and "locking" your sdcard.

Can you try the attached apk file? I removed the media scanner checks so now it'll just attempt to mount your folders immediately after a reboot. Sort of like what happens when you have 4.1 ROMs.

What worries me is that you say you've waited an overnight, and the pins were still not green. This is so not supposed to happen, unless you have a media scanner running forever or you have a task killer/manager that is terminating FolderMount's process.

FolderMount will wait until the media scanner finishes. When it does finish, it'll check your ownership/permission info. Incorrect? Attempts to fix them and mounts your folder pairs regardless whether the permissions were corrected successfully or not. So the pins really should turn green eventaully after a reboot. At least on my S3 running the same rom, they do turn green. Albeit after perhaps 10 minutes or so.
[Android Software Development] ivaneris:
I can't pairing folder with .xxx (i.e .thumbnail) i tried to create it..and the app still can't browse/see the folder?is it known bug?or it's just me who don't know how?

Sent from my LG-P990
[Android Software Development] madmack:
no problem seeing hidden folders here. see attachment
[Android Software Development] ivaneris:
I see..is it because i used free ver from playstore?

Sent from my LG-P990
[Android Software Development] madmack:
No restrictions on free app apart from those two points mentioned in the OP: 1) limit to 3 pairs and b) can't pair some folders like the entire obb folder.

Everything else is identical. I'm not sure why you're not seeing hidden folders. Can you grab a screenshot from another file explorer that shows your hidden folder and another one from FolderMount where this hidden folder isn't being displayed?
[Android Software Development] egingell:
I just linked DCIM/.thumbnails with no issues other than moving two >800MB files across partitions took a very long time.
[Android Software Development] romracer:
Or the system is killing the background process perhaps? I know some apps have a persistent notification to prevent this from happening. Maybe FolderMount needs one while its waiting? Just a thought. This app works fine on my 4.1 ROM on SGS3.
[Android Software Development] egingell:
Incidentally, as it was working on pairing the .thumbnails folder, the notification/progress indicator said "Moving 0/6" the whole time and, when it was finished, it said "Finished 1/6". It did move all 6 files.
[Android Software Development] madmack:
thing is, I'm not running a "service" so that I put a notification in the status bar. The only service I run is when I copy a folder over, and that, indeed, puts a persistent status bar icon for that very reason.

the media scanner check don't run services because it shouldn't. I'm avoiding holding wakelocks when i don't need them.

The only way a "process" is terminated, and not a "service", is by having some external app terminate the process id. If you go to terminal, type "ps | grep fmount". If you see an entry, then the process isn't dead and should continue to check for media scanner activity. If the command returns nothing, then yes, you have a memory process management app killing foldermount.

I personally think you have a bigger issue which is that the the media scanner is never stopping. Can you check your cpu idle state? download an app like BBS (betterbatterystats) and see if your phone goes into deep sleep at all? if not, then most likely that media scanner is going in an infinite loop.
[Android Software Development] madmack:
damn, what version of FM is this happening in?
[Android Software Development] egingell:
If the app is open, it won't be killed automatically by the system. Edit: I typed this up before I read that the app doesn't use a service.

---------- Post added at 10:54 AM ---------- Previous post was at 10:52 AM ----------

1.0.3.
[Android Software Development] madmack:
I've just released v1.1 to the play store. It has a new feature: mount/umount all pairs with one click. Someone suggested that a few pages back and I had that in mind so it was time to get it implemented :)

Otherwise I reverted the busybox cp commands to just good old Java IO. The progress bar when copying/moving should be more reliable now and is displayed as a percentage. From my testing, it was also faster than the old method. Only problem is that this copy operation cannot copy files that the non-rooted app don't have read access to. In other words, if in the future I want to expand the functionality of the app to copy/move files in /system or /data with only read access, then the move folders operation in foldermount will fail.

It should be ok for now though given that we're moving things out of the sdcard which I've locked the source to. All apps afaik have read access to the entire sdcard.
[Android Software Development] ivaneris:
@madmacks

This is screenshot from x-plore file manager

And this is from FM from playstore

I'm using lg optimus 2x ics stock based rom

Sent from my LG-P990
[Android Software Development] madmack:
Can you go to /mnt/sdcard instead of /sdcard in x-plore and see if you get the same thing you see in FM?
[Android Software Development] ivaneris:
Is it this?from androzip

This is from mnt/sdcard in x-plore

Sent from my LG-P990
[Android Software Development] madmack:
Weird as hell. Can you execute one command for me using an app like connectBot (connect locally) then upload a file for me?

busybox find /mnt/sdcard/. -type d -maxdepth 1 ! -name . > /mnt/sdcard/file-for-madmack.txt

After executing this command, go to your sdcard and you'll find file-for-madmack.txt, please attach it here (it'll contain a list of all directories in /mnt/sdcard including the hidden folders ! or not? let's see)

One more command:

ls -al /mnt/sdcard/ > /mnt/sdcard/file-for-madmack2.txt

I wanna see how your permissions look like.
[Android Software Development] ivaneris:
Have to use connectbot?can't use terminal?

Here it is (using terminal)

http://www.4shared.com/zip/o93eW7xi/sdcard.html

I hope this'll help..i've to look at...and directories listed all

Sent from my LG-P990
[Android Software Development] SpasilliumNexus:
I've just tried your test build on a new install of Task's 4.2.2 3/27/13 ROM and Ktoonsez's 3/27/13 kernel with my media filled SD Card and it works flawlessly. This time I've gotten a toast notification in about two or three minutes for FolderMount. Next I checked to see if the pin was green and sure enough it was! Next I went into Solid Explorer see that the permissions were set correctly and I can access them. As a final test, I rebooted a few times and waited about three minutes, FolderMount gave a Superuser toast every time, and the folders mounted successfully.

EDIT: Update 1.1 works on every reboot also! :victory: :good:
[Android Software Development] firevas:
The app works flawlessly! Thanks a lot! :)

A small tip to others: Just make sure the "Destination" Folder names don't contain spaces. I'd Suggest you create a "FolderMount" folder in the external SD Card and then separate folders for each game/app. Remember, no spaces. :) :good:
[Android Software Development] madmack:
Looks exactly as I expect it to. What version of FM are you using? The latest versions are using that find command to list folders and seeing the results you provided, the explorer should show the hidden folders. Make sure you're using v1.1 when you're testing.

This is awesome !

I'm actually looking for ways to speed up the auto mount on 4.2 ROMs and one of the solutions that I'm thinking of is to disable media scan on boot. I could then initiate it manually after fixing the extSdCard's permission. Would you guys be interested in a solution like that? I tested this yesterday by disabling media scanner, rebooted, and sure enough, FM mounted the directories almost immediately.

Are you using v1.1 ? The app should be able to mount folders with spaces in em :|
[Android Software Development] SolGarlic:
Thanks. I already asked the rom mantainer.

I would try a different kernel, but there are not so many around for my tablet.

I suppose there is nothing I can do besides changing ROM or KERNEL, right?
[Android Software Development] madmack:
correct
[Android Software Development] DavidLD:
I installed FolderMount on my Galaxy Note 2014, 4.4.2. 32GB internal storage and 64GB external SD Card, Fat32 if I remember right (as delivered, a Class 10 device). I had FolderMount move seven sets of Audubon nature series reference guide application data, up to 700MB or so each. The moves went without problems and it all now works well.

But my external storage is developing a space problem with the addition of this data to a lot of other stuff, like photos and videos. I kept track of the amount of emulated (internal) storage released and external storage taken after each database move, and found that in some cases the external storage taken was over twice the internal storage amount, and I'm having problems figuring this one out. Searching this thread turned up nothing about that. Before I go any further, has anyone seen this problem and is there a good reason for it? Does FolderMount potentially uncompress data during the move (I'm not sure the source data is compressed, and so far I don't have an answer to that question from the Audubon support folks). I'm looking at the internal and external storage using the note's task manager storage settings page and Titanium Backup, which agree.

Ideas? Thanks, DaveD
[Android Software Development] Mike B.:
As far as FolderMount is concerned, data is data and it won/t/can't attempt to uncompress/compress anything, but isn't it possible that you have different cluster sizes on the internal and external media? The cluster is the smallest amount of data that can be allocated and a larger cluster size can easily increase the reported total storage usage, especially if there are many small (<16K?) files. Just a thought... ;)
[Android Software Development] DavidLD:
Thanks for the suggestion, but I can't see how that could be the problem :confused:. Cluster sizes are probably different--I haven't done the research yet to determine whether that really is so and, if memory serves me correctly, larger capacity *disks* often use larger cluster sizes--but no file copy utility that I know of these days does a cluster copy. They all copy files, and the copy (or move) action accomplishes the fit to the target sector size. I'm not familiar with how Android accomplishes a file copy, but I would believe that it (and the apps that make use of it) would be smarter than that. I haven't been really close to this for many years, but it seems to me that the only utilities that made use of cluster-level copies were disk mirroring utilities. But there may be something that I just don't know about file support for emulated SD Cards in Android that is causing this.

This remains baffling. One of the Audubon apps, the one with the smallest amount of data (76MB) is even-even on source and destination sizes. So it really looks like this could be related to compression, as the vendor may not have compressed the smaller database because it isn't so large. Hopefully vendor support will respond soon and sort this out. If I don't learn something soon from either there or here, I will pull the SD Card out of the Note and examine it in a Windows environment, where I can more easily get pertinent information about it. But I don't know how to get to that information in the Android world.

Thanks, Mike
[Android Software Development] Mike B.:
Cluster copy? You might be thinking of block copy, a related but separate issue.

On a FAT volume, you can't allocate only part of a cluster. It's all or nothing. The File Allocation Table lists which cluster(s) belong to which file, and a cluster can't be shared between files (else the files are cross-linked, a bad thing!). This means that if you copy even a 1-byte file, it will occupy a full cluster. That hypothetical 1-byte file would use twice the storage space on a 32K cluster volume than it would on a 16K cluster volume. If you have lots of small files, the difference can be rather significant. Just sayin'...
[Android Software Development] DavidLD:
Mike, I believe you put your finger on it. I can't get to the files with any of my file managers (Root Explorer, ES File Manager, File Manager HD, or even the built in My Files). They all show empty File folders in Android>Data>Files on both the emulated and external SD Card folders that are under the control of FolderMount (that's a problem I'll have to figure out later). But I do recall that all of these nature guides each have a gazillion or so tiny thumbnail jpgs of the various flora and fauna, and each would be occupying a sector all by itself! That may account for it, but in this case the sector size on the target would have to be greater than twice the source, since the overall database expansion averages more than two to one.

Do you have any idea what the actual cluster size is in Fat32 mode on the external 64GB device and on the internal 32GB emulated device? That might help. And maybe the only fix for this is reformatting with smaller sector sizes on the external, which may cause its own set of problems, or perhaps multiple partitions there, with different sector sizes (I don't even know whether this is possible, as I haven't yet taken the time to look at the options).

Thanks, DaveD
[Android Software Development] Mike B.:
You won't see the files on the source (emulated) volume since they are not actually there. FolderMount creates something similar to a symlink (kinda like an alias) that's merely a pointer to the physical files on the external. if you look at the external SD where the data actually resides, you should see your files with Root Explorer (I'm not familiar with the other tools you mention). My guess is that your cluster size on the external is 16K or 32K, depending on how you defined it when you (or the factory) formatted it. With FAT32 you should be able to get down to 4K clusters to make better use of available space but there are speed penalties and of course FAT32 imposes a 4GB maximum file size.

I only use Linux/OSX so I can't tell you how to do those things with W*ndows but you probably have utilities that would help you discover how much space is actually used, display/change your SD parameters, repartition, etc. That said, if your 64GB card is getting full, now may be a good time to either get rid of a few things or switch to a laptop, at least until a new generation of smartphones can provide drastically larger storage. ;)
[Android Software Development] DavidLD:
I can't see the files on either the source or target for some reason, and that includes with the use of Root Explorer. Nor can I see them with Windows Explorer when I attach the device through its USB cable and driver. I can only see as far as the Files folder under Android>Data. But that's a discussion for another entry in this thread after I look over what has already been written about the subject, which I'm sure is a bunch. Yes, I know what Windows offers in that area and, like I said, may attach the micro SD Card directly to a USB port to examine and potentially reformat it with smaller clusters. But I don't know how to get to the cluster size of the emulated SD card for comparison (not to mess with). But reformatting the external SD Card may, like I said and like you verified, cause an additional set of problems. Right now it is fast enough; smaller but a greater number of clusters may slow it down.

I already do desktops and laptops. My Android devices, both phones and tablets, are for other purposes, and are entirely appropriate with all the advantages of portability they offer. I believe the ultimate solution here may be to rethink my movement of these nature apps to the external storage--putting them back on the internal, and move only app data with large files to the external. Too much micromanagement of this stuff will ultimately get in the way of using it productively.

DaveD
[Android Software Development] Mike B.:
One final thought: make sure the missing files or their parent directories are not "hidden" (i.e. starting with a "."). If you have access to a shell prompt on your Note, try a "ls -A", but the issue might be something else entirely such as a 4.4.* quirk. Happy sleuthing! ;)
[Android Software Development] SolGarlic:
Regarding the "empty" OBB partition on an ASUS ME301T, I already tried an additional Unofficial CM11 and GEASS Kernel besides OMNIROM.

I'm kindly preassuring its developers here, here and here.

Could you please explain them in a short word what they need to do? (from the document you suggested it doesn't seem difficult, although it would be too much for me nonetheless)

Thank you in advance.
[Android Software Development] skingg:
Does anyone know if there will be sufficient read speed increase of pinned apps (games for example) if the card is formatted to ex-fat instead of fat32?
[Android Software Development] madmack:
Please refer them to the website that I wrote. They need to follow each step and I'm afraid there isn't a shortcut. The steps really are not that difficult. If they're bundling kernels and distributing them already, modifying their ramfs according to the instructions should take no more than a few minutes.