Just install from Magisk Manager. No need to pre-install anything.
I did not test installing from TWRP, so MM is recommended.
Just install from Magisk Manager. No need to pre-install anything.
Well, I'm not really intended to be a coder or something. Same as @VR25 I usually busy with real life things. I have to dive into fbind time to time because I really need this tool, at least until I buy new phone. I heard VR25 work on some complete new framework which is will be used in fbind as well along with his other projects, so my "fixes" most likely will not be merged in future fbind releases. But if this will not happen in near future, I'll try to contact VR25 and/or cooperate/fork this tool to make it available officially in magisk repo. Thanks for idea.
Hi. fbind actaully calling `mount -o rbind ...` when binding external folders to internals. So permissions of binded folder are same as permissions of external folder. Is your external storage is default Android's fat/exfat auto-mounted SD card? Or a mounted partition/image of yours? What intial permissions of external WhatsApp folder before binding?When I check permissions of mounted folder in a terminal emulator, I see rwxr-xr-x and root:everybody permissions, when other folders have root:sdcard_rw. But comparing with other phone running Android 8, the main problem I see is that the folder should mount with rwxrwx--x permissions, so the group "everybody" can write to the folder, I suppose that the current user is included in that group.
Hi. fbind actaully calling `mount -o rbind ...` when binding external folders to internals. So permissions of binded folder are same as permissions of external folder. Is your external storage is default Android's fat/exfat auto-mounted SD card? Or a mounted partition/image of yours? What intial permissions of external WhatsApp folder before binding?
I have Huawei Nova 2, will try your scenario with EMUI (9 or 8, not sure) tonight or tomorrow when I get spare time.
Hi. I didn't think about looking at the permissions of the source folder, I'll check it.
However, in Android 8 I have seen that the permissions of the source folder are rwxr-xr-x and the destination rwxrwxr-x, but there I am using the original fbind of this post, without the fixes. Also, the Android 8 device is a LG G6, not EMUI, but fbind was working properly in EMUI 8 on the Huawei Mate 10.
Just install from Magisk Manager. No need to pre-install anything.
I did not test installing from TWRP, so MM is recommended.
Magisk Manager 7.5.1 -> Downloads -> Search -> fbind: No modules found!
Also: https://github.com/Magisk-Modules-Repo/fbind (link from this thread's first posting): 404/ dead
This project has decayed and officially dropped out of Magisk?
What is this - Punch and Judy show? I sure won't. Either the thread starter or a mod can update the entry posting with current information. I figured out what I needed anyway. Over 'n out.
What is this - Punch and Judy show? I sure won't. Either the thread starter or a mod can update the entry posting with current information. I figured out what I needed anyway. Over 'n out.
lazy is the one who didn't even bother to post the solution in his answer ..
Hi guys, I made new "fix3" version if anyone interested:
Also, here is another interesting tool for binding folders: https://bindfs.org (but see "known issues" at bottom). May be I'll try switch to it if encounter problems with permissions in next android updates. If I don't buy new phone with 128+ gigs of internal memory soon
Its not exactly portable, but a walkthrough of sorts might help others.
Starting from Android with magisk. You need the magisk module "exSDCard access enabler", which gives you a rw mount to use as a bind. Next you need an script boot launcher, as lineage has removed init.d support. After a lot of trouble I found I like "init.d light", which is in the fdroid repos [here](https://f-droid.org/en/packages/x1125io.initdlight/). The next part sucks, but for a autolaunched script to boot, you need to go into magisk settings and change" mount namespace mode" to global. This isn't ideal, security issues and all that. However, this is really all I use root for atm, and the only for it to work I can find without using adb every boot, so I am ok with it.
Now everything is ready for a script. Each phone will be different based on your sd card and wants. However, it will be something like "mount --rbind /mnt/media_rw/XXXXXXXX/Games/ /mnt/runtime/default/emulated/0/Games", with XXXXXXXX is unique to your sd card.
You just get all the mounts you want in a empty file, it "might" need to have the ext of .sh. then copy it to wherever init.d light says (it depends on the phone).
The big issue I have found is it takes about 20 sec after boot to have them mounted. However, it seems to work fine, even have Android bindmounted with no issue so far.
Can you please give the exact commands for the mount commands you used...I am trying to make scripts too
su -c "mount --rbind /mnt/media_rw/4A09-17FB/Android/ /mnt/runtime/default/emulated/0/Android/"
su -c "mount --rbind /mnt/media_rw/4A09-17FB/DCIM/ /mnt/runtime/default/emulated/0/DCIM/"
su -c "mount --rbind /mnt/media_rw/4A09-17FB/Download/ /mnt/runtime/default/emulated/0/Download/"
su -c "mount --rbind /mnt/media_rw/4A09-17FB/DraStic/ /mnt/runtime/default/emulated/0/DraStic/"
su -c "mount --rbind /mnt/media_rw/4A09-17FB/Games/ /mnt/runtime/default/emulated/0/Games/"
su -c "mount --rbind /mnt/media_rw/4A09-17FB/Pictures/ /mnt/runtime/default/emulated/0/Pictures/ "
su -c "mount --rbind /mnt/media_rw/4A09-17FB/PSP/ /mnt/runtime/default/emulated/0/PSP/ "
su -c "mount --rbind /mnt/media_rw/4A09-17FB/Videos/Youtube/ /mnt/runtime/default/emulated/0/YTD/ "
The latest fbind works great for me, so I switched to it. However, my old script:
Code:su -c "mount --rbind /mnt/media_rw/4A09-17FB/Android/ /mnt/runtime/default/emulated/0/Android/" su -c "mount --rbind /mnt/media_rw/4A09-17FB/DCIM/ /mnt/runtime/default/emulated/0/DCIM/" su -c "mount --rbind /mnt/media_rw/4A09-17FB/Download/ /mnt/runtime/default/emulated/0/Download/" su -c "mount --rbind /mnt/media_rw/4A09-17FB/DraStic/ /mnt/runtime/default/emulated/0/DraStic/" su -c "mount --rbind /mnt/media_rw/4A09-17FB/Games/ /mnt/runtime/default/emulated/0/Games/" su -c "mount --rbind /mnt/media_rw/4A09-17FB/Pictures/ /mnt/runtime/default/emulated/0/Pictures/ " su -c "mount --rbind /mnt/media_rw/4A09-17FB/PSP/ /mnt/runtime/default/emulated/0/PSP/ " su -c "mount --rbind /mnt/media_rw/4A09-17FB/Videos/Youtube/ /mnt/runtime/default/emulated/0/YTD/ "
Also if anyone else wants help via scripts, please pm me, as fbind is still usable now, and I don't want to hide the info behind support for scripts. Glad to help, just please pm.
target Android
target Download
target Games
target PSP
target DraStic
target Pictures
target Wagic
target DCIM
target ADM
from_to YTD Videos/Youtube
1. Yes, fix4 works perfect for me on the latest lineageos 17.1 on an XA2, and Magisk fully ipdated.
Code:target Android target Download target Games target PSP target DraStic target Pictures target Wagic target DCIM target ADM from_to YTD Videos/Youtube
2. That, and run it. I used Init.d lite,
from the fDroid app store, to run it on boot.
3. I don't use whatsapp, but I don't see why it wouldn't work,
at least with fbind, as it should change before the app can run,
whereas a sceipt might not.
1. Yes, fix4 works perfect for me on the latest lineageos 17.1 on an XA2, and Magisk fully ipdated.
Code:target Android target Download target Games target PSP target DraStic target Pictures target Wagic target DCIM target ADM from_to YTD Videos/Youtube
2. That, and run it. I used Init.d lite, from the fDroid app store, to run it on boot.
3. I don't use whatsapp, but I don't see why it wouldn't work, at least with fbind, as it should change before the app can run, whereas a sceipt might not.
1. Yes, fix4 works perfect for me on the latest lineageos 17.1 on an XA2, and Magisk fully ipdated.
Thanks....uhmmm...i have an issue, when i move the script to init.d
partition it automatically disappears after reboot, any solution?
App used: universal init.d enabler
When i tried init.d lite, nothing mounts
MagiskSU 19.3, Redmi Go
---------- Post added at 10:47 PM ---------- Previous post was at 09:57 PM ----------
1. Yes, fix4 works perfect for me on the latest lineageos 17.1 on an XA2, and Magisk fully ipdated.
Tried fbind....flawless but i have a problem...a folder wouldn't bind because
the folder name is spaced e.g "flm user files"
How do i resolve this?
target "flm user files"
target 'flm user files'
part -o umask=0 /dev/block/mmcblk1p2--L,MyLoNgPaSsWoRd /mnt/sdcrypt
extsd_path /mnt/sdcrypt
target DCIM
target Audio
target TitaniumBackup