Skip to content

Instantly share code, notes, and snippets.

View DISTREAT's full-sized avatar

DISTREAT

  • Central Europe
View GitHub Profile
@DISTREAT
DISTREAT / FBE_Encryption_Samsung.md
Last active February 29, 2024 19:43
Migrating to FBE on Samsung devices

FBE-Encrypting an Android Device

To contribute to the online documentation of Android, I wish to share what I learned encrypting an Android device using File-based Encryption based on fscrypt.

Note that this process is complicated and requires profound experience. I cannot promise that my observations are reproducible or apply to most devices (however, the provided information should apply to a large quantity of Samsung devices). Moreover, this is not a typical step-by-step guide, so please do not treat it as such. Use your expertise and make your own decisions.

The described methods are incomplete because I lack a complete understanding of the Android encryption system. Nonetheless, I could not get help from XDA members, so here are my ideas. It took me multiple days of work to figure things out, so I wish to spare you some time trying to interpret a black box.

Android phones encrypt your data by default and rarely need manual encrypti