Skip to content

⚡Simple Flag Secure Magisk Module ⚡ to Disable Secure Flag and allow taking screenshots/screen recording in apps supports KSU/APatch

Notifications You must be signed in to change notification settings

ShivamXD6/Simple-Flag-Secure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Flag-Secure

👀 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.