Hi all,
This problem is not specific to the P9 Lite but rather to Nougat in general, but htis is what I have, here I will ask.
Problem:
1) I want to set the default storage location to SD card, so that chrome and all other apps will save downloads to the SD card by default
2) I ABSOLUTELY want the SD card encrypted
3) These 2 options: set default storage location: SD card, and set SD Card passwords seem mutually exclusive. I can either enable one or the other (or, more plainly, encrypting the SD card makes the set default storage location go away from Memory&storage)
Is there a way to set the default storage location manually (using shell, adb, whatever? Is there any pertinent reason why the default storage location cannot be on an encrypted drive? Will doing this dissolve reality as we know it?
PS. Yes, I'd much rather actually use the SD card as adopted storage, unfortunately I read that:
Warning: File-based encryption cannot currently be used together with adoptable storage. On devices using file-based encryption, new storage media (such as an SD card) must be used as traditional storage.
Click to expand...
Click to collapse
At https://source.android.com/devices/storage/adoptable
Related
hi guys i have recently bought a 64gb sd card for my gt-i9505. what can i do to make the sd card my external source of storage, so that way everything such as music, pics, apps etc will save to the card by default instead of the internal storage? my phone is also rooted if that helps.
xposed has a module that forces camera app to store everything on external sd.
In the most browsers you can set your download path (set it to /sdcard1/downloads)
If you have the music/video/picture files, just move them to your sd card.
But for Images Dude, i9505 by default stores them to external SD card. But if you see they are going to Internal storage then you can define the path in setting of camera app. for other apps there are also options to save the files on internal storage or external.
New android version Marshmallow has a feature to use microSD card as internal storage.
When Marshmallow detects a microSD card for the first time it asks to chose Portable or Internal storage mode.
If you choose "Use as portable storage" you will use it as before. You can save your photos, videos, some applications or their data,
backup/restore your phone, etc. and you can see your files if you take it out of your phone and connect to another device or PC, as usual.
But if you choose "Use as internal storage" and click "ERASE&FORMAT" button at next screen,
then your microSD card will be formatted as ext4 and encrypted. You will loose everything in your microSD card and it will
become your only internal storage. Now, If you take it out of your phone and connect to another device or PC, it will not possible to see your files
since it is encrypted. Your microSD is usable only with your phone.
Than, what is the advantage of using microSD card as internal storage?
If your phone's real internal storage very small (ex: 4gb) and you have trouble installing new apps then you may put a 32 GB microSD card and use it as internal storage. Then your internal storage will be 32 GB (Not total of 36GB).
It will act as your phone's internal storage.
Disadvantages?
microSD card used as internal storage is useless out of your phone since it is encrypted. You can not use it taking out of your phone and putting into another device to transfer your photos, music files, zipped ROM files etc.
It will not be visible as external storage anymore.
Phone's real internal storage is not visible.
So,
If your phone's real internal storage is not too small and especially if you want to use your external storage as usual, there is no need to use a microSD card as internal storage.
darkRd said:
New android version Marshmallow has a feature to use microSD card as internal storage.
When Marshmallow detects a microSD card for the first time it asks to chose Portable or Internal storage mode.
If you choose "Use as portable storage" you will use it as before. You can save your photos, videos, some applications or their data,
backup/restore your phone, etc. and you can see your files if you take it out of your phone and connect to another device or PC, as usual.
But if you choose "Use as internal storage" and click "ERASE&FORMAT" button at next screen,
then your microSD card will be formatted as ext4 and encrypted. You will loose everything in your microSD card and it will
become your only internal storage. Now, If you take it out of your phone and connect to another device or PC, it will not possible to see your files
since it is encrypted. Your microSD is usable only with your phone.
Than, what is the advantage of using microSD card as internal storage?
If your phone's real internal storage very small (ex: 4gb) and you have trouble installing new apps then you may put a 32 GB microSD card and use it as internal storage. Then your internal storage will be 32 GB (Not total of 36GB).
It will act as your phone's internal storage.
Disadvantages?
microSD card used as internal storage is useless out of your phone since it is encrypted. You can not use it taking out of your phone and putting into another device to transfer your photos, music files, zipped ROM files etc.
It will not be visible as external storage anymore.
Phone's real internal storage is not visible.
So,
If your phone's real internal storage is not too small and especially if you want to use your external storage as usual, there is no need to use a microSD card as internal storage.
Click to expand...
Click to collapse
No way to read or write in ext4 in pc???
jaswinprakash said:
No way to read or write in ext4 in pc???
Click to expand...
Click to collapse
Possible, on Linux
Ranpe said:
Possible, on Linux
Click to expand...
Click to collapse
But its still encrypted, so that won't help I guess. Also once you flash your phone or something, the contents won't be available anymore I think. It's just a guess though, I don't know how it is decrypted and all.
Sent from my MotoG3-TE using XDA Forums
jaswinprakash said:
No way to read or write in ext4 in pc???
Click to expand...
Click to collapse
It seems to be not possible out of your phone by anyway since it is encrypted.
I don't not know whether it is possible to extract encryption key from phone and decrypt the files using this key but this shouldn't be possible because of security reasons.
No one desires access to the important files in the sd card if it is captured by any one else.
darkRd said:
It seems to be not possible out of your phone by anyway since it is encrypted.
I don't not know whether it is possible to extract encryption key from phone and decrypt the files using this key but this shouldn't be possible because of security reasons.
No one desires access to the important files in the sd card if it is captured by any one else.
Click to expand...
Click to collapse
It is possible done it in my Lenovo A328. Courtesy of this mod:
http : / / forum.xda-developers.com / android / development / rom-flight-a328-custom-rom-based-150429-t3137708
I am trying to switch the Default storage from the main memory to an sd card. Not just for downloading stuff but to the point where all apps and data run off the sd card. 8GB of default memory just isnt enough so if any help could be rendered i thank you.
Changing default storage for storing apps and files is not an implemented feature to Samsung devices. But you can still move the apps and files to your SD card manually.
(And if there is a Samsung device that can change default storage, then it's a lucky device.)
Hello everybody,
I am used a 64gb SD card and would like to save the data on the card. For this I have used the function "Storage --> Storage setttings --> Default location" and set it to the SD card.
Everything as good as .... but when I create a second user I get message that this does not go because the SD card is in use.
The question is now whether there is a possibility to use the SD card as internal memory, so that both users of the M3 can use the memory?
Greetings
ramady
ramady said:
Hello everybody,
I am used a 64gb SD card and would like to save the data on the card. For this I have used the function "Storage --> Storage setttings --> Default location" and set it to the SD card.
Everything as good as .... but when I create a second user I get message that this does not go because the SD card is in use.
The question is now whether there is a possibility to use the SD card as internal memory, so that both users of the M3 can use the memory?
Greetings
ramady
Click to expand...
Click to collapse
I would like clarification on the sd card as I want to put as much on it as possible and keep off the internal space.
Contact Huawei support for that one.
Did you ever get an answer on this question?
If you want to force it without Huawei's support, you might be able to use this: https://forum.xda-developers.com/android/software/auto-formatting-sdcard-to-internal-t3583875
I used that on my S8 for a bit, but be warned, no matter how fast your SD card is, it *WILL* slow your device down because in any modern, decently spec'd device, the internal storage is hugely faster than an addon SD card.
Hello,
I've add a 256GB SD card on my Fire HD 10, and I set it as portable storage.
My SD card is a Sandisk micro SDXC UHS-I (V30 3U A2).
All time I logon on my Fire HD, FireOS shows me the settings page "How you will use this storage device".
Is it a known FireOS bug?
Or, do you think my SD card is defective?
SD card in Portable storage mode comes with data robed risk if I lost my Fire HD.
Thus I'd like to encrypt SD card data.
FireOS offer Encryption feature in settings.
Does someone have experience with it?
If I set this SC card as "tablet storage", does data will be able to be readable from another device?
Thanks a lot for your help and advices
Chris
If the SD card is not properly formatted as FAT32 or exFAT (or wrong alignment) Android will offer to format.
If you format as portable storage the SD card is not encrypted (recommended). If you remove the SD Card you can read it on card reader on PC later.
If you format as adoptable storage the SD card becomes encrypted and will replace the internal storage (which becomes unused). This is not recommended as the encryption key is inaccessible to nobody, therefore no way to recover data in case of failure.
Thank you alecxs.
If you format as adoptable storage the SD card becomes encrypted and will replace the internal storage (which becomes unused). This is not recommended as the encryption key is inaccessible to nobody, therefore no way to recover data in case of failure.
Click to expand...
Click to collapse
In this case, all data on SD card will be readable by anyone if I lost my pad.
Is there a way to encrypt data on a SD card formated as portable storage?
Thanks,
Chris
chrbar said:
Thank you alecxs.
In this case, all data on SD card will be readable by anyone if I lost my pad.
Is there a way to encrypt data on a SD card formated as portable storage?
Thanks,
Chris
Click to expand...
Click to collapse
I think the only way to do what you're after is with a 3rd party tool to encrypt your SD card. I suppose that's possible, but performance may be sluggish that way.
if you downgrade to Fire OS 5.6.4.0 you can use mtk-su to access the encryption key from /data/misc/vold once. this key can be used on linux PC to decrypt adoptable storage (except for FBE file-based encryption)
How to decrypt and split adopted storage?
How to partition and to have adopted storage at same time. You don't need to root your device but the device i done this with is rooted You need to enabled Developer Options. Enable the USB Debugging option. Make sure your SD card is formatted...
forum.xda-developers.com
(obviously) all other 3rd party solutions require similar additional software to decrypt container stored on portable storage.
Transparent Folder Encryption
Greetings, I'm looking for an App that would provide transparent folder encryption, along the lines of the "Encrypt contents to secure data" option on a Windows folder. One that works on a SD card, and also treats files transfers via USB cable...
forum.xda-developers.com