{"action":"created","issue":{"url":"https://api.github.com/repos/openstf/adbkit/issues/61","repository_url":"https://api.github.com/repos/openstf/adbkit","labels_url":"https://api.github.com/repos/openstf/adbkit/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/openstf/adbkit/issues/61/comments","events_url":"https://api.github.com/repos/openstf/adbkit/issues/61/events","html_url":"https://github.com/openstf/adbkit/issues/61","id":197967113,"number":61,"title":"what we did in \"adbkit usb-device-to-tcp\"","user":{"login":"WillPangZi","id":8530964,"avatar_url":"https://avatars.githubusercontent.com/u/8530964?v=3","gravatar_id":"","url":"https://api.github.com/users/WillPangZi","html_url":"https://github.com/WillPangZi","followers_url":"https://api.github.com/users/WillPangZi/followers","following_url":"https://api.github.com/users/WillPangZi/following{/other_user}","gists_url":"https://api.github.com/users/WillPangZi/gists{/gist_id}","starred_url":"https://api.github.com/users/WillPangZi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillPangZi/subscriptions","organizations_url":"https://api.github.com/users/WillPangZi/orgs","repos_url":"https://api.github.com/users/WillPangZi/repos","events_url":"https://api.github.com/users/WillPangZi/events{/privacy}","received_events_url":"https://api.github.com/users/WillPangZi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-29T07:45:09Z","updated_at":"2016-12-29T08:04:57Z","closed_at":null,"body":"Hi guys,\r\nI want share local device to network, so I used adb forward to share the ports, like:\r\n```\r\nadb tcpip 5555\r\nadb forward tcp:5555 tcp:5555\r\n```\r\nbut the native adb forward only listen on localhost, so we use iptables to portmap the 5555 to another IPV4 port again.\r\nfinally we can access the device through STF, but the screen is very slow.\r\n\r\nand when we use \"adbkit usb-device-to-tcp\" the screen is very fast, like native connected, can you share the principle how this command works.  \r\n---because the source code is coffee script, and difficult for me..."},"comment":{"url":"https://api.github.com/repos/openstf/adbkit/issues/comments/269595178","html_url":"https://github.com/openstf/adbkit/issues/61#issuecomment-269595178","issue_url":"https://api.github.com/repos/openstf/adbkit/issues/61","id":269595178,"user":{"login":"sorccu","id":32509,"avatar_url":"https://avatars.githubusercontent.com/u/32509?v=3","gravatar_id":"","url":"https://api.github.com/users/sorccu","html_url":"https://github.com/sorccu","followers_url":"https://api.github.com/users/sorccu/followers","following_url":"https://api.github.com/users/sorccu/following{/other_user}","gists_url":"https://api.github.com/users/sorccu/gists{/gist_id}","starred_url":"https://api.github.com/users/sorccu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorccu/subscriptions","organizations_url":"https://api.github.com/users/sorccu/orgs","repos_url":"https://api.github.com/users/sorccu/repos","events_url":"https://api.github.com/users/sorccu/events{/privacy}","received_events_url":"https://api.github.com/users/sorccu/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T08:04:57Z","updated_at":"2016-12-29T08:04:57Z","body":"It just translates the ADB WIFI protocol to the USB protocol. I did a lot\nof packet capturing to make it work as it was practically undocumented at\nthe time.\n\nAlso, ADB will listen on 0.0.0.0 if you start the ADB server with 'adb -a\n-P 5037 server nodaemon'.\nOn Thu, Dec 29, 2016 at 16:45 WillPang <notifications@github.com> wrote:\n\n> Hi guys,\n>\n>\n> I want share local device to network, so I used adb forward to share the\n> ports, like:\n>\n>\n> adb tcpip 5555\n>\n> adb forward tcp:5555 tcp:5555\n>\n>\n>\n> but the native adb forward only listen on localhost, so we use iptables to\n> portmap the 5555 to another IPV4 port again.\n>\n>\n> finally we can access the device through STF, but the screen is very slow.\n>\n>\n> and when we use \"adbkit usb-device-to-tcp\" the screen is very fast, like\n> native connected, can share the principle how this command works.\n>\n>\n> ---because the source code is coffee script, and difficult for me...\n>\n>\n>\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/openstf/adbkit/issues/61>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAB-_Vauwii37jWHEzYBLgBIyt9q_Wa_ks5rM2UFgaJpZM4LXaIv>\n> .\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n"}}
{"actor":{"display_login":"sorccu"}}