Questions tagged [disk-encryption]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
168 views

Cannot encrypt Realme 7 Pro running Android 13 (Project Elixir ROM)

I have Realme 7 Pro device with an unlocked bootloader and installed custom ROM: Project Elixir 3.8 Android 13 Kernel 4.14.212 Selinux Status "Enforcing" Custom Recovery "OrangeFox R11....
mohamed maher's user avatar
2 votes
0 answers
142 views

Andriod encryption/decryption

My Android phone is dead, but I want to recover my data. I removed eMMC using chip-off and acquired the image/dump file (userdata.bin) using Easy JTAG. The phone had Andriod 9, which uses Full Disk ...
Sarfraz Shaikh's user avatar
10 votes
1 answer
1k views

Can an Android device connect to the internet before decrypting the storage?

Can an Android device connect to the internet before the user enters their decryption password? I assume it cannot connect to saved WiFi networks, as these should be encrypted, but how about mobile ...
Gasp0de's user avatar
  • 203
0 votes
0 answers
688 views

Manually decrypt data from recovery-mode?

AFAICT, Android builds upon Linux' standard fscrypt as implemented in ext4 and f2fs. I know my pattern and have access to a shell with any Linux program in it. How can I decrypt /data manually, ...
Atemu's user avatar
  • 560
2 votes
1 answer
789 views

How to back up encrypted /data atomically in Android 12?

I accidentally upgraded my phone to Android 12 instead of a newer Android 11 and, to my dismay, it seems encryption was changed in a way that makes TWRP unable to decrypt my /data. For backups, I ran ...
Atemu's user avatar
  • 560
2 votes
0 answers
89 views

Does Android Lolipop 5.1 get encrypted by itself upon first boot?

My doubts are, Would an android device shipped with Lollipop 5.0 get encrypted itself upon first boot? I saw a lot of blogs saying Lolipop does not come with default encryption but in the official ...
munna ss's user avatar
3 votes
1 answer
2k views

Why can I view files from "Internal Storage" WITHOUT entering password either in OrangeFox recovery or via USB cable on PC?

I was under impression that all user files are encrypted by default in Android using FDE. It was to my surprise that I can just run, for example, OrangeFox recovery and when it asks me for a password ...
Alexander Shukaev's user avatar
1 vote
1 answer
1k views

Decrypt Android FDE /data partition with lost locksettings.db

So let's assume I am on Android 9 and have the encrypted FDE /data partition and the full /system partition - except for locksettings.db. I also know the pass code used to decrypt/unlock the device ...
aequabit's user avatar
1 vote
0 answers
154 views

Is the data on flash memory encrypted or unencrypted?

I understand there was full disk encryption from Android 5.5 to 9. Not sure it was ever the default, and not sure what the default is now. I've bricked a Pixel 3 running Android 11, and I want to know ...
Pavel Komarov's user avatar
1 vote
0 answers
170 views

Possible to perform data recovery with dead cpu? (LG G6 - Android 9)

I've got a dead LG G6, suddenly freeze during normal using. After force rebooting, it was completely dead even though connecting to charging cable. Have already performed cpu chip-off and reballing, ...
Vener's user avatar
  • 11
2 votes
1 answer
974 views

How to get a list of all apps that start in Direct Boot Mode (Device Encrypted, not Credential Encryption)?

