yashsingh1/xdaforums huggingface dataset:
[Magisk] VR25:
To do this, you need a separate SDcard partition mounted by fbind. Alternatively, mount the SDcard as is, but with fbind (faster than the OS' default method).

A separate partition is recommended. The filesystem should be F2FS, EXT4 (journaling off) or EXT2). With that, the setup is way simpler. You won't need a loop device.

But Why These Requirements?

- Unlike /data/data/pkg/, /data/app/ must be available as early as possible. Otherwise, terrible things happen.

- You can still use a loop device on exFAT filesystem. However, the target partition must be ready as early as possible (e.g., mounted by fbind). You're better off using a dedicated partition.
[Magisk] VR25:
That's definitely a permission issue. The next release may shed some light onto this.

Mounting is not the issue. Creating and resizing EXT4 images is. For that, I used to use make_ext4fs and resize2fs. Unfortunately, recent Android version don't ship with these binaries. /sbin/imgtool was a great replacement - deprecated recently.

"...Maybe even the /data/app..." - refer to the previous post.
[Magisk] the gladiator:
For sure is an OT and may be also obvious but I'd like to shortly share my thoughts.

In android world there are many apps/modules that are a "nice to have" (I would say the majority) and a few others that are mandatory if you want to use your smartphone that is, may be, a little bit outdated. As examples for the last category I'd mention AudioBT and this Fbind module. Having this in mind I strongly believe, and encourage you, to demonstrate our well deserved gratitude to the authors also in an economical form.

I'm sure you'll forgive me with my OT but I highly appreciate someone that allows me to stick with my old smartphone with a continuously improving module and, very important, with unparalleled support
[Magisk] Walker Street:
Please post a link for us to donate. Maybe PayPal. Fbind has freed about 12 gigs of my internal storage and put it on the micro sd.
[Magisk] the gladiator:
I'm happy that you agree with me and It's easy to help you in this case: you can find the link you're looking for on the left side of the screen in every VR25 post (I use the XDA 2013 Beta - 1024 look style)
[Magisk] Walker Street:
Thanks! I have just donated. :good:
[Magisk] VR25:
Thank you very much for the donations!
[Magisk] darknessmc:
I read a lot here but couldn't know how to use my sdcard as internal and move data. Could you please tell me what to put in conf?
[Magisk] Walker Street:
My config.txt reads :

obb

from_to Android/data .bind/Android_data

from_to Download .bind/Download

from_to linux .bind/linux

from_to DCIM .bind/DCIM

from_to microsd .bind/microsd

My Linux folder holds loop back image for Linux deploy. My microsd folder is for miscellaneous files.

I created

.bind

folder on my micro sd card. I created the sub - folders in .fbind. I moved the contents of the original folders (in internal storage) to these sub - folders using a file explorer. I then issued the following in a terminal :

su

fbind -m

I'm particularly pleased I can now keep all my app data on the microsd card.

Cheers,

Dan
[Magisk] darknessmc:
I did as you said but my sd is gone (0 byte) and cannot access it.
[Magisk] Walker Street:
My SD card is still accessible. You might need to uninstall fbind in magisk to get back to where you started from. By binding to subfolders in the .bind folder you should still have access to the root of your SD card.
[Magisk] zenaufa:
Hi Devs,

I'm currently using fbind on my G5s+ with Havoc OS Android Pie custom rom. I've combined fbind with ExSDCard Write Access Enabler and everything is working on perfectly but for whatever reason i can't get fbind to run on boot even through i've tried toogling fbind -a. Can anyone help me to figure out how to make fbind run on boot? thanks :)
[Magisk] bumcykcyk:
Github does not work, where to download module?
[Magisk] duromx:
Maybe this was answered in past posts, but I can't read every post.

I've been noting that since the last magisk update this module is not available in downloads tab anymore and so on no updates neither! And since then, the module works some unstable. It suddenly stops working and the only way to make it work again is a full uinstalling and installing it again from recovery. And I've been seeing that there is no update since January. Is it abandoned?

Thanks.

GCEM
[Magisk] marceloBoZo:
Guys it's working flawless for my obbs, but I don't know how to do the same for data folders, I need to transfer the files for Ragnarok Mobile from internal to external, the files are located in data folder, how can I mount ? I'm using config file.

-----

Just solved using the wizard on termux, thanks OP.
[Magisk] marceloBoZo:
You using the config file?

---------- Post added at 01:46 AM ---------- Previous post was at 01:45 AM ----------

From the first page, the last update was from January
[Magisk] zenaufa:
Yes, attached is my config.txt
[Magisk] the gladiator:
You're the guru !!!

Waiting eagerly for the next release then :)

Is anyone else out there on EMUI 8 and fbind not working ?
[Magisk] marceloBoZo:
Seems right, when you run fbind -a on terminal you get the confirmation from automount?
[Magisk] the gladiator:
I don't understand why the first two lines are needed; I would also give a try removing them from the config file
[Magisk] bumcykcyk:
haha thanks, I "m blind ;p

How to move folder Android/obb to external memory (flash usb 128GB)?
[Magisk] marceloBoZo:
The best way i found is using the setup wizard, open terminal, vive su permission and type fbind will open the wizard then choose obb, you can choose the entire obb folder (your case best option) will vive you the option to move say yes and wait a long time a really long time till finish, should work on boot afterwards without doing nothing, but always check and if not mounted just give fbind -m on terminal
[Magisk] arinpsycho:
Big thanks to op for creating this program. Previously I have problem in mounting obb folder on other module. But this one works fine so far. Will observe later if obb disappear like other module. Here is my config file for other user's reference

from_to Android/data/org.thunderdog.challegram/files Link2SD/bind/data/org.thunderdog.challegram/files

obbf "com.tencent.ig"

from_to DCIM DCIM
[Magisk] the gladiator:
TO VR25

Your support and the new releases/upgrades are missing us, don't leave us alone. We really need your module, unique and essential. I know the task is tough but I'm sure the solution is not far !!!
[Magisk] enkidu70:
[MENTION=5228676]VR25[/MENTION]

What happened? Where is fbind gone?

(It is not present in MM repo any more and also deleted from github!?)
[Magisk] bumcykcyk:
Thanks but I have problem, syntax error: 'fi' unexpected. IT is TV box x92, android 6.0.1, magisk 19.2
[Magisk] marceloBoZo:
The OP have explained that, because the time without update the magisk repo have removed the module, just download the last version from first page, OP is working on the update.

---------- Post added at 02:45 AM ---------- Previous post was at 02:40 AM ----------

Humm... Try the selective and just select the bigs obbs, anything above 300mb or 600mb, here anything above 300mb I just move to SD.
[Magisk] VR25:
Most issues users face are not related to fbind, but to one or more of the following:

- Magisk itself (e.g., it fails to run boot scripts properly)

- Outdated shell (/system/bin/sh)

- SDcarsFS/FUSE (intrusive security)

I'm tackling all of those.

Regarding updates...

I maintain several projects. These are all hobbies (e.g., acc, djs, fbind, MagicGApps, migrator, mm, sysconfig-patcher, etc.). This, on top of an already busy life leads to the current situation.

Rest assured, though - none of these projects was abandoned.

Recent Magisk and Android versions brought new issues I wasn't able to deal with immediately all at once.

Modules were removed from the Magisk repo due to outdated installers.

My focus shifts towards what I need the most at a given time.

The current hierarchy is as follows:

1) acc, djs

2) fbind, migrator

3) mm

4) MagicGApps

5) sysconfig-patcher

6) others

Since groups 1 and 2 have virtually the same installer, file structure and initialization/startup logic, I'm currently working on these 4 projects as a whole.
[Magisk] bumcykcyk:
How to do it?
[Magisk] marceloBoZo:
When you choose obb to external instead using the all option choose specific, then you need to put the name of the folder with the obb like com.squareenix.ffxv type all the folders you like to move to external always using enter after typing each folder, when finished tap 2x enter to confirm you will be asked to move and bind select yes.
[Magisk] bumcykcyk:
Unfortunately, after selecting the option "specific" is the same error.
[Magisk] the gladiator:
Let me be crystal clear: you don't have to justify yourself and we always have to thank you, even if you would stop your work tomorrow and disappear !!!

Our goal was only to share the high level of expectation we have for fbind...hoping that its priority could raise in your ranking; it's clear in our mind that fbind has to overcome the shortness (i.e. intrusive security in my case) of other modules/systems.

Let me add a short rant and complain: it's funny enough that a user (myself) has to fight against something that is sold as a feature ! Of course, never in my life I'll buy again a Huawei device !!!!
[Magisk] marceloBoZo:
Ok let's try something different, go to data/adb/fbind open the config file, add obbf and the name of the folder obbf "com.squareenix.ffxv" you will need the to put the name of the folder inside " " after that move the obb from internal to the same folder on external Android/data/obb/com.squareenix.ffxv open terminal give su and fbind -m
[Magisk] Jack001m:
Thanks for your extraordinary work.

But I have a problem to feedback.When I fbind using "obb",the obb folder will be mounted correctly after rebooting,but after a few minutes or hours,it will be automaticlly unmounted.Is this a bug?
[Magisk] JD249:
Hi,

I am having some difficulties with using the wizard. When I enter "su fbind" into Termux nothing really happens. Termux responds with black line followed by another line saying "1|:/data/data/com.termux/files/home #". Any idea what I might be doing wrong? Trying to get this to work on Magisk 19.2 and LineageOS 16 (Pie). Thanks a lot!
[Magisk] marceloBoZo:
Looks like that you room it's force closing, which rom you are using and what phone?

---------- Post added at 11:52 AM ---------- Previous post was at 11:50 AM ----------

When using the su command you give super user permission on magisk? Also you can try the native terminal, in developers settings should be an option to activate the native terminal.
[Magisk] JD249:
Thanks for the reply. However, the problem kinda solved itself. I was transferring files from my SD to my laptop which involves taking the card out of my phone. Upon reinserting and rebooting the phone, I got a notification regarding the SD popping up which I accidentally immediately tapped on. That was absolutely not my purpose and I couldn't even read what the notification said. Yet, after tapping on that notification, my phone started some kind of transfer process and now it appears as if I have a unified storage. Hence, I don't need fbind anymore since my phone did it all by itself :victory:
[Magisk] marceloBoZo:
Good to hear, by the way what phone you are using?
[Magisk] the gladiator:
I wonder if anybody knows if the new Magisk version, just released, counts towards the main issues faced by fbind and mentioned by VR25:

- Magisk itself (e.g., it fails to run boot scripts properly)

- Outdated shell (/system/bin/sh)

