ADB 通过蓝牙 Android [英] ADB over Bluetooth Android

查看:31
本文介绍了ADB 通过蓝牙 Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有 WIFI,我没有可用的电缆连接.

I have no WIFI, I have no cable connection available.

是否有希望将我的设备连接到 ADB?

Is there hope for me to connect my device to ADB?

推荐答案

随着 Cyanogenmod(7.2 和 9)的最新版本以及可能的其他一些 rom,adb over network 选项已经到来.

With the latest releases of Cyanogenmod (7.2 and 9) and presumably some other roms the option of adb over network has arrived.

类似于ADB over WIFI 已经有一段时间了,它的作用几乎相同.

Similar to ADB over WIFI which has been available for a while, it pretty much does the same.

  • 在您的笔记本电脑和设备上启用蓝牙
  • 配对
  • 通过蓝牙 PAN(个人局域网)从您的笔记本电脑连接到您的设备
  • 启用 ADB over Network 设置(设置/应用程序/开发)
  • 从终端找出您的 IP 地址(busybox ifconfig 应该这样做)
    • 非root:检查您计算机上的默认网关,它应该是您设备的IP
    • Enable Bluetooth on your laptop and device
    • Pair them
    • Connect from your laptop to your device via Bluetooth PAN (Personal Area Network)
    • Enable the ADB over Network setting (Settings/Applications/Development)
    • Find out your IP address from the terminal (busybox ifconfig should do)
      • Non-root: check the default gateway on your computer, it should be your device's IP

      确保在完成后禁用网络上的 ADB 设置以避免移动互联网 ADB 的东西.完成后关闭蓝牙就可以了.

      Make sure to disable the ADB over Network setting after your done with it to avoid Mobile Internet ADB stuff. Just disable the Bluetooth when your done and it should be fine.

      奖励部分是,当您为此配对和开发时,您也可以使用设备移动互联网.(当然,如果您有保险)

      Bonus part is, that while your paired and developing for this, you are able to use the devices mobile internet as well. (if you have coverage, of course)

      这只是部分解决方案,因为它需要设备扎根并运行提供该特定设置的 rom.我只能假设它可以从终端以其他方式完成,但我不够精明,无法管理它.

      This is only a partial solution since it needs the device to be both rooted and running a rom that offers that particular setting. I can only assume that it can be done some other way from the terminal, but I'm not savvy enough to manage it.

      这篇关于ADB 通过蓝牙 Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