Giter Club home page Giter Club logo

magisk-foldermount's Introduction

magisk-foldermount

Easily mount internal SD card folders to external SD folders.

Inspired by FolderMount created by madmack, unfortunately his app does not work with MagiskSU.

Disclaimer

This module does not guarantee functionality in any way, shape, or form. It is not my responsibility if this module does not work, breaks your SD card or eats your kittens. User discretion is advised.

Usage

Open terminal then type:
su
fmount -b [source] [destination]

Prerequisites

  • Android 5.0+
  • Magisk v14 or higher
  • FAT32 formatted SD card (exFAT is known for causing problems, see #7)

Links

Changelog

v0.8

  • Initial release

v0.8.5

  • Small bugfixes and improvements
  • Added alternative way to mount folders on boot (post-fs-data.d support)

v0.8.7

  • Updated Magisk module template to v4
  • Fixed regex for lowercase UUIDs on some ROMs

v0.8.7.1

  • Added busybox binary back, Magisk v13 doesn't provide it's own anymore

v0.8.7.2

  • Reverted broken commits

magisk-foldermount's People

Contributors

codebucketdev avatar divadsn avatar topjohnwu avatar veez21 avatar xbach avatar zulgrib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

magisk-foldermount's Issues

Internal SD Path problem

In Samsung N910U (Android 6.0.1) , The Internal SD Path shoud be /storage/emulated/0
When I use fmount -b "WhatsApp" ".foldermount/WhatsApp"
WhatsApp still write into Internal SD (/storage/emulated/0 )
".foldermount/WhatsApp" not mount in "/storage/emulated/0/WhatsApp"

Mounting directory on external sd

The regex validating the Sd card doesn't work on my phone running RR (based on lineage for athene), as the uuid uses lower case letters.

Changing '[0-9AF]{4}-[0-9A-F]{4}' to '[0-9a-fA-F]{4}-[0-9a-fA-F]{4}' worked for me.

Wrong formatted SD cards can be the cause why it's not working

Ok folks, some people still reported issues with not properly mounted folders and I asked them to send me a screenshot with the output of mount.

So the reason why it's not working is because their SD cards are formatted using Windows proprietary exFAT, which is known for causing problems on Linux kernel based systems like Android does. In that case I would suggest you to reformat the SD card using FAT32 (vfat) on a PC and then it should work.

TL;DR: SD cards formatted using exFAT aren't compatible and therefore not supported by me.

What's the Licence?

Hi!

First of all, thanks for all of your work!

I am just wondering what is the licence for this code? I made some changes, including implementing some basic form of listFunc and rebindFunc. Just wondering about the licence before I push the changes to my fork :)

Thanks!

Future plans for new releases

What is the goal?

This module aims to be a alternative solution to FolderMount, a app created by madmack, but unfortunately his app does not work with MagiskSU anymore.

Milestones

v0.8.5

  • Find alternative way to mount folders on boot (done, see commit 7edb864)
    The current method doesn't work when fmount is executed in post-fs-data on boot

v0.8.9

  • Revert new method and find out what's the cause folders won't mount (done, see 61b2a9f)
    New method does not have fixed this issue with v0.8.5, so we need to investigate more into that
  • Better command line output
    Currently the error messages and help output are not very helpful, these need to be reworked

v0.9

  • Ability to save mounted folders to a list and mount them after a reboot
    This could be done by writing a script which will be executed at post-fs-data
  • listFunc()
    This function should list all folders and check whether these are mounted or not and print them out
  • rebindFunc()
    This function should remount all folders which are in $BINDLIST (some sort of list parsing needed)

v1.0

  • Possibility to unmount a folder without removing it from the list
    Like in the original FolderMount, there should be a possibility to temporarily unmount a folder
  • Option to skip moving files from/to destination folder before mounting/unmounting
    To make integration into custom scripts or future apps easier, this should be done from the script

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.