System Settings
Android 4.2+
Risk: MODIFIES_DEVICE
Modify Secure Setting
Modifies secure Android system parameters.
Command Syntax
adb shell settings put secure
Generic Syntax:
settings put secure <KEY> <VALUE>
Options & Parameters
| Flag | Description |
|---|---|
| <KEY> <VAL> | Key and target value. |
Real-World Usage Examples
Enable high accuracy location mode
Enables GPS and network location.
adb shell settings put secure location_mode 3