Display & UI Android 10.0+ (API 29+) Risk: SAFE

Toggle Dark Mode / Light Mode Theme

Switches system UI theme between Dark mode (yes) and Light mode (no).

Command Syntax

adb shell cmd uimode night
Generic Syntax: cmd uimode night <yes|no|auto>

Options & Parameters

Flag Description
yes Enable Dark mode.
no Disable Dark mode (Light theme).
auto Auto switch based on sunset/sunrise.

Real-World Usage Examples

Enable system dark theme
Switches Android system UI to Dark theme.
adb shell cmd uimode night yes
Enable system light theme
Switches Android system UI to Light theme.
adb shell cmd uimode night no