{"id":31194914,"url":"https://github.com/eventlOwOp/zerotier-magisk","last_synced_at":"2025-09-20T02:05:13.198Z","repository":{"id":198635283,"uuid":"701204484","full_name":"eventlOwOp/zerotier-magisk","owner":"eventlOwOp","description":"ZeroTier for magisk ✅ App controller ✅","archived":false,"fork":false,"pushed_at":"2025-08-13T07:36:04.000Z","size":4367,"stargazers_count":101,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-13T09:24:28.279Z","etag":null,"topics":["flutter-apps","magisk-module","zerotier","zerotier-one"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eventlOwOp.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-06T06:38:38.000Z","updated_at":"2025-08-13T07:36:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f63eeb2e-7d38-4c02-bda7-459317e59dee","html_url":"https://github.com/eventlOwOp/zerotier-magisk","commit_stats":null,"previous_names":["eventlowop/zerotier-magisk"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/eventlOwOp/zerotier-magisk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventlOwOp%2Fzerotier-magisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventlOwOp%2Fzerotier-magisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventlOwOp%2Fzerotier-magisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventlOwOp%2Fzerotier-magisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eventlOwOp","download_url":"https://codeload.github.com/eventlOwOp/zerotier-magisk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventlOwOp%2Fzerotier-magisk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276033070,"owners_count":25573474,"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-20T02:00:10.207Z","response_time":63,"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":["flutter-apps","magisk-module","zerotier","zerotier-one"],"created_at":"2025-09-20T02:02:37.978Z","updated_at":"2025-09-20T02:05:13.186Z","avatar_url":"https://github.com/eventlOwOp.png","language":"HTML","funding_links":[],"categories":["🌐 Network and Connectivity"],"sub_categories":["Misc Network Tools"],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg alt=\"ZeroTier for Magisk Icon\" src=\"https://github.com/eventlOwOp/zerotier-magisk/blob/master/images/icon.png\" width=\"128\" /\u003e\n\n# ZeroTier for Magisk\n\n[[中文](https://github.com/eventlOwOp/zerotier-magisk/blob/master/README_ZH.md) | English]\n\n\u003c/div\u003e\n  \n**Run zerotier in the background after booting!**\n\n**No conflicts with other Android VPN service!**\n\n**Use Android App to control ZeroTier**\n\n**Support for Private Root Servers**\n\n## Requirements\n\n1. a version is built with Android NDK Toolchain, supporting api 28 (Android 9.0) and above.\n\n2. another version is build with GCC toolchain, linking to Linux Syscalls statically\n\nUnofficial planet supported; SSO (zeroidc) supported in the version built with GCC for AArch64\n\nAArch64 suppots ARMv8-A and above; Arm version supports ARMv7-A (compiling with `-march=armv7-a`)\n\n## Installation\n\n1. Download magisk module zip file from github release; install.\n2. Download controller app apk file from github release; install.\n3. Reboot your phone.\n4. Open controller app; enter your 16-character network id; join.\n5. Enjoy 😋\n\n## Usage\n\n### Use Private Root Servers\n\nReplace `/data/adb/zerotier/home/planet` with your own `planet` file.\n\n### Controller App\n\nDoes not need root privilege\n\n| Feature            | Supported? |\n| :----------------- | :--------- |\n| status             | ✅         |\n| start/stop         | ✅         |\n| join/leave network | ✅         |\n| join/leave planet  | ❎         |\n\n\u003cdiv\u003e\n\u003cimg alt=\"ZeroTier for Magisk Icon\" src=\"https://github.com/eventlOwOp/zerotier-magisk/blob/master/images/app_home.jpg\" width=\"192\" /\u003e\n\u003cimg alt=\"ZeroTier for Magisk Icon\" src=\"https://github.com/eventlOwOp/zerotier-magisk/blob/master/images/app_network.jpg\" width=\"192\" /\u003e\n\u003c/div\u003e\n\n### Command line tools\n\nUse `zerotier.sh` to start/stop or inspect status.\n\n`Usage: zerotier.sh {start|stop|restart|status}`\n\nUse `zerotier-cli / zerotier-idtool` for ZeroTierOne command line operations.\n\n(`zerotier-one` not copied to `/system/bin`)\n\n## Files\n\n```\n/data/adb/zerotier\n├── home                                    # zerotier-one home directory\n│   ├── authtoken.secret                    # zerotier-one http interface authtoken\n│   ├── zerotier-one.pid                    # zerotier-one pid\n│   ├── zerotier-one.port                   # zerotier-one port\n│   └── ...\n├── lib                                     # only in NDK compiled module\n│   └── libc++_shared.so                    # NDK dynamic library\n├── run\n│   ├── daemon.log                          # service.sh log\n│   ├── pipe                                # named pipe to interact with service.sh\n│   ├── zerotier.log                        # zerotier-one log\n│   └── ...\n├── zerotier-cli -\u003e zerotier-one            # zerotier-one command line interface\n├── zerotier-idtool -\u003e zerotier-one         # zerotier-one id tool\n├── zerotier-one                            # zerotier-one executable\n└── zerotier.sh\n```\n\nall the scripts and binaries are placed in `/data/adb/zerotier/`, and all copied to `/system/bin` (in PATH) to be executed directly (except `zerotier-one`)\n\n`zerotier.sh` uses named pipe to communicate with `service.sh`, preventing ZeroTier to start as a subprocess of Shell.\n\nlog files are placed in `run`, `daemon.log` for `service.sh` and `zerotier.log` for ZeroTierOne.\n\n## Build binaries yourself\n\nrefer to `.github/workflow/build-{gcc|ndk}.yml` for detailed information.\n\n## Notes\n\nAfter 1.14.0, ZeroTierOne has introduce `multi-core concurrent packet processing`, which requires `pthread_setaffinity_np`.\n\nHowever, for NDK, `pthread_setaffinity_np` won't be available until API level 36, Android 16. (refer to https://android.googlesource.com/platform/bionic/+/master/libc/include/pthread.h)\n\nSo in the NDK bulid version, it is replaced by the combination of `pthread_gettid_np` from `\u003cpthread.h\u003e` and `sched_getaffinity` from `\u003csched.h\u003e`.\n\n## Using your phone as router, want LAN to LAN mapping?\n\nSee [ThermalEng/zerotier-magisk](https://github.com/ThermalEng/zerotier-magisk/). Inform me by creating issue. Future function and UI integration if many module users want it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FeventlOwOp%2Fzerotier-magisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FeventlOwOp%2Fzerotier-magisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FeventlOwOp%2Fzerotier-magisk/lists"}