Skip to content

Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.

License

Notifications You must be signed in to change notification settings

VarunS2002/Xposed-Disable-FLAG_SECURE

Repository files navigation

icon_square

Xposed-Disable-FLAG_SECURE

Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.

APK: v2.0.0 Download-Count License: GPL v3

Module Repository Listings:

Requirements:

  • Android 8.0+ (Oreo/SDK 26)

  • Xposed implementation installed properly like EdXposed and LSPosed

  • Untested but may work on Rootless Xposed implementations like Tai Chi

Usage:

  • EdXposed:
    • Normal Mode:
      • Enable the module and reboot
    • White List / Activation Scope Mode:
      • Enable the module
      • Select Android System
      • Select the target app in which you want to enable screenshots
      • Reboot
    • Black List Mode:
      • Enable the module
      • Do not select Android System
      • Do not select the target app in which you want to enable screenshots
      • Reboot
  • LSPosed:
    • Enable the module
    • Select System Framework
    • Select the target app in which you want to enable screenshots
    • Reboot

Note:

Additional Information on DRM encrypted content

This is applicable only for some apps on some devices. If you aren't facing any issues, you can ignore these instructions.

When playing DRM encrypted content, most devices will use hardware decryption capabilities. This hardware decryption will push the video directly onto the screen, bypassing any screenshots/screenshare/recording functionality.

One possible solution is to disable this hardware decryption by installing the Magisk module liboemcrypto.so disabler. This will force the device to not use hardware decryption and in combination with this module will enable screenshots, screen sharing and recording.

Installing this module might have unintended consequences, such as lowered video quality. Read more