AI summary
LSPosed/Xposed module that makes apps see no device-policy restrictions on your own device. Hooks client-side policy checks with per-category toggles including camera, screenshots, password rules, user restrictions, and an Outlook enrollment-gate bypass. Requires LSPosed 2.x and Android 8.0+; settings now apply live without reboot.
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
- Migrated to the modern Xposed API — requires LSPosed 2.x (minApi 101+). Mainline LSPosed 1.9.x will not load this version. - Settings now apply live without reboot. - Outlook hooks now target only the Outlook process. - Your enabled scope is preserved; other settings reset to defaults.
- Note: This version requires Android 8.0 or newer.
About this version
- Version
- 4.0 (5)
- Size
- 1.57 MB
- Requires Android
- 8.0
- Target SDK
- 26
- Architecture
- universal
- Downloads
- 16
- Updated
- Sep 6, 2026
- Package
- com.strawing.duckdevicepolicy
Similar apps
Ratings & reviews
- 50
- 40
- 30
- 20
- 10