I recently bought a OnePlus Two. The first thing I did after getting the new phone was a full encryption under security settings.

But even after that, the files in my internal SD card, such as WhatsApp media files, images and more are accessible via a PC.

How to prevent this? Am I missing something?


You can't prevent that. It is because your device is mounted to the computer via MTP. It's supposed to be visible. However, whenever you boot up, a password will be required to decrypt your device before any data can be accessed, so you need not worry. Also, MTP connections won't display any data if the device is locked. This is a security measure. In Lollipop, not even a factory reset can remove your lock.

  • 1
    do you mean to say the the data is already encrypted and MTP is decrypting it on the fly and so i am able to view it on my PC..?In that case setting the default USB mode to charging will cater to my concern, I believe. One cannot ensure that the phone is switched off while its being stolen. – varun Sep 18 '15 at 11:52
  • 3
    Very close, varun: it's not MTP doing the decryption, but Android itself (otherwise your apps couldn't read their data either, or even start). As Tamoghna already pointed out, to access your data via MTP requires the device to be unlocked first (i.e. a "unauthorized person" had to bypass your lockscreen in the first place); so changing the default USB mode doesn't matter here anyhow: having unlocked the screen, that person could also change the USB mode again. Just take care to "secure" your lockscreen (PIN/pattern/password). – Izzy Sep 18 '15 at 17:56
  • 1
    A curiosity. What would happen if I dirty flash my ROM with a custom one now. The data on the internal SD card would not be accessible, I suppose. – varun Nov 2 '15 at 4:06
  • No, the new system will recognize the partition as encrypted and ask you for the password to decrypt it on bootup. – Tamoghna Chowdhury Nov 2 '15 at 12:22
  • okey....great..that clears all my doubts..:-) – varun Nov 20 '15 at 4:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.