π Lightweight module that disables
FLAG_SECURE, enabling screenshots & screen recording across restricted apps. Hides screenshot detection and suppresses screen share warnings. Includes a toggleable privacy mode to block screenshots system-wide. Available in Standalone, Zygisk, and Non-Root (LSPatch) editions.
- β¨ Features
- π Why Simple Flag Secure?
- π Choose Your Variant
- π± Non-Root Users: LSPatch Setup Guide
- β‘ Rooted Users: Zygisk Edition Setup
- π‘οΈ Rooted Users: Standalone Edition Setup
- ποΈ Privacy Mode (Instant Toggle)
- π₯ Installation Summary
- π’ Future Updates & Support
- π Support & Donations
- π Credits
- π« Unlocks Screenshots & Screen Recordings Everywhere β Captures restricted screens in banking apps, financial services, WhatsApp view-once media, profile photos, and incognito tabs.
- π Screenshot Detection & Warning Blocking β Prevents apps from detecting screenshots and suppresses all detection warnings or chat notifications (WhatsApp, Snapchat, etc.).
- π Suppresses Screen Share Warnings β Hides the irritating "App content hidden from screen share" popup on Android 15/16.
- π οΈ No Root or Framework Required (LSPatch Edition) β Non-root users can embed SFS directly into targeted APKs with zero root footprint.
- π οΈ No Zygisk or LSPosed Required (Standalone Edition) β 100% standalone, zero extra frameworks or meta-modules needed.
- ποΈ Interactive Privacy Mode (Action & Volume Menu) β Switch between ALLOWED and BLOCKED (
[Vol +]) or run live diagnostics ([Vol -]) without rebooting. - π Zero Battery Drain & RAM Friendly β Ultra-lightweight with zero background daemons or battery consumption.
- πͺΆ Ultra-Compact Footprint β Down to just ~19 KB (Zygisk), ~172 KB (Standalone), and ~16.5 KB (LSPatch APK) with zero bloat.
- π©Ί Built-in Auto Diagnostics β Saves unified diagnostic log (
sfs.log) directly to your Downloads folder for 1-click troubleshooting. - β Modern Root Manager Support β Works seamlessly with Magisk, KernelSU, APatch, and all their forks.
- π In-App Manager Updates β Native one-click updates directly inside root managers via
updateJson. - π± Broad OEM & OS Compatibility β Supports Android 8 through Android 16 on HyperOS, MIUI, OxygenOS, ColorOS, Realme UI, and One UI.
How does Simple Flag Secure compare to tools like LSPosed (Disable-FLAG_SECURE) and Zygisk ih8SecureLock?
| Comparison | β‘ Simple Flag Secure | π Zygisk ih8SecureLock | π§© LSPosed |
|---|---|---|---|
| No Extra Framework Needed | β Yes (Lightweight & clean) | β Yes | β Requires LSPosed framework |
| Works with Unmount / DenyList | β Yes (Screenshots work even with DenyList!) | β No (Forces you to unmount apps) | β No |
| Banking App Safe | β Zero traces in protected apps | β Easily detected | |
| Screenshot Detection Blocking | β Yes (Prevents alerts & toasts) | β Yes | |
| Interactive Privacy Mode Toggle | β Yes (Switch Allowed/Blocked anytime) | β No | β No |
| Standalone (No Zygisk) Option | β Yes | β No | β No |
| Non-Root (LSPatch) Option | β Yes (Patch any target APK) | β No | β No |
| Action Button Toggle & Logs | β Yes | β No | β No |
Tip
Freedom of Choice: Simple Flag Secure gives you complete freedom and flexibility! You aren't forced into any single framework or root method. Whether you prefer Zygisk (RAM-only), Standalone (framework overlay without Zygisk), or LSPatch / LSPosed (per-app without system modification or root), you can choose the exact variant tailored to your personal device setup and security preferences.
Simple Flag Secure is available in three distinct variants:
| Variant | β‘ Zygisk Edition | π‘οΈ Standalone Edition | π± LSPatch & LSPosed Edition |
|---|---|---|---|
| Target User | Rooted users using Zygisk | Rooted users wanting zero Zygisk overhead | Non-root users or LSPosed framework users |
| Requirements | Any Zygisk implementation | Magisk, KernelSU, or APatch | JingMatrix LSPatch or LSPosed |
| Filesystem Mounts | Zero mounts (all hooks in RAM) | Clean on-device framework mount | None (Embedded inside target APK or hooked via LSPosed) |
| Size | ~19 KB (Ultra-compact) | ~172 KB (Includes dex patcher) | ~16.5 KB (Compact helper APK) |
| Privacy Toggle | β Action button / Volume key | β Action button / Volume key | N/A (Always active in patched app / LSPosed scope) |
If your device is not rooted (or you prefer not to touch root hooks), you can use the LSPatch variant (Simple_Flag_Secure_LSPatch_v10.1.apk) to patch any restricted app directly on your phone:
Note
Using LSPosed instead?
This exact same APK is a fully compliant standard Xposed module! If you have root with LSPosed, you can simply install Simple_Flag_Secure_LSPatch_v10.1.apk, enable it in the LSPosed Manager, check your target apps in its scope, and you are good to go!
- JingMatrix LSPatch (Recommended modern LSPatch fork for Android 10-15+)
- Download & Install:
- Install the latest JingMatrix LSPatch release APK on your device.
- Download
Simple_Flag_Secure_LSPatch_v10.1.apkfrom Releases.
- Open LSPatch:
- Open LSPatch and grant the requested storage permissions.
- Go to the Manage tab β Tap the
+button β Select New Patch.
- Select Target App:
- Choose the application where screenshots are blocked (either from installed apps or by picking an APK file directly).
- Embed Simple Flag Secure:
- Choose Portable Mode (embeds module directly so LSPatch app isn't needed later).
- Under Embed modules, tap
+and choose the downloadedSimple_Flag_Secure_LSPatch_v10.1.apk.
- Start Patching:
- Tap Start Patching. LSPatch will recompile and resign the target APK.
- Install the Patched App:
- Uninstall the original target app from your device (backup your data first!).
- Install the patched APK produced by LSPatch.
- Done! Screenshots and screen recordings are now permanently unlocked inside that app without requiring root access.
- Zygisk Next (Recommended for Magisk, KernelSU, and APatch)
- ReZygisk CLI (Pre-release) (High performance alternative)
- Built-in Zygisk in Magisk
- Recommended Setup: Use the latest Zygisk Next or ReZygisk CI. They hook into apps properly even when modules or Zygisk are hidden or unmounted for that app!
- If Screenshots Aren't Unlocking (Standard Magisk Zygisk):
- Magisk's built-in Zygisk completely unloads modules for any app checked in the DenyList.
- To allow screenshots in a target app, turn OFF DenyList (Magisk), Umount (KernelSU), or Exclude Modifications (APatch) for that app so the in-app hook can load.
- If Detected by Banking Apps:
- Simply add those sensitive apps to DenyList (Magisk), Umount (KernelSU), or Exclude Modifications (APatch) to hide root and Zygisk traces from them completely.
The Standalone Edition patches screenshot restrictions directly at boot without needing Zygisk, LSPosed, or any meta-modules (like NoMount or Hybrid Mount).
It operates completely standalone and hides itself well on most systems. However, on some stock ROMs with strict kernel protections (such as Samsung Knox / One UI), the kernel does not allow mounting from in-memory staging, forcing the module to fall back to legacy direct bind-mounting to ensure it still functions. On these devices, the fallback mount path may be detected unless:
- You have a kernel with SusFS support, or
- You use a meta-module like NoMount to hide the mount detection.
Tip
If you are on Samsung Knox or a strict ROM and do not have SusFS or NoMount, simply use the β‘ Zygisk Edition with the latest Zygisk Next or ReZygisk, which runs 100% in RAM with zero filesystem mounts.
Need to temporarily block screenshots and screen recordings for extra privacy? Simple Flag Secure includes a built-in Privacy Mode that lets you toggle states on the fly without rebooting your phone:
- β ALLOWED: Screenshots & recordings work everywhere.
- β BLOCKED (Privacy Mode): Screenshots & recordings are blocked system-wide.
- Tap the Action button in your root manager (Magisk, KernelSU, or APatch).
- Press Volume Up [Vol +] within 30 seconds to instantly switch modes.
- (Bonus) Press Volume Down [Vol -] if you ever need to record a quick diagnostic log.
Tip
You can also toggle it from a terminal (Termux) anytime:
- Turn Privacy Mode ON (Blocked):
su -c "/data/adb/modules/simple_flag_secure*/action.sh block" - Turn Privacy Mode OFF (Allowed):
su -c "/data/adb/modules/simple_flag_secure*/action.sh allow"
- Download your preferred edition from Releases:
- β‘
Simple_Flag_Secure_Zygisk_v10.1.zip(for Zygisk users) - π‘οΈ
Simple_Flag_Secure_v10.1.zip(for Standalone users) - π±
Simple_Flag_Secure_LSPatch_v10.1.apk(for Non-Root LSPatch / LSPosed users)
- β‘
- Installation by Variant:
- For Zygisk & Standalone: Flash the ZIP inside Magisk, KernelSU, or APatch manager β Modules β Install from storage β Reboot.
- For Non-Root (LSPatch) & LSPosed: Follow the dedicated π± LSPatch & LSPosed Setup Guide above to patch your target apps with zero root, or install and enable it inside your LSPosed manager!
- Test: Try taking a screenshot in an app that normally blocks it (e.g., Chrome Incognito).
Important
A message from the developer: Due to current personal financial constraints, I cannot dedicate as much time to active daily maintenance or immediate personal support for this module.
How you can help keep Simple Flag Secure alive:
- Support via Donation: If the module has helped you, even a small donation goes a long way toward keeping the project maintained.
- Self-Debug with AI & Community Contribution:
- Simple Flag Secure has built-in comprehensive diagnostic logging (
[Vol -]in the Action menu createssfs.log+sfs_report.tar.gzin your Downloads folder). - If you encounter an issue on your device, feed your diagnostic logs directly into modern AI models (like Gemini, Claude, or ChatGPT) to pinpoint why your ROM blocked screenshots or failed to mount!
- If you or an AI find a fix or optimization, please open a Pull Request (PR) so the entire community benefits!
- Simple Flag Secure has built-in comprehensive diagnostic logging (
- Telegram Discussion: If you cannot resolve it yourself, report it with your
sfs.login our group: @BuildBytesDiscussion. Please understand that immediate individual support cannot be guaranteed.
If you find Simple Flag Secure useful and would like to support its development:
- π² Bhim (International UPI): UPI ID -
shivamdhage@upi| Donate via QR - π΅ GPay / UPI: UPI ID -
shivamashokdhage6@oksbi| Donate via QR - π° PayPal: Username -
ShivamXD6| Donate via PayPal
- j-hc (ih8SecureLock) β For the in-app per-process
IPCThreadStatehook implementation concept. - Varun Date (Disable-FLAG_SECURE) β For the original Xposed hook implementation concept used in the LSPatch / LSPosed edition.
- @dkvodao β Tested the Zygisk edition.
- @PParker110 β Tested the Standalone edition with fixes on OxygenOS / ColorOS 14 (OnePlus 9 Pro).
- @ShastikXD (Dev) β Tested the Non-Root LSPatch edition.
- ShirigiriPatil β Tested the module on KernelSU.
- LazyMeao & @Black_luciferS β Tested on Realme UI 2.0 for compatibility and Toggle Action.
- ShishirThakur β Tested screenshot detection functionality on Android 14+.
- Marmot β Tested on MIUI Android 11 using SukiSU.
- @nyxnrv β Tested on HyperOS Android 17 KernelSU.
- @Vikrant_R_Rajput β Tested on Samsung OneUI Port Magisk.
- @idral β Tested standalone mounting.
- @pocexa β Tested on Poco X6 Pro for screenshot timeout issues.