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

Xposed-Disable-FLAG_SECURE
Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.
Downloads
Module Repository Listings:
Xposed Repository
LSPosed Repository
Requirements:
- Android 8.0+ (Oreo/SDK 26)
- Xposed implementation installed properly like LSPosed
- Untested but may work on Rootless Xposed implementations like LSPatch
Usage:
- LSPosed:
System Framework
- Select the target app in which you want to enable screenshots
- Reboot
- EdXposed:
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
Note:
- This app does not prevent apps from detecting that you've taken a screenshot or recorded it like Snap or Instagram.
- Xposed Implementations Tested on:
- This module may work on other apps too with or
liboemcrypto.so disabler.
(Read Additional Instructions)
- You can contribute names of apps that are working and are not listed here, so I can add it to the list.
- If you face any issue or have a suggestion then feel free to open an issue.
- This app is a fork of the existing apps but with better compatibility:
- Apps Tested on:
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 and a reduced Widevine security level. Read more