-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added several fallback paths for intsd and extsd for greater out of the box experience - Enhanced unmount function - Fixed: fbind hangs when sdcard is unavailable - General fixes & optimizations - More Android 11+ specific changes; already working at least on a handful of Android 11 devices - [Wizard] Rename existing destination directories instead of removing them
- Loading branch information
Showing
5 changed files
with
62 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,4 @@ | ||
Daemon to remount folders periodically? | ||
Android 11 storage isolation support | ||
|
||
~# bindfs -u $(stat -c %u /sdcard/Android/data/com.termux) -g 9997 -p a-rwx,ug+rw,ug+X /mnt/media_rw/[UUID]/Android/data/com.termux /mnt/runtime/write/emulated/0/Android/data/com.termux | ||
|
||
bindfs approach | ||
~# DIR=/mnt/media_rw/[UUID] # for Portable Storage | ||
~# DIR=/mnt/expand/[UUID] # for Adoptable Storage | ||
~# mkdir $DIR/WhatsApp | ||
~# mv /sdcard/WhatsApp/* $DIR/WhatsApp/ | ||
~# bindfs -o nosuid,nodev,noexec,noatime,context=u:object_r:sdcardfs:s0 -u 0 -g 9997 -p a-rwx,ug+rw,ugo+X --create-with-perms=a-rwx,ug+rw,ugo+X --xattr-none --chown-ignore --chgrp-ignore --chmod-ignore $DIR/WhatsApp /mnt/runtime/write/emulated/0/WhatsApp | ||
|
||
mount sdcard manually | ||
~# mount -t exfat -o nosuid,nodev,noexec,noatime,context=u:object_r:sdcardfs:s0,uid=0,gid=9997,fmask=0117,dmask=0006 /dev/block/sda1 /mnt/runtime/write/emulated/0/WhatsApp | ||
~# mv /data/media/0/WhatsApp/* /sdcard/WhatsApp/ | ||
~# mount -o bind /mnt/my_sdcard/WhatsApp /mnt/runtime/write/emulated/0/WhatsApp | ||
|
||
sdcardfs approach | ||
~# mkdir /mnt/expand/[UUID]/media/0/WhatsApp | ||
~# mv /sdcard/WhatsApp/* /mnt/expand/[UUID]/media/0/WhatsApp/ | ||
~# restorecon -rv /mnt/expand/[UUID]/media/ | ||
~# mount -t sdcardfs -o nosuid,nodev,noexec,noatime,mask=7,gid=9997 /mnt/expand/[UUID]/media/0/WhatsApp /mnt/runtime/write/emulated/0/Whatsapp | ||
Android 11 storage isolation support | ||
# bindfs -o nosuid,nodev,noexec,noatime,context=u:object_r:sdcardfs:s0 -u $(stat -c %u /sdcard/Android/data/com.termux) -g 9997 -p a-rwx,ug+rw,ugo+X --create-with-perms=a-rwx,ug+rw,ugo+X --xattr-none --chown-ignore --chgrp-ignore --chmod-ignore /mnt/media_rw/[UUID]/Android/data/com.termux /mnt/runtime/write/emulated/0/Android/data/com.termux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=vr25.fbind | ||
name=fbind | ||
version=v2021.11.14-beta | ||
versionCode=202111140 | ||
version=v2021.11.15-beta | ||
versionCode=202111150 | ||
author=VR25 @ xda-developers | ||
description=fbind is a versatile mounting utility for folders, disk images, LUKS/LUKS2 encrypted volumes, regular partitions and more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters