People who code: we want your input. Take the Survey

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
2
votes
0answers
35 views

Why isn't the unlock pattern working anymore?

A few days ago my unlock pattern was not recognized anymore. I'm guessing the cause is memory corruption or some bug. I haven't restarted the device yet, hoping to "find" the new pattern or ...
0
votes
0answers
29 views

Backup and restore file-based encryption keys

Android File-Based Encryption is implemented via fscrypt. How do you backup and restore fscrypt encryption keys? Both the master keys and the per-file keys would need to be backed up.
1
vote
0answers
42 views

If a phone is encrypted (Android 5.1) but user doesn't use a screen lock, and then does factory reset, is data secure?

If I have a phone running Android 5.1 and it is encrypted, but I don't use a lock/PIN for unlocking and using the phone, does that mean if if I do a factory reset, the data on the phone can still be ...
1
vote
0answers
33 views

How to resolve an encryption issue?

I used a lockscreen to encrypt my phone and accidentally messed up the system and TWRP. I've since formatted it and am using it normally, albeit without root this time lol. But, just in case, I made a ...
2
votes
0answers
21 views

Terrible SD card performance after enabling encryption

Device: Samsung Tab A7 2020 - purchased less than 1 week ago OS: Android 11, April 2021 patch Files used to test: three zip files totalling 613 MB Micro SD cards which have been tested: Unbranded 256 ...
0
votes
1answer
23 views

What method does Monospace use for encryption?

This application has the ability to encrypt. What method does Monospace use for encryption?
0
votes
0answers
37 views

Opening .sa files from old android(broken) to newer android

I have some *.sa files on my devices. These files which were saved by me are either images or PDF. But these files do not open with a photo viewer or PDF reader. So how to open and read files these ...
1
vote
0answers
26 views

Android SD card encryption

I was looking at some encryption standards and was wondering, what kind of encryption algorithm does Android's SD card encryption use? Is it AES 128 or a different algorithm?
2
votes
0answers
143 views

How to decrypt /sdcard | Keymaster HAL 4 | Unexpected value for crypto key location

-Update: Looked into TWRP log, and it seems like it has key problems: I:Setting up '/data' as data/media emulated storage. I:mount -o bind '/data/media' '/sdcard' process ended with RC=0 I:mount -o ...
1
vote
1answer
55 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 ...
1
vote
0answers
56 views

Does android keystore and “Clear data” of the “Settings” app are related?

I am working on a system app where i am storing some sensitive data in EncryptedSharedPreference. I realise that my app is not working as expected if I do clear data of android Settings app. That is ...
0
votes
0answers
85 views

XLOGGER on Xiaomi?

Installed simply file explorer on my pocket telecreener. Xiaomi MI 8 Pro, right now it running on unrooted MIUI 12.04 It happens that I have found a .log file, (completly by accident) with a hundreds ...
1
vote
0answers
82 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 ...
3
votes
0answers
38 views

How can I dump the fscrypt per-file nonce by getfattr command?

According to document of kernel about fscrypt: Filesystem-level encryption (fscrypt): Per-file encryption keys Since each master key can protect many files, it is necessary to “tweak” the encryption ...
2
votes
0answers
67 views

I recovered some encrypted pictures, but I can't decrypt them

My girlfriend lost all the pictures from our holidays. She has a Samsung Galaxy A70. She had an external encrypted SD card on it. I managed to recover the lost pictures, but they are encrypted. Do you ...
1
vote
0answers
354 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 ...
0
votes
0answers
47 views

Samsung Galaxy Note 10+ 5G - cellebrite mobile forensics data extractions - locked with pattern

I've got a locked Samsung Galaxy Note 10+ 5G (running the latest android 10 and patches) The phone is locked with a pattern (unknown) What are my chances of any data extraction with cellebrite or ...
0
votes
0answers
79 views

Copy private key from OpenKeyChain to tails GPG?

I have a private PGP key on OpenKeyChain that I'd like to move to tails. There only seems to be one way to export from OpenKeyChain - choose to make the encrypted backup file? But I can't get the ...
1
vote
1answer
73 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 ...
1
vote
1answer
341 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/...
2
votes
1answer
319 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 ...
2
votes
0answers
18 views

My SD card got damaged [duplicate]

iam unable to format it not use it. i need an app that will help me recover my data please anyone can share light to this. Thanks in anticipation
1
vote
0answers
76 views

What can be done with a phone that has an encrypted bootloader

I am trying to get a rooted android phone set up for reverse engineering purposes. I tried to root two separate phones (SM-G925A and a Google Pixel 2) but they both turned out to have locked (meaning, ...
1
vote
0answers
78 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 ...
1
vote
0answers
65 views

FBE encryption bootloader state in keys

I want to unlock bootloader on Android 8.0 FBE encrypted with PIN I don't wanna lose my data, therefore i made backup of userdata partition before According to CCC the bootloader state is part of ...
1
vote
0answers
87 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 ...
2
votes
0answers
93 views

Forgot encryption password, too many wrong password attempts = wipe: Can I image my phone to “get more password tries” by restoring an image? [duplicate]

Forgot my Android encryption password, only have 10 tries left before data wipe, how can I backup my phone to get 10 more tries if I don't manage to find the password within 10 tries? For context: ...
1
vote
1answer
88 views

Why I don't need to provide boot-time PIN anymore?

tl;dr: I have my Motorola Moto Z2 Play / A8.0 encrypted and I was forced to provide PIN during very early boot phase of my phone. Since about 1-2 weeks ago -- when my phone had a one-time accident of ...
3
votes
1answer
1k views

TWRP not asking me to enter password to decrypt

I need to restore from a backup. However TWRP stopped asking me for the password to decrypt. In the terminal emulator I tried twrp decrypt 1234 but got the error "Failed to decrypt data". ...
2
votes
0answers
228 views

Encryption: can't decrypt data after rom downgrade

I downgraded an Android 10 custom rom while I had encryption enabled (rom). Basically I dirty flashed a previous minor version of the rom via TWRP (with just a simple "wipe cache/dalvik"). ...
1
vote
0answers
86 views

Restoring the /data partition on Android 11 yields an unlockable phone

I have a Xiaomi A2 which went into a bootloop due to a buggy Android 11 OTA update. It's a bug in the update, and a lot of people are affected. My phone really had a rather vanilla setup (original ...
1
vote
0answers
37 views

How much security does Android encryption provide for turned on devices?

In case my device is stolen it probably will be turned on. How secure are my data when this happens with Android 10 and file based encryption (https://source.android.com/security/encryption/file-based?...
1
vote
0answers
60 views

Android 8 encrypt phone vs SD card

I have Android 8.1 on my phone. It states under Settings->Security->Encryption&cred = Phone Encrypted. I am using microSD on my phone. This microSD is not encrypted as I am able to remove it ...
0
votes
0answers
327 views

How to sniff android app connected URLs

I want to intercept a traffic and found out some streaming URLs from an android app. When I tried to use Packet Capture, the app says "please turn off VPN connection" once started. So I can'...
0
votes
1answer
179 views

Break SQLcipher by modifying libsqlcipher.so?

I was trying to extract data from an Android app which uses SQLcipher. SQLcipher is an extension of SQLite that encrypts database files with 256-bit AES. Most of the application code is compressed and ...
2
votes
2answers
154 views

How to decrypt a phone in bootloop mode

I have an encrypted android running LineageOS 15. When it said that there was an OTA update, I choose to download and install this new update. In the first moment it seemed to be alright but when the ...
1
vote
1answer
22 views

Will any new apps or data installed or added to android phone after encryption also be encrypted?

if an android phone is encrypted, will any new apps or data installed or added to phone after encryption also be encrypted?
2
votes
0answers
555 views

Is it possible to have a custom ROM with a locked bootloader?

I just mention in-advance to please correct me if I'm mistaken on anything, I've a limited tech proficiency. I've a Samsung S9 (Android 10) and I wish to install an AOSP ROM (also on Android 10), but ...
0
votes
0answers
124 views

How to get data off an encrypted android phone with a broken screen

I have a Samsung A5(2017) phone that is encrypted requiring a pattern at boot time. I have dropped the phone and the screen is cracked and dead. Any thoughts how I can get the data off the phone? The ...
1
vote
0answers
152 views

Encrypt Tablet function in Android x86. Android 6 in Oracle Virtual Box

I am currently running Android x86 version 6 in Oracle Virtual Box. My intention is to run some software my company creates and to test it without the need for a physical tablet. The software i ...
0
votes
0answers
160 views

Is it possible to have manageable encryption when using TWRP/unlocked bootloader and modified ROM?

Every single piece of information I've come across warns me about issues with sane encryption when using custom recovery, unlocked bootloader and non-stock ROM (as in modified, not community AOSP ...
0
votes
0answers
85 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 ...
1
vote
0answers
64 views

How to unencrypt my data on a Lenovo Tab M8 FHD TB-8705F device

I'm trying to unencrypt my data on my device. My device is rooted with Magisk Manager. This is what I have already tried. Uticked the box Preserve forced encryption in Magisk Manager. Patched the ...
0
votes
0answers
46 views

Android Encrypt with ADB install? TWRP CarbonROM

I have the following problem: I have CarbonROM 8.0 and the default /data full encryption does not work. Now I want to set it up with the ADB {Android-Bridge}... à la: adb shell recovery --...
0
votes
1answer
171 views

Can't decrypt adopted storage [closed]

Last night, I messed up my LineageOS 16 install on my Galaxy S5 and had to reinstall it, starting essentially from scratch. I wanted to see if there was any way I could decrypt the 128 GB microSD card ...
1
vote
0answers
114 views

How does Android's FBE store each key used to encrypt each corresponding file?

I am very new to Android's FBE and still learning the basics. From what I could understand, the way FBE works is that for each file to be stored on the disk, the kernel requests for a key from some ...
0
votes
0answers
33 views

is decrypting of SD card formatted as internal storage possible, if there was an update inbetween (android 9-->10)?

regarding this guide: How to decrypt the corrupt SD card formatted as internal storage? could this work in any way, if additionally i did an android update (android one 9 --> 10) inbetween?:
1
vote
1answer
111 views

What does an Android-encrypted SD card do/look like on PC

Long story short - my Galaxy Active S8 apparently got wet inside, and stopped working (although I think I can revive). I've let the Samsung microSD card for almost 24 hours, and as it's simply a card ...
0
votes
0answers
96 views

Is it possible to decrypt an encrypted SD card without rooting the Android phone? (How to get the .key file of /data/misc/vold?) [duplicate]

I'd like to encrypt my SD card for Android conveniently, safely and in a cross-platform way so that it can also be used on other devices. I asked about that here. As of right now there doesn't seem ...
1
vote
1answer
170 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 ...

1
2 3 4 5
11