2021-03-25 21:57:15 +00:00
|
|
|
# settings
|
|
|
|
|
|
|
|
> Get information about the Android OS.
|
2021-03-31 11:48:28 +01:00
|
|
|
> More information: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
2021-03-25 21:57:15 +00:00
|
|
|
|
|
|
|
- Display a list of settings in the `global` namespace:
|
|
|
|
|
|
|
|
`settings list {{global}}`
|
|
|
|
|
|
|
|
- Get the value of a specific setting:
|
|
|
|
|
|
|
|
`settings get {{global}} {{airplane_mode_on}}`
|
|
|
|
|
|
|
|
- Set the value of a setting:
|
|
|
|
|
|
|
|
`settings put {{system}} {{screen_brightness}} {{42}}`
|
|
|
|
|
|
|
|
- Delete a specific setting:
|
|
|
|
|
|
|
|
`settings delete {{secure}} {{screensaver_enabled}}`
|