[FIX/APP] RemountSD- mount external_sd to /sdcard/external_sd

Hi,
I have seen many people asking how to really mount /emmc to /sdcard/external_sd and... keeping it there after a reboot.
I was searching for a solution to this myself and wrote a little app to do the job, for my own usage. I already published the app on request and people keep asking me to createa separate thread for this.
So... I'm doing so :-)

Most of the fixes use a "mount -o bind" command, which will basically do what was expected but people will end up with duplicate media files and so on.

This will not happen with RemountSD. Just one location for your files.

Another plus is, RemountSD will listen for the original mount of the external SD and then kick in and do it's work. This way you do not have to care about it.


Within the application you will have the possibility to deactivate the tool and you are back to the original state after a reboot.

Installation:

* You need root
* Install the apk and launch the app
* RemountSD will ask for super user permissions (grant it)
* Done

From now on you will not have to touch the app ever again.

Usage:
For now, RemountSD has two basic options
* Enable remount: If the checkbox is ticked, RemountSD will move /mnt/emmc to /mnt/sdcard/external_sd on every boot, furthermore you have the option to trigger this manually
* Enable UMS fix: If ticked, RemountSD will try to fix existing problems with USB mass storage.


Depending on the kernel you use the app may not work, if so, please report back and I will see if I can fix it.
If it works, please report back (kernel, Rom, ...) also, so I can build a list with known working setups.

Regards,
Gundalbert


Changelog:

v1.0: Initial release
* Basic remount functionality
* App can be enabled / disabled
* Automatic kick in on first mount of ext_sdcard

v1.1: USB mass storage support
* Added support for USB mass storage of both cards (internal, external)
* Option to enable / disable this fix

v1.2: Toggle storage modes / configurable mount points
* Added the possibility to change storage mode with one click (MTP and PTP experimental, details below)
* Made source and target location changeable
* Added toasts to explain what is going on / what to do next.


Why MTP / PTP experimental?
If you have set MTP or PTP as your current storage mode on boot time, everything will be working. If you booted with usb mass storage set, the MTPService is not running and the storage mode switch will fail. This can be fixed again by manually setting the storage mode to MTP/PTP in device settings -> storage. Everything will work after this is done.


Planned:
* Add the possibility to rescan media (for those who used bind mounts before and have doubled media files)
* Clean and structured UI

FAQ:
*** My media files are missing / doubled / not working, what went wrong? ***

Android scans the device for media files and supplies applications like gallery, music, ... with the information, which media is available.
After switching to RemountSD it is possible, that files are missing, you see them doubled or they are simply not working anymore.
This is because the scanning has gone wrong, which can be corrected with a one-time fix like this:


* Delete data of your media players / gallery / ...
* Delete data of media storage (I don't know if the name might be different on other roms)
* If you open up gallery for example you shouldn't see any files
* Reboot and let the media scanner work (or alternatively try sdrescan, available at the play store)
** The scan process might take a while, depending how many media files are present

I will add a rescan mechanism to RemountSD at a later point of time.


Known issues

* Save to SD-Card not working in camera app
* System settings -> storage information does not show external sd card
Credit to gundalbert  via

download here
File Type: apk remountSD_v1.1.apk -  (27.1 KB, 84 views)
File Type: apk remountSD_v1.2.apk -  (30.9 KB, 1005 views)

0 comments:

Post a Comment

Open Panel

Blogroll

counter