- SDcarsFS/FUSE (intrusive security
[Magisk] JD249:
I have a Oppo Find 7a. You may (thruthfully) call it antique but it is really amazing that this phone is still holding up so well.
[Magisk] Jack001m:
Thanks for replying me. I am using RR 7.0.2 on Redmi 5 Plus.
[Magisk] marceloBoZo:
Maybe it's the magisk, some users reporting that magisk is the root of problem, in my phone it's rare but sometimes when opening some game the game ask to download the data again, I need to close and give bind command in terminal again. So in your case probably magisk.

---------- Post added at 07:50 AM ---------- Previous post was at 07:47 AM ----------

I can talk about the boot script, Redmi 5 Pro Global Havoc 2.5 Magisk 19.2, the bind on boot it's working without any problem.
[Magisk] the gladiator:
Waiting for the ultimate release of fbind that I hope should fix (or at least cope with) the three issues mentioned by VR25 I downgraded from Emui 8 to Emui 5 in the hope to find a temporary working environment.

Unfortunately there is a problem even there but I suspect (or hope) of minor entity. The binding doesn't work and the funny thing is that entering any fbind command in Termux the answer is:

/system/xbin/fbind[478]: awk: not found

tail: xwrite: Broken pipe

/system/xbin/fbind[478]: [: 0: unexpected operator/operand

I attach also the log begging for an help
[Magisk] the gladiator:
Of course we're speaking about YOUR TIME allocation and, regardless everything, we must always thank you for what you've done so far but...let me say that fbind should be in the second place in your priority ranking and its last release is 5 months old. Don't you think that time is arrived to devote to fbind a little bit of your attention ? Thanks a loooot !!!!!!
[Magisk] Alonso_Quixana:
Folder disappearing issue...

Hi, um... a while ago I've been reporting fbind mounted folders disappearing after a few days on my G800H Marshmallow. I now think that the issue was that I kept a backup of the config.txt file in the /data/adb/fbind folder named config.bak.

As it seems, fbind does not explicitely and solely look for config.txt as I thought, and thus the two configs probably conflict with one another, resulting in a nowriteremount (?) after a while. After I removed the second config, all seems to work fine, and folders stay mounted as they should...

Could this assumption be correct?
[Magisk] VR25:
Hi,

Only config.txt is used, and fbind automatically copies it to /data/media/0/.fbind_config_bkp.txt. This backup is also restored automatically if config.txt is missing.

So, this issue remains obfuscated. We'll talk more about it later.
[Magisk] Alonso_Quixana:
Are you TRULY sure that a config.bak in the same directory together with config.txt does not influence the whole thing? My phone now shows an uptime for almost 11 days, and all fbind folders are still there flawlessly, while before deleting my backup config that was in /data/adb/fbind, the longest I managed was 7 days... and that was with constantly restarting fbind every hour with a shell script...
[Magisk] sieger007:
hi folks

I wanted to check for Android 7.0 is there any magic module out there that will Mount EXT 4 partitions at boot time just like the regular exFat f2f s of internal storage.

I partition my micro SD card into 3 ext4 partitions .

I can load one using app2sd but if i change the Mount script add similar commands for the other two to block devices they will not mount.

has someone been in these exact shoes and succeeded mounting ext4 partitions with v o l d support (Android component that makes other applications aware that this drive is available )
[Magisk] daniel_m:
My (only) problem with this module is that "forcefuse" is not working. Even though I have an empty file "forcefuse" in "\data", fbind won't use fuse when I reboot my phone. Without fuse, mounting doesn't work on my Moto Z Play. So, before rebooting, I have to remember to toggle forcefuse with "su fbind -f".

A smaller thing that might be specific to my phone: I cannot use whichever mount point I want to use. E.g. "\sdcard\Android" doesn't work. However, I can mount to "\sdcard\Android\obb", "\sdcard\Android\data", ...

It's not an issue, but maybe helpful to know for others?
[Magisk] Hans_Werner:
Is there a solution only copy a folder to sd card like a backup?

No move only copy.

e.g. I take a picture. Android saves the picture on internal storage and fbind copy it to sd card?

If i delete the picture on internal storage so that i have an backup of the taken picture on sd card?

Best
[Magisk] wilsonhlacerda:
Also check Syncthing and / or Nextcloud for that, you may like them (backup to another device/cloud)
[Magisk] Hans_Werner:
Thank you for the suggestion.

That is cloud based. I would like to have the backup local. Therefore I need another method
[Magisk] cantenna:
Hey guys, still on Oreo but thinking of upgrading to PIE... Are there still issue with PIE support as in it's a hit or miss? Anyone using this module with S8+ and PIE custom rom?

Thanks
[Magisk] 白い熊:
I'm on Pie, Note 9, custom ROM — no issues.
[Magisk] cantenna:
Which security update, July?

How can there be no issues, because Samsung hasn't updated their kerenl to be more in line with stock android?

Which ver magisk?
[Magisk] 白い熊:
Yes, July — with Magisk 19.3.

You need a permissive kernel — that's why no issues.
[Magisk] sieger007:
Also one last and very imp thing

PL PL PL throw some light on this .... by default ,for a multipartitioned card android Vold takes the 1st partition of the card as external sd card partition and writes to it. Unfortunately I partitioned my card reverse. So Part # 3 --> is what I want to tell android to take as 1st partition. How do I do that i.e. tell Android that the default partition to take as Ext SD card is p3 of mmcblk1p3

In fact when I mount the 1st partition - It wont let me .

shell@ASUS_X00T_2:/storage # mount -t sdcardfs -o,rw /dev/block/vold/public:179,65 /data/sdext2
ount -t sdcardfs -o,rw /dev/block/vold/public:179,65 /data/sdext2 <
mount: '/dev/block/vold/public:179,65'->'/data/sdext2': Not a directory

If instead I use ext4 :

It gives me invalid mount error

I can mount P2 and p3 of mmcblk1p<x>
[Magisk] lucasblack29:
Unable to write from mount point and target folder

Hi, I'm a very new guy when it comes to Android modding and posting in this forum so I apologize if this post shouldn't be here/irrelevant.

So I successfully binded my Whatsapp folder to .fbind/Whatsapp, however the problem is Whatsapp failed when downloading new images to the folder. I tried creating a new folder using the standard Samsung My Files and it failed aswell. What should I do?

Phone Hardware:

Model: SM-J710FN

CPU: Exynos

Android Version: 8.1.0

Magisk Modules:

- ExSDCard Access Enabler

P.S. During the bind-mount process, it failed to bind the Whatsapp folder to /mnt/runtime/read and /mnt/runtime/write returning a "Permission Denied". Is this the cause? If it is how to solve it?
[Magisk] wilsonhlacerda:
Hi [MENTION=5228676]VR25[/MENTION] thanks for this module and all your (useful!) others!

Are you planning to release new updates for fbind?

I followed the github link on OP to check current commits/issues/your comments but the link is broken.

Thanks.
[Magisk] the gladiator:
[MENTION=5228676]VR25[/MENTION] where're you ? We miss you here !!!!!!
[Magisk] ikarus.nc:
Hi there, can anyone send me the latest zip? v2019.1.23, the link is broken, thank you in advance!
[Magisk] The_Walking_Playground:
Hi,

I just downloaded the zip from the first page without an issue. Maybe try again, or try a different browser?

TWP
[Magisk] ikarus.nc:
And now it works, sorry and thank you
[Magisk] zephyr666xd:
Bro help me I successfully installed fbind but when i type su then fbind there is no options showed
[Magisk] Sogree:
Hi VR25, hope you will find the time to help us with our questions! my primary SD is filling up so fbind is my last hope :)
[Magisk] wilsonhlacerda:
Besides fbind, the classic app Apps2SD by Vicky (there's a thread here on XDA also) is a very nice tool to free up some space on Internal storage by linking apps + their data to a 2nd partition on external sdcard. It works fine for that specifically even on Android Pie with Magisk (be sure to set it properly, last posts on thread have some tips).
[Magisk] Dark_Phoenix004:
Hi, I'm in magisk 19.3

I can't find fbind in magisk downloads option.

Also i downloaded the zip and flashed with magisk, but no success.

I don't get fbind folder in any directory.

Also fbind comand isn't recognised in shell.

Any suggestions?

I'm on oreo miui stock
[Magisk] otyg:
No longer working in android 10

Edit:

My mistake - works fine.
[Magisk] 白い熊:
How does it not work in 10? What's the symptoms? Errors…
[Magisk] mcmanuf:
[MENTION=5228676]VR25[/MENTION] and others

I have just recently rooted my Sony XZ1 Compact (Android Pie 9.0), with the single intemtion of being able to use external SD card instead of internal SD card for my WhatsApp folder. This device is good in so many ways, however the 32GB internal storage is the absolut main culprit in this device, and I hasve to keep sorting my WhatsApp folder which is an absolute nuissance.

I have tried so many things for so many hours, but simply it does not work :(

I believe fbind is the most serious solution to get this working, as all other magisk modules seems to be out of date or abanded.

My config file is:

from_to "WhatsApp" ".fbind/WhatsApp"

"permissive"

However this does not work. I have tried different namespace settings in Magisk, as I saw someone mention this.

I somehow seem to always get segmentation faults in the boot.log

I have attached the log, in hope someone can assist me in my ultimate request :good:

Things I have tried:

1) setenforce 0

2) different "mount namespace mode" in magisk (Global Namespace / Inherit Namespace / Isolated Namespace)

3) "permissive" option in fbind config

