{"id":21875218,"url":"https://github.com/palexdev/android_patches","last_synced_at":"2025-06-17T03:03:16.094Z","repository":{"id":264917464,"uuid":"836364910","full_name":"palexdev/android_patches","owner":"palexdev","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-31T17:51:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T21:15:25.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/palexdev.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":"2024-07-31T17:32:28.000Z","updated_at":"2024-07-31T17:51:37.000Z","dependencies_parsed_at":"2024-11-27T00:03:08.889Z","dependency_job_id":null,"html_url":"https://github.com/palexdev/android_patches","commit_stats":null,"previous_names":["palexdev/android_patches"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/palexdev/android_patches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palexdev%2Fandroid_patches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palexdev%2Fandroid_patches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palexdev%2Fandroid_patches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palexdev%2Fandroid_patches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palexdev","download_url":"https://codeload.github.com/palexdev/android_patches/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palexdev%2Fandroid_patches/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260281567,"owners_count":22985626,"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":[],"created_at":"2024-11-28T07:14:56.819Z","updated_at":"2025-06-17T03:03:16.071Z","avatar_url":"https://github.com/palexdev.png","language":null,"readme":"## Storage Restrictions Patches\n\nThese patches disable the checks done [here](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android14-qpr3-release/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java#306) and [here](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android14-qpr3-release/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java#328).  \n  \n- `FGoogle_frameworks` is the main patch. This adds some checks to the above-linked methods that use [Settings.System](https://developer.android.com/reference/android/provider/Settings.System) to check whether the user has enabled the features.\n- `FGoogle_dt` is specific to my device (Poco F2 Pro lmi). I'm using the `XiaomiParts` app to add a new menu in the ROM's system settings that allows the user to enable/disable the features. Two switches will store their state using [Settings.System#putInt](https://developer.android.com/reference/android/provider/Settings.System#putInt(android.content.ContentResolver,%20java.lang.String,%20int))  \n  \nNeedless to say, for these features to work, they need to be integrated in the custom ROM's source code.\n\n\n\n\n\n\n\n\n\n\u003csup\u003e\u003csub\u003eFGoogle = FuckGoogle :)\u003c/sub\u003e\u003c/sup\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalexdev%2Fandroid_patches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalexdev%2Fandroid_patches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalexdev%2Fandroid_patches/lists"}