Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,243 Members 51,829 Now Online
XDA Developers Android and Mobile Development Forum

[APP][ROOT] FolderMount - Link folders from internal SD to external to free space

Tip us?
 
madmack
Old
(Last edited by madmack; 21st July 2014 at 05:59 PM.)
#1  
madmack's Avatar
Senior Member - OP
Thanks Meter 4383
Posts: 3,522
Join Date: Dec 2008
Location: Boston, MA

 
DONATE TO ME
Default [APP][ROOT] FolderMount - Link folders from internal SD to external to free space

Features of FolderMount:
  • Root is an absolute MUST. No root, no access to app.
  • Mount internal SD card folders to external SD folders.
  • Move content from internal to external when a pair is added. (Dialog prompt)
  • Support for Android 2.3 - 4.4.
  • Holo themed throughout and an intuitive GUI design.
  • It will check SDCARD mount status and remount if necessary.

Why would you need this app?

Today some apps store big files over the internal SD card (e.g. Games, Podcasts, Offline RSS feeds, Pictures, Offline navigation software). Typically users have a small internal sd card size (~16GB) while the external SD is a lot bigger (~32-64GB). Most of these apps don't have an option to use the external SD card to store data so they starve your internal SD card memory. I'm bringing this solution to fix this issue. In my case, I use this app to mount offline navigation software and some GameLoft games (NFS anyone?).

Doesn't this do the same thing as previous apps?

There are a few apps that already do this. However, my app differs in that:

a) Some of the existing apps aren't maintained anymore. FolderMount will be maintained by me as we go forward.
b) While most of the previous apps work properly in most cases, I found them not very intuitive to setup initially and were lacking some necessary "sanity checks" before linking folders. I intend to keep this app as intuitive and bug free as possible.
c) Support for Android 4.2.2! No app will currently do that for you, so here it is. (dev talk: this uses the debuggerd service trick to get it to work).

Users that buy the premium key will get:
  • Unlimited folder pairs (free version has a limit of 3).
  • Ability to mount any subfolder in the internal sdcard. (free version has restrictions on Android obb and data folders)
  • Get to see the folder sizes in root explorer
  • Support the developer and make him very happy

Mini how to
  1. Click add to add a folder pair
  2. Select a source directory that you want to move files from. This should be somewhere in your internal sdcard. Usually located at /mnt/sdcard
  3. Select a destination directory that you want to move files to. This should be some folder in your external sdcard or OTG drive.
  4. FolderMount will offer to move the files to the destination. Click yes.
  5. After the moving process is done, click on the pin. If the pin is green, you're all set.
    Note: The files will appear in both the source and destination after pinning them. This is normal as the files that you see in your internal sdcard are actually located on your external sdcard. This is how FolderMount "tricks" apps that don't have the ability to save explicitly to the external sdcard.

FAQ

Please do read the FAQ before asking questions in this thread. If your question is ignored, it is most likely because the answer to it already exists in the FAQ.

Note to users complaining about FM not working in KitKat with custom ROMs. Before asking any questions or complaining that FM does not work, have your kernel dev (or ROM cooker) look HERE


Screenshots:



Video tutorial(s):

1. by KiaTheKing

Translations:

Want to have FolderMount in your language? Help us by joining our crowdin project. More information here: http://www.devasque.com/foldermount/translations.html

Bug reports:

FolderMount version 2.2 and up support an integrated bug report and submission capability. Use the feature in the Settings menu to submit bug reports.

Changelog:

v2.6.12 (7/21/2014)
  • Updated locales: Malayalam (new language), Brazilian Portuguese, Persian, Hungarian, German, Spanish, Polish, Slovak and Traditional Chinese (thanks to Basim Sulthan, gabripon and Mcuteange)
  • Support for BQ and MBX systems (permission fixer)
  • Support newer Huawei KitKat devices where system files are immutable
  • Make purchase dialog scrollable (Support smaller screens)
  • Got Android L? Want to test a beta APK ? Email or PM me !

Rest of changelog



Disclaimer: This app does not guarantee functionality in any way, shape, or form. It is not my responsibility if this app does not work, breaks your sdcard or eats your kittens. User discretion is advised.
Attached Files
File Type: apk FolderMount-2.6.12.apk - [Click for QR Code] (1.30 MB, 2196 views)
The Following 422 Users Say Thank You to madmack For This Useful Post: [ Click to Expand ]
 
anurag.dj2u
Old
#2  
anurag.dj2u's Avatar
Senior Member
Thanks Meter 529
Posts: 585
Join Date: Mar 2013
Location: New york
Default Re: [APP][ROOT] FolderMount - Link folders from internal SD to external to free space

Nice app i believe but try it asap and come back with positive feedback ..

Thx fo developing thos kind of apps for us

Sent from my XT910 using Tapatalk 2
The Following 3 Users Say Thank You to anurag.dj2u For This Useful Post: [ Click to Expand ]
 
egingell
Old
(Last edited by egingell; 15th March 2013 at 07:15 PM.)
#3  
egingell's Avatar
Senior Member
Thanks Meter 1376
Posts: 3,470
Join Date: Apr 2012

 
DONATE TO ME
Creating a new entry only resulted in the "disappearance" of my files, they returned upon reboot which suggests that your command(s) are backward, and the app warned that Source was not empty when, in fact, it was and it "moved" no files, which interestingly had a progress bar, from Source to Destination, then bound them, at which point both Source and Destination showed no files (hence "disappearance" above) until reboot. The files were still in their original location.
* Phones: Samsung SGSII Epic 4G Touch; SGSIV
* ROM: Rooted Stock JB 4.1.2; Rooted Stock JB 4.2.2
* Kernel: Stock JB 4.1.2; Stock JB 4.2.2
* Enabled non-stock features: init.d, boot animations, boot splash; init.d, boot animations
* DPI: 200; 400



* UnToaster - Block Toasts by regular expressions.
* Downloads2SD - Redirect downloads.
* [TIPS][SCRIPTS][ROOT]egingell's scripts.
* My Droid Blog
* DropBox (2-18GB free).
 
gelhack
Old
#4  
gelhack's Avatar
Member
Thanks Meter 9
Posts: 52
Join Date: Nov 2012
Default Re: [APP][ROOT] FolderMount - Link folders from internal SD to external to free space

How about kicking off a media rescan after the folders are mounted?

Sent from my Nexus 7 using xda app-developers app
 
madmack
Old
#5  
madmack's Avatar
Senior Member - OP
Thanks Meter 4383
Posts: 3,522
Join Date: Dec 2008
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by egingell View Post
Creating a new entry only resulted in the "disappearance" of my files, they returned upon reboot which suggests that your command(s) are backward, and the app warned that Source was not empty when, in fact, it was and it "moved" no files, which interestingly had a progress bar, from Source to Destination, then bound them, at which point both Source and Destination showed no files (hence "disappearance" above) until reboot. The files were still in their original location.
if you've already mounted that source folder using any other means, un mount it first then use my app to bind it correctly.

Source (internal SD.. copying files FROM this).
Destination (external SD.. copying files TO this.. we'll eventually bind that folder to the source so it looks like the source is populated with the dest's files).
The Following 7 Users Say Thank You to madmack For This Useful Post: [ Click to Expand ]
 
egingell
Old
#6  
egingell's Avatar
Senior Member
Thanks Meter 1376
Posts: 3,470
Join Date: Apr 2012

 
DONATE TO ME
Default Re: [APP][ROOT] FolderMount - Link folders from internal SD to external to free space

Quote:
Originally Posted by madmack View Post
if you've already mounted that source folder using any other means, un mount it first then use my app to bind it correctly.

Source (internal SD.. copying files FROM this).
Destination (external SD.. copying files TO this.. we'll eventually bind that folder to the source so it looks like the source is populated with the dest's files).
Nope. Not the problem. Nothing is bound to anything on my phone.

Sent from my SPH-D710 using XDA
* Phones: Samsung SGSII Epic 4G Touch; SGSIV
* ROM: Rooted Stock JB 4.1.2; Rooted Stock JB 4.2.2
* Kernel: Stock JB 4.1.2; Stock JB 4.2.2
* Enabled non-stock features: init.d, boot animations, boot splash; init.d, boot animations
* DPI: 200; 400



* UnToaster - Block Toasts by regular expressions.
* Downloads2SD - Redirect downloads.
* [TIPS][SCRIPTS][ROOT]egingell's scripts.
* My Droid Blog
* DropBox (2-18GB free).
The Following User Says Thank You to egingell For This Useful Post: [ Click to Expand ]
 
madmack
Old
#7  
madmack's Avatar
Senior Member - OP
Thanks Meter 4383
Posts: 3,522
Join Date: Dec 2008
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by egingell View Post
Nope. Not the problem. Nothing is bound to anything on my phone.

Sent from my SPH-D710 using XDA
got access to shell via adb?

if so run the following and paste the output :

Code:
 
mount
ls -la /your/source/folder
The Following 3 Users Say Thank You to madmack For This Useful Post: [ Click to Expand ]
 
StephenC82
Old
#8  
Senior Member
Thanks Meter 30
Posts: 289
Join Date: Jan 2011
Default Re: [APP][ROOT] FolderMount - Link folders from internal SD to external to free space

Anyone tried to mount the obb folder? Doesn't work for me.
Love the app otherwise. Looking forward to the updates and to donate.

Sent from my GT-I9300 using xda premium
 
egingell
Old
#9  
egingell's Avatar
Senior Member
Thanks Meter 1376
Posts: 3,470
Join Date: Apr 2012

 
DONATE TO ME
Quote:
Originally Posted by madmack View Post
got access to shell via adb?

if so run the following and paste the output :

Code:
 
mount
ls -la /your/source/folder
It's fine, now. I was using the system's symlinks rather than their actual paths. Maybe check for that?

Does this remount on boot?
* Phones: Samsung SGSII Epic 4G Touch; SGSIV
* ROM: Rooted Stock JB 4.1.2; Rooted Stock JB 4.2.2
* Kernel: Stock JB 4.1.2; Stock JB 4.2.2
* Enabled non-stock features: init.d, boot animations, boot splash; init.d, boot animations
* DPI: 200; 400



* UnToaster - Block Toasts by regular expressions.
* Downloads2SD - Redirect downloads.
* [TIPS][SCRIPTS][ROOT]egingell's scripts.
* My Droid Blog
* DropBox (2-18GB free).
 
madmack
Old
#10  
madmack's Avatar
Senior Member - OP
Thanks Meter 4383
Posts: 3,522
Join Date: Dec 2008
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by egingell View Post
It's fine, now. I was using the system's symlinks rather than their actual paths. Maybe check for that?

Does this remount on boot?
not yet. no settings menu available so far :| It'll all happen in time.

The Following 4 Users Say Thank You to madmack For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes