Force Dark Mode at Boot

foobar66

Magisk KernelSU APatch
Apr 26, 2025
Updated

Module Info

  • Source Code View Repository
  • Tags
    #Force Dark Mode #Override Force Dark #Android 10 #Magisk Module #Dark Theme #HWUI

About this module

Force Dark Mode at Boot reapplies Android's debug.hwui.force_dark=true property after startup so compatible light-themed applications can be rendered with forced dark colors.

Persistent Override Force-Dark

Automates the Android developer option that can reset after a reboot on some devices.

Boot Persistence

Runs the property change during startup instead of requiring the developer-option toggle after each reboot.

App Dependent

Only views and applications that permit Android's force-dark rendering can be transformed.

Not Chrome-Specific

The property is system-wide. It is separate from Chrome's own “Force Dark Mode for Web Contents” flag.

Rendering Limitations

Force-dark is an Android HWUI rendering feature, not a hand-designed theme. Applications can opt out, native dark themes may take precedence, and automatic color transformation can produce low-contrast text, incorrect icons, or unreadable controls.

Installation

  1. First test Override force-dark in Android Developer options to determine whether the desired applications respond correctly.
  2. Download the module ZIP using the page controls and install it from Magisk.
  3. Reboot, enable the system dark theme, and inspect important applications for contrast problems.
  4. If an app becomes unreadable, disable or remove the module and reboot.