app_data_archive
Back up or restore an Android app's CE/DE private data as a tar archive with a SHA256 manifest; restore validates paths, saves pre-restore data, and reapplies UID/SELinux.
Instructions
Backup/restore one app's CE or DE private data as tar+SHA256 manifest. Stops app. Restore validates member paths/manifest, keeps pre-restore data backup, restores UID/SELinux; replaces data, leaves app stopped. Keystore/TEE/external storage excluded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"package": "<package>",
"local_path": "<local_path>"
},
"name": "app_data_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| package | Yes | ||
| storage | No | ce | |
| user_id | No | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||