-------------------- edit 27/12-2019

After researching this issue for weeks, and after alot of resaerch and alot of hard work, I have finally managed to get it to work thank god.

You can use eduexposed and xinternalSD and extsd magisk module.
[Magisk] mcmanuf:
Any chance this module gets fixed, so there will be no more segmentation faults?

I have after many many hours and days, finally got it to work with edxposed, and xinternalsd, but it drains my battery like crazy.

So for sure, this can all be done in Pie. I would just like to avoid installing edxposed and xinternalsd to do this task, which fbind should be able to handle, with a small fix.
[Magisk] Richy19:
Hello [MENTION=5228676]VR25[/MENTION], is this module meant to be in magisk manager? Or any chance it may be added?
[Magisk] the gladiator:
The module actually is in Magisk although you have to download it from the first page
[Magisk] Dark_Phoenix004:
I'm using stock Miui pie. The module is working fine for me.:) Although I have Exsdcard access enabler module installed too. However currently I mapped my whatsapp folder with external sd and also the whole external sd card to a folder in internal memory. So far so good!!! Even my selenux is in enforcing mode.
[Magisk] mattiadj:
I have used xinternalsd for age but now on android 10 it not works. How can i replace it with this mod? Help.

Thanks
[Magisk] Hooin Kyoma:
I feel stupid but... Where I can download this module zip? Github says 404. https://github.com/VR-25/fbind

Also is it compatible with Android 10 (AOSP based ROM)?

Thanks.
[Magisk] The_Walking_Playground:
Hi,

The zips are attached to the second post of this thread.

TWP