Comments (9)
执行setprop service.adb.tcp.port 5555
也可以通过adb shell来做
from awesome-adb.
我猜你说的是 #4 ,那个 Issue 里讨论的是多台电脑连接同一个 Android 设备。如果只是一台电脑连接某 Android 设备的话,那我这边测试的情况是 5.0 以上的也可以在 adb tcpip 5555
后 adb connect <ip-address>
。
adb shell setprop service.adb.tcp.port 5555
这个应该是与 adb tcpip 5555
类似的作用吧?在 Nexus 5 (Android 5.1.1)上执行 setprop
后能 adb connect
成功,在一个别的 6.0 的机器上未成功。
from awesome-adb.
adb tcpip 5555
应该只是指定PC端这边向手机连接的端口而已。我在什么设备上不用setprop
都不能连接成,会提示连接被拒
from awesome-adb.
还有 这段setprop
也要su
from awesome-adb.
那看来还跟设备和 ROM 有关系,我用的 Nexus 5 没有 su 执行 setprop 也可以。
官方文档对无线连接步骤里 adb tcpip 5555
这一步的说明是 Set the target device to listen for a TCP/IP connection on port 5555.
,所以它是会更改 adbd 的监听端口的。
from awesome-adb.
我setprop是在手机的终端执行的 AOSP
2016年8月31日 12:35,"Zhuang Ma" [email protected]写道:
那看来还跟设备和 ROM 有关系,我用的 Nexus 5 没有 su 执行 setprop 也可以。
官方文档对无线连接步骤里 adb tcpip 5555 这一步的说明是 Set the target device to listen for a
TCP/IP connection on port 5555.,所以它是会更改 adbd 的监听端口的。—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIPQR6L_AlgH4kLT9lx5RSH6Sm3klMMzks5qlQR3gaJpZM4JxLph
.
from awesome-adb.
也主要是我觉得要用到这种模式就是要脱离数据线 所以没想到adb来执行设置监听端口
2016年8月31日 16:48,"Season Yuu" [email protected]写道:
我setprop是在手机的终端执行的 AOSP
2016年8月31日 12:35,"Zhuang Ma" [email protected]写道:
那看来还跟设备和 ROM 有关系,我用的 Nexus 5 没有 su 执行 setprop 也可以。
官方文档对无线连接步骤里 adb tcpip 5555 这一步的说明是 Set the target device to listen for
a TCP/IP connection on port 5555.,所以它是会更改 adbd 的监听端口的。—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIPQR6L_AlgH4kLT9lx5RSH6Sm3klMMzks5qlQR3gaJpZM4JxLph
.
from awesome-adb.
原来如此~了解了,你这个思路很赞。 👍
我后来也尝试一下整理进文档,多谢!
from awesome-adb.
我今天试验了你的方法方法,非常方便。
整理了之后加了一个小节「无线连接(无需借助 USB 线)」进去了,非常感谢你的分享!
from awesome-adb.
Related Issues (20)
- Stuff I might need later
- 有没有启用“禁止权限监控”的命令
- adb 启用adb键盘 HOT 1
- Why y'all on my phone? I ain't been fucking with y'all in a hot min. HOT 1
- screencap截取横屏,结果是竖屏比例 HOT 1
- 请问知道如何通过 adb 打开 USB 网络共享 HOT 2
- 快速设置date的命令
- screencap use sed Image error HOT 5
- munmap_chunk(): invalid pointer * failed to start daemon error: cannot connect to daemon
- bootloader刷入recovery
- 打开activity传参数问题
- ? HOT 1
- 添加备份指令的介绍 HOT 3
- Adb Pull Error HOT 23
- 运行ADB直接显示已退出进程,代码为1 HOT 1
- Adb she'll simplify
- 屏幕旋转
- Android 10 无法使用相应命令查询 IP 和 MAC 地址 HOT 5
- 1. Open system setting app 2. Click 'About phone' - <img src="./../image/openMobileAdb/01.png" width="270" height="480"> 3. Click on 'Build number' until developer mode is enabled - <img src="./../image/openMobileAdb/02.png" width="270" height="480"> - <img src="./../image/openMobileAdb/03.png" width="270" height="480"> 4. Click 'System' - <img src="./../image/openMobileAdb/04.png" width="270" height="480"> 5. Click 'Developer options' - <img src="./../image/openMobileAdb/05.png" width="270" height="480"> - <img src="./../image/openMobileAdb/06.png" width="270" height="480"> 6. Enable 'USB debugging' - <img src="./../image/openMobileAdb/07.png" width="270" height="480"> 7. Click 'OK' - <img src="./../image/openMobileAdb/08.png" width="270" height="480"> 8. Enable 'Wireless debugging' - <img src="./../image/openMobileAdb/13.png" width="270" height="480"> - <img src="./../image/openMobileAdb/12.png" width="270" height="480">
- Debug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-adb.