Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,106 Members 39,451 Now Online
XDA Developers Android and Mobile Development Forum

How do you disable USB automount?

Tip us?
 
Errant33
Old
#11  
Member - OP
Thanks Meter 5
Posts: 35
Join Date: May 2008
Location: Syracuse
Quote:
Originally Posted by Dennisg34 View Post
What was the last device you owned that allowed you to charge only? I don't remember my S4 having a charge only option, although I never feared someone would hook it up to a computer and steal files.

Sent from my SM-G900V using XDA Free mobile app
Cyanogenmod Modded Note II was not charge only, just had the ability to not auto select mount options from the storage menu you could simply uncheck both. Cant seem to do that with S5 stock rom.
Phone: Samaung Galaxy S5
Tablet: Acer Iconia A500
Retired: Note II, Galaxy Nexus, HTC Thunderbolt, Samsung Charge, DroidX, Droid OG
 
Dennisg34
Old
#12  
Dennisg34's Avatar
Senior Member
Thanks Meter 316
Posts: 734
Join Date: Jan 2013
Location: New Hampshire

 
DONATE TO ME
Quote:
Originally Posted by Errant33 View Post
Cyanogenmod Modded Note II was not charge only, just had the ability to not auto select mount options from the storage menu you could simply uncheck both. Cant seem to do that with S5 stock rom.
That was prob a CM ROM feature, stock S5 might not have this option.

Sent from my SM-G900V using XDA Free mobile app
Verizon Samsung Galaxy S5 ROOTED
ROM: Wizzle ROM
KERNEL:Stock
RECOVERY:SafeStrap 3.75


Galaxy S4
ROM: Eclipse ROM
KERNEL: KToonez
RECOVERY: TWRP 2.5


Before asking a question, use this:


 
Errant33
Old
#13  
Member - OP
Thanks Meter 5
Posts: 35
Join Date: May 2008
Location: Syracuse
Quote:
Originally Posted by Dennisg34 View Post
That was prob a CM ROM feature, stock S5 might not have this option.

Sent from my SM-G900V using XDA Free mobile app
It may or may not but previous android versions allowed this behavior on stock roms. Took a bit of messing around but you could get it to stop auto-mounting, usually by enabling debug mode in developer options, that doesn't seem to be the case anymore .
Phone: Samaung Galaxy S5
Tablet: Acer Iconia A500
Retired: Note II, Galaxy Nexus, HTC Thunderbolt, Samsung Charge, DroidX, Droid OG
 
Dennisg34
Old
#14  
Dennisg34's Avatar
Senior Member
Thanks Meter 316
Posts: 734
Join Date: Jan 2013
Location: New Hampshire

 
DONATE TO ME
Quote:
Originally Posted by Errant33 View Post
It may or may not but previous android versions allowed this behavior on stock roms. Took a bit of messing around but you could get it to stop auto-mounting, usually by enabling debug mode in developer options, that doesn't seem to be the case anymore .
I think it may be the opposite, have you unchecked USB debugging and then plugged it into a computer? I know that sounds simple and stupid, but debugging mode is made to transfer files

Sent from my SM-G900V using XDA Free mobile app
Verizon Samsung Galaxy S5 ROOTED
ROM: Wizzle ROM
KERNEL:Stock
RECOVERY:SafeStrap 3.75


Galaxy S4
ROM: Eclipse ROM
KERNEL: KToonez
RECOVERY: TWRP 2.5


Before asking a question, use this:


 
Sharpie603
Old
#15  
Sharpie603's Avatar
Senior Member
Thanks Meter 229
Posts: 309
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by Errant33 View Post
In the past I could enable USB debug and my USB storage would not auto mount to the computer it was connected to. Now no mater what I try with the S5 it will not allow me to disable this automount behavior, even while on the lock screen. I find this to be a HUGE issue with security anyone who can grab my phone can access all the files on it very quickly.

Has anyone figured out how to disable this?

Sorry if this has been asked already, I did search.
If the screen is locked you should not be able to see phone or SD storage. Try this.

- Unplug the phone from the PC
- Lock the screen
- Plug phone back into PC

You should see the PC recognize the device, but when you click into it, it should be empty until you unlock the phone.

If you unlock the phone while plugged in. It will remember this until unplugged and locked again.

As far as I'm concerned turning the only real way is to set Windows to stop auto play for the device. However this would have to be done on any PC it's connected to.
Sharpie603 - Samsung Galaxy S 5 (SM-G900V) ROM - Stock - Rooted
 
Errant33
Old
#16  
Member - OP
Thanks Meter 5
Posts: 35
Join Date: May 2008
Location: Syracuse
Quote:
Originally Posted by Sharpie603 View Post
If the screen is locked you should not be able to see phone or SD storage. Try this.

- Unplug the phone from the PC
- Lock the screen
- Plug phone back into PC

You should see the PC recognize the device, but when you click into it, it should be empty until you unlock the phone.

If you unlock the phone while plugged in. It will remember this until unplugged and locked again.

As far as I'm concerned turning the only real way is to set Windows to stop auto play for the device. However this would have to be done on any PC it's connected to.
And now I feel stupid, thank you for the help. I didn't even check to see if the drives were showing up once autoplay triggered and the device showed up in "Computer" I assumed the storage was available.

Phone: Samaung Galaxy S5
Tablet: Acer Iconia A500
Retired: Note II, Galaxy Nexus, HTC Thunderbolt, Samsung Charge, DroidX, Droid OG
 
Sharpie603
Old
#17  
Sharpie603's Avatar
Senior Member
Thanks Meter 229
Posts: 309
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by Dennisg34 View Post
I think it may be the opposite, have you unchecked USB debugging and then plugged it into a computer? I know that sounds simple and stupid, but debugging mode is made to transfer files

Sent from my SM-G900V using XDA Free mobile app
Dennis, you are half right. USB debugging is meant for file transferring (but on a deeper level). It is more of a dev. tool then setting for the average user. When USB Debugging is enabled Devs. use it for establishing a connection Between the Android SDK(Software Development Kit) with an Android Based Device
Sharpie603 - Samsung Galaxy S 5 (SM-G900V) ROM - Stock - Rooted
 
Dennisg34
Old
#18  
Dennisg34's Avatar
Senior Member
Thanks Meter 316
Posts: 734
Join Date: Jan 2013
Location: New Hampshire

 
DONATE TO ME
Quote:
Originally Posted by Sharpie603 View Post
Dennis, you are half right. USB debugging is meant for file transferring (but on a deeper level). It is more of a dev. tool then setting for the average user. When USB Debugging is enabled Devs. use it for establishing a connection Between the Android SDK(Software Development Kit) with an Android Based Device
Lol I knew that mike, I just didn't feel like typing all those details out so I just said transfer files

Sent from my SM-G900V using XDA Free mobile app
Verizon Samsung Galaxy S5 ROOTED
ROM: Wizzle ROM
KERNEL:Stock
RECOVERY:SafeStrap 3.75


Galaxy S4
ROM: Eclipse ROM
KERNEL: KToonez
RECOVERY: TWRP 2.5


Before asking a question, use this:



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Add the Xperia Z2 Lock Screen to Your Favorite KitKat ROM

Almost every OEM adds its own unique flair to their stock firmwares. While some of … more

Android App Review: Control Your Phone with Quick Control Panel – XDA Developer TV

Your Android smart device has many features that you … more

Play Music on Android Wear with Stellio Music Player

Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more

Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more