5,596,179 Members 34,137 Now Online
XDA Developers Android and Mobile Development Forum

[23.03.2014] StickMount v3.01 [ROOT]

Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 23rd March 2014 at 06:22 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45945
Posts: 8,828
Join Date: Oct 2007

 
DONATE TO ME
Default [23.03.2014] StickMount v3.01 [ROOT]

Automatically mount and dismount USB sticks on various devices like the Galaxy Nexus, Nexus 7 and Nexus 10. The Nexus 4 is not supported - this is an issue with the device, not with StickMount !

!!! REQUIRES ROOT !!!

Various Nexus and "stock Android" devices do not automatically "mount" mass storage devices (such as USB sticks). StickMount has been made to solve this problem, and give you access to the files on your USB connected storage from all your apps.

StickMount is known to work on many devices, but is built only with Nexus devices in mind.

Once StickMount is installed and you connect a USB stick with a USB host / OTG cable, the device will show you a popup if you want to open StickMount. It is advised to tell the device that you want to do this by default.

If you have just installed StickMount and you already had a USB stick connected, you must manually launch the program, or disconnect/reconnect the USB stick for StickMount to start working.

Mass storage devices are mounted to /sdcard/usbStorage/xxxx/.

(Pro) Kill apps preventing unmount

Sometimes an app has a file in use located on the USB device, and won't let go of it. This can prevent StickMount from unmounting the USB device. It will seem like the device stays connected (this is harmless). StickMount Pro provides an option that attempts to kill (terminate) all the apps that are preventing the unmount from succeeding.

(Pro) Media scan

StickMount Pro supports triggering the media scanner on each (un)mount action. This will automatically make the files on your USB device available in apps like Gallery and Music. Please note that the media scanner is not a visible process on all Android devices - it might actually work silently in the background without any visual cues. It may take a minute for your files to show up, so don't panic if they don't show immediately.

Even if you have this option enabled, you can prevent folders from being scanned by placing an empty file called .nomedia in that folder. If you put it in the root of the USB device, the entire device will not be scanned.

(Pro) Mount as partition label

Instead of using the block device name (sda1, sda2, sdb1, etc) for the partition, use the partition label as mount name. If the label is not available, fall back to the partition uuid (unique id). Only if that is not available either, use the block device name as mount.

This helps to keep your files in the same and easily identifiable place!

(Pro) Create symbolic links

Create symbolic links in /mnt and /storage to the actual mounts in /sdcard/usbStorage/, handy with some file managers and some apps that auto-detect storage locations.

Filesystem support

The filesystems supported depends on your device firmware. On most devices, at least vfat/fat/fat32 and ext2/3/4 are supported. On the latest Android versions, ntfs is also supported in read-only mode. Some devices also support exfat out the box, but most do not.

StickMount can utilize the ntfs-3g and mount.exfat-fuse binaries to add support for ntfs (untested) and exfat, but these are not included. If you place the ntfs-3g or mount.exfat-fuse files in the root of your internal storage ( /sdcard ), StickMount will automatically use them.

You can find the needed files here:
ntfs-3g
mount.exfat-fuse

Troubleshooting

For some users, the app appears not to work, while in fact it is the device itself or the cable not working. One OTG cable is not the other OTG cable. If you have a USB stick with a light on it, it should light up when you connect it to the Galaxy Nexus using your OTG cable. If it does not, either your cable or your Nexus is faulty. 99 out of 100 times it is going to be your cable. That the cable works fine with another device does not mean anything! Cables known to work on a one devices may not work on another device.

SD card unmounting: If your SD card unmounts when unmounting a USB device, you have a bug in your kernel. This is not a bug in StickMount !

Download

StickMount

StickMount Pro (add-on, requires the free StickMount app)
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 173 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 23rd March 2014 at 06:22 PM.)
#2  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45945
Posts: 8,828
Join Date: Oct 2007

 
DONATE TO ME
Default Changelogs

23.03.2014 - v3.01
- Fix possible force close

23.03.2014 - v3.00
- (Pro) Make mounts available by label or uuid instead of block device name
- (Pro) Make mounts available through /mnt and /storage
- White notification icon for KitKat

10.02.2014 - v2.50
- Fixed a number of (un)mounting issues
- Fixed one possible cause of /sdcard disappearance
- Anticipate and work-around '4.5' issues
- Suggest FS support add-on download

