Skip to content

olef device

CLI v3.0.2View Markdown

Generated from Olef 3.0.2. All commands · Capabilities and requirements

These entries describe available commands, not a sequence to run. Check prerequisites before changing app, device, or cloud state. Global options are listed in the command catalog.

Device & system controls (info, shell, power, orientation, clipboard, …)

Terminal window
olef device --help

Output: json.

Detailed device info (model, fingerprint, locale, density)

Terminal window
olef device info --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Run a shell command on the device

Terminal window
olef device shell --help

Output: json.

Argument Description
<cmd> Required.
--timeout-ms <TIMEOUT_MS> Kill the command and fail if it runs longer than this (milliseconds) Default: 30000.
--json Accepted for compatibility; output is always JSON.

Wake the screen / turn the display on

Terminal window
olef device wake --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Put the display to sleep

Terminal window
olef device sleep --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Wake and dismiss the keyguard

Terminal window
olef device unlock --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Get (no value) or set the screen orientation

Terminal window
olef device orientation --help

Output: json.

Argument Description
<value>
--json Accepted for compatibility; output is always JSON.

Get (no value) or set the clipboard

Terminal window
olef device clipboard --help

Output: json.

Argument Description
<value>
--json Accepted for compatibility; output is always JSON.

Open the notification shade

Terminal window
olef device notifications --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Open quick settings

Terminal window
olef device quick-settings --help

Output: json.

Argument Description
--json Accepted for compatibility; output is always JSON.

Open a URL via an ACTION_VIEW intent

Terminal window
olef device open-url --help

Output: json.

Argument Description
<url> Required.
--json Accepted for compatibility; output is always JSON.