For the phones originally deployed with A11 and higher, FBE by default should be v2@ingbrzy Which encryption type does Android 12 based Xiaomi.eu ROM use? FBEv1 or FBEv2?
Google documentation describing FBE:
File-Based Encryption | Android Open Source Project
source.android.com
With root, open /vendor/etc/fstab.emmc (read-only, textual file) - on your phone it might be fstab.<something-else-than-emmc>
Alternatively, with TWRP copy that file to /sdcard/Download and later from Android open without the need for root
Inside, that file search for /userdata (filesystem definition):
Code:
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+emmc_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs
Actually, inside that line look for fileencryption definition:
Code:
fileencryption=aes-256-xts:aes-256-cts:v2+emmc_optimized+wrappedkey_v0
Eg, flag :v2 as above, describes that you would have FBE v2.
Here it is also emmc_optimized with hardware-wrapped keys
IMO - FBE (all together, filesystem definitions) is not up to Xiaomi.eu, but defined by the baseline Xiaomi firmwares
Attachments
Last edited: