DuckDevicePolicy

Verified safeExclusive
—
No reviews reviews
5
downloads
8.0
android

AI summary

LSPosed/Xposed module that makes apps see no device-policy restrictions on your own device. Hooks client-side DevicePolicyManager and UserManager checks with per-category toggles including camera block, screenshot block, password policy, user restrictions, and an Outlook enrollment gate. Version 4.

Generated by AI. May contain inaccuracies.

About this app

An LSPosed / Xposed module that makes apps see no device-policy restrictions on your own device. It hooks the client-side DevicePolicyManager and UserManager restriction checks and returns the "no restriction" answer — per category, behind a master toggle.

Features

- Master toggle + per-category switches, with All / None quick actions. - 13 categories: - Camera block — report the camera as not disabled - Screenshot / screen-record block — allow screen capture - Device admin & owner checks — look unmanaged (no admin / owner / managed profile) - Password & PIN policy — drop length, complexity, expiry and wipe rules - Lock-screen feature limits — re-enable camera, notifications, etc. on keyguard - Storage-encryption enforcement — report encryption as not required - Managed app configuration — return empty app-restriction bundles - User restrictions (DISALLOW_*) — clear them, incl. UserManager.hasUserRestriction - Auto-lock timeout — remove the forced maximum time-to-lock - Kiosk / lock-task mode — report lock-task as permitted / unrestricted - Allowed IMEs & accessibility — remove input-method / accessibility allow-lists - Misc — auto-time, cross-profile, Bluetooth and other smaller restrictions - Outlook enrollment gate (new in 3.1) — hooks Outlook's own private DevicePolicy class (requiresDeviceManagement / isPolicyApplied) so it skips the "your organization requires device management" enrollment screen. Different layer than the rows above (Outlook's own gate, not the framework or Intune MAM SDK); only installs when scoped into com.microsoft.office.outlook. - Material You dynamic colours (Android 12+) and an adaptive icon. - Small: R8 + resource shrinking, ~1.8 MB.

Install & scope

1. Install and enable DuckPolicy in LSPosed. 2. Set the module scope: - System Framework (android) for the broadest, system-wide effect — the recommended default for work-profile / user-restriction cases. - or specific target app(s) whose policy view you want to change. 3. Reboot (or force-stop the scoped processes) to apply.

⚠️ Important

Do not scope the MDM app itself (e.g. Microsoft Intune / Company Portal) or Microsoft Authenticator — hooking those can expose Xposed/root to detection. Outlook is different and included in the default scope: it has no meaningful Xposed/root detection, only its own enrollment-gate check, which the Outlook enrollment gate category neutralises. It does not touch Intune MAM app-protection restrictions (screenshot block, copy/paste, PIN) inside Outlook — those are enforced independently and need a separate hook.

Settings are shared cross-process via XSharedPreferences, so enable the module and reboot once before relying on the toggles — a freshly-installed, not-yet-hooked app can't read them until then.

To see which restrictions are actually applied on your device: adb shell dumpsys device_policy (look under userRestrictions:).

How it works (and its limits)

The hooks patch the client-side DevicePolicyManager / UserManager wrappers inside each scoped process, changing what an app (or the framework) sees when it queries policy. They do not rewrite what system_server actually enforces underneath. Intended for your own device.

What's new

v4.9Oct 1, 2026

Fixed the device-wide categories doing nothing. They only worked if you ticked the framework entry that actually reaches system_server, and managers disagree about whether that is android, system or system_server. The module only recommended android, so on some managers the app install/uninstall and developer-options categories silently did nothing. - All three framework entries are now recommended. Tick every framework entry your manager offers. - The Status tab no longer tells you you are covered when you are not. - Hides the device owner check that Google Photos reads before refusing Locked Folder. - The module now logs what it hooked, plus the first time each category fires.

About this version

Version
4.9 (14)
Size
1.66 MB
Requires Android
8.0
Target SDK
26
Architecture
universal
Downloads
5
Updated
Oct 1, 2026
Package
com.strawing.duckdevicepolicy

Similar apps

Ratings & reviews

—
0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app