Device Information
Android 1.0+
Risk: MODIFIES_DEVICE
Set Android System Property
Modifies a dynamic runtime system property (requires appropriate permissions or root for protected keys).
Command Syntax
adb shell setprop
Generic Syntax:
setprop <property_name> <value>
Options & Parameters
| Flag | Description |
|---|---|
| <key> <val> | Key and value pair to set. |
Real-World Usage Examples
Enable debug layout boundaries visually
Turns on developer layout bounds view on screen.
adb shell setprop debug.layout true && adb shell service call activity 1599295570
Set log tag level to verbose
Enables verbose log level for tag.
adb shell setprop log.tag.MyTag VERBOSE