AI summary
LSPosed/Xposed module that neutralizes device-policy restrictions on your own device. Hooks DevicePolicyManager and UserManager checks per-category — camera blocks, screenshot limits, password rules, work-profile restrictions, Outlook enrollment gates, and more. 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
- Sideloading APKs from normal apps (Telegram, browsers, file managers) is now restored when a work profile or MDM blocks it, and when the developer-options / USB-debugging block applies. - Added two new categories, both on by default. They hook UserManagerService inside system_server rather than only the client-side wrapper.
- Note: Requires System Framework (android) scope for those two categories. Settings and scope carry over from 4.0.
About this version
- Version
- 4.1 (6)
- Size
- 1.58 MB
- Requires Android
- 8.0
- Target SDK
- 26
- Architecture
- universal
- Downloads
- 7
- Updated
- Sep 23, 2026
- Package
- com.strawing.duckdevicepolicy
Similar apps
Ratings & reviews
- 51
- 40
- 30
- 20
- 10
Write a review
Recent reviews
Showing 1 of 1- Николай today