ShizuStore

ZFold Multi DPI

balamurugan15

0.1.1 · GitHub

Download APK
Vendor-specific Android 8.0+ 1 month ago Proprietary
26 ShizuStore
212 GitHub
6 Stars
661 KB Size

More about this app

Applies separate screen zoom and DPI presets for the cover and inner displays of Samsung Galaxy Z Fold devices

ZFold Multi DPI

An Android utility for Samsung Galaxy Z Fold devices that applies separate Screen Zoom / DPI presets for the cover and inner displays.

ZFold Multi DPI app screen

What it does

  • Stores a DPI preset for each stable fold posture.
  • Detects the hinge state locally.
  • Applies the selected DPI through WindowManager after a one-time Shizuku-assisted secure-settings grant.
  • Runs automatic switching as a visible foreground service and can restore it after reboot when enabled.

Setup

Install the latest APK from Releases.

One time

Install Shizuku (thedjchi).

  1. Enable Wireless debugging in Android Developer options.
  2. Open Shizuku.
    1. Start Shizuku via Wireless debugging.
    2. Open Authorized Applications and enable ZFold Multi DPI.
  3. Open ZFold Multi DPI.
    1. Set DPI values for the inner and outer screens.
    2. Tap Grant secure-settings access. This is needed only once.
    3. Tap Apply Preset Settings.
  4. Tap Start automatic DPI switching.

Shizuku is only required for the initial permission grant. Automatic switching uses the retained WRITE_SECURE_SETTINGS permission afterward.

Notes

  • The monitor uses a foreground-service notification while enabled, as required by Android.
  • Set battery usage to Unrestricted for best reliability on Samsung devices.
  • Density changes can make the UI difficult to use; begin with values close to Samsung's defaults.
Close

How Shizuku is used

Can apply separate cover and inner display densities and auto switch on folding via `pm grant` through Shizuku.

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used once to unlock system display control, which the app then uses for manual and automatic Fold screen zoom.

  • Apply separate display densities: save different DPI values for the cover and inner screens and apply the one matching the current fold state with the same system operation used by the wm density command, enabled by the Shizuku grant.
  • Auto switch density on fold: keep automatic switching running to watch the hinge posture and apply the saved cover DPI when folded or the inner DPI when unfolded after a short stable pause.

Android APIs or commands used

  • pm grant
  • android.view.IWindowManager.setForcedDisplayDensityForUser

Notable details

Shizuku is only needed for the one time secure settings grant, which is restricted to the app itself. After that, manual applies and automatic fold switching use a direct system call and continue without Shizuku.

Close

Changelog

What's new for version 0.1.1

UI refinements and automation-control updates.\n\n- Grant progress appears below the Shizuku setup button\n- Simplified automatic DPI switching controls\n- Clarified that saved presets need applying for an immediate effect

Close

Permissions

7 permissions requested

  • android.permission.WRITE_SECURE_SETTINGS
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • android.permission.POST_NOTIFICATIONS
  • android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
  • android.permission.RECEIVE_BOOT_COMPLETED
  • moe.shizuku.manager.permission.API_V23
Close