yashsingh1/xdaforums huggingface dataset:
[Android Software Development] igvk:
I'm talking about FAT32 partition on SD card, that is used for both link2sd and FM redirected directories.

I don't want to execute anything before debuggerd, I just don't what it to mount anything. I would like it to stay just the debuggerd binary.

As far as I see, FM creates it on boot (I uninstalled link2sd to check this).

Well, I might be wrong. Could you please explain whether FM actually creates the script?

Here is the contents of debuggerd:

#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-debuggerd.log
echo "$(date) mounting..." > $LOG
mount -t vfat -o rw,uid=1000,gid=1000,umask=133,dmask=0002 /dev/block/vold/179:34 /data/sdext2 1>>$LOG 2>>$LOG

mount -t vfat -o rw,uid=1000,gid=1000,umask=133,dmask=0002 /dev/block/mmcblk1p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG
echo "$(date) mount finished" >> $LOG
echo debuggerd.bin launched >> $LOG
exec /system/bin/debuggerd.bin
[Android Software Development] madmack:
FM does not create this.

weird stuff.. mounting a vold and an mmc block to the same destination: /data/sdext2.

FM, when it mounts, temporary overwrites debuggerd, executes the commands, then brings back whatever the default debuggerd script was. In this particular case, it'll bring back the debuggerd shell script that was created by links2sd.

if you want to get back your original debuggerd. delete debuggerd, and rename debuggerd.bin to debuggerd. reboot. you should really should ask these questions to the link2sd guys. I'm not the one who's creating this script.
[Android Software Development] igvk:
O.K. I'll try to check this once again..

I understand how to get the original debuggerd, but it was always recreated on boot, even without link2sd installed.

(Actually, only the first mount command succeeds in it).

Will try to find who is responsible for this script, and write here if I get this info,

Thank you for clarification.

UPDATE: Seems that the problems were with older version. Now everything works as expected.
[Android Software Development] _Sofos_:
Working flawless with i9505 (S4) and Gameloft games.

Rom : Pac (aosp based) - 4.3.1 - Used the latest 2.2.2b version.

Thank you ;)
[Android Software Development] blade22:
how does it work?

i mean i mounted the folders

sdcard0/android/obb/game.name.xxxx

sdcard1/android/obb/game.name.xxxx

*sdcard0 = internal memory, sdcard1 = external sd card

while performing the mount operation it was displaying "Moving..."

but when I checked in internal memory the files are still there...

so,it is not supposed to delete the source files? :confused:
[Android Software Development] _Sofos_:
Actually I moved the files myself manually so I've no idea if auto moving might cause issues, I don't believe tho.

If your pin is green then while you think you are watching the inside of a folder inside your internal sdcard you are actually watching the inside of the same folder but in your external sdcard. Disable the pair and check again, your folder should be empty.

Sent from my S4 using TT2.
[Android Software Development] blade22:
Yeah right I rechecked the when it is mounted the data files are at both locations and when unmounted the data file is only available in sd card..

Hmmm but still the app/game reads from internal its just moving/mounting when needed to play.

the only condition this doesn't work is

on my Xperia M where only 2GB is available for internal memory & I wanted to play NFS most wanted (1.82 GB data) :crying:
[Android Software Development] wajiman:
i am facing a problem in asphalt 8. Once mounted, when i start the game it says checking resources and its a success and then it closes without any error. cant understand at all. using s3 on stock rom. any help will be appreciated
[Android Software Development] th3_jok3r:
I have a Xperia SP and I put 3 files to move/mount.

the files wasn´t moved and play ok, but I need active green pin and delete source and copy files manually.

I have stock rom and rooted.

Thanks
[Android Software Development] madmack:
Did you use a rooted app to "copy them manually" ? FM uses a regular copy operation to perform the move that doesn't require root, so if the manufacturer has messed up the permissions for regular apps to write to the external sdcard, then FM won't be able to help much. Your binds will probably not work either.

It's beyond me why any manufacturer would disable non-root access to the external sdcard, but I've seen it done.
[Android Software Development] NickosD:
I get that message when I try to move nfs mw. It worked perfectly for asphalt 8. Maybe because I use the free edition?

