{"id":19598436,"url":"https://github.com/sphericalkat/lucid_updater","last_synced_at":"2025-09-12T22:37:35.110Z","repository":{"id":38388099,"uuid":"203211109","full_name":"SphericalKat/lucid_Updater","owner":"SphericalKat","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:54:37.000Z","size":523,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"staging","last_synced_at":"2025-06-12T11:54:12.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/SphericalKat.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":"2019-08-19T16:36:54.000Z","updated_at":"2019-09-16T06:59:19.000Z","dependencies_parsed_at":"2025-06-12T11:42:53.793Z","dependency_job_id":"3c726d5b-ea7a-4fcc-8b44-5f3453041459","html_url":"https://github.com/SphericalKat/lucid_Updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SphericalKat/lucid_Updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Flucid_Updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Flucid_Updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Flucid_Updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Flucid_Updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SphericalKat","download_url":"https://codeload.github.com/SphericalKat/lucid_Updater/tar.gz/refs/heads/staging","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Flucid_Updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274887444,"owners_count":25368282,"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-09-12T02:00:09.324Z","response_time":60,"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":[],"created_at":"2024-11-11T09:06:20.006Z","updated_at":"2025-09-12T22:37:35.103Z","avatar_url":"https://github.com/SphericalKat.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Updater\n=======\nSimple application to download and apply OTA packages.\n\n\nServer requirements\n-------------------\nThe app sends `GET` requests to the URL defined by the `updater_server_url`\nresource (or the `lineage.updater.uri` system property) and expects as response\na JSON with the following structure:\n```json\n{\n  \"response\": [\n    {\n      \"datetime\": 1230764400,\n      \"filename\": \"ota-package.zip\",\n      \"id\": \"5eb63bbbe01eeed093cb22bb8f5acdc3\",\n      \"romtype\": \"nightly\",\n      \"size\": 314572800,\n      \"url\": \"https://example.com/ota-package.zip\",\n      \"version\": \"15.1\"\n    }\n  ]\n}\n```\n\nThe `datetime` attribute is the build date expressed as UNIX timestamp.  \nThe `filename` attribute is the name of the file to be downloaded.  \nThe `id` attribute is a string that uniquely identifies the update.  \nThe `romtype` attribute is the string to be compared with the `ro.lineage.releasetype` property.  \nThe `size` attribute is the size of the update expressed in bytes.  \nThe `url` attribute is the URL of the file to be downloaded.  \nThe `version` attribute is the string to be compared with the `ro.lineage.build.version` property.  \n\nAdditional attributes are ignored.\n\n\nBuild with Android Studio\n-------------------------\nUpdater needs access to the system API, therefore it can't be built only using\nthe public SDK. You first need to generate the libraries with all the needed\nclasses. The application also needs elevated privileges, so you need to sign\nit with the right key to update the one in the system partition. To do this:\n\n - Place this directory anywhere in the Android source tree\n - Generate a keystore and keystore.properties using `gen-keystore.sh`\n - Build the dependencies running `make UpdaterStudio` from the root of the\n   Android source tree. This command will add the needed libraries in\n   `system_libraries/`.\n\nYou need to do the above once, unless Android Studio can't find some symbol.\nIn this case, rebuild the system libraries with `make UpdaterStudio`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsphericalkat%2Flucid_updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsphericalkat%2Flucid_updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsphericalkat%2Flucid_updater/lists"}