Questions tagged [encryption]

Encryption is the process of transforming information to make it unreadable to anyone except those possessing special knowledge.

Filter by
Sorted by
Tagged with
11
votes
1answer
32k views

How to decrypt the corrupt SD card formatted as internal storage?

So I'm on Marshmallow and have formatted my SD card as internal storage. Its filesystem got corrupt two weeks later for some reason. Plugging it to GParted, I see 16MB of FAT32 and the rest is an ...
5
votes
0answers
990 views

How exactly does FBE's key derivation work?

These are the files that I know go into verifying a user's password: /data/system/gatekeeper.password.key /data/system/gatekeeper.pattern.key /data/system/locksettings.db /data/system/locksettings.db-...
11
votes
1answer
7k views

How can I find out if my device uses FBE or FDE?

Assuming that I have full access (root if neccesary) to a device running vanilla Android 8.1, how can I know if it is using Full Disk Encryption or File Based Encryption?
9
votes
4answers
41k views

Is there a way for a user to tell if their Android device is encrypted or not?

There is a semi-relevant thread on SO https://stackoverflow.com/questions/12640708/check-if-android-filesystem-is-encrypted that explains how a developer would determine if full-disk encryption is ...
6
votes
1answer
4k views

Decrypting microSD card on another Android device or desktop computer

I'm looking for a solution that would allow to encrypt external microSD card with the following conditions: external microSD card is not merged with the internal storage; encrypted external microSD ...
4
votes
1answer
1k views

How to get Adoptable storage encryption key without root access after I “forget it”

My micro SD card (set as adoptable storage) was corrupted while I was using my phone (Wiko Tommy with Android 6.0) during a trip. Probably because of a writing error on the filesystem, I guess. I ...
4
votes
1answer
2k views

Data recovery from encrypted phone based on glitches in the encryption?

To make a long story short I needed to root my phone and didn't notice the warning that unlocking the bootloader erased all contents of the memory. I contacted a data recovery company and told them ...
26
votes
3answers
26k views

Will a Custom Recovery work with an encrypted device?

I wanted to know whether using Android's built-in encryption (introduced in 3.0) would affect my ability to use a custom recovery (Clockwork Mod in my case). More specifically if I will still be able ...
24
votes
2answers
4k views

What Android sync'd data is encrypted?

With the release of the firesheep plug-in for firefox it has become trivial for website browsing on open Wi-Fi networks to be hijacked by 3rd party listeners. Android offers the convenient auto-sync ...
14
votes
2answers
19k views

Is it possible to mount on a PC an SD card that has been encrypted by an Android Marshmallow device?

I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this ...
13
votes
2answers
899 views

Does full device encryption protect my data from Google and the government?

Apple recently made waves within the tech community by refusing to comply with law enforcement in regards to accessing encrypted user data. Their statement was that they do not have the technical ...
8
votes
1answer
2k views

Attempting to brute force Android security pattern through TWRP via adb

Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it ...
4
votes
1answer
2k views

Cross-platform compatible encryption of SD-card for Android

