How to use adb tcpip without USB debugging enabled?

后端 未结 1 1345
别跟我提以往
别跟我提以往 2021-02-20 04:29

I\'ve read quite a few posts already on adb and tcpip mode and I can create a wireless adb connection, but only when USB debugging is on.

The way I\'m using it is like s

相关标签:
1条回答
  • 2021-02-20 05:14

    On your rooted device, install a Terminal Emulator

    enter "su" and then "start adbd" (source)

    I have tried this on my rooted Android 4.0.4 device. I could connect normally without enabling USB debugging. A few more words:

    • "USB Debugging" is actually called "enable_adb" internally.
    • If you enable USB Debugging this usually happens(little device dependant):
    • a Settings.Secure value is stored (ADB_ENABLED)
    • (on some devices also a system property is set)
    • the adb deamon is started

    If the UsbManager just checks for the Secure Setting, everything should work. If it checks for the actual running deamon you are out of luck.

    0 讨论(0)
提交回复
热议问题