An Xposed / LSPosed compatible module that disables FLAG_SECURE for Android applications, allowing screenshots, screen recording, and mirroring in apps that normally block them.
- Removes
FLAG_SECUREfrom app windows - Allows screenshots & screen recording
- Works with:
- LSPosed
- LSPatch (non-root)
This module hooks into Android window APIs and removes FLAG_SECURE flags at runtime:
Window.setFlags(...)SurfaceView.setSecure(false)WindowManagerGlobal.addView(...)WindowManagerGlobal.updateViewLayout(...)
This ensures apps cannot enforce secure display restrictions.
- Install the APK
- Open LSPosed Manager
- Enable the module
- Select target apps (scope)
- Reboot or force-stop the target app
- Patch the target app using LSPatch
- Enable Disable FLAG_SECURE in module list
- Launch the patched app
⚠️ Some apps may show a black screen if they use DRM or hardware-secure rendering.
- Android 5.0+ (API 21+)
- LSPosed / LSPatch
- Xposed API ≥ 93
- Package:
com.flag.secure - Entry Class:
com.flag.secure.DisableFlagSecure - Type: Xposed module (no launcher UI)
- DRM-based apps may still show black screen
- Some apps actively detect screen capture
- This module cannot bypass hardware-level DRM
This module disables FLAG_SECURE only at the system UI level.
It does not give you permission, rights, or moral superiority.
That’s not “testing” — that’s your responsibility.
The developer does not encourage:
- Privacy invasion
- Harassment
- Misuse of captured content
This module is intended for personal experimentation, debugging, and learning.
Respect people’s privacy.
Use your brain before using the screenshot button.
MIT License