How would I go about encrypting my brand new 256GB SD-card, which is meant for my Android phone, considering the following: Card should be usable across multiple Android devices, and other platforms (...
21
votes
3answers
5k views

How do I secure/encrypt SD card data transparent to apps?

Are there any off-the-shelf options for securing the contents of an SD card so that files written by apps writing to SD are encrypted? If so, what is the best option? I'm looking for something for ...
10
votes
7answers
16k views

How do you encrypt your device running CyanogenMod 12.1?

CyanogenMod 12 and 12.1 'Encrypt phone' setting is broken, and has been for quite a while. Is there any way to encrypt the phone in some other fashion? Can CM be sideloaded onto a phone with an ...
12
votes
5answers
4k views

Use custom lock screen on encrypted Jelly Bean device

I recently enabled encryption on my Nexus S running Android 4.1.1. I'm aware of all the benefits and drawbacks, and device encryption is definitely something I want. It's currently working fine. ...
10
votes
3answers
22k views

Mount Android encrypted data partition on PC

My Nexus 4 screen met a tragic end due to violent contact with flooring tiles. Everything works except the touchscreen (which displays fine but does not react to touch any more). I would like to get ...
4
votes
1answer
1k views

How does Nougat encryption work technically?

I found the explanation for Android M, how does it work now in Android N? Bonus question: is it right to say that the encryption in N is weaker than the one in M? Because the OS can now be started up ...
3
votes
1answer
2k views

Setting/finding Android 7 encryption password

With some hassle I updated the 2016 firmware on my Lenovo P2 to Android 7 (I think my carrier decided that their own app was more important than security updates). Now that I wanted to put the TWRP ...
1
vote
1answer
610 views

Does “adb backup” also backup /data/misc/vold - the Encryption Key for Adoptable SD card?

I want to make sure that using adb backup -apk -shared -all -f ~/backup.ab will also save /data/misc/vold? I am trying to backup before rooting, in order to be able to gain access to the encryption ...
5
votes
1answer
12k views

How can I decrypt an encrypted SD card (HTC Evo 4G) on a different device?

I encrypted both my phone and SD card upon purchasing my HTC Evo 4g LTE. Recently the phone died (would get to the login screen and then reboot). After a factory reset the SD card shows up as ...
2
votes
1answer
551 views

Why is TRIM not supported on encrypted “/data” partition?

I have a rooted Lenovo A369i. I use LagFix (fstrim) to TRIM partitions. Previously it was working well with /data but after I encrypted my phone it doesn't. I decrypted my phone by formatting. But now ...
13
votes
1answer
3k views

How does Samsung implement SD card encryption?

My android device just stopped working. I still have my SD card, but all data in it is encrypted. Encryption has been performed at file level, so I have the directory structure and filenames in plain ...
24
votes
7answers
6k views

Why encrypt the device?

Android 5 offers two encryption features: Encrypt the device (phone) Encrypt the external micro SD card I understand the benefit of 2.: if someone takes my micro SD out and wants to use it on ...
25
votes
2answers
6k views

Undo Android 4.0 (aka Ice Cream Sandwich) Full Disk Encryption

Just upgraded my Nexus S to Android 4 aka Ice Cream Sandwich. Was looking through all the new features, and decided to enable encryption, which worked (and is working) just fine. Now I'm wondering if ...
13
votes
2answers
14k views

If I set up a VPN, does *everything* go over it?

If I set up a VPN connection for Android, what gets routed over the VPN? Just web browsing? All internet connections from all apps? In Cyanogenmod, in the Add OpenVPN config, "Advanced" settings, ...
21
votes
5answers
2k views

Ice Cream Sandwich (ICS) - Encryption, select different PIN than Screen Lock

I was wondering if one can select different passwords for device encryption in ICS? Having the same password for encryption and unlocking the screen isn't quite that secure... Thanks for hints.
11
votes
2answers
13k views

Does Android's Full Filesystem Encryption also Encrypt the SDcard?

In Android's filesystem encryption do they also encrypt the SDcard? If so Is encrypting the SDcard optional or is it encrypted by default when you choose to encrypt your device? Here's some info ...
7
votes
2answers
53k views

TWRP decrypt password

TWRP 3.2.3 asks for a decrypt password at startup, which I never set. Ignoring with 'cancel' leads to the main menu, but then the internal storage is marked as 0 byte (e.g. when trying to backup), ...
0
votes
1answer
7k views

TWRP OnePlus 5T not asking for encryption password

I want to flash the new Update for the OnePlus 5T but TWRP is not asking for a decryption password as usual and hence cannot mount the data partition. It's possible that this is not working since the ...
4
votes
1answer
17k views

How to encrypt full device on Android Nougat?

I have an LG V20 but I can't find the setting for full device encryption. There is a setting to encrypt the SD card. However, I'd like to also encrypt any memory on the phone itself. Is this possible ...
3
votes
1answer
707 views

Motorola DroidX eCryptfs related Sources?

I see over in this question that the Motorola DroidX uses eCryptfs to do its data encryption. I'm trying to find the source code of the mount.ecryptfs that version of Android uses (as I am one of the ...
2
votes
1answer
2k views

Access encrypted /data Partition over ADB and recovery (TWRP, LineageOS 16, Redmi Note 4)

I have a Redmi Note 4 (mido) Android phone with a broken screen: the screen lights up, but otherwise it stays entirely "black". I already replaced the screen, but with no luck - the cause of the error ...
2
votes
5answers
35k views

How to enter password for decrypt without system keyboard on android

I was trying to release some internal memory on my CUBOT GT-99, so I started disabling some system apps using one rooted app. One of apps I was disabled is system keyboard because I don’t use it ...
2
votes
3answers
1k views

If /system partition is never encrypted (even in “full-disk” encryption), how is it protected?

It seems that Android's "full-disk-encrytpion" is only concerned about encrypting the data or internal storage partition. It says: Full-disk encryption is the process of encoding all user data on ...
1
vote
1answer
40k views

I encrypted my phone (samsung S4) of which i dont remember the password. Need help to unlock it and save the data

I am using Samsung S4. I can't remember the password i setup while encrypting it. Is there a way to unlock the device ? If it cant be unlocked how do i factory reset the device or i'll have to go to ...
1
vote
2answers
5k views

How to create filesystem in TWRP? Getting error: “Unable to format to remove encryption”

The screen appears after booting into TWRP and trying to format memory: I was trying to flash a custom ROM using TWRP recovery but it's showing Unable to mount storage & Failed to mount '/data' (...
2
votes
1answer
883 views

DroidX data encryption - which algorithm and how strong?

I have a follow-up to the question posted here. I recently got a 2.3 DroidX phone, and noticed that it as well has data encryption option. I pulled an SD card from device, and noticed that folder ...
2
votes
1answer
3k views

Decrypt my Micro SD Card

I have been looking every where for an answer to this. I had a Razor MAX with an encrypted card in it. Well I dropped that phone and it died on the spot. I now have a SG3 and the micro sd card ...
1
vote
1answer
305 views

Is the Encryption Key for Adoptable SD card included in manual backup done over MTP?

I did a factory reset and then realized that I didn't decrypt my SD Card. I know that the data is probably lost, but I made a complete copy of the Internal Storage connecting the Samsung J5 mobile to ...
1
vote
0answers
429 views

F2FS partition does not mount, fsck.f2fs does not resolve. I want to recover the files

I made a backup of my phone's userdata partition with the command (because the /data is not mounting): dd if=/dev/block/bootdevice/by-name/userdata of=/usb_otg/userdata.img I need the files that are ...
1
vote
0answers
92 views

Any way to root a crushed phone and get encryption file from it?

tl;dr Is it possible to root an Android 8.0 phone that is accessible only via USB? Is it then possible to extract encryption .key file out of it in order to decrypt its SD Card that was formatted and ...
1
vote
1answer
468 views

Clean LineageOS 17.1 install and empty device - can't work out how to mount data partition in TWRP?

I'm installing LineageOS 17.1 on my new phone. It works fine, but I can't get to data in TWRP. As usual, to install, I wipe everything, drop into TWRP, format (not just wipe) data, wipe cache/davlik/...
0
votes
0answers
53 views

How to use FDE in Android 10 (Full Disk Encryption)

How can I setup Full Disk Encryption in Android 10? According to the ASOP documentation, it is no longer possible to use FDE and the user is forced to use File-Based Encryption Note: Devices running ...
41
votes
3answers
4k views

Encrypt the phone's internal storage

Is there a way to encrypt my phone's internal memory, in the same way you would encrypt a computer's partition? Ideally, the phone would always ask for the password when booting, and even if someone ...
5
votes
3answers
98k views

Decrypting wpa_supplicant.conf on Samsung Galaxy mobiles

When I do cat on wpa_supplicant.conf file on Samsung mobiles, I see that the passwords are encrypted. But when I open the same file on LG mobiles, I can see the passwords in plain text. This is what ...
25
votes
4answers
3k views

Automatically connect to Wi-Fi nodes, but route everything through encryption

Related to my question about VPNs, is there any way to get my phone to automatically connect to unencrypted access points, but route all my traffic through my home network? This would be kind of like ...
11
votes
3answers
3k views

Do I have to backup Titanium Backup's keys?

I just bought Titanium Backup and set up a scheduled encrypted backup of user+system apps and data, followed by Dropbox sync. Assuming I remember the passphrase, is all the data required for ...
6
votes
2answers
16k views

How to change encryption password - Android 5.0

My encryption password is too simple and was wondering how I could change it without having to reset the whole phone? I know there is an app for Android 4, but what would be the procedure on an ...
8
votes
2answers
82k views

Ways to remove android device encryption

Since I still encounter issues with modified boot images and recovery images I want to remove the device encryption from my Nexus 4 (running 4.3). I known that there is no "official" way to to this ...