TransWikia.com

Is it possible to adb connect android via wifi without configuring port on android?

Android Enthusiasts Asked by Leonar Aung on December 16, 2020

I can connect via wifi by typing these codes in android terminal –

setprop service.adb.tcp.port 5555
stop adbd
start adbd

and connect ip:port on PC adb .. it is connected
.. Is there any possibility to access without configuring on android !I mean looping port no:. Can it be possible ? kindly suggest me please !

4 Answers

There are Apps on Google Play which make it possible to enable ADB Wifi with a button click. If you have root (as I can see), you won't need a PC and it does the switch in a second. An example App: ADB Wireless (root) - Google Play I think that's what you asked for. If you dig deeper you can find apps with the option to set a custom Port. Good luck.

Answered by Meriicistyle on December 16, 2020

If you can build the AOSP by yourself. You can add the property to the build.prop:

service.adb.tcp.port=5555

Answered by QJGui on December 16, 2020

If you have a later version of android (it works on 4.4 for sure), there is a wireless debugging option in developer tools. You can activate that and type this in terminal,

adb connect <ip address of phone>

It will default to using port 5555 if you don't give it a port. I think that's what you're after.

Answered by chromozonex on December 16, 2020

No. What you're doing there is not just setting a port number away from the default: setting the number at all is what causes the device to start listening. Before you run the steps in the question, the device isn't listening for adb connections on any port at all.

For this reason, there's no "default port" to connect to without setting anything up on the device.

Answered by Dan Hulme on December 16, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP