{"id":31477639,"url":"https://github.com/seguri/lock","last_synced_at":"2025-10-02T02:54:32.620Z","repository":{"id":20357640,"uuid":"89616382","full_name":"seguri/Lock","owner":"seguri","description":"Screen locker for Android","archived":false,"fork":false,"pushed_at":"2023-05-03T14:09:52.000Z","size":306,"stargazers_count":58,"open_issues_count":0,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-01T02:09:47.533Z","etag":null,"topics":["accessibility","android","screenlocker"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seguri.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-04-27T16:08:41.000Z","updated_at":"2023-05-16T08:39:56.000Z","dependencies_parsed_at":"2022-07-25T12:34:03.864Z","dependency_job_id":null,"html_url":"https://github.com/seguri/Lock","commit_stats":null,"previous_names":[],"tags_count":11,"template":null,"template_full_name":null,"purl":"pkg:github/seguri/Lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seguri%2FLock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seguri%2FLock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seguri%2FLock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seguri%2FLock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seguri","download_url":"https://codeload.github.com/seguri/Lock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seguri%2FLock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277947290,"owners_count":25903929,"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","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["accessibility","android","screenlocker"],"created_at":"2025-10-02T02:54:28.665Z","updated_at":"2025-10-02T02:54:32.611Z","avatar_url":"https://github.com/seguri.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lock\n\nA very simple and minimal app to lock the screen. It tries whenever possible to keep fingerprint unlock available.\n\nYou can now set any tap, double tap or long home press actions to immediately lock the screen, if your launcher allows you to configure custom gestures.\n\n## Description\n\nIts behavior is very simple: on first run it will require the necessary permission according to the Android version you're running:\n\n- On Android 9+ devices, it will ask to be enabled as an accessibility service;\n- On Huawei devices running Android Nougat, it will immediately lock the screen, no permission required;\n- On other devices, the app will ask to be enabled as a Device Admin; fingerprint unlock will not be available.\n\nAfter the necessary permission has been enabled, the app will immediately lock the screen the next time you open it.\n\n## Accessibility Service configuration\n\nHere are some screenshots that explain how to configure this app as an Accessibility Service on Android 9+ devices:\n\n- [Huawei P20 Lite](docs/ane-lx1.jpg)\n- [Xiaomi Mi 9T](docs/davinci_eea.jpg)\n\n## Download\n\nThis app is available on F-Droid:\n\n[\u003cimg src=\"https://f-droid.org/badge/get-it-on.png\"\n      alt=\"Get it on F-Droid\"\n      height=\"80\"\u003e](https://f-droid.org/app/name.seguri.android.lock)\n\n## Changelog\n\n### 1.4.0\n\nIt is now possible to use Accessibility Services on Android 9+ devices, so that you can continue using fingerprint unlock.\n\n### 1.3.0\n\nIt is now possible to set Lock as an Assistant app (`Settings \u003e Apps \u003e Advanced \u003e Default apps \u003e Assist \u0026 voice input`). A long-press on home button will now lock the device wherever you are.\n\n### 1.1.0\n\nI recently updated to Nougat on my Huawei P9 Lite and it broke my app (screen lock by an administrator requires to enter full password or pin).\nThanks to a [XDA user][3], I updated my app to circumvent this.\nNow, on Huawei with Nougat and EMUI 5, it doesn't even require to be an administrator.\n\n## About `gradle-wrapper.jar`\n\nThis file is a binary blob of executable code that contains [`GradleWrapperMain`](https://github.com/gradle/gradle/blob/master/subprojects/wrapper/src/main/java/org/gradle/wrapper/GradleWrapperMain.java), the Java class invoked by `gradlew` and responsible for the correct setup of the Gradle wrapper in this project. A [Github action](.github/workflows/gradle-wrapper-validation.yml) has been added as explained [here](https://github.com/marketplace/actions/gradle-wrapper-validation#the-gradle-wrapper-problem-in-open-source) to avoid the injection of malicious code in this file. Please check also [this page](https://docs.gradle.org/current/userguide/gradle_wrapper.html#wrapper_checksum_verification) if you want to manually verify its integrity.\n\n## Uninstalling\n\n[How to remove an app with active device admin enabled on Android?][2]\n\n\n[1]: https://github.com/ligi/FAST\n[2]: https://stackoverflow.com/questions/5387582/how-to-remove-an-app-with-active-device-admin-enabled-on-android\n[3]: https://forum.xda-developers.com/showpost.php?p=70712987\u0026postcount=5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseguri%2Flock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseguri%2Flock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseguri%2Flock/lists"}