Encrypting Phone/SD card - LG G6 Questions and Answers

Hi,
I added an sd card to my G6 as a "normal" external card (not system extension).
Now I want to encrypt the sd-card. But if I try it asks me to set a pin/password. I do have a pattern lock and want to keep that.
Is it not possible to encrypt the sd card if I have a pattern lock?
Is there another way to make my files encrypted on the sd-cards?
Second question: as far as I read the G6 has system encryption by default. Is this true?
Thanks for you help.

G-Ultimate said:
Hi,
I added an sd card to my G6 as a "normal" external card (not system extension).
Now I want to encrypt the sd-card. But if I try it asks me to set a pin/password. I do have a pattern lock and want to keep that.
Is it not possible to encrypt the sd card if I have a pattern lock?
Is there another way to make my files encrypted on the sd-cards?
Second question: as far as I read the G6 has system encryption by default. Is this true?
Thanks for you help.
Click to expand...
Click to collapse
1. Why not password plus fingerprint? I have it that way and need to enter the password only after boot.
2. Yes

I already have fingerprint. And I like the pattern lock so much. I can turn on and unlock the phone at once when it is on the desk. I like that very much. Therefore I would prefer that way. But it seems like there is no way for that.

As an aside, if we use a fingerprint for security someone (like a GF) could unlock your phone while you are taking a nap or sleeping over. Fingerprint reads are less secure!

Related

Menc encryption problem.

hiya you lovely people, right, for some reason unbeknownst to me, my trinity has decided to go and encrypt all the files on my 4gig sandisk memory card, I really wouldnt have minded....except I didnt tell it to, I've never actually used the encryption facility/program so I have no idea why it encrypted, now, when I re-insert my card, my trinity is meant to decrypt them automatically (well, so I read) but nuffm, now I cant access anything on the *!"£$&% thing....does anyone here have any solutions?

Booting From Encrypted SD card

Is it possible to boot the HTC HD2 into android (no particular version, at least ICS) using an encrypted SD card, I want to use the phone for going on activist rally's and filming police etc, I'd like no trace to be left on the hardware of the device, only the SD card which can be easily swallowed, tossed or destroyed, the SD card would be a class 10 and I would like to have to enter a password to decrypt the card before it booted.
Theoretically anything is possible, but is this possible with currently available tools or would this be something I would have to create from scratch, I do not want to re-invent the wheel
Thoughts?
I am not going to argue politics here btw, I'm purely looking for technical responses.
davidcampbell said:
Is it possible to boot the HTC HD2 into android (no particular version, at least ICS) using an encrypted SD card, I want to use the phone for going on activist rally's and filming police etc, I'd like no trace to be left on the hardware of the device, only the SD card which can be easily swallowed, tossed or destroyed, the SD card would be a class 10 and I would like to have to enter a password to decrypt the card before it booted.
Theoretically anything is possible, but is this possible with currently available tools or would this be something I would have to create from scratch, I do not want to re-invent the wheel
Thoughts?
I am not going to argue politics here btw, I'm purely looking for technical responses.
Click to expand...
Click to collapse
I don't think it would be possible to make android boot FROM the SD card while it's encrypted. Mainly because I think you'd have to have to decrypt the sd card before allowing the device to access the system files. (But I could be wrong, I'm only assuming here). (Maybe there's a way to do modifications to the "wheel" so that the card is decrypted just for system initiation. Or maybe decrypt only one part of the SD-card that contains the system and encrypt other partitions?) You need someone with knowledge to answer all of this ... And that's not me unfortunately.
On the other hand, you can install the system on NAND. Pick a small ROM so you don't have to use a2sd or any kind of script that is SD-card reliant. Then I think it would be possible to use an encrypted SD card. (Although I think Android still uses the sdcard for apps' data storage ...)
Sorry, I couldn't be of much help

Need to decrypt micro SDXC that was formatted as internal storage on my Moto X Pure

