https://github.com/varuns2002/xposed-disable-flag_secure
Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.
https://github.com/varuns2002/xposed-disable-flag_secure
amazon-prime-video android black-screen-recording couldnt-save-screenshot disable-flag-secure disneyplus enable-screenrecording enabling enabling-screenshots incognito-mode lsposed netflix telegram-secret-chat xposed
Last synced: 5 months ago
JSON representation
Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.
- Host: GitHub
- URL: https://github.com/varuns2002/xposed-disable-flag_secure
- Owner: VarunS2002
- License: gpl-3.0
- Created: 2021-03-20T17:16:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T12:59:16.000Z (7 months ago)
- Last Synced: 2025-05-15T22:04:40.680Z (5 months ago)
- Topics: amazon-prime-video, android, black-screen-recording, couldnt-save-screenshot, disable-flag-secure, disneyplus, enable-screenrecording, enabling, enabling-screenshots, incognito-mode, lsposed, netflix, telegram-secret-chat, xposed
- Language: Kotlin
- Homepage:
- Size: 216 KB
- Stars: 549
- Watchers: 9
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE/releases/)
> [](https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE/releases/download/2.0.0/Xposed-Disable-FLAG_SECURE_2.0.0.apk)

[](https://www.gnu.org/licenses/gpl-3.0)## Module Repository Listings:
### [Xposed Repository](https://repo.xposed.info/module/com.varuns2002.disable_flag_secure)
### [LSPosed Repository](https://github.com/Xposed-Modules-Repo/com.varuns2002.disable_flag_secure)
## Requirements:
- Android 8.0+ (Oreo/SDK 26)
- Xposed implementation installed properly like [LSPosed](https://github.com/LSPosed/LSPosed/)
and [EdXposed](https://github.com/ElderDrivers/EdXposed/)- Untested but may work on Rootless Xposed implementations like [LSPatch](https://github.com/LSPosed/LSPatch)
and [Tai Chi](https://github.com/taichi-framework/TaiChi/)## Usage:
- LSPosed:
- Enable the module
- Select `System Framework`
- Select the target app in which you want to enable screenshots
- Reboot
- 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## Note:
- This app does not prevent apps from detecting that you've taken a screenshot or recorded it like Snap or Instagram.
This only enables it in apps that prohibit screenshots and recording. So don't screenshot your girlfriend's nudes.
(You probably don't have one since you're reading this anyway)- Xposed Implementations Tested on:
- [LSPosed](https://github.com/LSPosed/LSPosed/)
- [EdXposed](https://github.com/ElderDrivers/EdXposed/)- This module may work on other apps too with or
without [`liboemcrypto.so disabler`](https://github.com/Magisk-Modules-Repo/liboemcryptodisabler).
([Read Additional Instructions](#additional-information-on-drm-encrypted-content))- 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:
- https://github.com/veeti/DisableFlagSecure/
- https://github.com/LSPosed/DisableFlagSecure/
- https://gitlab.com/azhao12345/disableflagsecure/- Apps Tested on:
- Amazon Prime Video
- Netflix ([Read Additional Instructions](#additional-information-on-drm-encrypted-content))
- Disney+ ([Read Additional Instructions](#additional-information-on-drm-encrypted-content))
- Telegram (Secret Chat & Disappearing Media)
- Reddit (Anonymous Browsing Mode)
- Google Chrome (Incognito Mode)
- Brave Browser (Incognito Mode)
- WhatsApp (View Once Media & Profile Picture)
- Firefox (Incognito Mode)
- Toffee OTT
- Booking.com### 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`](https://github.com/Magisk-Modules-Repo/liboemcryptodisabler). 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](https://forum.xda-developers.com/t/magisk-module-liboemcrypto-disabler-for-drm-protected-content-netflix-my5-etc.3794393)## Featured on:
- [Best Android Mods for Non-Rooted Phones! (video)](https://youtu.be/80cRqjuNF-8)
- [15 SECRET Apps You CAN'T FIND on the Google Playstore! (video)](https://youtu.be/xthkvsnNb-8)
- [20 POWERFUL Apps for System Level Customization! (video)](https://youtu.be/9-snHD8FEqU)