Simple-Flag-Secure

November 17, 2025 Β· View on GitHub

πŸ‘€ Simple Flag Secure Magisk Module to Disable Secure Flag and allow taking screenshots or screen recording in apps that won't allow also hide screenshot detection on A14+, supports KSU/APatch inspired by Disable Flag Secure by MehediHJoy.

Downloads Release Join Build Bytes Join Chat Android Root Magisk KernelSU APatch

❔ Why this module? When there's already Disable Flag Secure by MehediHJoy.

  • 🚫 Screenshot Detection Blocked: Prevents apps from detecting when a screenshot is taken.
  • ⭐ Root Managers Support: Fully compatible with Magisk, KernelSU, APatch and their forks, unlike the outdated original.
  • πŸ’Ύ Lightweight: No bloated binaries or extras, faster and minimal than MehediHJoy's version.
  • πŸ–₯️ Dex-Only Patch: Only modifies required DEX files, avoiding issues like broken power button on Android 14.
  • πŸ’¬ Readable Code: Clean, commented code with fewer lines (<300 vs 2000>), easy to understand.
  • πŸ”„ Fast Restore: Creates backup of services.jar for quicker reflash after removal.
  • βš™οΈ Optimized Module Structure: Reduced redundancy and cleaned up code for better maintainability.
  • πŸ”— Improved Support & Compatibility: Better handling on newer Android versions and different environments.
  • πŸ“± OEM Compatibility: May work on popular OEM skins like Realme UI, ColorOS, HyperOS, and One UI.

Note

You can remove the backup if you want by either deleting this directory /data/#SFS manually, or select clean flash while flashing.

πŸ“₯ Installation Guide

πŸ“Έ Removing screenshot restriction is simple. Just follow these steps:

1️⃣ Install Module: Open Magisk/KSU/APatch Manager β†’ Modules β†’ Tap '+' β†’ Select Simple Flag Secure zip.

πŸ’Ύ (Optional): Save logs via top-right disk icon, helpful if the module doesn't work.

πŸ” Reboot Device: Restart your device to apply changes.

βœ… Test It: Try taking screenshots (e.g. WhatsApp profile pic or chrome incognito) to confirm it's working.

🧰 Troubleshooting

πŸ”„ If bootloop or system doesn't boot:

1️. Reboot into Recovery (TWRP or other).
2️. Go to: /data/adb/modules/simple_flag_secure
3️. Delete the simple_flag_secure folder.
4️. Reboot system and report on Telegram.

🚫 If the module doesn’t work:

1️. Copy services.jar from /system/framework/ to internal storage (use root file manager).
2️. Send the services.jar to Telegram.
3️. Delete /data/#SFS from root directory.
4️. Reflash the module and save logs during install.
5️. Send logs from sdcard/Download/Magisk|KSU|APatch_install_logs to Telegram.

πŸ™ Support & Donations

If you find Simple Flag Secure helpful and want to support development, you can donate here:

πŸ’° PayPal: Donate via PayPal

πŸ“² SuperMoney: UPI ID - shivam.dhage@superyes

πŸ”— GPay UPI QR Code: Donate via UPI QR

Every contribution helps keep the project alive and improved! Thank you! 😊

πŸ™Œ Credits

  • MehediHJoy
    Idea originator and source reference for this module.

  • ShirigiriPatil
    Tested the module on KernelSU (KSU).

  • LazyMeao & ASIF
    Tested on Realme UI 2.0 for compatibility.

  • ShishirThakur
    Helped test screenshot detection functionality.

  • Marmot
    Tested the module on MIUI Android 11 using SukiSU (a KernelSU fork), helping verify compatibility and stability.