{"id":13448425,"url":"https://github.com/stefansundin/android-disable-direct-share","last_synced_at":"2025-03-22T09:31:19.901Z","repository":{"id":148602335,"uuid":"134090555","full_name":"stefansundin/android-disable-direct-share","owner":"stefansundin","description":":robot: Disable direct share in Android.","archived":true,"fork":false,"pushed_at":"2019-12-23T02:48:42.000Z","size":6,"stargazers_count":54,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-28T14:27:29.788Z","etag":null,"topics":["android"],"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/stefansundin.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}},"created_at":"2018-05-19T19:06:11.000Z","updated_at":"2024-06-02T17:09:00.000Z","dependencies_parsed_at":"2023-06-18T19:41:56.742Z","dependency_job_id":null,"html_url":"https://github.com/stefansundin/android-disable-direct-share","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"c05c0cce4e68d7a3306bbba52fbf9c87efbfab44"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fandroid-disable-direct-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fandroid-disable-direct-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fandroid-disable-direct-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fandroid-disable-direct-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefansundin","download_url":"https://codeload.github.com/stefansundin/android-disable-direct-share/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937751,"owners_count":20535124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"],"created_at":"2024-07-31T05:01:45.238Z","updated_at":"2025-03-22T09:31:19.888Z","avatar_url":"https://github.com/stefansundin.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"This is based on [an excellent Stack Exchange answer by REJH](https://android.stackexchange.com/a/160350) (go there and give him an upvote).\n\n## Android 10 warning\n\n**It seems like this will crash apps if used on Android 10.** See [issue #2](https://github.com/stefansundin/android-disable-direct-share/issues/2) for discussion.\n\n## Install without computer\n\n1. Download an app that can copy a file to system directories. I used [Root Browser Classic](https://play.google.com/store/apps/details?id=com.jrummyapps.rootbrowser.classic).\n1. Download [disable-direct-share.xml](https://github.com/stefansundin/android-disable-direct-share/releases/download/v1/disable-direct-share.xml).\n1. Enable root access for Apps in your device's Developer options.\n1. Use the app to copy the file to `/data/system/ifw/`.\n\n## Install with adb\n\n1. Turn on \"Android debugging\" in your device's Developer options.\n1. Enable root access for ADB.\n1. Make sure your device is visible when running `adb devices`.\n1. Launch adb with root privileges: `adb root`\n1. Download `disable-direct-share.xml`:\n   ```\n   wget https://raw.githubusercontent.com/stefansundin/android-disable-direct-share/master/disable-direct-share.xml\n   ```\n1. Install:\n   ```\n   adb push disable-direct-share.xml /data/system/ifw/\n   ```\n\nUninstall with:\n\n```\n$ adb shell ls /data/system/ifw/\ndisable-direct-share.xml\n$ adb shell rm /data/system/ifw/disable-direct-share.xml\n```\n\n## Install with TWRP\n\n1. Download [disable-direct-share-v1.zip](https://github.com/stefansundin/android-disable-direct-share/releases/download/v1/disable-direct-share-v1.zip).\n1. Download [disable-direct-share-v1-uninstall.zip](https://github.com/stefansundin/android-disable-direct-share/releases/download/v1/disable-direct-share-v1-uninstall.zip) so that you can easily uninstall it at a later time.\n1. Reboot into TWRP and flash the zip file. Do not use zip signature verification.\n\n## Magisk module\n\nSee this repository: https://github.com/AndroPlus-org/magisk-module-direct-share-disabler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fandroid-disable-direct-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefansundin%2Fandroid-disable-direct-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fandroid-disable-direct-share/lists"}