08.02.2014 - v2.40
- Forced a number of commands to toolbox, prevent busybox confusion
- Add mount master usage if available, and warning if not

On Android 4.3 and 4.4, using SuperSU v1.93 or newer is advised, as it provides some features that greatly improve reliability of (un)mounting, versus older versions of SuperSU or other Superuser management apps.

02.11.2013 - v2.30
- Android KitKat 4.4 related fixes

14.12.2012 - v2.20
- Adjustment to NTFS mounting
- UTF-8 mount adjustment (now enabled by default for new users)
- Changed (un)mounting strategy to repetitive scan
- Rearranged preference order
- Adjusted partition detection
- Reworked notification (Jelly Bean +)
- Toast notification no longer shown if turned off in preferences

02.12.2012 - v2.10
- More Android Jelly Bean 4.2 related fixes
- Only works for primary user
- Twitter/G+ spam now included

20.11.2012 - v2.0
- Android Jelly Bean 4.2 related fixes
- Various bug fixes
- Various text changes
- exFAT mounting if "mount.exfat-fuse" is present
- Fixed mounting sdXXYY (as opposed to sdXY) block devices
- (Pro) Kill processes that are preventing unmounting
- (Pro) Trigger media scanner on (un)mount

09.07.2012 - v1.5
- "The Jelly Bean Update"
- ActionBar restored (by many requests !)
- Modified permissions
- Async mounting
- Force holo theme

11.03.2012 - v1.3
- Modified NTFS mounting process
- Various texts adjusted
- App no longer quits on rotate
- ActionBar removed (double title)
- Added codepage and UTF8 options (experts only, will mount with default options on failure)

02.01.2012 - v1.2
- Modified mounting process
- Support different partition layouts
- Support mounting extX partitions
- Support mounting ntfs partitions (if kernel module present and loaded)

20.12.2011 - v1.1
- Added option to disable visual notifications of (un)mounting
- Fixed a number of possible crashes
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 21 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
webmastir
Old
#3  
webmastir's Avatar
Senior Member
Thanks Meter 106
Posts: 387
Join Date: Oct 2009

 
DONATE TO ME
Oh, hell yes....
 
WhiterThanWhite
Old
#4  
Member
Thanks Meter 6
Posts: 89
Join Date: Nov 2011
Working perfectly on GSM 4.0.2. Thanks Chainfire!
 
qwerp_
Old
#5  
Senior Member
Thanks Meter 90
Posts: 357
Join Date: Oct 2010
i believe this requires custom kernel with USB-OTG enabled?

i tried this on stock 4.0.2, the usb port is just not kicking out any power still.
 
Chainfire
Old
#6  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45945
Posts: 8,828
Join Date: Oct 2007

 
DONATE TO ME
As stated, rooted ICL53F should work.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
 
WhiterThanWhite
Old
#7  
Member
Thanks Meter 6
Posts: 89
Join Date: Nov 2011
Any chance of an option to disable the notification icon as well as the pop ups?
 
qwerp_
Old
#8  
Senior Member
Thanks Meter 90
Posts: 357
Join Date: Oct 2010
Quote:
Originally Posted by Chainfire View Post
As stated, rooted ICL53F should work.
tried on my stock rooted 4.0.2, first of all, its not requesting for root permission.

and second of all, nothing happen when i plugged in a usb stick. the usb stick did not even lit up.

any ideas?
 
Chainfire
Old
#9  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45945
Posts: 8,828
Join Date: Oct 2007

 
DONATE TO ME
Quote:
Originally Posted by qwerp_ View Post
tried on my stock rooted 4.0.2, first of all, its not requesting for root permission.

and second of all, nothing happen when i plugged in a usb stick. the usb stick did not even lit up.

any ideas?
Doesn't light up... are you using the right cable? I think my USB stick lit up even when I was using the original no-USB-host Nexus kernel ?
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
 
qwerp_
Old
#10  
Senior Member
Thanks Meter 90
Posts: 357
Join Date: Oct 2010
Quote:
Originally Posted by Chainfire View Post
Doesn't light up... are you using the right cable? I think my USB stick lit up even when I was using the original no-USB-host Nexus kernel ?
i am using the usb-otg cable from my xoom. (which works on my xoom. original cable from motorola).

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes