adb_settings_put
Write values to Android system, secure, or global settings using ADB.
Instructions
Write an Android settings value to any namespace (system, secure, global)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | Settings namespace | |
| key | Yes | Setting key (e.g., 'screen_brightness' for system namespace, 'wifi_on' or 'airplane_mode_on' for global, 'location_providers_allowed' for secure). Use `adb_shell` with `settings list <namespace>` to enumerate available keys for a device. | |
| value | Yes | Value to write. Type depends on the key — typically a string, integer, or 0/1 for booleans. The setting framework accepts everything as a string and parses on read. | |
| device | No | Device serial |