So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage. As far as I am aware when you format a SD this way the phone turns it into an encrypted volume and stores the key on internal storage, presumably somewhere the user cannot normally access it. The card itself is not dead, plugging it into my computer verifies this, but I cannot access it. I think some write operation failed and made it invisible to the phone. the phone did the same thing to a 128gb PNY card, but I reformatted it on PC, then reformatted it again on the phone and now the PNY is working fine. my question is, is there any way to extract the encryption key for my 64gb card(Root based tool or otherwise) from the card profile on my phone and decrypt it on a PC so I can reclaim my data? The phone still has a profile for the card, so presumably the key is still in internal storage somewhere. I had about 40gb of media on that card that I had not backed up (photos, videos, music and such). My ohone is not currently rooted but i wouldnt mind rooting it if someone has a root only solution.
I would wipe cache, then data then try another ROM.
sciencetor2 said:
So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage.
Click to expand...
Click to collapse
It is possible, though I have not done it before, I avoid adoptable storage for this reason. Do NOT wipe your ROM, or you will permanently lose your encryption key to your data that you have on the card.
If you put the SD card into a Linux PC that can recognize the partitions (Windows will not show it), you will see two partitions, android_meta and android_expand. To decrypt the big one, android_expand, you will need to recover your key from the phone.
To recover the encryption key, you will need either root access or a custom recovery like TWRP, to access '/data/misc/vold' to retrieve the encryption key (aes-cbc-essiv:sha256). Save the .key file to somewhere safe.
Then something like
dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt \
aes-cbc-essiv:sha256 00010203040506070809010a0b0c0d0e0f 0 /dev/sdb2 0"
mount -t ext4 /dev/mapper/crypt1 /mnt/1/
More info here - http://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html
Once you have recovered your data, reformat the card and use it as portable storage
SenK9 said:
More info here -nelenkovDOTblogspotDOTcom/2015/06/decrypting-android-m-adopted-storageDOThtml
Once you have recovered your data, reformat the card and use it as portable storage
Click to expand...
Click to collapse
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
sciencetor2 said:
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
Click to expand...
Click to collapse
I do not believe it's possible to root or change the recovery without unlocking the bootloader, unless there's some other method I'm not aware of. Even MM systemless root method - http://forum.xda-developers.com/mot...t-moto-x-style-xt1572-br-marshmallow-t3259380, requires unlocking the bootloader, which of course then technically voids the warranty.
However, in this case, it might be worth contacting Moto to inform them of what's happened, it's definitely some kind of bug in the software which has caused this, and thus you are stuck in this catch-22 situation. They might make an exception or have some other solution. Let us know how you go.
SenK9 said:
... requires unlocking the bootloader, which of course then technically voids the warranty. ...and thus you are stuck in this catch-22 situation.
Click to expand...
Click to collapse
Even more of a catch 22 situation, because if i read that correctly, the process for unlocking the bootloader also requires wiping the phone (and thus, the encryption keys) (i miss geohot with his 1 click soft roots). I will wait a little while and see if I or anyone else reading this thread can find a way around that, but it seems ill have to contact Moto support either way, since my 16gb model is barely usable without an SD card.
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
lafester said:
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
Click to expand...
Click to collapse
I checked the recovery menu but there didn't seem to be an option for wiping cache on this device (recovery menu was a little different than I am used to, only had option for factory reset) Also, while wiping cache might conceivably prevent it from screwing up future cards, I don't know if it will fix this one, and i'm not sure if i wanna risk wiping anything without getting my hands on the encryption keys first. if it becomes apparent that i'm just not getting root without wiping, then I'll try playing around with recovery options to at least get back SD slot usage.
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
lafester said:
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
Click to expand...
Click to collapse
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
I hadn't heard that... Got a source?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
No all that does is allow you to unlock (providing you have a key of course).
well it looks like nobody has found a non wiping solution to root my phone, so I'm going to have to give up on the data and see if I can get back SD functionality, or just RMA the phone. I think i will also publish a script that allows you to plug in your phone and the SD at the same time and allow you to decrypt an internal formatted card by pulling the keys and using them to mount the drive to help people who are in similar situations, but have root. Thanks anyway for the help.
Hi Everyone, I'm stuck in the same catch 22 situation. Device is not rooted or bootloader unlocked, so can't access the key, and trying to root/unlock bootloader will wipe the keys. Any updates, @sciencetor2??
Have you written to Motorola/google about this?
I'm still not ready to give up on the data... hundreds of vacation pictures, that couldn't get backed up.
I'm in the same boat any good news on this?
As long as the phone can see the card, you can change it to portable storage. However, if something goes wrong and phone can not see the card anymore, it's nearly impossible to access the volume without the retrieving the key from the phone, and you must root the phone in order to get the key, as I understand.
I have another similar problem, SD card becomes locked writing and disappears from phone, even I used it as portable storage. And the card can't be formatted at all. So I believe the phone somehow does something and change the state of SD card!
Did anyone find a solution yet. Stuck with same problem. Will loose very important data.
Same here.
I adopted my sdcard as internal storage in CM13.
It was constantly in bootloop, so I formatted the internal memory of the phone to install a new rom ...
But now I can not recover the data within the sd because I can not access it nor with the new rom (I can not even mount it from TWRP) nor from a linux PC (the filesystem is unknown).
Pretty much ... I did not know that the sdcard adopted were encrypted!
Any solution? :\
Hello everybody!
Is there any way to recover the deleted ".key" file?
so i havent gotten back on this thread in a while but i think i at least figured out the "why" on why the card was no longer being recognized. it seems to come down to read/write speed. my 64GB and 128GB cards that i was having the issue with were both U1 cards, which means their read/write is only sitting around 10Mbps, and both of those had issues being detected by the phone after a little bit of time in use. I replaced the card in the same phone a few months back with a high throughput U3 card, and it has been running smoothly ever since. this leads me to the hypothesis that if the card is not fast enough for the phone's taste, it will just ignore it (or timeout on reads, not sure which is actually happening) which is leading to the issues we are experiencing. unfortunately this doesnt lead us to a solution for recovering from the existing cards, but hopefully it will help avoid making the mistake of using a slow card in the future.

