{"id":34894939,"url":"https://github.com/KernelSU-Modules-Repo/meta-overlayfs","last_synced_at":"2025-12-31T12:01:23.047Z","repository":{"id":325400005,"uuid":"1101017887","full_name":"KernelSU-Modules-Repo/meta-overlayfs","owner":"KernelSU-Modules-Repo","description":"OverlayFS MetaModule","archived":false,"fork":false,"pushed_at":"2025-11-30T04:53:00.000Z","size":39,"stargazers_count":137,"open_issues_count":1,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-02T09:42:47.225Z","etag":null,"topics":["kernelsu"],"latest_commit_sha":null,"homepage":"https://github.com/KernelSU-Modules-Repo/meta-overlayfs","language":"Rust","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/KernelSU-Modules-Repo.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-21T04:35:16.000Z","updated_at":"2025-12-02T09:35:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/KernelSU-Modules-Repo/meta-overlayfs","commit_stats":null,"previous_names":["kernelsu-modules-repo/meta-overlayfs"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/KernelSU-Modules-Repo/meta-overlayfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelSU-Modules-Repo%2Fmeta-overlayfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelSU-Modules-Repo%2Fmeta-overlayfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelSU-Modules-Repo%2Fmeta-overlayfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelSU-Modules-Repo%2Fmeta-overlayfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernelSU-Modules-Repo","download_url":"https://codeload.github.com/KernelSU-Modules-Repo/meta-overlayfs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelSU-Modules-Repo%2Fmeta-overlayfs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28143133,"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-12-31T02:00:06.200Z","response_time":55,"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":["kernelsu"],"created_at":"2025-12-26T07:00:37.754Z","updated_at":"2025-12-31T12:01:23.031Z","avatar_url":"https://github.com/KernelSU-Modules-Repo.png","language":"Rust","readme":"# meta-overlayfs\n\nA reference implementation of the overlayfs mount handler for KernelSU metamodules. This is not intended to be a state-of-the-art implementation, but rather a starting point for developers to understand and build upon.\n\n## Installation\n\n```bash\nadb push meta-overlayfs-v1.0.0.zip /sdcard/\nadb shell su -c 'ksud module install /sdcard/meta-overlayfs-v1.0.0.zip'\nadb reboot\n```\n\nOr install via KernelSU Manager → Modules.\n\n**Note**: The metamodule is now installed as a regular module to `/data/adb/modules/meta-overlay/`, with a symlink created at `/data/adb/metamodule` pointing to it.\n\n## How It Works\n\nUses dual-directory architecture for ext4 image support:\n\n- **Metadata**: `/data/adb/modules/` - Contains `module.prop`, `disable`, `skip_mount` markers\n- **Content**: `/data/adb/metamodule/mnt/` - Contains `system/`, `vendor/` etc. directories from ext4 images\n\nScans metadata directory for enabled modules, then mounts their content directories as overlayfs layers.\n\n### Supported Partitions\n\nsystem, vendor, product, system_ext, odm, oem\n\n### Read-Write Layer\n\nOptional upperdir/workdir support via `/data/adb/modules/.rw/`:\n\n```bash\nmkdir -p /data/adb/modules/.rw/system/{upperdir,workdir}\n```\n\n## Environment Variables\n\n- `MODULE_METADATA_DIR` - Metadata location (default: `/data/adb/modules/`)\n- `MODULE_CONTENT_DIR` - Content location (default: `/data/adb/metamodule/mnt/`)\n- `RUST_LOG` - Log level (debug, info, warn, error)\n\n## Architecture\n\nAutomatically selects aarch64 or x86_64 binary during installation (~500KB).\n\n## Building\n\n```bash\n./build.sh\n```\n\nOutput: `target/meta-overlayfs-v1.0.0.zip`\n\n## License\n\nGPL-3.0\n","funding_links":[],"categories":["Root Management","Modules and Tools"],"sub_categories":["Module Managers","Metamodules (Required for Module Support)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKernelSU-Modules-Repo%2Fmeta-overlayfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKernelSU-Modules-Repo%2Fmeta-overlayfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKernelSU-Modules-Repo%2Fmeta-overlayfs/lists"}