HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

settings — Get information about the Android OS. More information: <https://web.archive.org/web/20240525010124/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcliinformationsettingsaboutandroidget
mobile

Problem

How to use the settings command: Get information about the Android OS. More information: <https://web.archive.org/web/20240525010124/https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.

Solution

settings — Get information about the Android OS. More information: <https://web.archive.org/web/20240525010124/https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.

List the settings in the global namespace:
settings list {{global}}


Get a value of a specific setting:
settings get {{global}} {{airplane_mode_on}}


Set a specific value of a setting:
settings put {{system}} {{screen_brightness}} {{42}}


Delete a specific setting:
settings delete {{secure}} {{screensaver_enabled}}

Code Snippets

List the settings in the `global` namespace

settings list {{global}}

Get a value of a specific setting

settings get {{global}} {{airplane_mode_on}}

Set a specific value of a setting

settings put {{system}} {{screen_brightness}} {{42}}

Delete a specific setting

settings delete {{secure}} {{screensaver_enabled}}

Context

tldr-pages: android/settings

Revisions (0)

No revisions yet.