Tag

dm-verity

0 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 19, 2024 · Mobile Development

Device-Mapper, Vold, and Encryption Mechanisms in Android System Partitions

The article explains Android’s device‑mapper framework—including dm‑linear, dm‑verity, and default‑key metadata encryption—how vold orchestrates partition mounting and key initialization, and how to inspect dm devices with dmctl commands while managing encryption keys stored in /data/misc/vold/user_keys.

Android system partitionsVolddefault-key
0 likes · 19 min read
Device-Mapper, Vold, and Encryption Mechanisms in Android System Partitions
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 10, 2021 · Information Security

Understanding dm-verity: Design Principles, Application Layer, and Kernel Implementation

dm‑verity is a Linux device‑mapper target that protects a data partition’s integrity by using a compile‑time hash‑tree stored on a separate hash device, with Android employing it for verified boot; user‑space creates the dm device, loads the verity table, activates it, while the kernel’s dev_create, table_load, and suspend handlers set up mapped_device structures and enforce per‑block hash verification during I/O.

AndroidLinux kerneldevice-mapper
0 likes · 15 min read
Understanding dm-verity: Design Principles, Application Layer, and Kernel Implementation