Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,077 Members 37,941 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [CM 10.2] Why does this version allow me to mount USB with phone locked?

Tip us?
 
QQNoob
Old
(Last edited by QQNoob; 22nd January 2014 at 09:05 PM.)
#1  
Member - OP
Thanks Meter 27
Posts: 84
Join Date: Jul 2012
Question [Q] [CM 10.2] Why does this version allow me to mount USB with phone locked?

Seems like a security flaw. Anyone can pick up my phone, plug it into a USB port and copy files within seconds. Normally, you'd have to at least have to reboot into recovery, which requires a forced reboot and knowing the proper keys to do that and to enter recovery. As it stands now, even a child could plug in my phone and access the entire SD card.

It's also annoying that if I plug in the phone to my PC to charge while I'm listening to music on it, I don't get the lock screen where I have music controls. I instead get the USB mounting screen. I just have to press the Home key to show the lock screen, but it's been bugging me.

Is there any way to disable this? It wasn't this way in CM 10.1.
 
timmaaa
Old
#2  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5,814
Posts: 12,503
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
Go back to an earlier version of Android, or don't lose your phone.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
QQNoob
Old
#3  
Member - OP
Thanks Meter 27
Posts: 84
Join Date: Jul 2012
Quote:
Originally Posted by timmaaa View Post
Go back to an earlier version of Android, or don't lose your phone.
Your useless answer is unappreciated. I asked two simple questions and you answered neither.
 
timmaaa
Old
(Last edited by timmaaa; 23rd January 2014 at 12:39 AM.)
#4  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5,814
Posts: 12,503
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
The fact is you can't disable it. The answers I gave are perfectly valid if you don't want want the ability to mount the sd card via the lockscreen. If you're allowing your phone to get into a position where someone can access it like that then what I'm saying is maybe you need to reassess the level of personal security in regards to the device.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
QQNoob
Old
#5  
Member - OP
Thanks Meter 27
Posts: 84
Join Date: Jul 2012
>The fact is you can't disable it.

Now that is an appropriate answer. Thank you.

The main topic question was "why?" Why this change in behavior? What's the philosophy behind it?
 
timmaaa
Old
#6  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5,814
Posts: 12,503
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
I'm sorry but I don't know why they changed it like that.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
QQNoob
Old
#7  
Member - OP
Thanks Meter 27
Posts: 84
Join Date: Jul 2012
I remember CM9 behaving like this in certain versions, but then it went away, and I never had it in any CM10 versions until now. It's like the developers can't decide how they want it, or it's some sort of mistake or bug.
 
timmaaa
Old
#8  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5,814
Posts: 12,503
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
It isn't the fault of developers here, I believe you can thank Google for that feature.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
pandasa123
Old
#9  
pandasa123's Avatar
Senior Member
Thanks Meter 939
Posts: 1,316
Join Date: Jul 2013

 
DONATE TO ME
If you want it to not be like that, go and decompile some file and change the permissions.

Speaking of Google, I'm excited for the new Selinux policy from the NSA researcher. It'll be fun to see ChainFire at it

Sent from my One Xl using Tapatalk
My work:

For the HTC One XL:

SlimKat 4.4.4 | TWRP 2.7.0.8 | How to Update to 2.15 firmware | Accidentally Wiped Your Internal Storage?

For the HTC One Max:

SlimKat 4.4.4

For the HTC One Mini:

SlimKat 4.4.4

For the HTC Droid DNA:

SlimKat 4.4.4

For the Xiaomi Mi3:

SlimKat 4.4.4 | AOSP Flashing Guide

Other:

How To Get An Invite for the OnePlus One | Zoe Beta App for All Devices

Donate to me if you like my work or found anything I said helpful

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more

Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more

Android App Review: How to Speed Up Your Android Phone – XDA Developer TV

Is your Android device running slow? Is your Android device … more