{"id":23135559,"url":"https://github.com/katya-incorporated/a-dev","last_synced_at":"2026-03-10T23:35:18.609Z","repository":{"id":245021715,"uuid":"805882849","full_name":"Katya-Incorporated/A-Dev","owner":"Katya-Incorporated","description":"Katya OS A-Dev Tool is a powerful Android ROM device support and bring-up tool, designed for maximum automation and speed. It streamlines the development process, providing essential features for quick setup and troubleshooting. With optimized performance, A-Dev Tool simplifies device integration, enabling efficient ROM customization and faster dep","archived":false,"fork":false,"pushed_at":"2025-09-27T10:08:19.000Z","size":11829,"stargazers_count":7,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"14","last_synced_at":"2025-10-29T23:46:29.081Z","etag":null,"topics":["android","aosp","aosp-android","aosp-build","aosp-device","aosp-kernel","google","graphene","grapheneos","katya","katyaos","katyasystem","rom"],"latest_commit_sha":null,"homepage":"https://katyaos.marinchik.ink","language":"TypeScript","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/Katya-Incorporated.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"patreon":"kdrag0n","liberapay":"kdrag0n","custom":"https://paypal.me/kdrag0ndonate"}},"created_at":"2024-05-25T18:29:47.000Z","updated_at":"2025-09-27T10:08:18.000Z","dependencies_parsed_at":"2024-06-19T03:55:19.533Z","dependency_job_id":"eed96774-9384-49e8-a9f5-74a4e8931776","html_url":"https://github.com/Katya-Incorporated/A-Dev","commit_stats":null,"previous_names":["katya-incorporated/a-dev"],"tags_count":465,"template":false,"template_full_name":null,"purl":"pkg:github/Katya-Incorporated/A-Dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katya-Incorporated%2FA-Dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katya-Incorporated%2FA-Dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katya-Incorporated%2FA-Dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katya-Incorporated%2FA-Dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Katya-Incorporated","download_url":"https://codeload.github.com/Katya-Incorporated/A-Dev/tar.gz/refs/heads/14","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katya-Incorporated%2FA-Dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30362121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","aosp","aosp-android","aosp-build","aosp-device","aosp-kernel","google","graphene","grapheneos","katya","katyaos","katyasystem","rom"],"created_at":"2024-12-17T12:15:59.552Z","updated_at":"2026-03-10T23:35:13.586Z","avatar_url":"https://github.com/Katya-Incorporated.png","language":"TypeScript","funding_links":["https://patreon.com/kdrag0n","https://liberapay.com/kdrag0n","https://paypal.me/kdrag0ndonate"],"categories":[],"sub_categories":[],"readme":"# adevtool\n\nAndroid ROM device support and bringup tool, designed for maximum automation and speed.\n\n## Features\n\nThis tool automates the following tasks for devices that mostly run AOSP out-of-the-box (e.g. Google Pixel):\n\n- Downloading factory images and full OTA packages\n- Generating a list of **proprietary files**\n- Resolving overridden build rules and **building modules from source** (when possible)\n- Extracting, converting, and mounting **factory images** [(supported source formats)](docs/system-source.md)\n- Extracting proprietary files\n- Extracting bootloader and radio **firmware**\n- Finding and adding missing system **properties**\n- Overriding build **fingerprint** to help pass SafetyNet\n- Adding missing **SELinux policies**\n- Adding missing HALs to **vendor interface** manifests\n- Generating resource **overlays** for device configs\n- Fixing privileged app signing **certificates** referenced in SELinux policies\n\nThis typically results in better device support with fewer bugs and issues, and makes it possible to quickly add support for new devices.\n\n[Example generated vendor modules for Pixel devices](https://github.com/NeutronBlobs/android_vendor_google_devices)\n\n### Non-AOSP devices\n\nPixel devices will benefit from the most automation, but several features can still be used to ease manual bringup on other devices:\n\n- **Extract** files from proprietary-files.txt **[up to 2000% faster than LineageOS extract-utils (speed comparison)](https://asciinema.org/a/eUMNIrKtBrln1CwE1zCUnJO8w)**\n  - LineageOS extract-utils: 1 min 27 sec\n  - **adevtool: 4 sec**\n  - Tested with Pixel 5 (redfin), cache cleared before testing\n- **Compare** a built system against stock images to find missing files, properties, and vendor interface declarations\n- **List** system files relevant to bringup (in all partitions)\n- **Resolve overridden** build rules from build warnings\n- Check SELinux policies to identify apps that should be **presigned**\n\n## Installation\n\nPre-requisites:\n\n- [Node.js](https://nodejs.org/)\n- Optional:\n  - For converting sparse factory images: [simg2img](https://github.com/anestisb/android-simg2img)\n  - For extracting OTA packages: [payload-dumper-go](https://github.com/ssut/payload-dumper-go)\n  - For extracting OTAs or factory images: `unzip`\n  - For generating overlays: [AAPT2](https://developer.android.com/studio/command-line/aapt2) (included in AOSP and Android SDK)\n\nTo run adevtool without installation:\n\n```bash\nnpx adevtool\n```\n\nTo install adevtool globally using npm:\n\n```bash\nnpm install -g adevtool\n```\n\nUsing Yarn:\n\n```bash\nyarn global add adevtool\n```\n\n## Usage\n\n- [Bringing up a new Pixel device](docs/pixel-bringup.md)\n- [Generating or updating an existing device](docs/pixel-generate.md)\n- [Using individual helper commands](docs/commands.md)\n- [Supported system source formats](docs/system-source.md)\n\n## Why TypeScript?\n\nTypeScript is not a common language for Android-related tools, but I picked it for several reasons:\n\n- Fast (enough) and easily parallelizable\n- Good static type system (for developer experience: fewer bugs and better editor code intelligence)\n- Good libraries for friendly CLI interfaces with pretty output\n- Relatively lightweight\n\n### Why not...\n\n- Python: May not meet speed/parallelization goals easily, types aren't as nice\n- Kotlin: Requires big+heavy JVM to run, CLI libraries aren't as good\n- Go: Good choice overall, but error checking can be overly verbose\n\nOverall, TypeScript is a decent compromise on all of these points.\n\n## License\n\nThis tool is licensed under the [MIT license](LICENSE), ensuring that anyone is free to use it for any purpose in compliance with the license. Contributions are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatya-incorporated%2Fa-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatya-incorporated%2Fa-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatya-incorporated%2Fa-dev/lists"}