I want get a complete list including all apps (including system apps) that are running in Direct Boot Mode, therefore they necessarily store their data in the DE (Device Encrypted) area (as opposed to ...
Michael Altfield's user avatar
0 votes
0 answers
258 views

Does GrapheneOS's Android 10-based releases use FDE (Full Disk Encryption)?

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 Android 7.0–9 support full-disk encryption. New ...
Michael Altfield's user avatar
0 votes
0 answers
1k 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 ...
Michael Altfield's user avatar
0 votes
1 answer
613 views

How to set distinct boot and lockscreen passwords in Android 10 (full disk encryption)

How can I set a distinct password for: The Full Disk Encryption password (used to boot the device) The Lock Screen password (used to unlock the device) For security reasons, I use a 25-50 character ...
Michael Altfield's user avatar
1 vote
1 answer
134 views

Is it possible to securely factory wipe a phone directly after encrypting it?

I would really like to make my phone more secure. But at the same time I want to be able to factory wipe it any time. I'm afraid that factory wiping could brick the phone/makes it unusable. So is it ...
KarenStfu's user avatar
2 votes
0 answers
1k views

Android device ro.crypto.state returns "encrypted", but I can access the /data partition. How?

I have a OnePlus 3 with an unlocked bootloader and LineageOS. I forget the PIN and I am trying to recover access to it, and I have access to the recovery. The data is encrypted. My understanding is ...
lynn's user avatar
  • 121
1 vote
0 answers
101 views

How to recover data from image?

I have an encrypted complete .img of the userdata partition. What tools or steps can I take, with the assistance of my phone, to decrypt this image? It is my understanding that decrypting it without ...
JacksonPeterson's user avatar
2 votes
2 answers
449 views

internal storage showing up as 0MB

I have a Redmi Note 7 (lavender) As I was updating between custom ROM versions (Android 11) and the stock ROM (MIUI), I messed up a few things and ended up with broken encryption. The internal storage ...
JacksonPeterson's user avatar
1 vote
0 answers
47 views

Is data recovery possible in encrypted phone? [duplicate]

I need a suggestion! Tomorrow I am giving my phone to service centre for repairing my broken camera. I am feared that whether they can access my files or not? My phone is on android 10 out of the box ...
10E_13_ Bipin's user avatar
1 vote
1 answer
235 views

How to encrypt deleted data on Android 10

I'm running a custom ROM (MIUI xiaomi.eu 12.0.2/Android 10QKQ1.90910.002) and my phone is rooted. I want to encrypt my old deleted data (photos and videos) so that they can't ever be recovered after ...
BelowAverageUser's user avatar
2 votes
1 answer
829 views

Cryptfs : Unexpected value for crypto key location

Phone: Samsung S9 Plus, 256Gb OS: Lineage OS 17.1 (Android 10) ROOT: TWRP 3.5 I installed Lineage OS 17.1 on a Samsung S9+. It's been working fine so far. However, when I encrypt the OS from the ...
lucasart's user avatar
  • 133
1 vote
0 answers
201 views

Does Android disk encryption use device-specific keys (such as IMEI or model) to encrypt the disk?

This question is about how disk encryption for Android 6.0 works. In short: Does Android 6.0 disk encryption use any device-specific keys (such as IMEI or model) to encrypt the disk? In detail: I'm ...
Lorraine R.'s user avatar
2 votes
0 answers
263 views

Where is the e4crypt policy stored?

Restoring the Data partition from TWRP fails due to a missing e4crypt policy: ==> extracting: //data/user/10/ (mode 40771, directory) Cannot find key for 10 error looking up proper e4crypt policy ...
feklee's user avatar
  • 510
1 vote
1 answer
301 views

how does disabling 'password at startup' works before file-based encryption?

Android 6 (before file based encryption): after encrypting device and setting screen lock, i can choose an option 'require the PIN, password, or pattern at startup' or can i choose 'no thanks'. in ...
piotrek's user avatar
  • 111
1 vote
0 answers
57 views

Are there any downsides to encrypting an Android device?

Besides requiring a lock screen, are there any downsides to encrypting an Android device (using the native encryption)? For example: is there a performance decrease? is there a temperature increase? ...
End Anti-Semitic Hate's user avatar
1 vote
0 answers
451 views

How to decrypt a dumped android partition on a pc?

I chose to boot android on the from the sdcard in order to have more storage. So I dumped though dd the internal 32Gb storage to the 256Gb sdcard with the partition table included. By just changing ...
user2284570's user avatar
4 votes
1 answer
2k views

No full disk encryption in Samsung Galaxy A71

I just started using my brand new Samsung Galaxy A71 (Android version 10) by doing an initial setup, and it seems it does not support full disk encryption at all. On the contrary, on Samsung Galaxy A7 ...
sad_guy_without_encryption's user avatar
1 vote
1 answer
3k views

Android 9 pie see if device is encrypted

I am trying to figure out if my Android (Pie) is encrypted. Per Is there a way for a user to tell if their Android device is encrypted or not?, it says my phone will be reported as phone encrypted. ...
Intrastellar Explorer's user avatar
1 vote
1 answer
726 views

How does rooting affect full disk encryption (Oneplus 3T)?

My oneplus 3T running Oxygen OS 9.0.6 (Android 9) came with full system encryption by default. I want to install root but also keep full system encryption. Will root disable encryption? Does root ...
dragonmnl's user avatar
  • 181
1 vote
1 answer
83 views

Metronome sound for disk encryption password prompt

In the previous android version (Lollipop, Marshmallow, Nougat and may be Oreo) there was a metronome sound when the phone was waiting for disc encryption password: "To start Android, enter your ...
sergio's user avatar
  • 111
2 votes
1 answer
4k 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 ...
d-b's user avatar
  • 255
1 vote
0 answers
235 views

Recovery approach for lost partition and encrypted F2FS

The Problem and Mystery My ZTE Axon 7 [Android 7] inexplicably wiped its emulated storage area /storage/emulated/0 while retaining all installed applications, albeit with settings wiped clean. There ...
TonyH's user avatar
  • 113
1 vote
0 answers
203 views

What happens to the encryption key on "Forget SD card" action?

Recently my SD card, formatted as internal storage, got inaccessible for the phone (Moto G5) for some reason. If "Forget SD card" option was selected, does it wipe out the SD card encryption ...
Spline's user avatar
  • 11
1 vote
1 answer
6k views

TWRP 3.3.0 cannot decrypt data partition (of Android 9)

I just updated to TWRP 3.3.0 from older PitchBlackTWRP but now TWRP does not ask for the password any more. Tried manually decrypting and manually wiping from TWRP terminal. Did not help. recovery --...
JPT's user avatar
  • 156
1 vote
1 answer
131 views

Sony F5121: Forgot Device Encryption Passwort, locked bootloader

I forget the device encryption password for my F5121 (locked bootloader). Is there any way to hard-reset the device, so I can use it again (I don't care about the data on it)? I already tried some ...
bonanza's user avatar
  • 101
3 votes
0 answers
4k views

How do I check if my Android SD is encrypted?

I can't remember if I encrypted it already or not. How do I verify that? Under SETTINGS - SECURITY - ENCRYPTION, there is just "Encrypted phone", but nothing related to the SD card. The SD is NOT ...
Kamafeather's user avatar
2 votes
3 answers
2k 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 ...
humanityANDpeace's user avatar
1 vote
1 answer
2k views

Remove boot password from the command line

I just tried to remove the boot password on a Android Oreo device using the following command: $ vdc cryptfs changepw password original_password "" 200 5478 0 Even though the status indicated ...
Zulakis's user avatar
  • 151
12 votes
1 answer
11k 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?
Berbus's user avatar
  • 123
3 votes
1 answer
515 views

Decrypting manually Android 4.4.2 partitions pulled from phone (SM-G313HN)

Way how I got to this point is that my phone somehow had restarted in my pocket and was asking for password which I entered but upon entering password it restarted so I was basically stuck in bootloop....
healLV's user avatar
  • 41
1 vote
2 answers
133 views

What's the point of encryption with 3x3 in OnePlus 5 if it has 409104 combinations meaning it can be cracked under a second with any modern processor? [closed]

I am not sure what I am missing, but decryption the sdcard should be as easy as opening it if it it that few possible combinations. So what's the point of it? To clarify I mean booting into recovery ...
LyingOnTheSky's user avatar
1 vote
0 answers
259 views

Android 5.1 full phone encryption stuck 12+ hours in

Similar thread to this one. None of the answers were helpful. It's an unrooted Android 5.1. The device has been factory reset. Once I begin the encryption process, screen is stuck with displaying ...
vucalur's user avatar
  • 115
2 votes
1 answer
266 views

On devices with encryption enabled, can any apps start before the PIN is entered?

On devices with encryption enabled that require you to enter a PIN before the device finishes booting, can any apps (including built-in ones like chrome or gmail) start before the PIN is entered?
Nate D's user avatar
  • 95
1 vote
1 answer
279 views

A way to enable data encryption by default (device to be encrypted on first boot)

I did some research on data security that Android has in it's implementation FDE and FBE. I have a clear picture on how both work, but I need something a little different. What is the best way to ...
Shakal187's user avatar
1 vote
1 answer
3k views

Do android phones have hardware chips for encryption? If it's software only, then what is the performance/battery impact?

Do android phones have hardware support for the OOTB full phone encryption or is it entirely done in software? If there are phones which have hardware support for encryption then where could I find a ...
ccpizza's user avatar
  • 515
0 votes
2 answers
3k views

How do I encrypt a new SD card?

I'm on Android Nougat with an encrypted phone. I added a new SD card but cannot find an option to encrypt it too. How do I go about encrypting the new SD card?
KalenGi's user avatar
  • 289
1 vote
1 answer
1k views

LineageOS encryption not working dispite being told it is

I used to use cyanogenmod 13 on my nexus 5, i had the encryption enabled and it would ask me for my passcode at boot and i could not access any data from anything until i did this. I've now updated ...
user3407675's user avatar
4 votes
1 answer
3k views

How can I allow a second user account to unlock my device after a reboot?

I recently damaged the screen on my phone and am sending it in for repair. The repair shop I am using wants to be able to access certain features of the device, like the camera, Wi-Fi, etc, in order ...
Ajedi32's user avatar
  • 233
2 votes
0 answers
594 views

How to decrpyt & extract data from encrypted removable SD card from another device?

My Xperia z5 died for an unknown reason and I had to send it for repair. I had an SD card inside for my pictures and kept it home. After a longer time, Sony sent me a new phone. Happy, I put back my ...
Thomas's user avatar
  • 21
0 votes
1 answer
249 views

Encryption state after changing PIN

I enabled device encryption but android didn't gave me the chance to choose a new password instead it used the lock screen's. I came back to screen lock settings and changed the password and ...
bshakib's user avatar