Skip to content

About

Automatic video wallpaper depth for Samsung One UI — native subject segmentation and glass clock occlusion via LSPosed.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneUIDepthMask

Native video wallpaper depth for Samsung One UI

An LSPosed extension that places wallpaper subjects in front of the native lock screen clock — including glass clock styles — without replacing Samsung's wallpaper engine.

Version Android One UI LSPosed Status

Download APK · Release notes · Installation · Compatibility

Based on BlueOutside / Dressroom Advanced. Unofficial modification.


Conceptual illustration of a clock above a wallpaper compared with a subject placed in front of the clock

Illustration of the rendering concept, not an actual device screenshot.

Overview

OneUIDepthMask extends Dressroom Advanced's still-image depth effect to Samsung's native video lock screen wallpapers. It uses Samsung's existing subject detector to generate timestamp-indexed alpha masks locally, then integrates those masks into the native clock and blur rendering paths.

Choose a video through Samsung Gallery, enable video depth in the lock screen editor, and let the module generate the mask. No external wallpaper application or manual mask installation is required for supported automatic workflows.

Features

Feature Description
Native video depth Subject occlusion for Samsung's existing lock screen clock
Glass clock support Integrates with native blur and clock clipping
Automatic segmentation Uses Samsung Object Capture in a separate worker process
Temporal masks Approximately four sampled masks per second, selected by playback position
Automatic crop Supports the verified centered wallpaper crop geometry
Local caching Reuses generated masks identified by the installed video's SHA-256
Editor controls Enable or disable video depth, retry failed detection, and view generation progress
Offline processing No cloud inference or external model downloads

Compatibility

Component Supported target
Device Samsung Galaxy S23+ (SM-S916B)
Android 17 (API 37)
Interface One UI 9
Firmware S916BXXUAGZIF
Framework LSPosed / libxposed API 102
Display Main display, 1080 × 2340
Wallpaper Native Samsung video lock screen wallpaper

Important

This module currently targets the exact device and firmware listed above. Other Galaxy models, firmware versions, display configurations, live wallpapers and gyro wallpapers are not validated or supported by this build.

Installation

  1. Download OneUIDepthMask v0.4.1 APK from the release page.

  2. Install OneUIDepthMask-v0.4.1-auto.apk.

  3. Enable OneUIDepthMask (Dressroom Advanced) in LSPosed with the recommended scopes:

    • System UI
    • AlwaysOnDisplay
    • Samsung Wallpaper
    • Wallpaper and style
  4. Reboot the device.

  5. Apply a supported video as the lock screen wallpaper using Samsung Gallery.

  6. In the lock screen clock editor, open Advanced → Depth and enable Clock behind subject (video).

  7. Save the changes, lock the device and wake the screen to initiate detection.

  8. Once generation completes, lock and wake the screen again if necessary.

The initial analysis can take time depending on the video. Previously generated masks are reused. The editor displays progress for the last applied video, not an uncommitted wallpaper.

Caution

OneUIDepthMask retains Dressroom Advanced's application ID. Official Dressroom Advanced and the early v0.3.1 diagnostic build use different signing certificates and cannot be directly updated with this APK. Back up your settings before migrating. Do not run duplicate hooks. Builds from v0.3.2 onward use the project's persistent development signing key, allowing direct updates between compatible builds.

How it works

flowchart TD
    A["Samsung native video wallpaper"] --> B["Playback bridge"]
    B --> C["Source identity and crop validation"]
    C --> D{"Matching mask pack?"}
    D -- Yes --> G["Timestamp-based mask selection"]
    D -- No --> E["Samsung Object Capture worker"]
    E --> F["Local SHA-256 keyed mask cache"]
    F --> G
    G --> H["Native clock and blur clipping"]
Loading

The wallpaper continues playing through Samsung's native engine. The module samples its playback position, validates the source and crop, and applies a corresponding alpha matte to the clock rendering path. Subject inference runs outside SystemUI.

Project status

Automatic generation and native glass-clock occlusion were demonstrated on the target device in v0.4.0. The v0.4.1 build passes CI checks; its new performance improvements and progress UI still require device testing.

  • Native video playback bridge
  • Manual mask support and source validation
  • Automatic Samsung subject segmentation
  • Native clock and glass occlusion
  • Local mask caching and editor controls
  • Progress UI and sampling optimizations implemented in v0.4.1
  • Animated depth preview before wallpaper application
  • Higher-frequency, temporally coherent subject tracking
  • Further glass refraction refinement
  • Battery, thermal and frame-pacing benchmarks
  • Wider Galaxy and firmware support

Current limits

The automatic generator supports unrotated native videos up to 30 seconds and 64 MiB, with supported centered crop geometry and inference dimensions capped at 720 pixels on the longest edge. Generated packs are limited to 48 MiB, and the worker maintains a bounded cache of up to three packs / 96 MiB.

Masks are sampled, not generated for every video frame. Fast subject motion may therefore cause visible alignment errors. AOD video occlusion and animated preview inside the editor are not supported. The effect fails closed when source identity, geometry, or runtime conditions cannot be verified.

Downloads and development

Resource Link
Latest pre-release v0.4.1 — APK, checksums and source
Verified CI build GitHub Actions — v0.4.1
Changelog CHANGELOG.md
Contributing CONTRIBUTING.md
Build history GitHub Actions
Technical documentation BUILD.md
Upstream source Dressroom Advanced — pinned revision

The release contains the signed APK, SHA-256 checksums, corresponding source archive and upstream license. Unlike short-lived CI artifacts, release downloads remain available until removed by the maintainer. The v0.4.1 release is an experimental pre-release, not a stable or universal build.

For development, this repository applies guarded patches to the pinned upstream revision rather than maintaining an unrelated Android application. CI verifies the mask pack tooling, timestamp selection, crop geometry and frame policy, compiles the patched Android source, and signs the result using the project's configured signing secret.

For troubleshooting, capture the module logs:

su -c 'logcat -d -s OneUIDepthMask:V'

Useful markers include VIDEO_AUTO_GENERATING, VIDEO_AUTO_PROGRESS, VIDEO_AUTO_READY, VIDEO_AUTO_FAILED and VIDEO_DEPTH_APPLIED.

Feedback and support

Please include your device model, Android and firmware versions, module version, reproduction steps and relevant redacted logs. Do not post private media, credentials, full device dumps or identifying information.

Credits and license

  • BlueOutside / Dressroom Advanced — original module, native clock customization and subject detection integration.
  • Vadinyt — OneUIDepthMask project direction and device testing; video-depth modifications developed with ChatGPT assistance.

OneUIDepthMask is an unofficial derivative and is not endorsed by the upstream authors or Samsung.

Distributed under the Dressroom Advanced Source-Available License 1.0. Distribution must remain free of charge and include corresponding source under the same terms. This is source-available software, not an unrestricted open-source license.

Native wallpaper. Native clock. A new layer of depth.

About

Automatic video wallpaper depth for Samsung One UI — native subject segmentation and glass clock occlusion via LSPosed.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages