
- for backup, the free (5GB) and personal levels (5TB, $70/year) don't support WebDAV as mentioned above, higher levels may (although I cannot confirm).When done press Ctrl ^C to stop rclone process and mount.They support S3 as well, see the following resources:Ĭonfusing the matter there seem to be several separate services under similar names:.pictures on remote don't appear in gallery app. But some apps may crash due to slow network activity, others may require more caching (see options) etc. All apps with Storage permissions should be able to explore GDrive folder (bind mounting to read and default views isn't necessarily required).Whenever you need to mount rclone, open Termux and run bin/rclone_mount.sh (or create Termux Widget to run the script from home screen conveniently). I assume you chose the remote name GDrive (as used in above script). ~$ cp /sdcard/Download/ bin/įollow the instruction on screen (see rclone config manual for details) to create configuration file ( ~/.config/rclone/nf) for Google Drive (or whatever remote service you want to use). Make sure Termux is granted Storage permission and execute following commands: ~$ cd See rclone mount manual for explanation on commandline options.

Rclone -v mount GDrive: /mnt/runtime/write/emulated/0/GDrive -gid 9997 -dir-perms 0771 -file-perms 0660 -umask=0 -allow-other # make sure it's unmounted after rclone is killed || nsenter -t 1 -m - "$0"įusermount -u /mnt/runtime/write/emulated/0/GDrive 2>/dev/null || : # make sure to be in root mount namespace || exec su -mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0" Copy/paste the following lines: #!/data/data/com.termux/files/usr/bin/bash -e I assume that downloaded files are placed in /sdcard/Download/.įor ease of repeated use create a shell script /sdcard/Download/rclone_mount.sh using any text editor. Download static fusermount binary from here (available for both aarch64 and armeabi-v7a). Install rclone binary available in Termux repos (by running pkg install rclone) or download from official website official website.


Instructions below require that you have a rooted device. You can use some other terminal emulator app or adb shell with differences in paths. Here I'm describing steps briefly related to rclone only. Some issues related to using FUSE on Android are explained in this post. I have explained in detail How to bind mount a folder inside /sdcard with correct permissions?.

Rclone uses FUSE which you can mount manually from CLI without relying on Magisk module. A simple approach is to use static fusermount binary, I already posted in the same thread. But LD_LIBRARY_PATH environment variable is not being set properly in the module, so the error occurs. The Magisk module you linked is using fusermount binary from this thread which is built for Termux environment.
