{"id":21388205,"url":"https://github.com/droidsonroids/android-device-cleaner","last_synced_at":"2025-10-09T07:09:14.448Z","repository":{"id":56675749,"uuid":"107314938","full_name":"DroidsOnRoids/android-device-cleaner","owner":"DroidsOnRoids","description":"Tool for cleaning up Android devices used in QA","archived":false,"fork":false,"pushed_at":"2023-08-04T09:39:24.000Z","size":476,"stargazers_count":28,"open_issues_count":0,"forks_count":17,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-03-27T00:13:57.829Z","etag":null,"topics":["android","android-testing","bitrise","hacktoberfest","stf"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DroidsOnRoids.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-17T19:31:46.000Z","updated_at":"2024-03-14T05:37:08.000Z","dependencies_parsed_at":"2023-01-19T16:45:26.613Z","dependency_job_id":null,"html_url":"https://github.com/DroidsOnRoids/android-device-cleaner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DroidsOnRoids%2Fandroid-device-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DroidsOnRoids%2Fandroid-device-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DroidsOnRoids%2Fandroid-device-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DroidsOnRoids%2Fandroid-device-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DroidsOnRoids","download_url":"https://codeload.github.com/DroidsOnRoids/android-device-cleaner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225893696,"owners_count":17540918,"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","android-testing","bitrise","hacktoberfest","stf"],"created_at":"2024-11-22T12:16:17.757Z","updated_at":"2025-10-09T07:09:09.413Z","avatar_url":"https://github.com/DroidsOnRoids.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-device-cleaner\n\n\u003cimg src=\"logo.webp\" width=\"60%\" height=\"60%\" /\u003e\n\nTool for cleaning up Android devices.\nDesigned for restoring state of devices used for QA on [Device Farmer](https://devicefarmer.io/).\nBy default STF uninstalls apps installed during session only on clean end of usage. \n\n## Performed actions\n* unneeded apps uninstallation, except those listed in file pointed by `EXCLUDED_PACKAGES_LIST_PATH` environment variable\n* external storage (`/sdcard/`) wiping\n* temporary directory (`/data/local/tmp`) wiping\n* force stopping all apps\n\n## Project components\n\n### `device-cleaner`\nContains all the logic, can be used without Device Farmer.\n\n### `stf-app`\nInterface to [Device Farmer / Open STF Connect step](https://github.com/DroidsOnRoids/bitrise-step-openstf-connect) on [Bitrise](https://bitrise.io).\n\n## Required environment variables\n* `ANDROID_HOME` - should point to Android SDK root dir containing valid platform-tools, provided by Android stack on Bitrise\n* `STF_DEVICE_SERIAL_LIST` - should contain devices serial numbers as a JSON array, provided by Open STF Connect step\n* `EXCLUDED_PACKAGES_LIST_PATH` - should be a path to file with packages excluded from uninstallation (one per line) \n\n## Usage\n`./gradlew run` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroidsonroids%2Fandroid-device-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroidsonroids%2Fandroid-device-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroidsonroids%2Fandroid-device-cleaner/lists"}