Skip to content

Instantly share code, notes, and snippets.

@zhengzhou
Created September 27, 2014 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhengzhou/35d5b60340ac1b25d767 to your computer and use it in GitHub Desktop.
Save zhengzhou/35d5b60340ac1b25d767 to your computer and use it in GitHub Desktop.
adb wifi调试
su//获取root权限
setprop service.adb.tcp.port 5555//设置监听的端口,端口可以自定义,如5554,5555是默认的
stop adbd//关闭adbd
start adbd//重新启动adbd
@zhengzhou
Copy link
Author

.如果要关闭的话,则奖第三步中的5555改成-1重新执行一遍即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment