{"id":23086889,"url":"https://github.com/shivamxd6/simple-flag-secure","last_synced_at":"2026-03-05T18:39:11.959Z","repository":{"id":243529329,"uuid":"812672078","full_name":"ShivamXD6/Simple-Flag-Secure","owner":"ShivamXD6","description":"⚡Simple Flag Secure Magisk Module ⚡ to Disable Secure Flag and allow taking screenshots/screen recording in apps supports KSU/APatch","archived":false,"fork":false,"pushed_at":"2025-10-22T02:49:40.000Z","size":3348,"stargazers_count":27,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T04:30:13.140Z","etag":null,"topics":["android","apatch","disable-secure-flag","flag-secure","kernelsu","magisk","magisk-module","privacy","root","screen-recording","screenshots","secure-flag","simple-flag-secure","utility"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShivamXD6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-09T14:58:51.000Z","updated_at":"2025-10-22T02:49:43.000Z","dependencies_parsed_at":"2024-06-09T17:13:13.185Z","dependency_job_id":"89be6834-057b-44ae-9287-6e2c3018ee27","html_url":"https://github.com/ShivamXD6/Simple-Flag-Secure","commit_stats":null,"previous_names":["shivamxd6/simple-flag-secure"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ShivamXD6/Simple-Flag-Secure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivamXD6%2FSimple-Flag-Secure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivamXD6%2FSimple-Flag-Secure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivamXD6%2FSimple-Flag-Secure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivamXD6%2FSimple-Flag-Secure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShivamXD6","download_url":"https://codeload.github.com/ShivamXD6/Simple-Flag-Secure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivamXD6%2FSimple-Flag-Secure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30143226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","apatch","disable-secure-flag","flag-secure","kernelsu","magisk","magisk-module","privacy","root","screen-recording","screenshots","secure-flag","simple-flag-secure","utility"],"created_at":"2024-12-16T19:32:07.597Z","updated_at":"2026-03-05T18:39:11.928Z","avatar_url":"https://github.com/ShivamXD6.png","language":"Shell","funding_links":["https://paypal.me/ShivamXD6"],"categories":[],"sub_categories":[],"readme":"# Simple-Flag-Secure\n\u003e⚡Simple Flag Secure Magisk Module ⚡ to Disable Secure Flag and allow taking screenshots or screen recording in apps supports KSU/APatch inspired by Disable Flag Secure by MehediHJoy.\n\n![Downloads](https://img.shields.io/github/downloads/ShivamXD6/Simple-Flag-Secure/total?color=green\u0026style=for-the-badge)\n![Release](https://img.shields.io/github/v/release/ShivamXD6/Simple-Flag-Secure?style=for-the-badge)\n![Android](https://img.shields.io/badge/Android-3DDC84?style=for-the-badge\u0026logo=android\u0026logoColor=white)\n![Magisk](https://img.shields.io/badge/Magisk-8A2BE2?style=for-the-badge\u0026logo=magisk\u0026logoColor=white)\n![Root](https://img.shields.io/badge/Root-ff0000?style=for-the-badge\u0026logo=superuser\u0026logoColor=white)\n\n## ❔ Why this module? When there's already Disable Flag Secure by MehediHJoy.\n\n- 💾 **Lightweight**: No bloated binaries or extras — faster and minimal than MehediHJoy's version.\n- ⭐ **Root Managers Support**: Fully compatible with Magisk, KernelSU, APatch and their forks, unlike the outdated original.\n- 🖥️ **Dex-Only Patch**: Only modifies required DEX files, avoiding issues like broken power button on Android 14.\n- 💬 **Readable Code**: Clean, commented code with fewer lines (300 vs 2000), easy to understand.\n- 🔄 **Fast Restore**: Creates backup of services.jar for quicker reflash after removal.\n- ⚙️ **Optimized Module Structure**: Reduced redundancy and cleaned up code for better maintainability.\n- 🚫 **Screenshot Detection Blocked**: Prevents apps from detecting when a screenshot is taken.\n- 🔗 **Improved Support \u0026 Compatibility**: Better handling on newer Android versions and different environments.\n- ⚡ **Boosted I/O Performance**: Uses fstrim and similar commands to improve performance during installation.\n- 📱 **OEM Compatibility**: May work on popular OEM skins like Realme UI, ColorOS, HyperOS, and One UI.\n\n\u003e [!NOTE]\n\u003e You can remove the backup if you want by deleting this directory /data/#SFS\n\n## 📥 Installation Guide\n\n🚫📸 Removing screenshot restrictions is simple. Just follow these steps:\n\n1️⃣ **Install Module**: Open Magisk/KSU/APatch Manager → Modules → Tap '+' → Select Simple Flag Secure zip.\n\n💾 **(Optional)**: Save logs via top-right disk icon — helpful if module doesn't work.\n\n🔁 **Reboot Device**: Restart your device to apply changes.\n\n✅ **Test It**: Try taking screenshots (e.g. WhatsApp profile pic) to confirm it's working.\n\n\n## 🧰 Troubleshooting\n\n🔄 **If bootloop or system doesn't boot**:\n\n1️⃣ Reboot into Recovery (TWRP or other).  \n2️⃣ Go to: `/data/adb/modules/SimpleFlagSecure`  \n3️⃣ Delete the `SimpleFlagSecure` folder.  \n4️⃣ Reboot system and report on **[Telegram](https://telegram.me/ShastikXD)**.\n\n\n🚫 **If the module doesn’t work**:\n\n1️⃣ Copy `services.jar` from `/system/framework/` to internal storage (use root file manager).  \n2️⃣ Send the `services.jar` to **[Telegram](https://telegram.me/ShastikXD)**.  \n3️⃣ Delete `/data/#SFS` from root directory.  \n4️⃣ Reflash the module and **save logs** during install.  \n5️⃣ Send logs from `sdcard/Download/Magisk|KSU|APatch_install_logs` to **[Telegram](https://telegram.me/ShastikXD)**.\n\n📬 **Need help?** Message me anytime on **[Telegram](https://telegram.me/ShastikXD)**.\n\n## 🙏 Support \u0026 Donations\n\nIf you find Simple Flag Secure helpful and want to support development, you can donate here:\n\n💰 **PayPal:** [Donate via PayPal](https://paypal.me/ShivamXD6)\n\n📲 **SuperMoney:** UPI ID - **shivam.dhage@superyes**\n\n🔗 **GPay UPI QR Code:** [Donate via UPI QR](https://i.ibb.co/5g4J2RXR/1f38d6d7-a8a2-4696-88e6-9cf503e0592c.png)\n\nEvery contribution helps keep the project alive and improved! Thank you! 😊\n\n## 🙌 Credits\n\n💡 **[MehediHJoy](https://xdaforums.com/t/module-disable-flag-secure-v9-0-by-mehedi-h-joy.4490475/)**  \nIdea originator and source reference for this module.\n\n🧪 **[ShirigiriPatil](https://telegram.me/BosadBillaHun)**  \nTested the module on KernelSU (KSU).\n\n📱 **[LazyMeao](https://telegram.me/lazymeao)**  \nTested on Realme UI 2.0 for compatibility.\n\n🕵️ **[ShishirThakur](https://telegram.me/Shishirsthakur)**  \nHelped test screenshot detection functionality.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamxd6%2Fsimple-flag-secure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivamxd6%2Fsimple-flag-secure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamxd6%2Fsimple-flag-secure/lists"}