{"id":28931714,"url":"https://github.com/hiking90/binder-linux","last_synced_at":"2025-08-24T22:12:28.801Z","repository":{"id":144518253,"uuid":"65670031","full_name":"hiking90/binder-linux","owner":"hiking90","description":"Android Binder for Linux Desktop","archived":false,"fork":false,"pushed_at":"2025-06-17T11:59:56.000Z","size":350,"stargazers_count":36,"open_issues_count":5,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T12:43:44.774Z","etag":null,"topics":["android","binder","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiking90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-08-14T14:23:17.000Z","updated_at":"2025-06-17T12:00:00.000Z","dependencies_parsed_at":"2024-02-04T03:22:24.897Z","dependency_job_id":"1966396e-9ee3-4eb9-be8c-43c3767069d5","html_url":"https://github.com/hiking90/binder-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiking90/binder-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiking90%2Fbinder-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiking90%2Fbinder-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiking90%2Fbinder-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiking90%2Fbinder-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiking90","download_url":"https://codeload.github.com/hiking90/binder-linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiking90%2Fbinder-linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271961966,"owners_count":24850593,"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-08-24T02:00:11.135Z","response_time":111,"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":["android","binder","cpp"],"created_at":"2025-06-22T16:07:52.974Z","updated_at":"2025-08-24T22:12:28.796Z","avatar_url":"https://github.com/hiking90.png","language":"C++","readme":"# About\nGoal of this project is to use Android Binder at Linux desktop environment.\nThe most of source code was come from Android Source Repositories(Android 14). But, the source code was modified slightly for Linux dekstop.\n\n## Prerequisites to build \u0026 run\n1. Kernel 5.16.x is required because of the definition of BINDER_ENABLE_ONEWAY_SPAM_DETECTION.\n1. Linux kernel's Binder must be enabled. https://www.kernel.org/doc/html/latest/admin-guide/binderfs.html\n1. libselinux and libsepol must be installed. http://userspace.selinuxproject.org/\n1. 'libc++' and 'fmt' must be installed too.\n1. CMake is used as a build system.\n\n## Prepare\n\u003cpre\u003e\n$ cd binder-linux\n$ source ./env.sh\n$ android_clone\n\u003c/pre\u003e\n\n## Build\n\u003cpre\u003e\n$ m\n\u003c/pre\u003e\n\n## Mounting binderfs\nPlease refer following two external documents.\n\nhttps://www.kernel.org/doc/html/latest/admin-guide/binderfs.html#mounting-binderfs\nhttps://wiki.archlinux.org/title/Anbox#Mounting_binderfs\n\n\n## Testing\nChange output directory.\n\u003cpre\u003e\n$ cout\n\u003c/pre\u003e\n\nCreate binder device file\n\u003cpre\u003e\n$ ./binder_device /dev/binderfs/binder-control binder\n$ chmod a+rw /dev/binderfs/binder\n\u003c/pre\u003e\n\nRun servicemanager\n\u003cpre\u003e\n$ ./binder_sm /dev/binderfs/binder \u0026\n\u003c/pre\u003e\n\nRun echo service\n\u003cpre\u003e\n$ ./binder_test server \u0026\n\u003c/pre\u003e\n\nRun echo client\n\u003cpre\u003e\n$ ./binder_test\n\u003c/pre\u003e\n\n## Install\n\u003cpre\u003e\n$ ninja install\n\u003c/pre\u003e\n\n## Aidl\nbinder-linux does not support AIDL compiler. Please use the AIDL compiler of Android build tools.\nhttps://developer.android.com/studio/releases/build-tools\n\n## TODO\nRemove unnecesary libraries from build.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiking90%2Fbinder-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiking90%2Fbinder-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiking90%2Fbinder-linux/lists"}