Send from Samsung Galaxy Note II (N7100) using Tapatalk 2
[Android Software Development] madmack:
external sdcard could be full?
[Android Software Development] madmack:
I don't know if we got that many followers here so here it goes:

Need some testers that own an Xperia device and have an exFAT sdcard.

Said tester would ideally have a backup via recovery in case my test causes a boot loop (very unlikely but just in case). pm me.

I might end up forgoing all the online patch stuff that I added in v2.2.2 and rely on some l33t on-the-fly binary hex editing if this proves to be working. It already is working flawlessly on aosp roms here, just need to make sure all is good with these xperia roms too.
[Android Software Development] NickosD:
38 gb remains....

Send from Samsung Galaxy Note II (N7100) using Tapatalk 2
[Android Software Development] slonn:
The ext card is formatted fat32. The phone is running RomAur custom rom on Xperia Z1 and Foldermount works flawlessly. Ali from your team emailed me a patch that I flashed in cwm.

Sendt fra Z1
[Android Software Development] colang:
Bud what size sd card are you using I had the same issue when using a class 10 Samsung 64 gb card (in fact I had heaps of issued with 64 gb) switched back to old 32 gb card no problem. ..
[Android Software Development] madmack:
Yea, that's the patch that's identical to what v2.2.2b in the OP currently does. I'm thinking that patch might cripple the exFAT support on these Xperia devices because the exFAT module is not exactly AOSP. The proposed patch is way safer but I just need testers before I push it out.

I basically modify what's already on the device instead of replacing the entire thing with an AOSP modded variant. That way, manufacturers' tweaks stay intact and we get the permission issue resolved permanently.

It could be your filesystem and/or sdcard read/write speeds. In any case, the FAQ states what to do when certain apps misbehave to verify whether FM is doing its job or not.
[Android Software Development] johnnobts:
Great work. Can you verify it works with the new note 10.1 2014 running 4.3 as well? Before i root my note wanna be sure.
[Android Software Development] madmack:
Sure. Send me your note 10.1 :)
[Android Software Development] johnnobts:
Lol, funny sir. I presume it works fine if it works with the note 3 anyway. I will let you know.
[Android Software Development] wajiman:
i am having SanDisk class 10 32gig
[Android Software Development] madmack:
v2.3b is out.

Here is the deal, I've been working yesterday and today on my assembly and hex editing skills to give you all a universal solution to the permission error on these AOSP, Asus and Sony based ROMs. At the moment, this is what will happen:

If your CPU's architecture is ARMv7 (yes, most devices are using that now), then FM won't even bother to ask you if an online patch is available. It'll suggest patching the Volume Daemon (vold) locally, and if you accept the risk associated, it'll proceed and ask you to reboot. Should hopefully work for all devices out there. I haven't tested it on any Asus or Nvidia devices yet but I don't see why it wouldn't work.

This has multiple advantages:

a) All OEM patches stay intact. For example, Sony uses the texfat module instead of the exfat one available in AOSP. This patch will guarantee that texfat still functions.

b) Any AOSP "move to SD" feature will still work. The previous online patch disabled that feature. PAC ROM users should be able to enjoy FM and the default ROM's move to sd working together.

For all other architectures, FM will query an online database to see if I've precompiled something for you. If not, then you can submit a bug report.
[Android Software Development] madmack:
v2.3.1b is out. Sony Xperia devices were not seeing the permission error notification previously even though the permissions were frakked. Now they properly see it when using exFAT. The Universal patcher is also confirmed working for them. :good::good:
[Android Software Development] Safar_Ibrahim:
Good news for Xperia users. I own Z1, Ultra and Tablet Z. Hope this will work out for me since i have plenty of mkv that is more than 4GB
[Android Software Development] kaibosh99:
Ugghhhhh.... I was using Folder Mount to move a few games, tried to move Asphalt 8 which it did nearly instantly so I knew there was a problem. Next thing I know I am plagued with constant 'low on storage' errors, had about 50 tabs open in my browser trying to figure it out... Of course NONE of the apps that aggressively go after lost files and clear junk work to empty the 'lost and found' directory on a 4.3 Rom... It took me HOURS to find the damned directory, could the structures in android be more convoluted? Anyway, that directory was NINE GIG, after one game failed to move. Ummm... Please provide instructions for people to find this 'lost' directory, because holy crap was it buried deep. Now I have trust issues with this app, because downloading several gig of stuff from the Play Store over and over again just isn't fun.
[Android Software Development] Safar_Ibrahim:
Just tested with Sony Xperia Z1 (firmware C6903 14.1.G.2.257) exFat works great.

Copying my data on Xperia Tablet Z LTE now, i hope it will works on that too.
[Android Software Development] haseogu:
Can we use FM with aosp exFat ?
[Android Software Development] edowar:
And I am already reporting to google as a stolen :cowboy:
[Android Software Development] egingell:
In case you're interested, umount -l /mnt/sdcard/external_sd did the trick. :D
[Android Software Development] Learic:
After linking a folder, does root access need to always be enabled to access the data if I do not reboot the device? The reason I am asking is because this tool would be very useful to offload the storage of UltraViolet movies that I own and use Flixster to play. It stores them in my internal storage directory and I am getting low on memory. Unfortunately, Flixster or any other app for UltraViolet movies cannot have root enabled to play them. Would I be able to link the data folder where it stores the movie to my external microSD, let it copy the data to the external location, disable root and then watch the movies? Of course I would need to re-enable root access after I exit the Flixster app so my phone will remount the link properly if I reboot the phone...
[Android Software Development] egingell:
Root is only needed for the mount command. After that, it's not needed.

Edit: I should elaborate, in that root access is required when the app is binding folders (on boot) and when adding new pairings.
[Android Software Development] StrangeSavage:
reported faux app as stolen in play store. this dude is incredible, really.. sometimes i wish anonymity was banned in the nets just to be able to hunt down guys like this.

meanwhile, waiting for the real thing and hoping to go pro :) cheers.
[Android Software Development] adoy:
Also reported the app as stolen! What a f&*(ing retards are out there! :eek:

Watching this thread closely because i'm looking for a replacement for DirectoryBind (not in active development anymore). I'm using it to put my Spotify cache to the external SD. :)
[Android Software Development] egingell:
The Market app is gone. The system works.
[Android Software Development] fogbav:
Request ...8)

Maybe there could be some sort of "wizzard" ... taking the big directories in data and obb ... Filling out the the pathes automaticly ... (destination folder asked once ... then every dir is autonamed and autotransfered to external strage) ...

just an idea ... 8)

Great app ... i will get premium on market ...8)
[Android Software Development] 911-Future_Maker:
Wow that would be a hard work. Really.

And this "wizard" option should be named "For lazy people click here!" :rolleyes:
[Android Software Development] DarkManX4lf:
Yep its gone. Hopefully this paid version will be up soon. Looking forward to have more than three mounts.
[Android Software Development] madmack:
We did it guys. The app is gone from the Play Store but you guys were seriously "wicked awesome". A big thank you to all of you for supporting me and having my back! I knew about the infringing app the day it was released, and in less than 24h it was taken down and I have you guys to thank for all of that.

Impressive response time for Google on that one :cool:

I'm going to resume working on FolderMount today and release it eventually to the play store. We're really only missing the in-app payment support and it's all good :good:

I might have one more package name change before I finally push that thing to the play store. You'll all have to uninstall and reinstall it one more time I'm afraid because I'm not too happy with the current package name (the one in the OP). Once it's out on the Play Store, there will be no more losing settings and having to uninstall/reinstall business :rolleyes:
[Android Software Development] madmack:
Actually one of the premium features that I'm thinking of adding is to sort folders by size when you're navigating internal SD. There are apps that do an amazing job to help you locate big folders on your sdcard (Take DiskUsage for example). I plan to do something similar so that at least you'd know how big each folder is to better judge whether binding it is worthwhile.

I'm against having a wizard because I expect the users of this app to be a little savvy when it comes to folder mounts and freeing up internal sdcard space. So it'll be just that; a plain list of folder pairs that get mounted on boot. I'll also add options to each pair so users can specify pair specific settings like whether it should get mounted on boot or not. There is an app that tries to do more guided moves/binds, which, coincidentally, just started supporting 4.2 after I released this app :cool: (GL TO SD) albeit not fully because I think he couldn't figure the ownership/permission issues. But I generally don't like the preset game wizard settings in that app and I personally find it not very intuitive and consistent: after moving a preset game data to the extsdcard, reload the app, and you'll see that you can still move its data?
[Android Software Development] PLUG313:
that's a great idea! yes please :) that would be all that I'd need
[Android Software Development] DarkManX4lf:
I like that idea.
[Android Software Development] madmack:
Just published the app to the play store. You can wait until it appears to download it from there (few hours?) or grab the apk in the OP.

Have fun !
[Android Software Development] SpasilliumNexus:
Will definitely keep my eye out on the Play Store for it to get premium but I have a small problem:

I tested mounting with Asphalt 7 and Sonic 4 Episode 2 on Task650's 4.2.2 AOKP for AT&T S3 and it worked perfectly, but after a reboot both games asks me if I want to redownload the data for them. I had FM's set on boot checked and when I went into the app the pins weren't green. I manually enabled them but the games still asks if I want to redownload.

Is there something i'm missing for either the app or something I have to add in to the ROM? If it makes any difference, i'm using FM with a 32GB SD card and the latest SuperSU.

Any other info needed I'll gladly provide as this app is exactly what I've been waiting for that works on 4.2 ROMs.
[Android Software Development] DarkManX4lf:
Thanks! Just purchased the pro version!
[Android Software Development] egingell:
Where is it? I can't find it.

Sent from my SPH-D710
[Android Software Development] Joecascio2000:
Already bought pro. I linked the entire Android folder successfully, rebooted (just to test), and played a couple of games. Everything works. Great job!

I also linked the internal download folder because I hate the stock browser only downloads to the internal.
[Android Software Development] DarkManX4lf:
Use the app from the OP and then press the menu button and then tap purchase pro version.
[Android Software Development] nobe0001:
Improved - thank you!

I did not follow this thread but want to give you a thankful feedback:

My Xperia Z C6603 is on rooted stock ROM 4.2 (10.3.1.A.2.67) with 64GB card.

Card is FAT32.

There are no files bigger than 4GB on my phone or card.

With FM version 2.2 (which is still on GooglePlay ...) after nearly each reboot of my phone I got a notification that had to do with permissions.

Patch was not possible.

I unmounted & mounted manually each time, following that notification.

Doing so I had no errors.

Now I installed v. 2.3.1b:

After first reboot of my phone a patch was applied.

And now I can reboot my phone without this notification.

Improved - thank you! :good:
[Android Software Development] madmack:
That's not a FolderMount issue. The 'lost and found' directory is a linux directory created to save your files from total loss when a filesystem corruption happens. This is a link you want to read. There is no reason why the move operation would fail with FM's commands. They're standard and well documented APIs so this corruption wasn't caused by FM.

Haven't tested it personally. Last time I checked the exFAT aosp module was buggy itself with or without FM.

Wow, awesome. Thanks for confirming.

I'm actually surprised that "remounting" after a few minutes worked prior to the patch. In any case, that patch should be the solution going forward and I think I'll release that version to the play store in a day or two. I'll give the translators sometime to translate the newly added strings before doing so :)
[Android Software Development] kaibosh99:
I assure you it is and was a 'Folder Mount issue'. I have moved files of all sized across from internal to external too many times to count, many large files and many directories full of thousands of files. It was while using Folder Mount that I suffered the first ever 'failure' of this kind - on a game that has been mentioned many times in this thread as 'not working with FM'. I had already moved about a dozen games that were working perfectly, it was while doing the same exact maneuver with FM on Asphalt 8 that the pin just instantly appeared, which was obviously a problem when I knew there was just south of 2 Gig of files to move.

The app isn't perfect, and it caused me no small amount of headache to find that directory, even with a fair bit of knowledge and usage of root privilege file managers. Until this app is perfect it wouldn't hurt to keep a list of games that can cause a phone to self destruct. I bought the app, I hope it matures to the point where I don't have to cringe in terror at the thought of using it, in the meantime I wasn't really complaining I just hoped to help someone else who might be baffled as to how to find their missing space. The 'lost and found' is not a new thing, what was a pain was that none of the ten cleaner apps I grabbed work with 4.3 and finding it manually was... Insane.

I know full well the pain of being an early adopter, those of us surfing the cutting edge of 4.3 fight the lack of backwards compatibility on a daily basis. I bought Folder Mount without hesitation because of the potential - but in the meantime I will live with a few less games on hand.
[Android Software Development] madmack:
You can think what you want but:

a) no one has this issue but you.

b) foldermount does not do anything special with the copy operation. It does not even use root to perform it. Very basic java APIs that put data in a buffer, and output it.

c) the "lost and found" folder is a well known problem and causes are well documented.

I'd know if the issue is caused by FM and I'd help you out, but it simply isn't and believe me, I do know what I'm talking about.
[Android Software Development] kaibosh99:
You are right, not one single person in this entire thread has had one problem with your app. It MUST be me. I will bow out of this thread, not sure why you hang out here because the app is flawless and no one will ever have a problem moving something using it. Later.
[Android Software Development] skorpioneMM:
Hi, im a owner of an Xperia ZR and i cant get this app work...

I have the latest stable version from Google Play, 2.2.2 with premium license.

My phone have a 64 GB Sandisk Class 10 Micro SDXC in exFAT format, Sony stock rom and off course im rooted.

When i make the process off link folders, all seems fine, i can make the pin in green and all but when i open any linked game, always the game says me to redownload all data.

When i went to internal sd, i cant se the link and if i create some files/folders in sd card same result.

What's the problem here?
[Android Software Development] madmack:
the permission on the sdcard1 is the issue. Version 2.3.1b in the OP will take care of it for you or just wait until I update the play store version which will happen in 2 days or so.
[Android Software Development] skorpioneMM:
Ohh thanks for the fast reply, then nots my fault? Issue related with Xperia phones or exFAT maybe?

P.D.: Tried beta versión of the OP, working perfectly :good:
[Android Software Development] madmack:
a little of both ;) The change log in the op and the last couple pages of this thread have more details if you're interested in the technical details.
[Android Software Development] ImSo3K:
Just a little question, I just noticed that FM didn't moved the files I wanted, it duplicated them to my external SD Card, For example I have the OBB file of FIFA 14 on my ExSD which is 1.3GB, and the same one on my IntSD, and yes everything is pinned and I restarted the phone and all that, Did I miss something? like deleting the copied files from my IntSD?
[Android Software Development] madmack:
Please read the FAQ and the how to in the OP and the website.
[Android Software Development] santamanga:
Your 2.3b Version patched my PAC ROM 4.3 (one of the October 2013 nightlies for the galaxy2 tabs) flawlessly and that is awesome! Thanks a lot, man!
[Android Software Development] skorpioneMM:
After all seems working good with the app version of the OP im having 2 more troubles/issues...

One are that sometimes when i reboot my device after the full boot and after getting the message from Foldermount saying "Mounting folders" my phone reboot itself, after that reboot, all works normally (My phone is an Xperia ZR but with the Remount-Fix applied)

And the other trouble/issue are that sometimes, with the device on, i cant connect and canta mount correctly in the PC, getting every 30 seconds "Mounting folders" message from Foldermount but my PC cant mount the storage.

I need to go to Foldermount app, click off on the "Run on boot" option and restart my phone. After that, i can connect it to the PC.

Any suggestions for these 2 issues?

Thanks
[Android Software Development] madmack:
Awesome. Thanks for confirming!

The first issue can perhaps be rectified by setting the "delay" after boot. Your phone probably needs some of the services that FM overwrites to mount the data when it boots up and maybe that's causing the reboots. Waiting for a few minutes should take care of it.

The other issue of "mounting folders" is concerning. It should not happen unless your sdcard is being actively mounted/unmounted by the PC program. I'll have a look at it and see if maybe I can offer an option to disable it.
[Android Software Development] skorpioneMM:
Thanks for your good support.

Hope that you can include in the app a option for disable all temporary without need to reboot...

About you saying that this issue is concerning... are you referr that maybe its a problem with my phone ir something to worry about it?

That situation only ocurred 1 time and only with Foldermount active, never happened before.

Again, thanks

Enviado desde mi C5503 mediante Tapatalk