adb_file_checksum
Compute SHA-256 hash of any file on an Android device to verify integrity, detect tampering, or cross-compare files. Reports file size alongside the hash.
Instructions
Compute SHA-256 hash of a file on the device. Critical for firmware integrity verification, tamper detection, and comparing files across devices. Read-only operation. Reports file size alongside the hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path on device | |
| algorithm | No | Hash algorithm (default: sha256) | sha256 |
| root | No | Use root shell for protected paths | |
| device | No | Device serial |