# System Properties

This interface is used to read or modify system properties, similar to the `getprop` and `setprop` commands. You might ask: why use this interface instead of the commands? What makes it unique?  
Indeed, but you need to know that this interface can also directly write Android properties starting with `ro.`, which the system’s built-in commands cannot do.

## Getting a Property

Get the value of `ro.secure`. Of course, not just this property – all system properties can be read with this interface.

```python
d.getprop("ro.secure")
```

## Setting a Property

Set the value of `ro.secure` to `0`. You can set any property through this interface, including `ro.` read-only properties.

```python
d.setprop("ro.secure", "0")
```