{"id":15645863,"url":"https://github.com/kr328/zygoteloader","last_synced_at":"2025-04-30T11:13:30.740Z","repository":{"id":44689801,"uuid":"432161946","full_name":"Kr328/ZygoteLoader","owner":"Kr328","description":"A library for building Java only Zygisk/Riru modules.","archived":false,"fork":false,"pushed_at":"2023-10-22T03:40:02.000Z","size":354,"stargazers_count":59,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-13T02:17:35.012Z","etag":null,"topics":["android","magisk","magisk-module","riru","zygisk"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Kr328.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,"governance":null}},"created_at":"2021-11-26T11:55:42.000Z","updated_at":"2025-01-20T12:49:30.000Z","dependencies_parsed_at":"2023-01-23T11:45:16.000Z","dependency_job_id":"f773dc2f-b0a5-4ab1-a2e3-5bf41a3c3f42","html_url":"https://github.com/Kr328/ZygoteLoader","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kr328%2FZygoteLoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kr328%2FZygoteLoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kr328%2FZygoteLoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kr328%2FZygoteLoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kr328","download_url":"https://codeload.github.com/Kr328/ZygoteLoader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249499760,"owners_count":21282295,"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","magisk","magisk-module","riru","zygisk"],"created_at":"2024-10-03T12:10:22.410Z","updated_at":"2025-04-18T13:31:49.295Z","avatar_url":"https://github.com/Kr328.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zygote Loader\n\nA library for building Java only Zygisk/Riru modules.\n\n## Getting Start\n\n1. **Add plugin repository to settings.gradle.kts**\n\n```kotlin\npluginManagement { \n    repositories { \n        // ... other repositories \n        maven(url = \"https://maven.kr328.app/releases\") \n    } \n}\n```\n\n2. **Add an android application module and create entrypoint**\n\n```java\nclass Entrypoint {\n    // ZygoteLoader will invoke this method after injected to target process\n    public static void main() {\n        // ... your code\n    }\n}\n```\n\n3. **Apply `com.github.kr328.gradle.zygote` plugin**\n\n```kotlin\nplugins {\n    id(\"com.android.application\") // required\n    id(\"com.github.kr328.gradle.zygote\") version \"3.1\" // apply plugin\n    // ... other plugins\n}\n```\n\n4. **Configure your module properties**\n\n```kotlin\nzygote {\n    // initial inject packages\n    packages(ZygoteLoader.PACKAGE_SYSTEM_SERVER) // initial inject to system_server\n\n    // riru related properties\n    riru {\n        id = \"your module id\"\n        name = \"your module name\"\n        author = \"your name\"\n        description = \"your module description\"\n        entrypoint = \"your entrypoint class qualified name\" // see also step 2\n        archiveName = \"generated zip archive name\" // optional\n        updateJson = \"your updateJson property\" // optional, see also https://topjohnwu.github.io/Magisk/guides.html#moduleprop\n    }\n\n    // zygisk related properties\n    zygisk {\n        // same with riru\n    }\n}\n```\n\n5. **Build module**\n\n    1. Run gradle task `\u003cmodule\u003e:assembleRelease`\n       \n    2. Pick generated zip from `\u003cmodule\u003e/build/outputs/magsisk`\n   \n\n## Examples\n\n- [Riru-ClipboardWhitelist](https://github.com/Kr328/Riru-ClipboardWhitelist)\n  \n- [Riru-IFWEnhance](https://github.com/Kr328/Riru-IFWEnhance)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkr328%2Fzygoteloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkr328%2Fzygoteloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkr328%2Fzygoteloader/lists"}