Corrupted SDCard due to Android 7.0 G930VVRU4BQA4 Upgrade

My sdcard was mounted prior to the 7.0 upgrade pushed out today. After upgrading, it won't mount. In the setting it just says that it's corrupted and it wants me to format it.
Also my phone used to have encryption on it, such that when you booted it from scratch, you were required to enter the PIN before the boot would continue (this happens before the login screen where you have to enter the PIN), but since the 7.0 upgrade this is no longer required, and if I search the settings app for "encyrption" it comes up empty. Did android drop this feature and un-encrypt my storage on upgrade!??! Is this related to it not being able to read my sdcard?
It might be if you also encrypted your Sdcard. The option that you are talking about is now called secure startup, it is still under lockscrean and security. Try enabling that using the same password you had before the upgrade and reboot your phone. If the card is not truly corrupted it will unlock the card and give you access.
Sent from my SM-G930V using Tapatalk
Thanks for the reply! Yes turning that setting on re-enabled my encryption and enforcement of entering the PIN on boot. Unfortunately it didn't seem to help the SD card. I hope it actually didn't go bad.

ENCRYPT SD card

Hi, Just get this tab. My only problem it's I can't find the encryptage SD in parameter .
Someone can help me on this one please?
I have Emui 4 , android 6.0 , build B035
This device is not encrypted and there are no settings to encrypt it. I'm on Nougat and there is an option under advanced, security that allows you to set up a password for the sd card but I'm not sure what it actually does, it definitely doesn't encrypt it.
This is really weird. I thought Nougat encrypted root by default and had options to encrypt SD cards. I have encrypted option on my Samsung devices. Was considering this Mediapad but now not so sure... can anybody confirm>

Categories

Resources