{"id":23047251,"url":"https://github.com/woa-project/androiddebugbridge","last_synced_at":"2025-08-15T00:33:52.058Z","repository":{"id":225574103,"uuid":"766318430","full_name":"WOA-Project/AndroidDebugBridge","owner":"WOA-Project","description":"The Android Debug Bridge Protocol, implemented in C# / .NET","archived":false,"fork":false,"pushed_at":"2024-08-10T16:40:16.000Z","size":77,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-08-10T17:52:17.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/WOA-Project.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}},"created_at":"2024-03-02T23:27:58.000Z","updated_at":"2024-08-10T16:40:19.000Z","dependencies_parsed_at":"2024-08-05T23:19:39.094Z","dependency_job_id":null,"html_url":"https://github.com/WOA-Project/AndroidDebugBridge","commit_stats":null,"previous_names":["woa-project/androiddebugbridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WOA-Project%2FAndroidDebugBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WOA-Project%2FAndroidDebugBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WOA-Project%2FAndroidDebugBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WOA-Project%2FAndroidDebugBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WOA-Project","download_url":"https://codeload.github.com/WOA-Project/AndroidDebugBridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229885889,"owners_count":18139380,"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":[],"created_at":"2024-12-15T22:32:12.377Z","updated_at":"2024-12-15T22:32:14.646Z","avatar_url":"https://github.com/WOA-Project.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Debug Bridge over USB for .NET\n\nThis repository holds an implementation of the Android Debug Bridge (or ADB for short) protocol over USB in C#.\nIt makes use of WinUSB (via WinUSBNet) for communicating over USB to a target device.\n\nCurrently the following features are not supported:\n\n- Push\n- Pull\n- List\n- Single command execution\n- Token signing for authentication\n- Legacy Shell interface (only v2 is supported at the moment)\n\nThese will be addressed at a later time.\n\n## Sample code\n\nBelow's code may give an idea of how to use the library currently:\n\n```csharp\nusing AndroidDebugBridge;\n\nnamespace Playground\n{\n    internal class Program\n    {\n        static void Main(string[] args)\n        {\n            string usbid = @\"\\\\?\\USB#VID_045E\u0026PID_0C26#0F0012E214600A#{dee824ef-729b-4a0e-9c14-b7117d33a817}\"; // Android (Duo 2)\n            //string usbid = @\"\\\\?\\USB#VID_18D1\u0026PID_D001#0F0012E214600A#{dee824ef-729b-4a0e-9c14-b7117d33a817}\"; // TWRP (Duo 2)\n\n            Console.WriteLine($\"Opening {usbid}...\");\n            using AndroidDebugBridgeTransport transport = new(usbid);\n\n            Console.WriteLine(\"Connecting...\");\n            transport.Connect();\n\n            transport.WaitTilConnected();\n\n            Console.WriteLine($\"Connected to: {transport.PhoneConnectionString}\");\n            Console.WriteLine($\"Protocol version: {transport.PhoneSupportedProtocolVersion}\");\n\n            Console.WriteLine(\"Opening shell...\");\n            transport.Shell();\n\n            Console.WriteLine(\"Shell closed!\");\n\n            Console.WriteLine(\"Rebooting...\");\n            transport.Reboot();\n        }\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoa-project%2Fandroiddebugbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoa-project%2Fandroiddebugbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoa-project%2Fandroiddebugbridge/lists"}