/rclone_RD-MagiskModule

Integration of @itsToggle's rclone_RD to rclone-mount-magisk (OG creators @howard20181, @AvinashReddy3108 and @piyushgarg)

Primary LanguageShell

RealDebrid-Compatible Cloud Storage Mounter for Magisk (prev: rclone-mount)

Version _time_stamp_ _time_stamp_
This is the spiritual successor of rclone-mount with bug fixes and newer binaries included. More details in the wiki.

About

RClone_RD

This RClone Fork contains a Real-Debrid implementation. Using this version, the entire RealDebrid /torrents directory can be served as a read-only virtual drive.

A potential use-case for this is serving the /torrent directory over plex, allowing you to build a media library truly unlimted in size. Im working on a project that allows plex to function the same way that Wako,Syncler and other streaming apps do. Check it out on https://github.com/itsToggle/plex_rd

Capabilities and Limitations:

  • Read/Write capabilities are limited to reading files and deleting them.
  • This rclone fork will automatically sort your torrents into 3 subfolder: "shows", "movies" and "default". If a torrent couldnt be classified as a movie or a show, you can find it in the "default" folder.
  • There are no server-side traffic or storage limitations.
  • This rclone fork will automatically re-activate direct links when they expire after 1 week.
  • There is a server-side connection limit, which I believe is 16 parallel connections.

Rclone Magisk Module

Features

  • Support for arm, arm64, & x86 (64bit too)
  • Huge list of supported cloud storage providers
  • Apps with ability to specify paths can access the remotes at /mnt/cloud/.
  • Most file explorers work just fine (read more on this).
  • Mount points use names of remote(s) in rclone.conf
  • Specify custom rclone params for each remote via /sdcard/.rclone/.REMOTE.param
  • Access remotes via HTTP or (S)FTP clients, or bind the remotes to /sdcard/Cloud/REMOTE (recommended to read this).
  • Support for Work Profiles.

Configuration

  1. Copy your rclone.conf file (if you have one already) to /sdcard/.rclone/rclone.conf (can always be generated later.)
  2. Add custom params at /sdcard/.rclone/.[global/REMOTE].param (if needed)
  3. Install the module via Magisk Manager
  4. Run rclone config via term if additional setup required
  5. All your rclone mount points will show up under /mnt/cloud/ & /storage/cloud/ or /sdcard/cloud/

For more detailed configuration of rclone please refer to official documentation

Known Issues

  • VLC takes a long time to load media as it opens file in write mode when using it's internal browser.

    a. Create remote type alias for media dirs in rclone.conf and specify CACHEMODE=off in /sdcard/.rclone/.ALIASNAME.param

  • Encrypted devices can not mount until unlock

  • Encrypted rclone.conf causes reboots

  • High cpu/mem in some apps with storage perms (issue #9)

  • The fusermount bin may not be compatible on all devices (see thread)

Disclaimer

  • Neither the author nor devs will be held responsible for any damage/data loss that may occur during use of this module.
  • While we have done our best to make sure no harm will come about, no guarantees can be made.
  • Keep in mind the binaries included in this project are BETA quality (at best), which may cause unforseen issues.

Always check this document before updating to new releases as significant changes may occur.

Credits